summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2016-09-10sort the options list; also, the full stop in (FFS only.) wasn;tJason McIntyre
doing much, so i zapped it;
2016-09-10Teach bioctl derive_key() how to handle bcrypt_pbkdf.Joel Sing
Part of a diff from djm@
2016-09-10Ugh, too many initialisms...Joel Sing
2016-09-10Add a noperm mount flag for FFS to be used for building release setsMartin Natano
without root privileges. This is only the kernel/mount flag; additional work in the build Makefile's will be necessary such that the files in $DESTDIR are created with correct permissions. tedu couldn't find anything wrong with it in a quick review idea & ok deraadt
2016-09-10Clean up some softraid crypto code - rename struct sr_crypto_kdf_pbkdf2 toJoel Sing
sr_crypto_pbkdf (since it is useable for more than just pkcs5_pbkdf2) and embed a struct sr_crypto_genkdf within it, rather than redeclaring the same fields. Rename SR_CRYPTOKDFT_PBKDF2 to SR_CRYPTOKDFT_PCKS5_PBKDF2 and add SR_CRYPTOKDFT_BCRYPT_PBKDF for upcoming changes.
2016-09-10The getopt while loop is very long, put the body in {}.Florian Obser
Removes a "Huh, that's weird" diff to ping6. No object change.
2016-09-10reorder main variables, no object change, reduces diff to ping6Florian Obser
2016-09-10according to netinet6/in6.h IPV6_MULTICAST_LOOP setsockopt takes aFlorian Obser
u_char argument
2016-09-10move IPv6 specific structs up; no obj changeFlorian Obser
2016-09-10reorder main variables, reduces diffFlorian Obser
2016-09-10reorder main variables; no obj changeFlorian Obser
2016-09-10packet is actually u_char, pass it around as oneFlorian Obser
2016-09-10reorder function declaration to reduce diff between ping and ping6; noFlorian Obser
object change
2016-09-09Tighten pledge for fsdb and eliminate a strcmp("fsdb", getprogname())Theo Buehler
by passing a flag to setup(). ok deraadt
2016-09-09fix pastoJasper Lievisse Adriaanse
ok yasuoka@
2016-09-08When changing the passphrase, keep the previous number of rounds, unlessJoel Sing
specified otherwise. Part of a diff from halex@
2016-09-08Shuffle some code to make futher changes easier - pass the KDF type intoJoel Sing
derive_key_pkcs(), check the type and rounds in one place, unify the rounds too small error.
2016-09-08When changing a passphrase, use bio_kdf_generate() so that we generate aJoel Sing
new salt and respect the specified number of rounds. Before changing your softraid crypto passphrase ensure that you are running a kernel with r1.131 of softraid_crypto.c, otherwise the volume will become unusable. Same diff also from djm@ and halex@
2016-09-08normalize option defines; reduces diff between ping(8) and ping6(8)Florian Obser
2016-09-08We need this for struct iovec; reduces diff to ping6(8)Florian Obser
2016-09-07whitespaceFlorian Obser
2016-09-07normalize code to send preload packetsFlorian Obser
2016-09-07move header printing down; reduces diff to ping6Florian Obser
2016-09-07move arc4random down; reduces diff to ping6Florian Obser
2016-09-07Remove usermount remnants. ok teduMartin Natano
2016-09-05Print route labels in double quotes since they can contain spaces in the name.Claudio Jeker
OK florian@
2016-09-05for consistency, hyphenate "single-user";Jason McIntyre
from rob pierce
2016-09-05replace obsolete getpass() by readpassphrase()Gleydson Soares
OK tedu millert
2016-09-04strlen + malloc + snprintf == asprintfMichal Mazurek
ok martijn@ deraadt@
2016-09-04switch tweaks;Jason McIntyre
2016-09-04Add SWITCH section for switch(4).YASUOKA Masahiko
ok goda
2016-09-04Forward IMSG_CTL_VERBOSE via the parent; this fixes a crash when doingReyk Floeter
"ikectl log verbose" and keeps the control process separated from the cert process. Thanks for the bug report to Wouter Clarie OK vgross@
2016-09-04chop out the zread code since we only write filesTed Unangst
2016-09-04unifdef SAVECORE now that we're done sharingTed Unangst
2016-09-04Use an RB tree instead of BDB to map process->session, ok tedu millertNicholas Marriott
2016-09-04After aligning the cpg field, non ffs partitions were not displayedAlexander Bluhm
aligned anymore. Put one more space in front of the "# none" mount point output. OK otto@
2016-09-04Use 'daemonize' instead of 'no_daemon', just like in dhcpd and dhcrelay.Jeremie Courreges-Anglas
ok krw@
2016-09-04move to ping's getaddrinfo version to reduce diff; no functional changeFlorian Obser
2016-09-04Now that we have IP_SENDSRCADDR, add sendtofrom().Vincent Gross
Ok jca@ and reyk@
2016-09-04Make it possible to set the RTF_BFD flag in a change request. Also add aClaudio Jeker
nobfd option to turn it off again. While here also print the fmask in the rtmsg dump so it is possible to figure out why something happens (or not). OK phessler@
2016-09-04Switch ping to getaddrinfo while retaining inet_aton functionality asFlorian Obser
has been done in the traceroute merge.
2016-09-03A commented block starts withTheo de Raadt
# If you have ElectricFence available, you can spot abuses of the heap." Or, uhm you can simply use our malloc.
2016-09-03How can this not be AF_INET?!Florian Obser
2016-09-03s/to/dst/Florian Obser
2016-09-03s/whereto/dst/Florian Obser
2016-09-03get to the target the same way as ping; no functional changeFlorian Obser
2016-09-03err->errx, errno info is not related to the failure modeJeremie Courreges-Anglas
ok mikeb@
2016-09-03pfctl mixes up anchorname with anchorpathAlexandr Nedvedicky
OK mikeb@
2016-09-03'reinit' should check the MBR on disk, as the man page says.Kenneth R Westerback
Makes 'reinit' respect current state of disk when deciding between MBR and GPT initialization. Problem noted by halex@
2016-09-03fix format string and remove unused variablesCharles Longeau
ok yasuoka@ goda@