summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/control.c
AgeCommit message (Expand)Author
2022-08-17Convert bzero() to memset(), bcmp() to memcmp() and bcopy() to memcpy().Claudio Jeker
2022-07-28whitespace found during a read-thru; ok claudioTheo de Raadt
2022-02-04Rename sockaddr_un sun to sa_un since sun is defined on illumos systems.Claudio Jeker
2021-04-27Add IMSG_CTL_SHOW_RTR to the list of restriced control messages.Claudio Jeker
2021-02-16Add RTR support to OpenBGPD. Add basic support for the protocol.Claudio Jeker
2020-12-30Implement IMSG_CTL_SHOW_SET to get information about roa-set, as-sets andClaudio Jeker
2020-12-11Make the timer code independent of struct peer this way it can be usedClaudio Jeker
2020-11-05Refactor the control code to be more like a module.Claudio Jeker
2020-05-10In bgpctl argument parser, re-arrange 'reason' parsing ('nei action [reason]')Theo de Raadt
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