summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-04-03Don't get upset about short sized input files.Jonathan Gray
ok moritz@
2007-04-02Use fatal() if calloc fails instead of fatalx().Claudio Jeker
2007-04-02Typo.Claudio Jeker
2007-03-31some KNF, partially pt out by rivo nurges <rix@estpak.ee>Henning Brauer
2007-03-31Some code cleanups. Added one lint command, removed one unused function andMichele Marchetto
some other cosmetics.
2007-03-30Preserve the contents of the memory buffers when syslogd reinitializesCan Erkin Acar
logs in response to a HUP signal, as long as /etc/syslog.conf remains unchanged. ok mpf@
2007-03-30Use correct function name in fatalx() message.Claudio Jeker
2007-03-30Restore full version reporting when using the -v and -V switch.Pierre-Yves Ritschard
This unbreaks some configuration scripts. ok henning@, xsa@, espie@
2007-03-29sync sync sync is so 1970; ok miodTheo de Raadt
2007-03-29Document the new inet and inet6 filter parameters. OK henning@Claudio Jeker
2007-03-29Until now prefixlen defaulted to AF_INET if it was used without a prefix.Claudio Jeker
This makes prefixlen filtering for AF_INET6 unnecessary complex. From now on if prefixlen is used alone the address family needs to be specified beforehands via the new inet or inet6 keywords. Remove an old check so that it is finally possible to filter IPv6 prefixes. OK henning@
2007-03-28flesh out the addresses to make it clear what they are; requested by jmcTheo de Raadt
2007-03-28Since /etc/crontab is not edited via crontab(1) there's no goodTodd C. Miller
reason to require its mode to be be 0400 or to bail if the link count is != 1. The reason for such paranoia all has to do with crontab(1) and editing user crontab files. We now only require that /etc/crontab not be writable by anyone other than the owner. OK deraadt@ ajacoutot@ jmc@
2007-03-28Remove unused variable found by lint.Claudio Jeker
2007-03-28add support for bgpctl show rib community <community>Henning Brauer
mostly from rivo nurges <rix@estpak.ee>, ok claudio
2007-03-28add IMSG_CTL_SHOW_RIB_COMMUNITY, rib by given communityHenning Brauer
mostly from rivo nurges <rix@estpak.ee>, ok claudio
2007-03-28IPv6 ttl setting via IPV6_HOPLIMIT no longer works. Switch toClaudio Jeker
IPV6_UNICAST_HOPS which does the same thing and does not fail. OK henning@ found by Jon Morby
2007-03-27finally remove old warning, @lib has been around (and used) since 3.7.Marc Espie
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