summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2015-11-27Imporve error messages for the imsg handler code. OK sthen@Claudio Jeker
2015-11-20bgpd has been naughty. It tries to play with AF_UNIX sockets withoutFlorian Obser
2015-11-17pledge() esposes a design issue in bgpd that will take a moment toSebastian Benoit
2015-11-17in the SE, loosing the pipe to the main process can be handled with aSebastian Benoit
2015-11-12pledge the bgpd main process. Some of the promises can be improved uponSebastian Benoit
2015-11-06Radically improve the performance of bgpd filters. Based on PF's skipPeter Hessler
2015-10-27calloc -> malloc when the memory is immediately overwritten with memcpy.mmcc
2015-10-25Rename imsg_compose_parent and imsg_compose_rde to imsg_ctl_parent andClaudio Jeker
2015-10-25Only run the rib_dump_runner() if there is something pending and theClaudio Jeker
2015-10-24"bgpctl sh rib in" and "bgpctl sh rib out" require a neighbor argumentSebastian Benoit
2015-10-24Introduce msgtypenames to print bgp msg types (which will be used by bgpctl)Claudio Jeker
2015-10-24In all other cases of rde_filter_match() we ensure that asp is valid soClaudio Jeker
2015-10-24seg_type is only set but never used. So remove it. Someone reported thisClaudio Jeker
2015-10-22Revert revision 1.282:Reyk Floeter
2015-10-22If we receive an empty route message, log it and ignore it. HappensPeter Hessler
2015-10-17Do no accept fds on the control socket; including the restricted socket.Reyk Floeter
2015-10-11standardize a community that has been independently created by nearlyPeter Hessler
2015-10-11some peers are following an expired draft RFC and are sending "unknown"Peter Hessler
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07In theory, bgpd should be happy with tame "stdio unix route recvfd".Theo de Raadt
2015-10-07use fatal() instead of err(); from bennoTheo de Raadt
2015-10-06Move from tame "cmsg" to tame "sendfd" or "recvfd", depending on whichTheo de Raadt
2015-10-05tame "stdio inet cmsg" should work well in the session engine.Theo de Raadt
2015-09-21sort;Jason McIntyre
2015-09-21Let us log all updates sent from an individual peer. Since this can bePeter Hessler
2015-09-21Allow for empty blocks for peers. While this is bad style for permantPeter Hessler
2015-09-19Use correct function name in error messageClaudio Jeker
2015-09-16Another ifmedia64 fix, this time for bgpd's ift2ifm().Stefan Sperling
2015-09-13explicit_bzero() from Michael McConville, thanks!Florian Obser
2015-08-30rename a variable "err" to "error"Theo de Raadt
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-08-04Give more precise errors, to help track when bgpd quitsPeter Hessler
2015-07-20Make bgpd execute the RDE and session engine process instead of just forking.Claudio Jeker
2015-07-19knock out "Ns Li" before colons - the Li was being ignored anyway, and iJason McIntyre
2015-07-19clarify how inet|inet6 work in filtersSebastian Benoit
2015-07-18give bgpd's fatal() varargs and use it to instrument bgpd fatal()Sebastian Benoit
2015-07-17Only filter RTF_LLINFO or RTF_BROADCAST routes out but not RTF_LOCAL onesClaudio Jeker
2015-07-16Next round of config cleanup. Move various lists into the bgpd_config struct.Claudio Jeker
2015-07-16fix pasto in error stringBret Lambert
2015-07-08Check for RTF_CONNECTED to track interface (connected) routes.Martin Pieuchot
2015-06-21There is a race between sending notifications to the SE and getting a newClaudio Jeker
2015-06-19show the number of (currently) known prefixes and the max-prefix limit,Peter Hessler
2015-04-26mlarkin asks "bgpctl checks the length of the control socket path toSebastian Benoit
2015-04-25allow us to write rules that match directly on the peer ASPeter Hessler
2015-03-14rename rde_free_filter() to filterlist_free() and start using it outsideClaudio Jeker
2015-03-14Move the command line options (mainly -d and -v) out of struct bgpd_configClaudio Jeker
2015-03-14Move the code that adjust FIB priority when changed during a config reloadClaudio Jeker
2015-02-28Reduce usage of predefined strings in manpages.Anthony J. Bentley
2015-02-11Use sizeof(u_short) in the first check since there are RT messages thatClaudio Jeker
2015-02-10Make also the special sockets SOCK_NONBLOCK. For the routing socket addClaudio Jeker