summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/config.c
AgeCommit message (Expand)Author
2019-09-27Move the code to initialize the cluster-id from merge_config() toClaudio Jeker
2019-08-13When allocating a new peer set the reconf_action to RECONF_REINIT.Claudio Jeker
2019-08-05Cleanup config reload in the RDE. Use the bgpd_conf struct to store setsClaudio Jeker
2019-05-29Rework pfkey handling a bit. The old remove then add way of inserting md5sigClaudio Jeker
2019-05-27Switch the peer TAILQ to a RB tree indexed by the peer id. This wayClaudio Jeker
2019-05-08Rework the TCP md5sig and IKE handling. Move the pfkey socket to the parentClaudio Jeker
2019-03-31Move the struct peer into bgpd_config and switch it to a TAILQ instead ofClaudio Jeker
2019-03-15Set all default values in init_config in parse.y and remove the specialClaudio Jeker
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-02-27Convert the remote and local addresses in struct peer to be bgpd_addrsClaudio Jeker
2019-02-18Move get_mpe_config() to kroute.c so that config.c does not depend onClaudio Jeker
2019-02-18Do not depend on the length field of struct sockaddr instead pass theClaudio Jeker
2019-02-12Remove log_debug which is no longer neededClaudio Jeker
2019-02-11The definition of VPNs in bgpd was never super elegant. The 'depend onClaudio Jeker
2018-12-27Check if a control socket or address is already in use befor using it.remi
2018-11-14Plug memory leak in host()'s error code pathRicardo Mestre
2018-09-29Implement origin validation in bgpd. This introduces two new tables, theClaudio Jeker
2018-09-21sync host*() changes from pfctlkn
2018-09-21Implement code to parse, print and reload roa-set tables.Claudio Jeker
2018-09-20Switch prefixset to an RB_TREE instead of a SIMPLEQ. This allows to triggerClaudio Jeker
2018-09-09Add network prefix-set <name> syntax to announce networks in a prefix-set.Sebastian Benoit
2018-09-07Implement as-set a fast lookup table to be used instead of long list ofClaudio Jeker
2018-09-04Instead of bzero() use an assinment to zero struct in_addr.Claudio Jeker
2018-08-02Make free_prefixsets() accept a NULL pointer. Makes it behave more likeClaudio Jeker
2018-07-11The routing table bgpd runs in needs to be a routing domain.Sebastian Benoit
2018-02-10Add prefix-sets, lists of prefixes which can be used in place of aSebastian Benoit
2017-05-29change bgpd's control socket from /var/run/bgpd.sock toSebastian Benoit
2017-05-28so far, bgpd was hardcoded to use rtable 0 for nexthop verification.Henning Brauer
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2017-01-17Nuke some whitespace that keeps poking me in the eye as I try toKenneth R Westerback
2016-01-26typosmmcc
2015-12-01It is not a network hackathon without a bgpd commit. So here we go.Claudio Jeker
2015-07-16Next round of config cleanup. Move various lists into the bgpd_config struct.Claudio 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-09Kill session_socket_blockmode() and replace it with SOCK_CLOEXEC orClaudio Jeker
2013-11-13Knob to set priority with which bgpd inserts routes into the kernelFlorian Obser
2010-10-24spacing and irrelevant glitches which disrupt lintTheo de Raadt
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-17Last bits of MPLS VPN support. Hook kernel routing tables and RIB together.Claudio Jeker
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
2009-01-26Getting the higest IP only works if the compare is done in host byte order.Claudio Jeker
2007-10-13in all these programs using the same pfctl-derived parse.y, re-unify theTheo de Raadt
2007-01-31Replace another strtol() with strtonum() making the error checking easierClaudio Jeker
2006-03-15Allow the control socket to be changed on the command line. Useful if youClaudio Jeker
2006-01-24introduce a second control socket, which is restricted to certain messages,Henning Brauer
2005-07-14free commitz from pascoes kitchen. fix an error messageDavid Gwynne
2005-03-30bgpd used to open listeners in advance in the parent and the SE pickedHenning Brauer
2005-03-28better diagnostics on bind() failureHenning Brauer