summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2009-06-27Mark MPLS routes with T (tagged) in route output.Michele Marchetto
suggested by dlg@, ok claudio@, laurent@, blambert@
2009-06-26since nitems() is not yet fit for userland consumption, provide itTheo de Raadt
ourselves ok krw
2009-06-25Add a missing RTM_VERSION check.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-25Add missing RTM_VERSION check. This is needed before accessing other dataClaudio Jeker
from routing messages retrieved via routing socket or sysctl. Tested and OK sthen@, OK henning@
2009-06-25Document how to add static MPLS labels.Michele Marchetto
input jmc@, ok claudio@
2009-06-23tweak previous;Jason McIntyre
2009-06-21fix rcs ids. ok sthen@Martynas Venckus
2009-06-20If the user didn't specify a kernel, pass in NULL to kvm_openfiles()Todd C. Miller
so it can try /dev/ksyms. The first call to kvm_openfiles() was already correct.
2009-06-19after long discussion with many...Henning Brauer
ifconfig <if> inet6 used to print all inet6 addresses, and last not least the installer relies on that behaviour. so don't. to turn inet6 on again you have to assign any inet6 address or run rtsol. nobody happy about this asymmetry, but that is the best we could come up with for now.
2009-06-19Document the defer option for pfsync(4) interfaces. ok dlg@Stuart Henderson
2009-06-18fix crypto raid error messageAlexander Hall
ok marco@
2009-06-17Bring bioctl back to reality by adding rebuild and documenting RAID 4 & 5.Marco Peereboom
ok jordan
2009-06-17Add raid 4 & 5 in createMarco Peereboom
ok jordan
2009-06-14enable support for deferring the packet that creates a state so that yourDavid Gwynne
sync peers are able to get the states before the replies. previously there was a race where the reply could hit a partner firewall before it had the state for it, which caused the reply to get processed by the ruleset which probably would drop it. this behaviour is off by default because it does delay packets, which is only wanted in active-active firewalls or when an upstream router is slow to learn that you're moved the active member of the pfsync cluster. it also uses memory keeping the packets in the kernel. use "ifconfig pfsync0 defer" to enable it, "ifconfig pfsync0 -defer" to disable. tested by sthen@ who loves it. he's got manpage changes coming up for me.
2009-06-13mention the number of special devices requiredAlexander Hall
for the different disciplines.
2009-06-12state_panic() tries the active then other valid leases by setting theKevin Steves
interface to each address and trying to ping the gateway. This will trigger an RTM_NEWADDR message. routehandler() only checks for the active and alias address in RTM_NEWADDR messages, so we can exit when state_panic() and the message address is on client->leases. routehandler() needs to also check client->leases. testing krw, 'I say commit' krw
2009-06-11remove unused variableCharles Longeau
ok claudio@
2009-06-11'd *' == 'z' == zero_partitions(). Mount point info needs to beKenneth R Westerback
cleared in both cases. So just do it inside zero_partitions() since we are looping over all the partitions there anyway. Should fix an install corner case discovered by todd@.
2009-06-07Add KERN_FILE2 sysctl analogous to KERN_PROC2 but for file structures,Todd C. Miller
along with vnode type-specific info to make it more useful for fstat(1). OK deraadt@
2009-06-06mention that the timeout is in milliseconds... because i always forget.Chris Kuethe
2009-06-06Uninitialized variable causing havoc on flush. Found by rivo nurgesClaudio Jeker
2009-06-06Nuke debug() unless DEBUG is defined. Elminates debug output fromKenneth R Westerback
normal operations. Prodded by deraadt@ a while ago.
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
ok claudio@, henning@
2009-06-05seperate -> separateJason McIntyre
2009-06-05tweak -V;Jason McIntyre
2009-06-05Document rdomainClaudio Jeker
2009-06-05Fix usage.Claudio Jeker
2009-06-05Allow ping to use an alternate routing domain by using the -V flag.Claudio Jeker
2009-06-05Make it possible to bind an interface to a rdomain. Manpage will follow soon.Claudio Jeker
2009-06-04Recycle four ancient fields in the disklabel structure, replacing them withTheo de Raadt
bounds information, ie. the zone of the disk that OpenBSD can use. Have each pre-disklabel parser (MBR, DPME, or per-arch MD disklabel parsers) figure out this area and pass it up to userland. Then, delete all the same disk parsing code from disklabel(8) since the kernel passes it up. Lots and lots of - signs in the disklabel(8) code. Tested on as many platforms as possible, the fallout will be repaired as time goes on. To test, use disklabel -d <drive> and validate that the bounds do not overlap any boot blocks. This same information is used by disklabel -A... OK for the concept from krw, miod, and drahn
2009-06-04i care about theo's hydration level. make him stop whining by documentingHenning Brauer
inet6/-inet6
2009-06-04allow IPvShit to be turned off completely per-interface.Henning Brauer
ifconfig em0 -inet6 deletes all v6 addresses including link-local and prevents new ones from being added. ifconfig em0 inet6 <addr> re-enables v6, brings the link local back and adds optional <addr> ok theo reyk
2009-06-04xfs -> nnpfs;Jason McIntyre
2009-06-03add bufcachepercent to man page, and maxlocksperuid which someone forgot.Bob Beck
2009-06-03Define a wsdisplay type for gfxp(4).Mark Kettenis
2009-06-03Arla client rename from xfs to nnpfs for later upgrades. Tested on various ↵Janne Johansson
arches. ok todd@ beck@
2009-06-03Use the new powerful route flush to clean up the mess. With this multipleClaudio Jeker
dhclient can more or less peacefully coexist. OK beck@ krw@
2009-06-03remove unneeded ARGSUSED; ok krw@ henning@Kevin Steves
2009-06-02snprintf returns int, not size_t.Ray Lai
OK millert otto deraadt
2009-06-02remove unused variableCharles Longeau
ok krw@
2009-06-02Define a proper wsdisplay type for machfb(4).Mark Kettenis
ok miod@
2009-06-02Add '-h' flag, and '*' as a unit specifier for 'p' Editor command.Kenneth R Westerback
Both cause partition sizes to be displayed using a human readable format with the units automatically chosen by looking at the smallest partition in the disk label. Remove forceable humanization in 'A' code and use '-h' in install scripts. Prodded & ok deraadt@, verbiage tweaks from jmc@
2009-06-01tweak previous;Jason McIntyre
2009-05-31Always show the start and end of the OpenBSD area in units ofKenneth R Westerback
sectors, not any 'human' unit in force.
2009-05-31Masking the priority with RTP_MASK is no longer needed in userland.Claudio Jeker
Kernel will do this now.
2009-05-31add audible output to ping and ping6: -e beeps when pings are replied, -E ↵Chris Kuethe
beeps when pings are dropped. suggestion to make ping and ping6 use the same flag from deraadt & sthen. reminder to not forget about ping6 from todd and naddy. ok deraadt, sthen "well, i don't object..." from a few others.
2009-05-31'-d' works everywhere now. And it ignores the OpenBSD disk label,Kenneth R Westerback
not OpenBSD partitions.
2009-05-31Never 'humanize' the sector offsets of partitions or 'total sectors'.Kenneth R Westerback
If we are humanizing then add a comment to 'total sectors' line rather than replacing 'total sectors' with a new header. Suggestion and ok deraadt@
2009-05-30Make it possible to filter monitor output on AF or show only interfaceClaudio Jeker
specific changes. OK henning@
2009-05-30priority is a u_char not a u_short.Claudio Jeker