Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-11-10 | char -> u_char in a few places | Henning Brauer | |
apparently from Jeff Rizzo <riz@NetBSD.org> via "Thomas E. Spanjaard" <tgen@netphreax.net>, ok claudio | |||
2006-04-21 | Remove function prototype that was never used. From deraadt@ | Claudio Jeker | |
2006-04-04 | add "set nexthop self", force nexthop to be set to own address even with IBGP | Henning Brauer | |
requested & tested Falk Brockerhoff <fb@smartterra.de>, and tony sarendal tested this too. claudio ok | |||
2006-01-13 | Simplify evaluation process. Instead of checking the reachability of a prefix | Claudio Jeker | |
at many different places do it once. This simplifies the logic and makes it easier to extend it for upcomming Adj-RIB-In addition. OK Henning. | |||
2006-01-12 | Copy AS path in rde_filter() on demand instead of doing it before calling | Claudio Jeker | |
rde_filter(). Adapt path_update() to this change too. path_update() does a path_copy before linking the rde_aspath into the RIB. Looks good Henning. | |||
2006-01-05 | Cache optional BGP attributes (mostly communities) and use a simple | Claudio Jeker | |
pointer plus a ref counter to link the attributes to the path object. Saves +/- 10M on 11 full feeds. Looks good Henning | |||
2005-12-30 | Use sys/hash.h instead of own built functions that work similar. | Claudio Jeker | |
While there reorder some structs to help with alignment. | |||
2005-11-29 | Add a flags field to struct prefix which will be used shortly. Remove the peer | Claudio Jeker | |
pointer so that the size does not grow. Adding 4 bytes to struct prefix would result in 64MB more memory usage on one of my systems. | |||
2005-11-29 | even more spaces and tabs. | Claudio Jeker | |
2005-11-01 | Softreconfig out support. On config reload filter changes of outgoing rules | Claudio Jeker | |
will propagte directly to the neighbors. There is no need to restart bgpd in that case. Currently not optimal but a good start. "get it in" henning@ | |||
2005-11-01 | Major cleanup in rde_update.c. Merge equal code used in different places | Claudio Jeker | |
into own functions. Move up_dump_upcall() into rde.c and rename it rde_up_dump_upcall(). This is needed for the next step. up_test_update() tests if an update or withdraw is needed and up_generate() creates the updates. "get it in" henning@ (he is eager on softreconfig out) | |||
2005-11-01 | Switch from the per peer filter set list to a filter-only solution. | Claudio Jeker | |
The default filter_sets are converted into match filter rules that get evaluated first. Simplifies code massively -- mainly the config reload part -- and makes softreconfig out a piece of cake. "get it in" henning@ | |||
2005-10-19 | tsc tsc tsc, tabs are not always holy | Henning Brauer | |
2005-08-10 | Pass the correct peer to rde_apply_set(). rde_apply_set() needs to know | Claudio Jeker | |
the peer where the prefix came from so that prepend-neighbor works. Extend rde_filter() and make sure that the correct peer is passed. Until now most cases resulted in a NULL peer causing a nasty crash that was found by David Ulevitch. OK henning@ | |||
2005-07-29 | Debugging session at WTH. Fix many bugs in the IPv6 support -- some copy paste | Claudio Jeker | |
and some more obscure ones. With this is it possible to run IPv6 sessions between two bgpd. OK if it does not break IPv4 hummpa barman Henning | |||
2005-07-29 | Add another piece to the IPv6 puzzle. This time code to generate MP updates. | Claudio Jeker | |
Does not affect IPv4 minimaly tested for IPv6 because we still don't have an IPv6 capable neighbor. henning@ ya | |||
2005-06-16 | use prefixlen2mask() instead of doing the bitshifting by hand; fixes the | Henning Brauer | |
zero prefixlen case (32 bit shift on 32 bit val -> undefined result) spotted by Moritz Grimm and otto | |||
2005-03-11 | Finally commit the transparent-as and nexthop no-modify stuff I wrote on the | Claudio Jeker | |
way to FOSDEM. With transparent-as set to ye bgpd will not prepend his own AS for sent updates. NB the neighbor needs to set "enforce neighbor-as no" or it will not like the received AS paths. With set nexthop no-modify bgpd will change the nexthop as done normaly. OK henning@ man page update with help of jmc@ | |||
2005-02-07 | spelling fix | David Krause | |
2004-11-11 | spaces at EOL in comments, spotted by theo | Henning Brauer | |
2004-11-11 | Store the local v4 and v6 address of a session. For IPv4 sessions the first | Claudio Jeker | |
IPv6 address with global scope of the interface used by the session is used. In any case the local endpoint of the session is used for one of the two no matter what scope. OK henning@ | |||
2004-09-28 | Add prepend-neighbor feature. Prepend the remote-as n times similar to | Claudio Jeker | |
prepend-self. Only for incomming UPDATEs. OK henning@ | |||
2004-08-20 | Grrr. copy paste error. Dump MED and not local-pref. OK henning@ | Claudio Jeker | |
2004-08-13 | Fix minor issues with IPv6 dumps and add a function for dumping the RIB table | Claudio Jeker | |
protocol independent. This new dump format is not (yet) supported by the mrtd route_btoa tool. OK henning@ | |||
2004-08-10 | Correctly set the MED in outgoing UPDATEs. OK henning@ | Claudio Jeker | |
2004-08-06 | Monster diff to get one step closer to IPv6 support. | Claudio Jeker | |
Cleanup path attribute handling. First of all kill struct attr_flags, all those infos are now in struct rde_aspath. Second move attribute parser functions into rde.c, rde_attr.c is shared between bgpd and bgpctl. Third reimplementation of the nexthop handling. Make it IPv6 ready and fix some major bug relating to "set nexthop". henning@ OK if it breaks nothing | |||
2004-08-05 | Cleanup aspath specific functions and api. Mainly switch to a refcnt based | Claudio Jeker | |
allocation. This helps to save a bit of RAM. looks good henning@ | |||
2004-08-05 | struct prefix has a pointer to the peer so use it everywhere directly instead | Claudio Jeker | |
of the detour via aspath. | |||
2004-07-30 | Add new announce type "default-route" which will only announce the default | Claudio Jeker | |
route to the specified neighbor. Idea and OK henning@ | |||
2004-07-13 | fix some typos | Jared Yanovich | |
ok henning otto | |||
2004-07-05 | fix a few KNF fallouts | Henning Brauer | |
2004-06-22 | Cleanup. jajaja henning@ | Claudio Jeker | |
2004-06-22 | Make the RDE IPv6 ready missing is the message handling. The internal | Claudio Jeker | |
prefix tree changed form a hash table to a per AF RB tree. OK henning@ some ideas are from Brent Graveland. | |||
2004-06-20 | at least somewhat consistently name the TAILQ_ENTRYs... this confused me | Henning Brauer | |
more than once | |||
2004-05-21 | RFC 2796 bgp route reflector support. This is very useful in conjunction | Claudio Jeker | |
with templates. looks good, go for it henning@ | |||
2004-04-30 | spelling | Theo de Raadt | |
2004-03-20 | comment spelling fixes; ok henning@ | David Krause | |
2004-03-19 | Fix memory leak in error path. Found by Patrick Latifi. OK henning@ | Claudio Jeker | |
2004-03-11 | Add basic support for communities. Currently it is only possible to filter | Claudio Jeker | |
on communities, e.g match from any community 24640:* set localpref 666 OK henning@ | |||
2004-03-09 | When a new prefix is filtered it is necessary to remove the old prefix. | Claudio Jeker | |
This is done by a recursive call that does the withdraw. OK henning@ | |||
2004-03-04 | no ; after RB_PROTOTYPE / RB_GENERATE | Henning Brauer | |
From: Andrey Matveev <andrushock@korovino.net> | |||
2004-03-02 | Use ntohl() to compare in_addr_t so the tree is nicely sorted. | Claudio Jeker | |
2004-03-01 | spelling | Theo de Raadt | |
2004-02-27 | remove unneded peer pointer in struct prefix and change a in_addr_t to | Claudio Jeker | |
struct in_addr. OK henning@ | |||
2004-02-25 | Announce local networks to IBGP neighbors. OK henning@ | Claudio Jeker | |
2004-02-24 | It is possible that a queued path attribute has no nlri prefix. Ignore and | Claudio Jeker | |
remove those path attributes before using them in an UPDATE. OK henning@ | |||
2004-02-19 | Add support for basic filters. Nothing optimized and it has some issues but | Claudio Jeker | |
this is a huge step forward. OK henning@ | |||
2004-02-18 | Do aspath loop detecion for outgoing messages too, but this time with the | Claudio Jeker | |
remote peer as. OK henning@ | |||
2004-02-18 | Fix a nasty memory leak. OK henning@ | Claudio Jeker | |
2004-02-17 | Make gcc on sparc happy. OK henning@ | Claudio Jeker | |