summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2015-10-05Remove 'landisk' from the comment about NUMBOOT archs. Only oneKenneth R Westerback
NUMBOOT arch is left: Vax.
2015-10-05Remove disklabel -B support on landisk - superseded by MI installboot.Miod Vallat
2015-10-05Oops. Missed file in fdisk commit.Kenneth R Westerback
2015-10-05Tweak man page to describe newly enhanced '-g' operation.Kenneth R Westerback
2015-10-05Enhance '-g' to create a default GPT label in addition to the protectiveKenneth R Westerback
MBR. If '-b' is specified an EFI System partition of the requested size is created. All remaining space is put into an OpenBSD partition. Minimal enhancement necessary for upcoming UEFI install support. Committed first to flush out any unexpected impacts on 'normal' MBR operation and install media. ok deraadt@
2015-10-04dmesg has two modes. The normal sysctl mode, and the -M/-N kvm searcher.Theo de Raadt
In both cases once the relevant setup is done, it can drop to tame "stdio".
2015-10-04Repair tame() error check to be == -1Theo de Raadt
2015-10-03IPv6 transport for pflow data.Florian Obser
Input deraadt@ Bug fix & OK benno@
2015-10-03If we care about placing core files from SUID programs in a safe place,Vadim Zhukov
lets do not suggest to provoke races and use -m option of mkdir(1). ok guenther@, "don't care" deraadt@ :)
2015-10-03ping6 is a setuid root priv-drop which holds a sockraw. we can tame itTheo de Raadt
substantially with "stdio inet", plus "dns" if the -n option is missing. a successful exploit against it then cannot create files, or perform a variety of other operations, as described in the tame(2) man page. ping6 is a bit trickier than ping, because it uses recvmsg() with CMSG types of IPV6_HOPOPTS, IPV6_DSTOPTS, IPV6_RTHDRDSTOPTS, IPV6_RTHDR. there is further work to do in the kernel, with claudio! work with florian a while back, which involved hoisting lots of initization code upwards. ok doug
2015-10-03ping is a setuid root priv-drop which holds a sockraw. we can tame itTheo de Raadt
substantially with "stdio inet", plus "dns" if the -n option is missing. a successful exploit against it then cannot create files, or perform a variety of other operations, as described in the tame(2) man page. work with florian a while back ok doug
2015-10-02Curve25519 is now specified in draft-ietf-ipsecme-safecurves-00 (alongReyk Floeter
with Curve448). And we already support it. Mention it here to update the Id when it was assigned by IANA.
2015-10-02RFC7634 specifies ChaCha20-Poly1305 for IKEv2 and IPsec and IANAReyk Floeter
assigned an official ID 28 for it. This is good news, and we should really support it as well. Just add the ID for now. Discussed with mikeb@
2015-10-02Remove MD5 from the default proposals. At least SHA1 seems to be theReyk Floeter
minimum out there. Even El Capitan announces 3DES and SHA1 instead of MD5. OK mikeb@
2015-10-02If the policy certreqtype is 0, use the global one instead.Reyk Floeter
This fixes EAP (user-based auth) with IKEv2 in El Capitan. OK mikeb@
2015-10-02Make 'pfctl -s all' show queues. pfctl(8) says it does, and 5.4Kenneth R Westerback
pfctl(8) did for the old queues. ok sashan@ sthen@
2015-10-02oh no, a KERBEROS lefover; from Ilya KalimanTheo de Raadt
2015-10-01Don't reject an "empty" CERTREQ (one with no CA hashes), instead treat it asStuart Henderson
if no CERTREQ were received. In conjunction with the previous iOS9 interop fix, this may fix an interop problem seen by Denis Lapshin with BlackBerry OS 10.3.1 and one of a number with firebrick.co.uk's IKEv2 implementation diagnosed by their developer Cliff Hones. ok reyk@
2015-10-01Fix interoperability with Apple iOS9: If we don't get a (valid)Reyk Floeter
CERTREQ but a CERT, respond with a local CERT that was selected based on our own policy instead of leaving it out. This seems to be valid with the RFC that makes the CERTREQ optional and allows to ignore it or to apply an own policy. OK mikeb@ sthen@
2015-09-30remove old self-kill() in the signal handler. must predate theTheo de Raadt
signal handler audit. found while adapting ping6 to tame. ok kettenis
2015-09-29Delete the final, inscrutable NOSTRICT and VARARGS lint commentsPhilip Guenther
ok millert@
2015-09-27Mark ask() as printf-like; split up a pwarn() with variable number of specifiersPhilip Guenther
ok beck@ millert@
2015-09-27lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */Philip Guenther
(others require more care)
2015-09-25there's no need to keep init secret these days, and the (unused)Ted Unangst
immutable flags would just be a pita. remove custom bin mode.
2015-09-25drop useless .Xo and .Bk, and shorten by avoiding some .SmIngo Schwarze
2015-09-24Remove hppa/hppa64 from comment about NUMBOOT > 0 architectures.Kenneth R Westerback
2015-09-24Expunge VAX SMD special handling that tried to fill up the lastKenneth R Westerback
cylinder of the disk with extra copies of the boot blocks and disklabel. There are no plans to ever support the native SMD controllers that would find this useful. ok miod@
2015-09-24hppa/hppa64 use installboot(8) now, not -B/-b.Kenneth R Westerback
Only vax and landisk left using -B/-b. ok jsing@ miod@
2015-09-16Some cleanup from dhill AT mindcry.org, thanks!Florian Obser
- remove unused defines - use socklen_t for getnameinfo no object change
2015-09-15update spacing in usage(); reminded by jmc@Ingo Schwarze
2015-09-15fix markup of the -t argumentIngo Schwarze
2015-09-12obvious macros fixes:Ingo Schwarze
* use .Cm for fixed argument strings * properly use .Ar on individual arguments * drop redundant .Bk
2015-09-12typo that breaks the buildChristian Weisgerber
2015-09-12Avoid out of boundary access on invalid or short packet reads.Tobias Stoeckmann
ok florian@
2015-09-11Remove RTF_XRESOLVE support.Martin Pieuchot
2015-09-11In `ifconfig media` output, stop advertising media with fixed dataStefan Sperling
rates on wireless interfaces. They are not needed by mere mortals. ok phessler miod kettenis deraadt mpi
2015-09-11Fix ifconfig for ifmedia64.Stefan Sperling
2015-09-10use .In rather than .Fd #includeIngo Schwarze
2015-09-10avoid divide by zero; from Michael McConvilleTheo de Raadt
2015-09-10reduce .Nd to one line and kill .Tn while hereIngo Schwarze
2015-09-09In the flag command description, mention that a bootable partitionTheo de Raadt
is marked with '*' due to comments from sthen and kettenis
2015-09-09remove 3 paragraphs of useless information at the start, and replaceTheo de Raadt
with the simple facts a user needs. ok kettenis krw
2015-09-09Cleanup the iov handling in ping6. Use the global iov instead of a localClaudio Jeker
version which is then added to a global struct msghdr. Issue found by Michael McConville. OK florian@ tobias@
2015-09-09No need to check !xxboot inside a 'if (!xxboot) ...' block.Kenneth R Westerback
ok otto@ deraadt@
2015-09-08Correct strsep() usage to free() correct string. Spotted by andKenneth R Westerback
original diff from Michael McConville via tech@. Thanks! ok millert@ beck@ guenther@ jca@
2015-09-08Avoid a SIGSEGV with FGJ malloc.conf flags when a template is used.Todd C. Miller
Found by jsg@. OK jsg@ deraadt@
2015-09-06correct a mistake in my previous commit;Jason McIntyre
2015-09-05snprintf+write --> dprintfPhilip Guenther
ok deraadt@
2015-09-05Some whitespace bulking out a diff unnecessarily.Kenneth R Westerback
2015-09-04shuffle -b into place; while there, do some general tidy upJason McIntyre
of SYNOPSIS and usage();