summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2012-03-17remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO.David Gwynne
no objection from mcbride@ krw@ markus@ deraadt@
2012-03-11typo reported by Ville Valkonen <weezelding at gmail dot com> on tech@Ingo Schwarze
2012-03-05fix format string:Henning Brauer
use %zu for size_t and %d for signed ints first one triggered by a mail from joerg @ netbsd, thanks. ok millert dlg
2012-02-08Hammer fstab entries and command line entries into same format withKenneth R Westerback
realpath() and opendev() so duid and device names work consistantly. Also lets duid fstab entries work. ok deraadt@
2012-02-02add netflow v9/ipfix support to pflow(4).Sebastian Benoit
large parts written by Florian Obser (florian -at- narrans -dot- de). feedback from sperreault@ gollo@ sthen@ ok from gollo@ dlg@ henning@
2012-01-31fix a typo; Steffen Daode NurpmesoTheo de Raadt
2012-01-30fix format stringCharles Longeau
ok krw@ otto@
2012-01-29use Pp, not blank lines;Jason McIntyre
2012-01-29Add CAVEAT that only 512-byte sector devices are supported.Kenneth R Westerback
ok jsing@ jmc@
2012-01-29Remove -Werror so that we do not break builds on systems running withJoel Sing
WARNINGS=yes. Found the hard way by nicm@ ok nicm@
2012-01-22If no controller name is provided, use the program name as a prefix. Also,Joel Sing
exit with an "unknown error" if a bio(4) error is reported but no status message has been provided.
2012-01-20Teach bioctl(8) about the new status interface for bio(4). With theJoel Sing
exception of a few messages specific to softraid(4) CRYPTO, there should be no functional change for drivers that do not yet implement the interface (which is currently all of them).
2012-01-19Even 'X'perts should not be able to use the built in editor toKenneth R Westerback
create ffs partitions with invalid fsize and bsize values newfs will croak on. However, they should be able to set them to whatever consistent values they want, not just make them smaller. Also tweak some verbiage.
2012-01-19remove unused variable.Charles Longeau
ok yasuoka@
2012-01-17No need for saying out loud what we're thinking during auto-allocation.Kenneth R Westerback
i.e. when rounding off various values. ok deraadt@ sthen@
2012-01-17Move the bio(4) cookie into a separate struct and make this struct theJoel Sing
first member of each ioctl data structure. This will allow for future changes to bio(4) status handling.
2012-01-17CONCAT requires at least two disks.Joel Sing
2012-01-17Avoid ffs fragsize < sector-size when 'a'dding a partition via theKenneth R Westerback
editor. Use logic from calculating fragsize for an auto-allocated partition. Noted when trying to add a small ffs partition to a 4K sector device.
2012-01-16Nuke unused parameter (f) to makebootarea(). Unused since r1.123Kenneth R Westerback
(2008), when '-r' support was removed. Spotted by jsg@ with the assistance of clang.
2012-01-16import (and fix) net_addrcmp() from libc as a static function.Eric Faurot
It is going to get removed from libc and this file is the only one using it. discussed with deraadt@ guenther@ ok deraadt@
2012-01-15add missing sysctl_pipex declarationDavid Hill
ok yasuoka
2012-01-15convert an snprintf to strlcpyDavid Hill
ok mikeb henning
2012-01-15Make dhclient use the correct rdomain for all requests for leases, notPeter Hessler
just the first one. from Joel Knight OK krw@
2012-01-07Move -O to the correct section.Joel Sing
Spotted by jmc@
2012-01-07Provide a bioctl(8) option that changes the state of a chunk to offline.Joel Sing
man page part with todd@
2012-01-02Remove more mentions of two stage boot loaders from man page.Kenneth R Westerback
2012-01-02Change last "#if (NUMBOOT == 1)" to "#if NUMBOOT > 0".Kenneth R Westerback
2012-01-02Tweak usage and man page into agreement.Kenneth R Westerback
There's nothing special about -c and -d requiring them to be separated from other flags or specified as mutually exclusive. So just show a single block of flags. Some flag combos are silly but harmless. Move all -B options inside NUMBOOT #if, eliminating confusing duplication of -w and -R usage lines. And some string declaration dancing. Since we only have NUMBOOT = 1, no need to try and finesse output for different values of NUMBOOT. Line shit up.
2012-01-02'-s' hasn't done anything for a couple of years. Garbage collectKenneth R Westerback
it and the associated 'bootxx' variable. Update man page accordingly.
2011-12-31Implement a concatenating discipline for softraid.Joel Sing
Many thanks to Marco Peereboom for his assistance with testing and debugging. Thanks also to Josh Grosse and Chris Jackman for testing.
2011-12-28The ctl, note, notepg, regs, and fpregs files have been removedPhilip Guenthe
2011-12-25miod@ reported problems reproducing a 'pre-4K fix' disklabel. So in theKenneth R Westerback
interest of rope sales allow the 'X'pert to suppress the rounding of partition locations to bsize boundaries. Also mention that such rounding is being done, so as to not surprise the user. ok otto@ a while ago
2011-12-25printf("msg")/return 1 -> err(1, "msg"), which will also show relevantKenneth R Westerback
errno string. Since we are err()'ing out, don't worry about closing MBR fd first.
2011-12-23some spelling fixes, found using freebsd's "igor" document verifier;Jason McIntyre
2011-12-20unsigned long should use "%lu" format; from eric lax, thanksMike Belopuhov
2011-12-19unbreak rule optimizer; ok henning, looksMike Belopuhov
2011-12-12fixup af-to regression with match rulesMike Belopuhov
pfctl should not infer the af-to behavior from the af/naf difference. instead, we should be clear that this is an af-to rule. essentially this change converts FOM_AFTO marker into a rule flag PFRULE_AFTO so that we don't rely on ambiguous checks (like r->af != r->naf) when setting things up. positive review and comments from claudio, ok henning, sperreault
2011-12-12Allow using FQDN as a ID payload type. Some client (eg Windows XP)YASUOKA Masahiko
uses the FQDN type in NAT-T with transport mode. ok markus
2011-12-10Try harder to re-initialize parsing state so nothing accidentallyKenneth R Westerback
carries over when a new file (i.e. leases after config) is parsed. May help with mysterious "Corrupt lease file" messages.
2011-12-10Tweak parsing. No need to declare, assign and then ignore the tokenKenneth R Westerback
value when only the token id is required.
2011-12-10Tweak leases file handling.Kenneth R Westerback
1) Write out new leases file every time a lease is obtained. i.e. don't append 20 leases before cleaning it up. 2) Write new leases file after calling dhclient-script to implement new info. Gets interface configured first, and makes it more likely the leases file reflects most current configuration.
2011-12-04Cleanup recently removed flags from ifconfig.c and its manpage.Christiano F. Haesbaert
ok jmc@ mikeb@
2011-12-03Remove an OpenBSD-specific tweak regarding .Xr spacingIngo Schwarze
and make it compatible with bsd.lv mandoc and with groff-1.21. This tweak was originally added for compatibility with groff-1.15, which is no longer needed. ok jmc@ kristaps@
2011-12-03pfctl_set_hostid always returns 0; don't pretend otherwise and make it aRyan Thomas McBride
void function instead. ok dlg
2011-12-03Avoid loading garbage hostid and other values not always initialised,Ryan Thomas McBride
by bzero()ing the 'struct pfsync' properly. ok dlg mpf
2011-12-01Fix negating of unsigned d_secsize. FIRST, cast to signed type,Kenneth R Westerback
THEN negate. Fixes issues with 'b' and 'k' size suffixes. Make error message more clear while here. Found, and fix provided, by David Imhoff via bugs@. Thanks!
2011-11-27Manpage bits for the recent changes in vlan(4) prio handling.Christiano F. Haesbaert
ok jmc henning sthen claudio
2011-11-26Tie the 802.1p (CoS) value in vlan(4) with the new prio scheme in pf.Christiano F. Haesbaert
When transmitting through vlan(4), it will now use the prio value in pf packet header. When receiving, we save the incoming Cos in the same place, this gives us the hability to preserve the CoS value across two different vlan interfaces. This kills the SIOC[GS]VLANPRIO ioctls and removes the corresponding buttons from ifconfig(8). ok henning@ claudio@ mcbride@
2011-11-23print ports as numbers by default; -P prints names insteadHenning Brauer
2/2 from Lawrence Teo <lteo at devio dot us> ok sthen dlg and myself
2011-11-23print_rule: rename opts -> ropts, no binary changeHenning Brauer
1/2 from Lawrence Teo <lteo at devio dot us> ok sthen dlg myself and gcc