summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Collapse)Author
2004-08-05comapring -> comparing noticed by brad@.Claudio Jeker
2004-08-05The peer_l is not needed in the rde but still allocated, free them andClaudio Jeker
save 1k per peer. OK henning@
2004-08-05As usual cleanup on exit. OK henning@Claudio Jeker
2004-08-05Get rid of some statistics stuff that is no longer needed but helped in theClaudio Jeker
beginning. OK henning@
2004-08-05Cleanup aspath specific functions and api. Mainly switch to a refcnt basedClaudio Jeker
allocation. This helps to save a bit of RAM. looks good henning@
2004-08-05tab at EOLClaudio Jeker
2004-08-05struct prefix has a pointer to the peer so use it everywhere directly insteadClaudio Jeker
of the detour via aspath.
2004-08-05rename and move prefix_equal() to prefix_compare() which returns -1, 0, 1Claudio Jeker
similar to memcmp() and all other compare functions in bgpd. OK henning@
2004-08-05we wanna ignore SIGPIPE here just like in the session engine, claudio okHenning Brauer
2004-08-04session_main() and rde_main() return... right, a pid. and a pid is a pid_tHenning Brauer
and not an int.
2004-08-03Cleanup and remove some ENSURE. OK henning@Claudio Jeker
2004-08-03Make mrt dumps mrt compliant. I already fixed one of those but this oneClaudio Jeker
slipped my attention. Now all bgpd dumps can be read with mrt's route_btoa.
2004-08-03deny hilarious prepends. OK henning@Claudio Jeker
2004-08-03Fix mem-leak on exit. OK henning@Claudio Jeker
2004-08-03Make the code more portable by #ifdef-ing RTF_MPATH. OK henning@Claudio Jeker
2004-08-02Fix a possible mem leak and add a missing yyerror(). OK henning@Claudio Jeker
2004-08-02Forgot to add "anounce default-route" here. OK henning@Claudio Jeker
2004-07-30Document "announce default-route" with a lot of help from jmc@Claudio Jeker
2004-07-30Add new announce type "default-route" which will only announce the defaultClaudio Jeker
route to the specified neighbor. Idea and OK henning@
2004-07-29Initalize local varible in rde_update_get_prefix or we may end up with funnyClaudio Jeker
prefixes.
2004-07-28Prefer the path with the lowest multi-exit discriminator (MED) not the biggest.Claudio Jeker
2004-07-28allow "set metric" as synonym for "set med", from discussion with & ok claudioHenning Brauer
2004-07-28The default localpreference is 100 and not 0. Found and ok henning@Claudio Jeker
2004-07-28The hole dance to close a mrt file after fd passing in the parent is notClaudio Jeker
needed as the fd is closed while beeing passed. looks good henning@
2004-07-28allow prefix lists inside prefix listsHenning Brauer
2004-07-28allow AS lists inside AS listsHenning Brauer
2004-07-28prevent the filter elements from beeing given more than onceHenning Brauer
2004-07-28add list expansion for AS in filter rulesHenning Brauer
actually, it's list expansion on steroids, this works: deny from any { source-AS { 3320 852 } AS { 4589 174 } }
2004-07-28rework the filter_match production and everything below - fixesHenning Brauer
a couple of bugs
2004-07-27add support for {} expansion for prefix in the filter rules, claudio okHenning Brauer
2004-07-27do not define the prefix, prefixlen and community structs used forHenning Brauer
the filters from within struct filter_match but explicit; no functional change
2004-07-27suport macro expansion for peer spec in filter rulesHenning Brauer
things like deny from { $peer1 $peer2 } prefix 192.168.0.0/16 are now possible.
2004-07-13slightly reword myself;Jason McIntyre
2004-07-13tweaks; ok henning@Jason McIntyre
2004-07-13lots of cleanup and revising:Jared Yanovich
- typo fixes, rewording, punctuation - better use of and more format macros - section reorganization in some places - list directives with their arguments - add some cross-refs ok jmc, henning, otto
2004-07-13fix some typosJared Yanovich
ok henning otto
2004-07-11Fix a cross reference to bgpd in the FILES sectionJean-Francois Brousseau
ok jmc@, should make brad stop whining
2004-07-10Fix reverse logic bug in the prefix filter.Claudio Jeker
2004-07-09various tweaks from the Frankfurt->Hamburg flightHenning Brauer
2004-07-09let log_debug only log at all when we're in debug mode, from Montreal AirportHenning Brauer
2004-07-07Stupid typo that may cause a lot of pain. Found by Patrick Latifi. Thanks.Claudio Jeker
2004-07-07Bad interpretation of the oh so well documented mrt spec. Found byClaudio Jeker
Stefan Wahl.
2004-07-05The rde no longer needs to check if the nexthop is the loopback address.Claudio Jeker
This is now down in the parent. OK henning@
2004-07-05new blackhole/reject nexthopsHenning Brauer
2004-07-05implement "set nexthop blackhole" and "set nexthop reject"Henning Brauer
blackhole/reject routes will be entered to the kernel for matching ones. this is intended to be used with the Cymru Bogon Route Server Project (http://www.cymru.com/BGP/bogon-rs.html) and similar services, claudio ok
2004-07-05fix a few KNF falloutsHenning Brauer
2004-07-042 more file descriptors for each RDE and SE inherited from the parentHenning Brauer
we should close
2004-07-04when getting rid of the listen_addr TAILQ after forking actually closeHenning Brauer
the file descriptors in RDE and parent process, not needed or used there
2004-07-03Switch mrt dumping to fd passing. This gives some speed up when extensiveClaudio Jeker
dumping is done. Acctually mrt dumps were broken because of the fd passing. The nice side effect is a much cleaner code, especially in the parent process. OK henning@
2004-06-29little extra paranoia, ignore attempts to enter routes with a nexthopHenning Brauer
within 127/8. inspired by a very bad example for bogon filters at the cymru site, claudio ok