Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-28 | document the v4/v6 safi control buttons | Henning Brauer | |
(and of course it is marc balmer who's spreading the kaesefondue here, not marcm) claudio ok | |||
2005-07-28 | print the v4/v6 safi announce stuff, from wth | Henning Brauer | |
2005-07-28 | keywords have to be sorted, and I can't sort properly | Henning Brauer | |
2005-07-28 | allow the to be announced SAFIs to be specified per peer, that is part of the | Henning Brauer | |
multiprotocol shitz claudi needs this to proceed with v6 stuff in the RIB, print stuff and manpage later from whatthehack, claudio ok, marcm schnell schnell schnell | |||
2005-07-24 | we must start the ConnectRetry timer before calling session_connect in | Henning Brauer | |
all cases, since session_connect can in turn cause events that cause state changes in the FSM that reset the ConnectRetryTimer. debugged with Leen Besselink <leen@consolejunkie.net> who was seeing errnously running ConnectRetryTimers in a case with localhost connections | |||
2005-07-18 | fix a block that was indented too far. | David Gwynne | |
ok claudio@, king bula sez ok | |||
2005-07-18 | minor nits in session.c, add an additional nconf == NULL check and switch | Claudio Jeker | |
some fatal()s to fatalx(). All done by dlg@. OK henning@ | |||
2005-07-14 | free commitz from pascoes kitchen. fix an error message | David Gwynne | |
ok henning@ | |||
2005-07-04 | New function filterset_cmp() used two compare two struct filter_set for | Claudio Jeker | |
equality. This function is a bit more complicated than a memcmp() because there are types that need to be considered equal e.g. ACTION_SET_MED and ACTION_SET_RELATIVE_MED. Also ACTION_SET_COMMUNITY and ACTION_SET_NEXTHOP need some special care. OK henning@ | |||
2005-07-04 | Switch some parser rules from "string" to "STRING". "string" is to greedy | Claudio Jeker | |
and hides possible typos. e.g. set { rtlabel foo localperf 100 } was a valid syntax but the result was a route label with name "foo localperf 100". OK henning@ | |||
2005-07-01 | More spaces | Claudio Jeker | |
2005-07-01 | tab after space | Claudio Jeker | |
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-28 | Try to fit 0x200 into an u_int8_t is not so clever. Pass the flags as | Claudio Jeker | |
u_int16_t so that "bgpctl show rib 4/8 all" works again. | |||
2005-06-25 | name2id prototypes | Henning Brauer | |
2005-06-25 | Make the name2id/id2name code generically usable. This will be needed by | Claudio Jeker | |
the upcomming filter rewrite. OK henning@ | |||
2005-06-24 | Do not automaticaly announce routes that have RTF_DYNAMIC set. These routes | Claudio Jeker | |
are e.g. created by the PMTU code and are removed after some time. OK henning@ | |||
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-06-14 | Don't unref something that is used later. send_rtmsg() will call | Claudio Jeker | |
rtlabel_id2name() so call rtlable_unref() after that. OK henning@ | |||
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-13 | realloc(3) correctly. Do not adjust the variable describing how much memory | Claudio Jeker | |
has been allocated until one knows the allocation has been successful. | |||
2005-06-10 | Make sure that the ATTR_EXTLEN flag is unset if the attribute length is | Claudio Jeker | |
smaller than 255 bytes. | |||
2005-06-10 | Introduce attr_optlen() to get the total lenght of an optional attribute | Claudio Jeker | |
plus header. Soon needed. | |||
2005-06-10 | Simplify show rib upcalls. Kill one mostly unused function. | Claudio Jeker | |
2005-06-09 | Change the "network connected|static" statements to "network inet|inet6 | Claudio Jeker | |
connected|static" so that it is possible to distinguish between IPv4 and IPv6 addresses. "network connected|static" is considered deprecated but will be supported as an alias for "network inet connected|static" for some time (one release) to simplify upgrades. This also solve a nasty crash when using "network connected". OK henning@ | |||
2005-06-09 | If there is a problem to connect to a remote peer, do the same log damping | Claudio Jeker | |
as for other errors. Save the errno and only print a message if the errno changed. So the log is not filled with "socket error: Connection refused" when the peer is not yet listening on that address. OK henning@ | |||
2005-06-07 | Set the reject and blackhole flags for kernel routes too. This makes the | Claudio Jeker | |
bgpctl show fib output more logical, especially for INET6 because many prfixes have the reject flag set. OK henning@ | |||
2005-06-07 | Fix the mask2prefixlen6() function once and for all. Netmasks are stored in | Claudio Jeker | |
an own AF independent radix tree. So the passed sockaddrs are often smaller than the actual AF specific struct, especially sockaddr_in6. So the crap Henning saw in the mask was acctually the next struct sockaddr that was passed in the routing message. So pass the struct sockaddr_in6 and compare only the specified number of bytes (minus the offset of sin6_addr in the struct sockaddr_in6). Amazing!.. OK henning@ | |||
2005-06-06 | allow show fib to be limited to inet or inet6 families, claudio ok | Henning Brauer | |
2005-06-05 | on CTL_KROUTE requests, send back both v4 and v6 routes | Henning Brauer | |
2005-06-05 | work around another disgusting ugliness in v6: the netmasks we get on | Henning Brauer | |
the routing socket have crap in the lower bytes, so instead of using a straightforward and rather simple algorithm to convert them to prefix lengths we have to do quite some ugly manual fiddling... disgusting. | |||
2005-06-05 | make log_in6addr actually work correctly - it is astounding how ugly things | Henning Brauer | |
are in the v6 world. the lower 16 bits of the scope ID are embedded in byte 3 and 4 of the address for link-local addresses... sometimes, at least. these btes have to be 0 by definition, so we need to fiddle the scope ID out and reset those bytes to 0. embedding the scopeID like that is the most disgusting hack I have seen in a while. | |||
2005-06-05 | provide cleartext messages for the cease suberror codes | Henning Brauer | |
2005-06-04 | when the max-prefix limit was exceeded generate a STOP event; we do not | Henning Brauer | |
want the session to be restarted automagically in that case. | |||
2005-06-04 | call the FSM with a CON_FATAL event after sending notifications in the cases | Henning Brauer | |
where it was missing so that we actually close the connection | |||
2005-06-04 | do not send out suberrorcodes for cease errors; there are none in the | Henning Brauer | |
standard | |||
2005-06-04 | use the recorded error code to prevent sending out multiple notifications | Henning Brauer | |
2005-06-04 | when sending out a notification record the error code and suberror code in | Henning Brauer | |
the peer stats struct, and clear them as soon as the session leaves IDLE | |||
2005-06-04 | be more clear about route-age | Henning Brauer | |
2005-06-04 | relay IMSG_CTL_KROUTE6 as well, from somewhere in BC on the drive to vancouver | Henning Brauer | |
2005-06-02 | Use the correct pointer when printing out the error message. OK henning | Chad Loder | |
2005-06-02 | Cleanup recent kroute6 additions. OK henning | Chad Loder | |
2005-05-27 | bah, more kaesefondue (debugging cruft left in) | Henning Brauer | |
2005-05-27 | don't need to fetch the kernel routing twice, once for v4 and once for v6, | Henning Brauer | |
do it once and handle both families. claudio ok | |||
2005-05-27 | will throw claudio in a big pot of kaesefondue for repeated whitespace fuckups | Henning Brauer | |