summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.c
AgeCommit message (Expand)Author
2004-11-23Switch from a single filter_set to a linked list of sets. With this changeClaudio Jeker
2004-10-19allow neighbor definitions to depend on interface state.Henning Brauer
2004-09-23after receival of a SIGCHLD reset io_pid or rde_pid, respectively, dependentHenning Brauer
2004-09-16imsg API cleanup:Henning Brauer
2004-09-16malloc the imsg buffers instead of having them staticly, suggested byHenning Brauer
2004-09-15if (signalflag) { dowork(); signalflag = 0; } is a race. First clear flag,Otto Moerbeek
2004-08-24use session_socket_blockmode() instead of hand-rolling roughly the sameHenning Brauer
2004-08-05The peer_l is not needed in the rde but still allocated, free them andClaudio Jeker
2004-08-03Fix mem-leak on exit. OK henning@Claudio Jeker
2004-07-28The hole dance to close a mrt file after fd passing in the parent is notClaudio Jeker
2004-07-05fix a few KNF falloutsHenning Brauer
2004-07-042 more file descriptors for each RDE and SE inherited from the parentHenning Brauer
2004-07-04when getting rid of the listen_addr TAILQ after forking actually closeHenning Brauer
2004-07-03Switch mrt dumping to fd passing. This gives some speed up when extensiveClaudio Jeker
2004-06-20at least somewhat consistently name the TAILQ_ENTRYs... this confused meHenning Brauer
2004-06-20implement file descriptor passing in the imsg/msgbuf framework, and useHenning Brauer
2004-06-06rework bgpd's handling of listening sockets. instead of one for eachHenning Brauer
2004-05-21Add support for dynamic announcements. Usefule to annouce temporaryClaudio Jeker
2004-05-07add a filter option to dump prefixes learned in UPDATEs into a PF table,Damien Miller
2004-05-03little KNF issueHenning Brauer
2004-04-29sock -> fd; ok henningTheo de Raadt
2004-04-27crud stripping; henning okTheo de Raadt
2004-04-25Remove the no longer needed configure stuff in RDE. The peer list needs noClaudio Jeker
2004-03-16delay creating the control socket until after forking, but before chrootHenning Brauer
2004-03-12fix the "wait for child processes to terminate" code, and move it down a bitHenning Brauer
2004-03-11Shutdown the RDE cleanly on exit. Plug some memleaks. OK henning@Claudio Jeker
2004-03-11Free unneeded mrt lists in SE and on exit. OK henning@Claudio Jeker
2004-03-10pass a pointer to the network list as well to session_main so we can free()Henning Brauer
2004-03-10pass a pointer to the filter rule list to session_main() so we can free()Henning Brauer
2004-03-10free peer list on exit, claudio okHenning Brauer
2004-03-01Arrrg. Not my day. Sync printconfig with parser here too.Claudio Jeker
2004-02-19Make the code more portable. Add some missing header files and make the useClaudio Jeker
2004-02-09print networks tooHenning Brauer
2004-02-09drain the list fluffierHenning Brauer
2004-02-09print more fluffHenning Brauer
2004-02-09move printing the config to where it belongsHenning Brauer
2004-02-07send filter rules to the RDE on reloads, help & ok claudioHenning Brauer
2004-02-06initial cut at the filtering language.Henning Brauer
2004-02-03defer free()ing the previous peer list until after parsing the config fileHenning Brauer
2004-01-23use log_addrHenning Brauer
2004-01-22use log_warnx and log_info. reclassify a few messages in the process and fixHenning Brauer
2004-01-22s/log_err/log_warn/Henning Brauer
2004-01-20check early wether user _bgpd exists so we can bail out early and nicelyHenning Brauer
2004-01-17Make it possible to announce own networks. In the RDE these prefixes areClaudio Jeker
2004-01-17allow the interfaces as bgpd sees 'em to be queried via imsgsHenning Brauer
2004-01-11use bgpd_addr in the nexthop tree; change nexthop_add/_remove accordinglyHenning Brauer
2004-01-11in the nexthop imsgs use struct bgpd_addr for the data part instead ofHenning Brauer
2004-01-11use struct bgpd_addr for nexthop and gateway in struct kroute_nexthopHenning Brauer
2004-01-11new message IMSG_CTL_SHOW_NEXTHOP: request/send lost of BGP nexthops andHenning Brauer
2004-01-11The buffer changes produced some fallout in the mrt code.Claudio Jeker