Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-07-01 | Switch filter_sets form SIMPLEQ to TAILQ, needed for upcomming stuff. | Claudio Jeker | |
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-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-05-27 | will throw claudio in a big pot of kaesefondue for repeated whitespace fuckups | Henning Brauer | |
2005-05-27 | kroute6 support, at least partially. Get it in so that Henning can clean it | Claudio Jeker | |
up more. OK henning@ | |||
2005-05-23 | one more endpwent | Henning Brauer | |
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-03-30 | bgpd used to open listeners in advance in the parent and the SE picked | Henning Brauer | |
those it needed, closing all the others. this has some nasty races. so let the parent keep the list of listeners so it knows when it has to open a new one claudio ok, also tested by jason ackley | |||
2005-03-28 | free rules_l if the initial config file parse fails | Henning Brauer | |
2005-03-24 | fix memory leak in error paths. found with coverity prevent. | Ted Unangst | |
ok claudio henning | |||
2005-02-09 | need to send IMSG_NETWORK_DONE after sending networks and associated filter | Henning Brauer | |
sets, otherwise local netyworks get withdrawn after config reload; misbehaviour noticed by peter.galbavy@knowtion.net, claudio ok | |||
2005-02-02 | usage() is __dead | Henning Brauer | |
pt out by Alexander v Gernler | |||
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-10-19 | allow neighbor definitions to depend on interface state. | Henning Brauer | |
with this, if a neighbor is configured as dependent on carp0 for example, the neighbor will remain in state IDLE as long as carp0 is not master. once carp0 becomes master the session(s) depending on it immediately go to CONNECT (or ACTIVE, if they're configured passive), reducing failover time. claudio ok, with some input from ryan as well | |||
2004-09-23 | after receival of a SIGCHLD reset io_pid or rde_pid, respectively, dependent | Henning Brauer | |
on which child went away. | |||
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-09-15 | if (signalflag) { dowork(); signalflag = 0; } is a race. First clear flag, | Otto Moerbeek | |
then call work(). ok henning@ | |||
2004-08-24 | use session_socket_blockmode() instead of hand-rolling roughly the same | Henning Brauer | |
claudio ok | |||
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-03 | Fix mem-leak on exit. OK henning@ | Claudio Jeker | |
2004-07-28 | The hole dance to close a mrt file after fd passing in the parent is not | Claudio Jeker | |
needed as the fd is closed while beeing passed. looks good henning@ | |||
2004-07-05 | fix a few KNF fallouts | Henning Brauer | |
2004-07-04 | 2 more file descriptors for each RDE and SE inherited from the parent | Henning Brauer | |
we should close | |||
2004-07-04 | when getting rid of the listen_addr TAILQ after forking actually close | Henning Brauer | |
the file descriptors in RDE and parent process, not needed or used there | |||
2004-07-03 | Switch mrt dumping to fd passing. This gives some speed up when extensive | Claudio Jeker | |
dumping is done. Acctually mrt dumps were broken because of the fd passing. The nice side effect is a much cleaner code, especially in the parent process. OK henning@ | |||
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-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-21 | Add support for dynamic announcements. Usefule to annouce temporary | Claudio Jeker | |
blackhole routes or to make network announcements dependent on a external state (e.g. for carp setups) OK henning@ | |||
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-05-03 | little KNF issue | Henning Brauer | |
2004-04-29 | sock -> fd; ok henning | Theo de Raadt | |
2004-04-27 | crud stripping; henning ok | Theo de Raadt | |
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-03-16 | delay creating the control socket until after forking, but before chroot | Henning Brauer | |
(lives in /var/run, i. e. outside chroot) and privdrop. claudio ok | |||
2004-03-12 | fix the "wait for child processes to terminate" code, and move it down a bit | Henning Brauer | |
millert 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 | free peer list on exit, claudio ok | Henning Brauer | |
2004-03-01 | Arrrg. Not my day. Sync printconfig with parser here too. | Claudio Jeker | |
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-09 | print networks too | Henning Brauer | |
2004-02-09 | drain the list fluffier | Henning Brauer | |
2004-02-09 | print more fluff | Henning Brauer | |
2004-02-09 | move printing the config to where it belongs | Henning Brauer | |
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 |