summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2016-02-02Remove setproctitle() for the parent process. Because rc.d(8) uses processStuart Henderson
2016-01-26typosmmcc
2016-01-07If transparent-as is set to no AS paths are prepended with the localFlorian Obser
2015-12-30now that ibuf_free() checks for null, we can remove the check here.Sebastian Benoit
2015-12-23Remove NULL-checks before free(). I think I've almost scrubbed themmcc
2015-12-22commited -> committedmmcc
2015-12-05cleanup some log messages with wrong function names etc.Sebastian Benoit
2015-12-05EAGAIN handling for imsg_read. OK henning@ benno@Claudio Jeker
2015-12-03claudio questioned the need for pledge(unix) in the rde, and i thinkSebastian Benoit
2015-12-01It is not a network hackathon without a bgpd commit. So here we go.Claudio Jeker
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