summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.c
AgeCommit message (Expand)Author
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
2003-12-20more from the castathon; imsg_compose takes void * now so get rid of the castsHenning Brauer
2003-12-20few missing break; in default: cases in switch; one noticed by tedu@Henning Brauer
2003-12-20spacingTheo de Raadt
2003-12-20parent: waitpid() for the child processes on exitHenning Brauer
2003-12-20keep track which process we are so fatal() can log in which proc theHenning Brauer
2003-12-20read(2)/write(2) return ssize_t, not size_tHenning Brauer
2003-12-17send reconf requests to the RDE as well and handle them there; syncing peerHenning Brauer
2003-12-17welcome, bgpdHenning Brauer