Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-09 | Unkown attributes need to be optional, if not issue a "unknown wellknown | Claudio Jeker | |
attribute" error. While this check is already present in the error handling function it is not done while parsing. Found via regress, OK henning@ | |||
2005-12-08 | Missing ntohs() in error path. Found via regress test. | Claudio Jeker | |
2005-11-30 | No need to filter incoming withdraws just try to remove everything form the | Claudio Jeker | |
RIB -- if it got filtered before so be it. | |||
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-02 | Use the new rde_filter_equal() with dir = DIR_OUT to check if a soft- | Claudio Jeker | |
reconfigure out run is needed or not. If the output filters did not change no table walk is needed. | |||
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-13 | Simplify poll loop, there is no need for nfds tracking. While there kill | Claudio Jeker | |
some comments that are totaly wrong. OK henning@ | |||
2005-09-21 | Make sure that "updates" with only MP withdraws (MP_UNREACH_NRLI) stop | Claudio Jeker | |
processing after the MP withdraw block. OK henning@ | |||
2005-09-20 | allow "show rib" to be limited to an address family too | Henning Brauer | |
2005-09-20 | let "bgpctl network show" print v6 addresses correctly | Henning Brauer | |
2005-09-19 | KNF | 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-07-01 | Switch filter_sets form SIMPLEQ to TAILQ, needed for upcomming stuff. | Claudio Jeker | |
2005-07-01 | The newly introduced function filterset_free() existed already as | Claudio Jeker | |
rde_free_set(), I just missed it when I was looking for it. Kill rde_free_set() and use the more correct filterset_free() from now on. | |||
2005-07-01 | Make the pftable filter set use the name2id "cache" like the route labels. | Claudio Jeker | |
This saves 14 bytes per aspath. OK henning@ | |||
2005-06-29 | rtlabel support via filter sets. Just use "set rtlabel foobar" in filters | Claudio Jeker | |
network and neighbor statements and the routes are labeled accordingly. While doing that fix some mem-leaks by introducing filterset_free() and remove the free on send option of send_filterset(). This took a bit longer because we need to carefully track the rtlabel id refcnts or bad things may happen on reloads. henning@ looks fine | |||
2005-06-13 | route label support, kroute part and ID allocator as well as the internal | Henning Brauer | |
interface changes. support in the filter language and rde to come. claudio ok | |||
2005-06-10 | Simplify show rib upcalls. Kill one mostly unused function. | Claudio Jeker | |
2005-05-23 | no need for endpwent() | Henning Brauer | |
(you lost, theo) | |||
2005-05-03 | setres[ug]id; ok claudio@ | Damien Miller | |
2005-04-28 | Support for "network connected" and "network static" -- announce all | Claudio Jeker | |
directly connected respectively all static routes. The list is auto- matically adjusted as soon as a route changes. OK henning@ | |||
2005-04-16 | Format string cleanup. OK millert, henning, claudio | Chad Loder | |
2005-03-28 | ewps, this was not supposed to creep in | Henning Brauer | |
2005-03-28 | free rules_l if the initial config file parse fails | Henning Brauer | |
2005-03-24 | soem fatal()s that should be fatalx()s, Alexander von Gernler | Henning Brauer | |
2004-11-23 | Switch from a single filter_set to a linked list of sets. With this change | Claudio Jeker | |
it is possible to specify multiple communities. This is also the first step to better bgpd filters. OK henning@ | |||
2004-11-19 | For consistency reasons rename struct as_filter to struct filter_as. | Claudio Jeker | |
OK henning@ | |||
2004-11-11 | Unbreak peer_localaddr() because Link Local Addresses reported by | Claudio Jeker | |
getifaddrs() have the scope id added to the address and so fuck up in the compare later. This part has bin stolen from ifconfig/ifconfig.c and shows the beauty of IPv6. Thank you KAME. disgusting but OK henning@ | |||
2004-11-11 | Pass the copied as-path attributes to the filter function and not the | Claudio Jeker | |
original. Affected code is currently still unreachable. | |||
2004-11-11 | spaces at EOL in comments, spotted by theo | Henning Brauer | |
2004-11-11 | NOTREACHED not not reached! Stupid me. | Claudio Jeker | |
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-11-11 | New config statement "rde route-age [evaluate|ignore]". If set to evaluate | Claudio Jeker | |
the best path selection will not only be based on the path attributes but also on the age of the prefix. This is an extension to the RFC. The default is ignore but previously it was implicitly set to evaluate. OK henning@ man page OK jaredy@ jmc@ | |||
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-09-16 | imsg API cleanup: | Henning Brauer | |
-kill imsg_compose_pid, imsg_compose_fdpass and imsg_create_pid -extend the original imsg_compose/_create API to take pid & fd too -make imsg_compose do imsg_create + imsg_add + imsg_close instead of duplicating the code -adjust all callers to the new API ok claudio | |||
2004-09-16 | malloc the imsg buffers instead of having them staticly, suggested by | Henning Brauer | |
micskye some time ago | |||
2004-08-12 | Just ignore RFC2545 and the silly idea of using link local addresses as | Claudio Jeker | |
nexthop. This makes the code a lot simpler. OK henning@ | |||
2004-08-10 | Gahhh, why is this still around? It was never necessary to inform the parent | Claudio Jeker | |
after fd passing. I thought I removed that some time ago... anyway now it is gone. | |||
2004-08-10 | switch nexthop in struct filter_set form struct in_addr to struct bgpd_addr | Claudio Jeker | |
OK henning@ | |||
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-06 | Forward IMSG_CTL_SHOW_NEIGHBOR messages to the rde so that we can report | Claudio Jeker | |
the current and max prefix count back to bgpctl. OK henning@ | |||
2004-08-05 | The peer_l is not needed in the rde but still allocated, free them and | Claudio Jeker | |
save 1k per peer. OK henning@ | |||
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-08-05 | struct prefix has a pointer to the peer so use it everywhere directly instead | Claudio Jeker | |
of the detour via aspath. |