Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-07-04 | 2 more file descriptors for each RDE and SE inherited from the parent | Henning Brauer | |
we should close | |||
2004-06-20 | at least somewhat consistently name the TAILQ_ENTRYs... this confused me | Henning Brauer | |
more than once | |||
2004-06-20 | implement file descriptor passing in the imsg/msgbuf framework, and use | Henning Brauer | |
it to let the main process to prepare new listening sockets (socket() and bind()) on behalf of the session engine, which of course cannot bind() to ports < 1024 any more once it dropped privileges. with some help from theo, claudio ok | |||
2004-06-09 | move to a dynamically allocated struct pollfd array. | Henning Brauer | |
we used a ststic one with OPEN_MAX entries, which is a rather arbitary limit as OPEN_MAX is _not_ the max # of open fds we can have, but just a default for that setting. in the same move we have to allocate the peer_l array, basically there for pfd-index to peer pointers to prevent peer list scans all time, dynamiccaly to. we overallocate a little and use that reserve until we have to realloc again later to prevent reallocs for every single control connection or a single flapping peer. help & ok claudio | |||
2004-06-06 | rework bgpd's handling of listening sockets. instead of one for each | Henning Brauer | |
supported address familiy, keep a tailq of an arbitary number of them. the new struct listen_addr contains the sockaddr and the fd. this fixes quite some nasty behaviour which was a consequence of the previous model. looks right deraadt@, and discussed with claudio | |||
2004-05-28 | detect absence of PF_KEY interface and/or the TCP_MD5SIG setsockopts | Henning Brauer | |
at runtime and disable said subsystems if so. helps the guys porting bgpd to $otherBSD, and is actually the right thing to do. claudio ok | |||
2004-05-08 | provide log_sockaddr, which uses getnameinfo(), and use it in | Henning Brauer | |
log_conn_attempt | |||
2004-05-08 | remove unused argument to control_dispatch_msg(), lint | Henning Brauer | |
2004-04-28 | rename sock to fd | Theo de Raadt | |
2004-04-28 | if a peer follows the extremely misgiuded path that the RFCs just barely allow | Henning Brauer | |
to send a NOTIFICATION and thus ternminating the session when it sees a capability it doesn't support (who would guess: zebra does so), parse the data section of the notifcication to find out what what capabilties it didn't like and do not advertise them the next time the session gets up. In case we get a notification about unsupported capabilities with an empty data part (don't ask for RFCs... and guess who does that), disable capabilty announcement alltogether. claudio ok | |||
2004-04-28 | keep track of which ipsec/md5 SAs we inserted - ESRCH on blind removal | Henning Brauer | |
otherwise, markus ok | |||
2004-04-27 | rename the ipsec struct to auth, move all tcpmd5 related fields in there, and | Henning Brauer | |
add a generic "method" field that expresses what method (none/md5sig/ipsec manual/ipsec ike) is in use markus ok | |||
2004-04-27 | initial route refresh support per RFC2918 | Henning Brauer | |
process incoming route refresh request and notify the RDE not advertised via capabilities yet, claudio ok | |||
2004-04-26 | load ipsec SAs into the kernel and enable them. | Markus Friedl | |
2004-04-26 | announce multiprotocol capabilities - IPv4 multicast for now | Henning Brauer | |
this implies ourgoing capabilities annoucnement is there and just needs the values to be filled in for other shitz we'll support soonish | |||
2004-04-25 | Remove the no longer needed configure stuff in RDE. The peer list needs no | Claudio Jeker | |
longer to be synced between parent, SE and RDE. OK henning@ | |||
2004-04-16 | let getpeerbyip work for both v4 and v6 | Henning Brauer | |
2004-04-16 | make log_conn_attempt work in an address family independent matter | Henning Brauer | |
2004-04-13 | parse the BGP Multiprotocol Extensions (RFC 2858) capabilities and store in | Henning Brauer | |
the peer struct, claudio ok | |||
2004-03-11 | Shutdown the RDE cleanly on exit. Plug some memleaks. OK henning@ | Claudio Jeker | |
2004-03-11 | Free unneeded mrt lists in SE and on exit. OK henning@ | Claudio Jeker | |
2004-03-10 | pass a pointer to the network list as well to session_main so we can free() | Henning Brauer | |
the members after fork | |||
2004-03-10 | pass a pointer to the filter rule list to session_main() so we can free() | Henning Brauer | |
the list entries and the head there after forking | |||
2004-03-10 | implement framework to announce capabilities in the open messages we send. | Henning Brauer | |
this includes handling "unsupported optional parameter" notifications from the peer and retrying without capability announcement. claudio ok | |||
2004-03-05 | new error code "unsupported capability" from RFC 3392 | Henning Brauer | |
2004-03-05 | add a parser for the capability announcements using the OPEN message as per | Henning Brauer | |
RFC 3392. we don't support any capability yet but this at least avoids one session teardown and reestablishment when talking to peers which do support capability announcement (as in: basically any) and we'll start supporting some soon. | |||
2004-03-01 | Forgotten in the last commit. Sync printconfig and parser. | Claudio Jeker | |
2004-02-26 | show rib infrastructure. At least full dumps and per as dumps. Per prefix | Claudio Jeker | |
dump need some more work. OK henning@ | |||
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 | print networks too | Henning Brauer | |
2004-02-09 | print more fluff | Henning Brauer | |
2004-02-08 | factor out functions to print the configuration (rules only for now) | Henning Brauer | |
will become more and needed by bgpctl too | |||
2004-02-07 | send filter rules to the RDE on reloads, help & ok claudio | Henning Brauer | |
2004-02-06 | initial cut at the filtering language. | Henning Brauer | |
structs etc to describe a rule, filter rule list management parser groks filter defs now. claudio ok, discussion & help also jakob theo | |||
2004-01-28 | we need a pfkey_init the gets us a PF_KEY socket before we drop privs | Henning Brauer | |
eases other code quite a bit in exchange... | |||
2004-01-28 | -struct peer_auth to store the SPIs, linked into struct peer | Henning Brauer | |
-add pfkey_auth_establish(), which sets up flows for both directions and stores the SPIs in above struct -add (yet dummy) pfkey_auth_remove() with markus, ok claudio markus | |||
2004-01-22 | make log_peer_* take a struct peer_config instead of the session engine | Henning Brauer | |
specific struct peer, and move their prototypes to bgpd.h to make it available to whole bgpd ok claudio@ | |||
2004-01-22 | log_peer_err -> log_peer_warn | Henning Brauer | |
log_peer_errx -> log_peer_warnx | |||
2004-01-17 | Make it possible to announce own networks. In the RDE these prefixes are | Claudio Jeker | |
attached to a pseudo peer and inserted like all other prefixes into the RIB. OK henning@ | |||
2004-01-11 | clean up setting the poll events a bit. no functional changes. | Henning Brauer | |
2004-01-11 | once the tcp session is established use gettsockname/getpeername to get | Henning Brauer | |
local/remote sockaddr and store it in the peer struct ok claudio@ | |||
2004-01-09 | get us a stateful imsg relaying framework, and the first receiver, | Henning Brauer | |
IMSG_CTL_KROUTE, to have the kroute structs forming the fib sent to a control socket. ok claudio@ | |||
2004-01-06 | two new imsg types, IMSG_CTL_NEIGHBOR_UP and _DOWN, on their receival on the | Henning Brauer | |
control socket the given neighbor session is sent a START / STOP signal. ok claudio@ | |||
2004-01-06 | lower the initial value for the IdleHold timer from 90 to 30 seconds. | Henning Brauer | |
90 is too much, and now that the punishment works as intended oscillating peers get slowed down by that | |||
2004-01-06 | properly punish oscillating neighbors. | Henning Brauer | |
previously we were to forgiving so the punishment didn't kick in as intended | |||
2004-01-06 | rename our StartTimer to IdleHoldTimer as per draft-ietf-idr-bgp4-23 | Henning Brauer | |
2004-01-06 | 2004 | Henning Brauer | |
2004-01-05 | Big overhaul of the mrt code. | Claudio Jeker | |
Dumping of incomming bgp messages is now possible and dumping the (not yet) filtered updates works too. Per neighbor dumps are still missing. OK henning@ | |||
2004-01-04 | keep seperate message counters for open/update/keepalive/notification | Henning Brauer | |
2004-01-04 | -new imsg CTL_RELOAD | Henning Brauer | |
-upong receival in the SE forward to parent -make sending messages from SE to parent work for that (was not required before) -parent reacts to that just like a SIGHUP, reread config file |