summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2015-10-09Change all tame callers to namechange to pledge(2).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-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-02-09Kill session_socket_blockmode() and replace it with SOCK_CLOEXEC orClaudio Jeker
2014-12-04replace an overlapping memcpy with memmove, ok deraadt teduStuart Henderson
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-10-08Use reallocarray() throughout to spot multiplicative int overflow.Theo de Raadt
2014-01-22Fix a bug where stale routes were not properly flushed on sessions announcingClaudio Jeker
2013-11-13from claudioSebastian Benoit
2013-07-10Change the way the RDE updates its peer list. The SE is now always sendingClaudio Jeker
2013-05-30When removing "dump (all|updates)" from bgpd.conf and reloading, tellFlorian Obser
2013-05-30Add partial support to bgpd for the ttl hack with ipv6. This sends the correctStuart Henderson
2013-03-20less includesTheo de Raadt
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
2013-03-07Implements a few missing bits for better templates support:Claudio Jeker
2012-12-01The capability parser should only return an error in extreme cases. If aClaudio Jeker
2012-09-18Only allow one reload request at a time in bgpd. Needed for further work.Claudio Jeker
2012-09-12Better graceful restart support (implementing more then just the EoR record).Claudio Jeker
2012-07-11Limit "while(setsockopt(..SO_RCVBUF/SO_SNDBUF..))" loops to prevent themStuart Henderson
2012-07-09Fix the handling of the message read buf with regard to MSG_PROCESS_LIMIT.Claudio Jeker
2012-04-12accept() pacing for bgpd based on similar work done on other daemons.Claudio Jeker
2012-01-06typo in log_peer_warnx messageStuart Henderson
2011-07-09remove that rlimit code, rc.d and login classes do it much betterer theseHenning Brauer
2011-07-04LINK_STATE_IS_UP() cleanup userland part. There is no need to specialClaudio Jeker
2011-05-05ibuf_add returns 0 or -1. adding up the return values in errs and thenHenning Brauer
2010-12-23Increase the DATA limit in the RDE to the max value and do the sameClaudio Jeker
2010-12-09The PF_KEY socket is like the routing socket. It must be polled all theClaudio Jeker
2010-11-18Log sent notification messages as well having them in the log mayClaudio Jeker
2010-11-10Make sure that the initial configuration of the child is zeroed outClaudio Jeker
2010-10-15Add the FSM suberrors specified in draft-ietf-idr-fsm-subcode. ThisClaudio Jeker
2010-09-02remove trailing spaces and tabs from source code; no binary changesIgor Sobrado
2010-06-27Instead of specifying the control sockets on the command line have themClaudio Jeker
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
2010-05-03Make it possible to load multiple routing tables at the same time and useClaudio Jeker
2010-04-16Memory allocated with calloc() is initialized to zero, no need to do thatClaudio Jeker
2010-04-13Instead of passing AF specific struct kroutes over imsgs use a structClaudio Jeker
2010-02-11Not knowing a AFI/SAFI pair in the MP capability is no reason to failClaudio Jeker
2010-01-05Make sure that all important config variables are synced on a reload inClaudio Jeker
2009-12-31Instead of passing the config via arguments to the childs on bootup issueClaudio Jeker
2009-12-08Big AID change part two. This changes the mp capability into an array ofClaudio Jeker
2009-12-03Stop the IdleHold timer when going to idle state. This makes it a bitClaudio Jeker
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
2009-10-26Better error handling when doing mrt dumps (e.g. when there is no more spaceClaudio Jeker
2009-09-22Update capability code to follow RFC 5492. Unlike before multipleClaudio Jeker
2009-09-03Use correct destination in memcpy(). Fixes PR6218, OK henningClaudio Jeker
2009-09-02Implement all of RFC 4486 BGP Cease Notification Message Subcodes.Claudio Jeker
2009-08-21Fix for PR6213, peers with 4-byte AS numbers were unable to connect to aClaudio Jeker