summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-03-27Remove unused parameter in nbr_newMichele Marchetto
2007-03-27Normalize tv so that tv_usec is positive. The kernel also normalizes,Otto Moerbeek
but this might increase portability since some other systems do not grok negative tv_usec well. ok henning@
2007-03-27Fix aligenment issues by using bcopy() and a local variable instead of theClaudio Jeker
problematic *(u_intXX_t*)t casts. This fixes the bus errors I got on sparc64 while doing IEEE802_11_RADIO dumps. OK reyk@ mglocker@
2007-03-27First step to make ospfd equal cost multipath aware.Claudio Jeker
Change kroute.c code so that it correctly tracks multipath routes. Route redistribution is way more complex in a mulitpath environment. It is not possible to redistribute multiple pathes and only a part of the multipath routes may be redistributable. So a route is redistributed as soon as one of the multipath routes is redistributable. Tested and OK norby@ and pyr@ -- at least we see no regression
2007-03-27Correctly handle connected routes in srt_check_route()Michele Marchetto
OK norby@
2007-03-26even better wording.Marc Espie
2007-03-26adjust documentation to simplify the common case.Marc Espie
2007-03-26remove the unneccessary options descriptions from usage();Jason McIntyre
noticed by Igor Sobrado ok henning
2007-03-26Print the reason code of deauth and disassociation packets if in verbose mode.Claudio Jeker
This helps debugging issues with stations that fail to join a network. OK mglocker@, reyk@, jsg@
2007-03-26fix lines with too many args; from Igor SobradoJason McIntyre
2007-03-26Route report packets with metric greater than infinity are legal, so don'tMichele Marchetto
drop them. Small typo. OK norby@
2007-03-25support a 2 address format (addr:port addr:port) like fstat outputs.Theo de Raadt
also enhance ipv6 support by unpacking the [addr]:port format. ok beck, itojun, various others
2007-03-25If the interface metric changes on reload it is necessary to re-originateClaudio Jeker
the router LSA so that the change propagates instantly. Call orig_rtr_lsa() in merge_config() if a interface in an area changes. Do it as late as possible to reduce the amount of updates generated by a config reload. Found and tested by Stuart Henderson. OK norby@
2007-03-24hugh says the vax workaround was for toolchain crashes, not rpc.bootparamdTheo de Raadt
crashes. it compiles now, so remove the workaround
2007-03-23Increase sensor polling interval to 30s, just like ntp polls. ThisChris Kuethe
improves sensor timekeeping significantly. Before this patch my test system's frequency adjustment would range between -350 and +250, with timedelta rarely getting close to 0. After, frequency adjustmens is on the order of +/- 0.05ppm, with time +/- a few microseconds away from 0 ok henning, mbalmer, otto
2007-03-22remove default output of version numbers to silence confused auditingPierre-Yves Ritschard
programs. prompted by deraadt@ and cloder@, ok cloder@, henning@, xsa@
2007-03-22s/%ssredistribute/%sredistribute/. One s is enough and makes -nv outputClaudio Jeker
a valid config file again.
2007-03-22Somehow I forgot how to correctly sort in alphabetical order.Claudio Jeker
"router" needs to be added before "router-dead-time". Figured out by Stuart Henderson
2007-03-22do not try to grab default router list on "ndp -r" if it's emptyJun-ichiro itojun Hagino
(happens when the machine is an IPv6 router). from kame ok deraadt, mbalmer
2007-03-22backoutOtto Moerbeek
*c && !isspace(*c) is not equivalent to !isspace(*c) ok millert@
2007-03-21Added code to parse unicast routes learned from route report packets.Michele Marchetto
Now we are able to select correctly designated forwarders and downstream dependent routers per interface. Tested and OK norby@
2007-03-21tweak a sentence;Jason McIntyre
2007-03-21Add RFC 3137 and remove the caveats section. Ospfd will now automaticalyClaudio Jeker
switch to "stub router yes" if the forwarding sysctl is set to something differently than 1. This can be overruled by a later "stub router no" in ospfd.conf. More work is needed here. OK norby@
2007-03-21Document "stub router (yes|no)" and how/why it is used.Claudio Jeker
Also modify the fib-update block a bit because "fib-update no" implies "stub router yes". OK norby@
2007-03-21Add support for RFC 3137: OSPF Stub Router AdvertisementClaudio Jeker
This allows ospfd to announce networks without the need to transit traffic. stub router is enabled if the fib is not coupled, net.inet.ip.forwarding is not 1 or if the stub router global config option is set to yes. OK norby@
2007-03-21in addition to the host retry option in tables, add support for theReyk Floeter
optional connection "retry" to the forward to, service, and nat lookup options. for example, "nat lookup retry 3" is useful when running hoststated as a transparent proxy when connecting to unreliable frontend/backend servers. ok pyr@
2007-03-20document the args to the "timezone" command;Jason McIntyre
fixes documentation/5403: dst argument not defined in config manpage from James Hartley
2007-03-20various text improvements to make this page read better. also add inJason McIntyre
a little of afterboot(8)'s wisdom to prepare for my killing the kernel building section in afterboot(8) (which is here replicated);
2007-03-20make synopsis/usage() a little nicer;Jason McIntyre
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-19Doh! If we support "redistribute rtlabel" we should actually track theClaudio Jeker
routing labels in ripd's kroute code. Just steal the code from ospfd which does it right. OK michele@
2007-03-19do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et alHenning Brauer
2007-03-19do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et alHenning Brauer
2007-03-19do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et alHenning Brauer
2007-03-19when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do notHenning Brauer
signal "connection closed" upstream. spotted by Valentin Kozamernik <tin@komna.com>
2007-03-19make `no @owner', `weird mode' and `@dirrm' into errors.Marc Espie
2007-03-18handle more errors during package creation.Marc Espie
- if archiving discovers issues, then go into high speed mode where stuff doesn't get written. - in case of errors or fatal signals, make sure to remove a partially written archive.
2007-03-18do not use section names for locating a string tab; miod@ okMichael Shalayeff
2007-03-18use strtonum() to avoid out of range values, way simpler than theTheo de Raadt
12-line song and dance that standard functions need; bret.lambert@gmail
2007-03-18remove some unnecessary sanity checks. /var/db/pkg is supposed to containMarc Espie
only packages, so it's not really necessary to check for file existence and rights. Besides, actual use of package stuff will try reading +CONTENTS in a guarded way, so it will error out sanely... Trims out hundreds of stat() under /var/db/pkg, which are largely responsible for the slow start time of pkg_* tools.
2007-03-17remove a debug messageReyk Floeter
2007-03-17fix a bug in the initial setup of the pfe2relay communication socketsReyk Floeter
which prevented the pfe to accept statistics updates and natlookups from any other process then the first one. in other words, this will show you the total relay statistics off _all_ preforked processes (hoststatectl show relays) and it will unbreak the natlookup mode with more than one running relay process.
2007-03-17Exchange a strlcpy() with a strncpy(). A similar change was done in parse.yClaudio Jeker
some time ago. The simple password needs to be nul extended and is allowed to fill the full buffer the perfect job for stncpy(). Found and tested by Jon Morby.
2007-03-17move some elements in the relay imsg ctl structures (just for the style)Reyk Floeter
2007-03-17close unused relay2pfe privsep sockets correctlyReyk Floeter
2007-03-17fix the natlook mode.Reyk Floeter
2007-03-16Missed to remove SAFI_BOTH here. Informed about it by Steven Mestdagh.Claudio Jeker