summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2019-08-09Move prefix_update to the right spot and also move some prototypes down.Claudio Jeker
2019-08-09Rename some of the prefix functions to make it clearer. Also renameClaudio Jeker
2019-08-08Fix a bunch of typos in various man pages.Frederic Cambus
2019-08-08Use O_CLOEXEC or SOCK_CLOEXEC on every open or socket call. Even thoughClaudio Jeker
2019-08-08Parse the config file early on startup before bgpd is daemonized.Claudio Jeker
2019-08-08Set the reconf state of listening addrs to RECONF_REINIT. This is whatClaudio Jeker
2019-08-08Describe what "disabling the decision process" entails for the "no evaluate" ...Richard Procter
2019-08-07Improve RIB reload behaviour. Especially when the rtable changes or theClaudio Jeker
2019-08-07Implement the last few missing bits of RFC7607 and ensure that the AS inClaudio Jeker
2019-08-07Only templates can have a remote-as of 0 (as in uninitalised, trust the ASClaudio Jeker
2019-08-07Order RFC by number.Claudio Jeker
2019-08-05Cleanup config reload in the RDE. Use the bgpd_conf struct to store setsClaudio Jeker
2019-08-05Change the order how filtersets are passed during config reloads. InsteadClaudio Jeker
2019-07-24rib_dump_terminate() and rib_dump_abort() need to free any possiblyClaudio Jeker
2019-07-24mrt.h only needs to be included by mrt.cSebastian Benoit
2019-07-24Refactor the way RIBs are parsed a bit. No functional change but shouldClaudio Jeker
2019-07-24Cleanup and fix some obvious shortcomings in the mrt dump code. AlsoClaudio Jeker
2019-07-23Use the correct prefix size when writing out AID_VPN_IPv4 and AID_VPN_IPv6Claudio Jeker
2019-07-23Make sure that pfd is not overflown, can not happen unless the mrt countClaudio Jeker
2019-07-23Clean up RIB related kroute code. Introduce a way to flush a FIB tableClaudio Jeker
2019-07-22No need to check first if something is not NULL to assign NULL to it.Claudio Jeker
2019-07-22GC three prototypes whose function have gone long ago.Claudio Jeker
2019-07-19When allocating socketpair() increase their send and receive buffers toClaudio Jeker
2019-07-17Change the Adj-RIB-Out to a per peer set of RB trees. The way RIB dataClaudio Jeker
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-07-02up_generate_default() needs to fake a prefix entry so that the outboundClaudio Jeker
2019-07-01Must update the nexthop state before dropping the nexthop referenceClaudio Jeker
2019-07-01Remove no longer needed local variable oasp.Claudio Jeker
2019-07-01Unify the way object in the RDE are reference counted. The affectedClaudio Jeker
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-28Reset rpending (read pending) indicator for a peer when the peer goes downClaudio Jeker
2019-06-25ibuf_write() returns -1 on error.Sebastian Benoit
2019-06-25cleanup return code checks for the pfkey_*() functions.Sebastian Benoit
2019-06-25Initialize the peer id of peerself to PEER_ID_SELF before adding it toClaudio Jeker
2019-06-24mrt dumps lost communities after the community rewrite.Claudio Jeker
2019-06-22Add a direct pointer from struct prefix to struct pt_entry.Claudio Jeker
2019-06-22Adjust peer id allocation a bit. Use defines for the various specialClaudio Jeker
2019-06-20prefix_add() is only called by path_update() and path_update alreadyClaudio Jeker
2019-06-20prefix_updateall() is only used internally, make it a static function.Claudio Jeker
2019-06-20Change nexthop_update to run the list walk over all prefixes to runClaudio Jeker
2019-06-19With the community rewrite the output code needs to also check theClaudio Jeker
2019-06-17A bit more KNF no binary changeClaudio Jeker
2019-06-17Replace spaces with tab for text indentClaudio Jeker
2019-06-17Cleanup, remove some unneded spaces add some other where needed.Claudio Jeker
2019-06-17Adjust comment.Claudio Jeker
2019-06-17Completley rewrite the community matching and handling code. All communityClaudio Jeker
2019-06-11Fix typo which resulted in a segfault in ebgp multihop setups.Florian Obser
2019-06-07Refactor up_get_nexthop() to work for all AFI/SAFI cases. AdditionallyClaudio Jeker
2019-05-31Exit the attribute loop early if there are no unknown attributes leftClaudio Jeker
2019-05-31Also check the type of a network statement when looking for duplicates.Claudio Jeker