summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-04-06Implement "bgpctl show neighbor <peer> terse" this will print all statisticsClaudio Jeker
in an easily parseable form. This output can be used to implement SNMP MIBs or rrdtool/mrtg update scripts. OK henning@
2007-04-06Include update statistics in the bgpctl show neighbor output.Claudio Jeker
2007-04-06Count the updates and withdraws for additional statisic gathering.Claudio Jeker
Discussed with henning@
2007-04-05remove an unused function.Pierre-Yves Ritschard
ok claudio@
2007-04-05another extra test i missed before, from charles longeauTed Unangst
2007-04-05remove some extra tests, from charles longeauTed Unangst
2007-04-05remove extra test, but do it correctly this timeTed Unangst
2007-04-04document correctly WHITE format; ok beckJason McIntyre
fixes system/5432 from Ullrich 'Jason' Haag
2007-04-04Type 4 (router) summery LSA need to be sent out with an LS ID equal to theClaudio Jeker
ASBR router ID. Using the avertising router for this only works for intra- area routes but fails horribly for inter-area ones. Luckily RIB router entries use the router ID as prefix so just use that instead -- this simplifies the code nicly. Figured out the hardway by pyr@. Tested and OK pyr@
2007-04-04There is no need to originate inter-area routes to the backbone.Claudio Jeker
Inter-area routes are already comming from the backbone so readding them is wrong. OK norby@
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