summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2006-02-04Document the new special community part "neighbor-as". OK henning@Claudio Jeker
2006-02-03If the aspath gets copied because it is modified use the copy for filterClaudio Jeker
matching. With this it is possible to make later filters depend on previous filter changes -- e.g. via community attributes.
2006-02-03Doh! Fix stupid copy paste error. Setting the community type to the AS insteadClaudio Jeker
of the more obvious type produces really funny errors and gives you some happy hours of debugging.
2006-02-03Cleanup and "simplify" iso checksum implementation. OK norby@Claudio Jeker
2006-02-02Be less verbose about DR/BDR selection this seems to be rock solid now.Claudio Jeker
OK norby@
2006-02-02zap md_list_empty, found by lint.Esben Norby
ok claudio@
2006-02-02zap cand_list_empty, found by lint.Esben Norby
ok claudio@
2006-02-02Implement new special community "neighbor-as". neighbor-as is expanded onClaudio Jeker
the fly to the remote AS of the current neighbor. This can be used to simplify rulesets in a dramatic way -- going from a script based nightmare down to a handfull rules. jajajaja henning@
2006-02-01Simplify expression code. Patch from markus@.Marco Pfatschbacher
ok mcbride@
2006-02-01Run external tests synchronous at state changes andMarco Pfatschbacher
call adjust_external_expressions() which updates the expressions for all states. Address similar state caching problems for external tests as in previous commit. Don't ignore set-state actions if they are happening right after a state change. (Based on a patch from Holger Mikolon). ok markus@, testing sturm@, ok mcbride@.
2006-02-01If we reenter a state, it still has the old link state values cached.Marco Pfatschbacher
Therefore, if it enters a state without calling scan_ifstate() (e.g. through an external-test) ifstated will do the wrong thing (tm). Change scan_ifstate() to first walk over all states and update the expressions _before_ they are evaluated. Help and ok markus@, testing sturm@, ok mcbride@.
2006-02-01spf_calc should only do what the name says - calculate the spf tree.Esben Norby
ok claudio@
2006-02-01Wrong type, found by lint.Esben Norby
ok claudio@
2006-02-01double semicolon; from Daniel Matic in PR 4929Otto Moerbeek
2006-02-01variable naming, a -> addr.Esben Norby
ok claudio@
2006-02-01zap unused function.Esben Norby
ok claudio@
2006-02-01NTP is described by RFC 1305, not 1035;Jason McIntyre
from michal f. hanula (freebsd docs/92629)
2006-01-31When sysctl(3) fails, check for ENOENT instead of ENXIO to findMoritz Jodeit
the last sensor and don't monitor sensors, which are marked invalid. ok henning@
2006-01-31Dynamic routes (PMTU, etc) are not redistributable even for IPv6.Claudio Jeker
Sure henning@
2006-01-31fix a bug by updating the bpf packet header for each received frame inReyk Floeter
the capture buffer. to alex 'pukpuk' at gmx.de
2006-01-30Clarify pkg_info -e example; ok espie@Miod Vallat
2006-01-28be less verbose:Nikolay Sturm
- status does not provide any information, remove it - print battery status in one line ok beck, drahn, i386 tested by bernd
2006-01-28simplify statics, remove stupid goto, plug a leak. ok moritzTed Unangst
2006-01-26Separate route table calculations from the SPF calculation.Esben Norby
ok claudio@
2006-01-26fix some format strings and add a missingMoritz Jodeit
argument to a log_err() call. ok ho@
2006-01-25Fix an off-by-one in pppd(8)'s option handling. ok tedu@Moritz Jodeit
2006-01-25Remove gratuitous fetch_state() calls in state_change().Marco Pfatschbacher
It could race with a second incoming routing message, which would not trigger any action, because of the already updated status cache. Found by markus@. OK markus@ mcbride@
2006-01-24Correct debug textEsben Norby
2006-01-24protect against weird situations where dependencies don't matchMarc Espie
(admittedly, we should recompute them, but that's already better than nothing).
2006-01-24Fix bad indent.Esben Norby
2006-01-24Split SPF calc and AS Ext calc.Esben Norby
Initial diff by claudio@ reworked by me. test and ok claudio@
2006-01-24add -r to synopsis, and tweak its description a little;Jason McIntyre
2006-01-24introduce "bgpctl show summary terse", shows summary in an easy to parseHenning Brauer
format, intended for monitoring puposes. claudio ok
2006-01-24bgpd does not and will never support route flap damping as defined in theClaudio Jeker
mentioned RFC. Even RIPE (RIPE-229) realized that route flap damping should be considered evil.
2006-01-24Last bits for softreconfig in support. Now bgpd will automaticaly rei-filterClaudio Jeker
the RIB after a reload so you no longer need to clear sessions because you modified filters. Looks good henning@.
2006-01-24Functions in the poll() loop should only be moved around if there are noClaudio Jeker
side-effects. Revert last changes and make bgpctl reload work again.
2006-01-24Check if filter changed on a per peer basis. This should speed up theClaudio Jeker
table run done later as many filter evaluations can be skipped. From the softreconfig in tree. Looks good henning@
2006-01-24Finally start using the Adj-RIB-In. The most complex part is the modificationClaudio Jeker
of path_update(). There are about 10 different ways how to update a path and some of them are tricky. Looks good henning@
2006-01-24It is possible that a prefix is part of two RIBs in that case prefix_remove()Claudio Jeker
needs to be extra careful and only remove the prefix from the specified RIB. Looks good henning@
2006-01-24Update comment to match reality.Claudio Jeker
2006-01-24document -rHenning Brauer
2006-01-24missing space in error message, and make it slightly betterer while thereHenning Brauer
2006-01-24KNFHenning Brauer
2006-01-24zap now unused varHenning Brauer
2006-01-24introduce a second control socket, which is restricted to certain messages,Henning Brauer
nameley the show ones. needed for looking glass style applications, monitoring etc. claudio ok
2006-01-24make bgpctl deal with IMSG_CTL_RESULT no matter what request was sentHenning Brauer
claudio ok
2006-01-23Kill stupid comment. "not reached" after a continue is superfluous.Claudio Jeker
2006-01-23Open the routing socket before load_config() calls fetch_state().Marco Pfatschbacher
Otherwise we could loose routing messages that arrive in between. OK markus@, mcbride@
2006-01-23Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENTodd C. Miller
2006-01-20Proactively fix prefix counters. Currently only F_LOCAL prefixes exist butClaudio Jeker
as soon as F_ORIGINAL come the counters would no longer be correct and in the end max-prefix would no longer work. Add additinal counters for F_ORIGINAL prefixes and bump the correct conter depending on the prefix flags. OK henning@