Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-08-10 | style, use sizeof() instead of a hardcoded value. | 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 | As usual cleanup on exit. OK henning@ | Claudio Jeker | |
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-07-28 | The default localpreference is 100 and not 0. Found and ok henning@ | Claudio Jeker | |
2004-07-13 | fix some typos | Jared Yanovich | |
ok henning otto | |||
2004-07-05 | The 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-05 | fix a few KNF fallouts | Henning Brauer | |
2004-06-24 | First step at multiprotocol support, only partially done. | Claudio Jeker | |
OK henning@ | |||
2004-06-24 | Make community set strict aligenment save, remove unneeded ENSUREs | Claudio Jeker | |
OK henning@ djm@ | |||
2004-06-22 | Cleanup. jajaja henning@ | Claudio Jeker | |
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-05-17 | extend filter language to allow basic setting of COMMUNITIES attribute. | Damien Miller | |
ok claudio@ | |||
2004-05-07 | add a filter option to dump prefixes learned in UPDATEs into a PF table, | Damien Miller | |
intended for building realtime BGP blacklists (e.g. with spamd); ok claudio & henning | |||
2004-04-30 | spelling | Theo de Raadt | |
2004-04-08 | swap the last two parameters to TAILQ_FOREACH_REVERSE. matches what FreeBSD | Henning Brauer | |
and NetBSD do. ok millert@ mcbride@ markus@ ho@, checked to not affect ports by naddy@ | |||
2004-03-20 | comment spelling fixes; ok henning@ | David Krause | |
2004-03-12 | *size is a u_int16_t not a pointer so use 0 instead of NULL. | Claudio Jeker | |
2004-03-12 | bgpctl has a empty-as keyword so make this actually work. Handle AS_EMPTY | Claudio Jeker | |
in aspath_match(). | |||
2004-03-12 | I modified the print format for AS_SET so keep the aspath_strlen() function | Claudio Jeker | |
in sync. | |||
2004-03-12 | tab at EOL | Claudio Jeker | |
2004-03-12 | Rewrite community_match() for loop. yaya 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-11 | Ensure that aspath_snprint() returns a zero terminated string also if the | Claudio Jeker | |
aspath is "". Found, OK and tsc tsc tsc henning@ | |||
2004-03-05 | Plug some memory leaks in rde. Based on a patch by Patrick Latifi. | Claudio Jeker | |
Added attr_move() so that we can copy the attribute before calling the filter. path_update() will now use the passed attribute so it can't be simply reused. OK henning@ | |||
2004-03-01 | KNF | Henning Brauer | |
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-26 | Implement "enforce neighbor-as yes|no" which is by default on for ebgp | Claudio Jeker | |
neighbors. While doing that check also that the nexthop is valid (not class D or E and not in 127/8 range). Kill some TODO and XXX and rename the british neighbour to neighbor as used everywhere else. OK henning@ | |||
2004-02-24 | spaces | Claudio Jeker | |
2004-02-23 | While searching a different bug found those two gems. The ntohs is obvious | Claudio Jeker | |
the plen adjusting is needed to jump over the value that we ignore. yaya 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-19 | Make the code more portable. Add some missing header files and make the use | Claudio Jeker | |
of the queue(3) makros more portable. OK henning@ some time ago. | |||
2004-02-19 | Doh. Copy pasto. The if is always false and bogus. | Claudio Jeker | |
2004-02-18 | Correctly handle parse errors in aspath and prefixes. Also do input aspath | Claudio Jeker | |
loop detection. OK henning@ | |||
2004-02-18 | Bring the path attribute parsing on big step closer to the RFC. | Claudio Jeker | |
Check that evry attribut is only allowed once and ensure that the mandatory attributes are present. no objections henning@ | |||
2004-02-18 | Check for optional path attributes error. This kills some XXX in the code. | Claudio Jeker | |
OK henning@ | |||
2004-02-16 | KNF | Henning Brauer | |
2004-02-16 | Basic aspath match function needed for filters and the "show rib" bgpctl | Claudio Jeker | |
command. OK henning@ | |||
2004-02-16 | Add basic functions to print aspath in human readable format. OK henning@ | Claudio Jeker | |
2004-02-16 | Make the path attribute handling more RFC conformant. Also move the | Claudio Jeker | |
parser to rde_attr.c where it belongs. Still missing: better aspath loop detection (should be done afterwards) and some basic error checking for optional attributes. OK henning@ | |||
2004-02-09 | replace a bunch of u_long by u_int32_t | Henning Brauer | |
2004-02-04 | Move BGP path attribute handling functions in a own file. henning@ conceptual ok | Claudio Jeker | |