summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2014-02-05add a fstab example, with help from and ok jmc@Nick Holland
2014-02-05Always set the signature to DOSMBR_SIGNATURE when writing a MBR toKenneth R Westerback
disk. This means skipping the '(U)pdate' command after editing the MBR will still produce something disklabel(8) will respect in the morning. Problem noted by David Vasek. ok jsing@ toby@. Moral support halex@.
2014-01-25Correct parsing of dhclient.conf statements 'fixed-address' andKenneth R Westerback
'next-server'. Modify new lease being cloned with their values rather than overwriting original lease being cloned.
2014-01-24Don't include <machine/vmparam.h> directly. Instead, get it with its necessaryMiod Vallat
dependencies via <sys/sysctl.h>. Unbreaks ppc userland build.
2014-01-24re-lookup the policy as soon as we have the ID of the peer (destid)Markus Friedl
ok mikeb@
2014-01-24enable format-string checks for log_*(); ok mikebMarkus Friedl
2014-01-24make sure sa_lookup() can actually find SAs; ok mikebMarkus Friedl
2014-01-24don't leak prv RSA key for each signature; ok mikebMarkus Friedl
2014-01-24use a bit saner timer apiMike Belopuhov
2014-01-23kern.intrcnt is viewable with vmstat+systatPhilip Guenther
2014-01-23Remove a mid-layer which acts like arc4random isn't fairly standard.Theo de Raadt
ok mikeb
2014-01-22regrand can die, from millertTheo de Raadt
2014-01-22fix printing of IPcomp SAs; ok mikeb@ & todd@Markus Friedl
2014-01-22implement DPD similar to isakmpd, but only send DPD-messages 'on-demand'Markus Friedl
(less aggressive, only if the ESP-SAs are actually used); feedback & ok mikeb@
2014-01-22Remove genmask support from route(8). It still will show them in monitorClaudio Jeker
or get but you can no longer set it. genmask will die soon since nobody needs it. OK benno@ and agreed by dlg@
2014-01-22improve randomization. remove some junk debugging features that areTheo de Raadt
fundamentally broken. ok jsing mikeb
2014-01-22relax the cfg file secrecy check slightly to allow group readabilityHenning Brauer
default permissions and mtree NOT changed. prodded by benno, ok phessler benno jmatthew theo pelikan florian
2014-01-21include util.h for scan_scaled()Jonathan Gray
2014-01-21allow pflow(4) to determine the src IP address based on the routeSebastian Benoit
table if flowsrc is not set. Now works with new udp checksum code. From Nathanael Rensen (nathanael.openbsd AT list DOT polymorpheus DOT com), tweak and ok florian@
2014-01-21Allow dhclient.conf to specify 'fixed-address', 'next-server',Kenneth R Westerback
'filename' and 'server-name'. dhclient.conf can now override anything in an offer or saved lease when creating the effective lease.
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2014-01-21Add parsing for options 121 (classless-static-routes) and 249Kenneth R Westerback
(classless-ms-static-routes). dhcpd can now specify and serve these options and dhclient can recognize and use supersede, etc. statements on them. Based on a diff from Stefan Rinke. Thanks!
2014-01-21if_item can be "any" now.Henning Brauer
allows things like block out on $someif received-on any to prevent packets to get forwarded to $someif
2014-01-20Preserve tabs when constructing the "^" line in parse_warn(). NowKenneth R Westerback
error messages line up the "^" correctly even when tabs are present.
2014-01-20more %d type correctness; ok krwTheo de Raadt
2014-01-20Obvious .Xr fixes, found while testing mandocdb(8).Ingo Schwarze
2014-01-20support "!received-on <interface>", ok dlg bennoHenning Brauer
2014-01-20%d cleanups, to other formats; ok krwTheo de Raadt
2014-01-20Don't silently skip the next statement when encountering anKenneth R Westerback
invalid IP in a reject statement.
2014-01-20Cast pointer to (u_int8_t *) when assigning it to a u_int8_t *Kenneth R Westerback
variable.
2014-01-19We don't have any (and I can't find elsewhere) signed 16 bit orKenneth R Westerback
signed 8 bit dhcp option types. So nuke getShort() and all 's' and 'b' format support. While here use '%u'/'%lu' and not '%d'/'%ld' to snprintf() unsigned values.
2014-01-19Usually, you don't want macros in the .Nd line, so remove instances of .TnIngo Schwarze
marking up words that are not trademarks (ASCII, I/O, NFS, TCP, TELNET). While here, remove .Tn markup from the same words in the body of these pages, too.
2014-01-19Nuke unused functions putLong(), putUShort(), putShort().Kenneth R Westerback
2014-01-19Fix macro usage: ifconfig is .Nm, not .Cm.Ingo Schwarze
2014-01-19Redo the parsing of numbers to improve the error messages andKenneth R Westerback
make the code more readable. And prepare for some new things that will need to be parsed. ok dlg@
2014-01-19Rename parse_hardware_param() to parse_ethernet() to reflect whatKenneth R Westerback
it actually does.
2014-01-19Fix minor ident issue. OK benno@, pelikan@Claudio Jeker
2014-01-19Adjust lexchar position by ugflag once only.Kenneth R Westerback
2014-01-18Disable the RAID 5 discipline in bioctl, as the current softraid RAID 5Joel Sing
discipline will more than likely eat data if a drive is lost. Discussed with krw@
2014-01-18Remove the RAID 4 discipline from softraid. Anyone sensible would use RAIDJoel Sing
5 instead of RAID 4, assuming both were functional. Discussed with krw@
2014-01-18Remove -Wbounded: it is now the compiler default.Martynas Venckus
2014-01-18If ugflag (indicating a character from the file being parsed has beenKenneth R Westerback
unget()'ed) is set, then properly set the lexchar position back one in get_token() so more error messages put the '^' in the proper spot.
2014-01-18Remove superfluous assignment to local variable 'val' just beforeKenneth R Westerback
exiting.
2014-01-18Make parse_warn() messages consistantly use 'expecting' ratherKenneth R Westerback
than occasionally 'expected'. End all with a '.'.
2014-01-18Never silently consume the following statement when unexpectedlyKenneth R Westerback
encountering a ';'. I.e. when checking the token type, 'skip_to_semi()' after 'parse_warn()' only when the parsed token wasn't a ';'.
2014-01-17Do not follow symlinks for -l and -L arguments.Tobias Stoeckmann
ok krw@
2014-01-17Make parse_X return -1 when it encounters a parsing error. EnablesKenneth R Westerback
recognition of zero length value vs parsing error. This lets us avoid the erroneous consumption of the semicolon ending the 'X' value, and the resulting accidental consumption of the following line in the file being parsed.
2014-01-16Avoid size_t overflow while reading /etc/resolv.conf.tail.Tobias Stoeckmann
ok krw
2014-01-13peek_token() a bit more to replace a bunch of manual checks withKenneth R Westerback
the perfectly adequate parse_semi(). And some blocks didn't even need to peek.
2014-01-13Don't eat another token looking for a ';' after skip_to_semi() hasKenneth R Westerback
been invoked. Fixes silent loss of the statement following a broken or inapplicable 'interface' declaration in a lease, or an unrecognized lease attribute.