summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2016-09-21sysctl KERN_ARND is no longer used (in ports, it only occurs in fallbackTheo de Raadt
paths of libevent). This interface was the first generation of what eventually became getentropy(2) and arc4random(3) -- june 1997! Ports scan by sthen, general agreement guenther
2016-09-20whitespaceTheo de Raadt
2016-09-20various cleanup; ok florianJason McIntyre
2016-09-19Update for bcrypt pbkdf.Joel Sing
2016-09-19Switch softraid crypto from PKCS5 PBKDF2 to bcrypt PBKDF.Joel Sing
New volumes will be created with bcrypt PBKDF, however existing volumes will continue to use PKCS5 PBKDF2 until a passphrase change is made. If you're booting from softraid crypto, ensure that your boot loader has been upgraded to a version that supports bcrypt prior to changing your passphrase. Also be aware that once the passphrase has been changed, an older version of bioctl(8) (one that does not support bcrypt PBKDF) will not be able to "unlock" the volume. Partly based on a diff from djm@.
2016-09-19Only allow standard dot notation for IPv4 addresses.Florian Obser
We can get rid of inet_aton(3) and use the AF independent getaddrinfo(3). OK natano@, krw@, millert@, claudio@
2016-09-18unbreak IPv6 source selectionFlorian Obser
2016-09-18simplify startup, since we know earlier which type of socket we needTheo de Raadt
ok florian
2016-09-18whitespaceTheo de Raadt
2016-09-18If running in verbose mode and no source address has been specifiedFlorian Obser
with -I find the kernel selected address and print it even for v4 addresses. OK phessler@, natano@, mpi@, claudio@, benno@, sthen@, millert@
2016-09-18Do not print 'ping6' in reporting output, just 'ping'.Florian Obser
OK tom@, natano@, claudio@, sthen@, millert@
2016-09-18minor tweaks;Jason McIntyre
2016-09-17backwards if(v6flag); pointed out by naddyFlorian Obser
2016-09-17... and we have unification.Florian Obser
"Das tritt nach meiner Kenntnis... ist das sofort... unverzueglich..."
2016-09-17unhook ping6 from the buildFlorian Obser
2016-09-17Merge ping6(8) manual into ping(8).Florian Obser
Tweak & OK jmc@
2016-09-17ping6(8) is now a hardlink to ping(8).Florian Obser
The instbin stuff looks good to deraadt@
2016-09-17The final merge ping6 into ping.Florian Obser
"why slow down?" deraadt@
2016-09-17Sync printing of wrong additional data to ping version.Florian Obser
2016-09-17Use ECHOTMLEN define; no functional change.Florian Obser
2016-09-17Only print that data is truncated like ping(8) does. While here getFlorian Obser
rid of the MINIMUM macro, it wasn't doing anything, anyway.
2016-09-17iov_base is already set in this case; reduce diff to ping6(8).Florian Obser
2016-09-17MAXPAYLOAD is different between ping and ping6.Florian Obser
2016-09-17dead storeFlorian Obser
2016-09-17Just use AF_INET like everywhere else.Florian Obser
2016-09-17malloc sets errno; use err not errxFlorian Obser
2016-09-17whitespaceFlorian Obser
2016-09-17Make getting source address more AF independent.Florian Obser
2016-09-17If -I was not given hoist getting source address up.Florian Obser
2016-09-17Make source address selection more AF independent.Florian Obser
2016-09-17Introduce AF independent from.Florian Obser
2016-09-17Use AF independent dst where possible.Florian Obser
2016-09-17Blindly s/dst/dst4/ or s/dst/dst6/, AF independent dst will beFlorian Obser
introduced next.
2016-09-17We will need the variable name "from" soon, so free it up by renamingFlorian Obser
to peer. While here move declaration down to where it's needed. No functional change.
2016-09-17Reduce diff in pinger().Florian Obser
2016-09-17We have different filters depending on the verbose flag. Merge filterFlorian Obser
construction into existing verbose handling block.
2016-09-17Merge socket options that are set only when -v is given.Florian Obser
2016-09-17This style hurt my eyes long enough.Florian Obser
2016-09-17Set SO_RCVBUF like ping; the buffer will be bigger than before so thisFlorian Obser
should be ok.
2016-09-17styleFlorian Obser
2016-09-17Move more AF independent initialization around to reduce diff.Florian Obser
2016-09-17Normalize receive packet allocation.Florian Obser
2016-09-17Sync PINGFILLED handling to ping(8); fixes bug by using the correctFlorian Obser
length.
2016-09-17Use ECHOTMLEN define.Florian Obser
2016-09-17Move some more option handling around to reduce diff to ping(8).Florian Obser
2016-09-17ping(8): The IPv6 header has a payload length field while IPv4 has aFlorian Obser
length field for the whole packet. Make some room for IPv6 payload. ping6(8): Sync to ping(8).
2016-09-17Bring over includes, we will need them in a merge anyway.Florian Obser
2016-09-17does not need to be globalFlorian Obser
2016-09-17If no source address is specified and we are running in verbose modeFlorian Obser
try to find it with getsockname(2) like ping6(8). Disable printing for now though because scripts might depend on ping(8)'s output.
2016-09-16Revert use of rdaemon() until it doesn't break install/upgrade.Kenneth R Westerback
Problem cause deduced by kili@, reproduced by & ok rpe@.