summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.c
AgeCommit message (Expand)Author
2004-01-062004Henning Brauer
2004-01-05Big overhaul of the mrt code.Claudio Jeker
2004-01-05correctly handle SIGCHLD.Henning Brauer
2004-01-05waitpid's return is a pid_tHenning Brauer
2004-01-05allow fib couple/decouple based on an imsg received on the control socketHenning Brauer
2004-01-04-new imsg CTL_RELOADHenning Brauer
2004-01-03move some session specific stuff to session.h and make the few filesHenning Brauer
2004-01-03decouple the peer list from bgpd_config.Henning Brauer
2004-01-03change imsg_read semantics so that the number of bytes read is returned.Henning Brauer
2004-01-01listen on a AF_LOCAL socket for imsgs too.Henning Brauer
2004-01-01now that imsg_get uses bigger buffers, one read call can put more than oneHenning Brauer
2003-12-30correctly free after buf_add/_close errs.Henning Brauer
2003-12-30missing free()s in error cases that (now) lead to program terminationHenning Brauer
2003-12-27move the fib couple/decouple to the config merge where it belongsHenning Brauer
2003-12-27keep a copy of the fd locally instead of passing it around all timeHenning Brauer
2003-12-27on reconfigure, check wether the "no fib-update" statement presence/absenceHenning Brauer
2003-12-27implement "no fib-update" much coolerHenning Brauer
2003-12-26erm, oups, well, put back rde_pid and io_pid assignments that got lostHenning Brauer
2003-12-26fix logging in send_nexthop_updateHenning Brauer
2003-12-26let imsg_get and imsg_compose not fatal() but return errors upstream.Henning Brauer
2003-12-26when this project started and i added the fatal() function, I made it takeHenning Brauer
2003-12-26by making kroute_dispatch_msg() and kroute_nexthop_add() return int insteadHenning Brauer
2003-12-26overhaul error handlingHenning Brauer
2003-12-26handle kroute_init failures nicerHenning Brauer
2003-12-26improve log messageHenning Brauer
2003-12-26log nexthop status changesHenning Brauer
2003-12-26handle IMSG_NEXTHOP_DELETE as wellHenning Brauer
2003-12-26kroute_nexthop_check -> kroute_nexthop_addHenning Brauer
2003-12-26finally marry rde and kroute parts of the nexthop verification:Henning Brauer
2003-12-25track routing table changes that are _not_ caused by bgpd itselfHenning Brauer
2003-12-25kill IMSG_KROUTE_ADD as well. just send KROUTE_CHANGE requests.Henning Brauer
2003-12-25it actually makes more sense to call the merged function kroute_changeHenning Brauer
2003-12-25kroute_change is obsolete, long live kroute_addHenning Brauer
2003-12-24now that the main process can cleanup without RDE's help, we do not need theHenning Brauer
2003-12-24now that we keep track of the routes we added to the kernel we can removeHenning Brauer
2003-12-24slightly more helpfull error msgsHenning Brauer
2003-12-24handle write() returning 0 correctly, adjust the msgbuf API appropriately,Henning Brauer
2003-12-23spacingTheo de Raadt
2003-12-23send shutdown requests to the child processes and wait for a ackmessage fromHenning Brauer
2003-12-22delay setting up the signal handlers in the main process until after fork(),Henning Brauer
2003-12-22o add low-level functions for adding/chaining/removing kernel routesHenning Brauer
2003-12-22uid check later; configtest is useful as non-rootHenning Brauer
2003-12-22add a configtest modeHenning Brauer
2003-12-22No need to setup a signal handler for SIGKILL as you can't catch it anyway.Miod Vallat
2003-12-22in the same vein we can plain errx() if the geteuid check fails.Henning Brauer
2003-12-22when starting up and the configuration has errors, do not call fatal().Henning Brauer
2003-12-21rename get_imsg() to imsg_get(); that's more consistentHenning Brauer
2003-12-21wrap read & write buffers for imsgs into a struct.Henning Brauer
2003-12-21overhaul the write buffering code.Henning Brauer
2003-12-21use pipe(2)s instead of socketpair(2)s.Henning Brauer