summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/control.c
AgeCommit message (Expand)Author
2019-08-12Reset the IdleHoldTime and the session error count when doing a adminClaudio Jeker
2019-08-08Use O_CLOEXEC or SOCK_CLOEXEC on every open or socket call. Even thoughClaudio Jeker
2019-05-27Switch the peer TAILQ to a RB tree indexed by the peer id. This wayClaudio Jeker
2019-03-31Move the struct peer into bgpd_config and switch it to a TAILQ instead ofClaudio Jeker
2019-02-12Handle the abnormal case of not having any neighbors defined a bit betterClaudio Jeker
2019-01-20Support group descriptions in control messages that accept a neighborClaudio Jeker
2018-12-27Check if a control socket or address is already in use befor using it.remi
2018-12-22bgpctl can cause bgpd to do a lot of work (e.g. dumping all of the RIB)Claudio Jeker
2018-11-28Start reworking community handling. Merge standard communities and largeClaudio Jeker
2017-08-11softreconfig in and out are on by default for ever and machines now haveClaudio Jeker
2017-08-10handle extended communities in bgpctl.Sebastian Benoit
2017-05-28Implement an XON/XOFF protocol between the RDE and the SE to throttleClaudio Jeker
2017-02-13draft-ietf-idr-shutdown extends to support a message on either ofPeter Hessler
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2017-01-13Add support for draft-ietf-idr-shutdownPeter Hessler
2017-01-08Replace hand-rolled for(;;) traversal of ctl_conns TAILQ withKenneth R Westerback
2016-10-14Add support for draft-ietf-idr-large-communityPeter Hessler
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-10-25Rename imsg_compose_parent and imsg_compose_rde to imsg_ctl_parent andClaudio Jeker
2015-10-24"bgpctl sh rib in" and "bgpctl sh rib out" require a neighbor argumentSebastian Benoit
2015-10-17Do no accept fds on the control socket; including the restricted socket.Reyk Floeter
2015-04-26mlarkin asks "bgpctl checks the length of the control socket path toSebastian Benoit
2015-02-09Kill session_socket_blockmode() and replace it with SOCK_CLOEXEC orClaudio Jeker
2013-11-13from claudioSebastian Benoit
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-05-27Extend the network code to allow attributes to be passed in with prefixes.Claudio Jeker
2012-04-12accept() pacing for bgpd based on similar work done on other daemons.Claudio Jeker
2010-10-29malloc -> calloc for ctl_connHenning Brauer
2010-05-03Make it possible to load multiple routing tables at the same time and useClaudio Jeker
2010-01-13Add support for BGP MPLS VPN aka RFC 4364. This is only the RDE part soClaudio Jeker
2009-12-08porcesses -> processesJonathan Gray
2009-12-03A bgpctl nei XY clear should not restart neighbors that are administrativlyClaudio Jeker
2009-12-02log_warn() consistency.Michael Knudsen
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
2009-11-02Implement IMSG_CTL_LOG_VERBOSE similar to ospfd. Even though bgpd has almostClaudio Jeker
2009-09-02Implement all of RFC 4486 BGP Cease Notification Message Subcodes.Claudio Jeker
2009-05-05check that an IMSG_CTL_SHOW_RIB_PREFIX request has a validStuart Henderson
2008-05-11allow IMSG_CONTROL_SHOW_TIMER on restricted socketsHenning Brauer
2008-05-08make sure we always send back something on IMSG_CTL_SHOW_NEIGHBORHenning Brauer
2008-01-31do not leak confd on malloc failure in control_accept()Henning Brauer
2007-12-23send timers for bgpctlshow neighbor foo timer in seperate messages afterHenning Brauer
2007-12-20rework timers.Henning Brauer
2007-03-28add IMSG_CTL_SHOW_RIB_COMMUNITY, rib by given communityHenning Brauer
2007-03-19when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do notHenning Brauer
2006-08-23Extend show rib interface code so that it is possible to show the adj-rib-inClaudio Jeker
2006-05-27Pass a IMSG_CTL_RESULT messgae back to bgpctl on reloads to indicate ifClaudio Jeker
2006-05-27Cleanup with lint. Make the poll fd indexes unsigned and because of thatClaudio Jeker
2006-05-23allow bgpd to request a route refresh from a neighbor if that neighborHenning Brauer