summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/config.c
AgeCommit message (Expand)Author
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
2005-03-26inet_addr("127.0.0.1") -> htonl(INADDR_LOOPBACK)Claudio Jeker
2005-03-23Move the neighbor checking code from merge_config() to neighbor_consistent()Claudio Jeker
2005-03-15remove listener if bind() fails. no point in having a defunct listenerHenning Brauer
2004-10-01if we're opening a socket for a default listener because no "listen on"Henning Brauer
2004-06-20implement file descriptor passing in the imsg/msgbuf framework, and useHenning Brauer
2004-06-06rework bgpd's handling of listening sockets. instead of one for eachHenning Brauer
2004-05-21RFC 2796 bgp route reflector support. This is very useful in conjunctionClaudio Jeker
2004-05-04remove unused var; henning okTheo de Raadt
2004-04-27do the errno ERANGE dance around a strtol; henning okTheo de Raadt
2004-03-31it is no longer required to have local-address set with tcp md5sig,Henning Brauer
2004-03-17consistencyHenning Brauer
2004-03-16tcp md5sig requires that local-address is specified as well for now, soHenning Brauer
2004-03-03missing freeaddrinfo()Henning Brauer
2004-03-02flesh out the address and prefix parsing, include v6 code, but reject v6Henning Brauer
2004-02-26Implement "enforce neighbor-as yes|no" which is by default on for ebgpClaudio Jeker
2004-02-10enforce config file secrecy (correct owner, no rights for group/world)Henning Brauer
2004-02-03replace the previous hack for the internal peer id allocator (which just usedHenning Brauer
2004-02-01Set sane default announce types according to the peer type. For IBGP useClaudio Jeker
2004-01-30in the parse_config() -> merge_config() chain, you shall not nullHenning Brauer
2004-01-28don't pfkey_setkey() from here, claudio markus okHenning Brauer
2004-01-28pfkey_setkey: sockaddr -> bgpd_addr; ok claudioMarkus Friedl
2004-01-27use a struct bgpd_addr instead of sockaddr_in for peer_config->local_addr andHenning Brauer
2004-01-27use SADB_GETSPI/UPDATE for setting tcpmd5 keys; ok henningMarkus Friedl
2004-01-26first cut at tcpmd5 setup seupport from within bgpd. works so far.Henning Brauer
2004-01-24we can use memcpy for the whole thing in merge_config now instead ofHenning Brauer
2004-01-22use log_warnx and log_info. reclassify a few messages in the process and fixHenning Brauer
2004-01-07don't try to be smart after config reloads and try to detect wetherHenning Brauer
2004-01-062004Henning Brauer
2004-01-03move some session specific stuff to session.h and make the few filesHenning Brauer
2004-01-03decouple the peer list from bgpd_config.Henning Brauer