summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
AgeCommit message (Expand)Author
2019-10-01For portable kr_init() returns an fd of -1 which now would end up in anClaudio Jeker
2019-08-08Use O_CLOEXEC or SOCK_CLOEXEC on every open or socket call. Even thoughClaudio Jeker
2019-07-23Clean up RIB related kroute code. Introduce a way to flush a FIB tableClaudio Jeker
2019-05-06Fix reloading of network statements that have no fixed prefix specification.Claudio Jeker
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-03-01Need to be more careful in kr_net_redist_add() when adding an alreadyClaudio Jeker
2019-02-21Media and link states are highly OS dependent, to make porting easierClaudio Jeker
2019-02-18Move get_mpe_config() to kroute.c so that config.c does not depend onClaudio Jeker
2019-02-15Move the depend on state calculation from session.c to kroute.c. ThisClaudio Jeker
2019-02-11The definition of VPNs in bgpd was never super elegant. The 'depend onClaudio Jeker
2019-01-18Don't store the mpe information in struct ktable but instead pass theClaudio Jeker
2018-12-30add support for IPv6 VPN routesdenis
2018-12-28move kroute_find() call laterdenis
2018-12-06Be more strict when converting a netmask to prefixlen in mask2prefixlen6.Claudio Jeker
2018-11-05F_RIB_HASNOFIB is defined, let's use itdenis
2018-09-29Fix problems with redistribution of routes by route label.Sebastian Benoit
2018-09-09Add network prefix-set <name> syntax to announce networks in a prefix-set.Sebastian Benoit
2018-07-22Add more information to if_change() debug log using the new interface helperClaudio Jeker
2018-07-14get rid of two more implicit ktable_get with rdomain 0.Sebastian Benoit
2018-07-12store and print the rdomain of the interfaces we see.Sebastian Benoit
2018-07-11add option "network ... priority number" to announce prefixes from theSebastian Benoit
2018-07-10__func__ log statements and some whitespace knfSebastian Benoit
2017-11-29Insert MPLS VPN routes with the RTF_GATEWAY flag cleared. mpe(4) is nowClaudio Jeker
2017-07-24Unify ROUNDUP macros for parsing route messages.friehm
2017-05-31Oups, that should have not been committed. Revert.Claudio Jeker
2017-05-31Rework the way we do extended communities (mainly in the parser) and updateClaudio Jeker
2017-05-28so far, bgpd was hardcoded to use rtable 0 for nexthop verification.Henning Brauer
2017-03-28For IPv6 pass prefix not nexthop as network for connected nexthops back toClaudio Jeker
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2016-10-05Let bgpd announce routes based on a route-label.Peter Hessler
2016-04-08When bgp receives an RTM_CHANGE message for an RTF_MPATH route[1], andPeter Hessler
2016-03-22Connected routes are no longer identified by a AF_LINK gateway so adjustClaudio Jeker
2015-12-05cleanup some log messages with wrong function names etc.Sebastian Benoit
2015-10-22If we receive an empty route message, log it and ignore it. HappensPeter Hessler
2015-09-16Another ifmedia64 fix, this time for bgpd's ift2ifm().Stefan Sperling
2015-07-17Only filter RTF_LLINFO or RTF_BROADCAST routes out but not RTF_LOCAL onesClaudio Jeker
2015-07-08Check for RTF_CONNECTED to track interface (connected) routes.Martin Pieuchot
2015-02-11Use sizeof(u_short) in the first check since there are RT messages thatClaudio Jeker
2015-02-10Make also the special sockets SOCK_NONBLOCK. For the routing socket addClaudio Jeker
2015-02-09Kill session_socket_blockmode() and replace it with SOCK_CLOEXEC orClaudio Jeker
2014-10-08Use reallocarray() throughout to spot multiplicative int overflow.Theo de Raadt
2014-06-23The second level of the CTL_NET sysctl is a PF_*, not an AF_*Philip Guenther
2014-01-23allow the somewhat special caseSebastian Benoit
2013-11-13Knob to set priority with which bgpd inserts routes into the kernelFlorian Obser
2013-05-22Set the correct route priority in send_rt6msg, as done for send_rtmsg.Stuart Henderson
2013-05-22whitespace nitsStuart Henderson
2013-03-20less includesTheo de Raadt
2013-03-14use after free; 33% found by llvmFlorian Obser
2012-11-13pasto in log messageFlorian Obser
2012-07-13Cleanup the knexthop mess and make sure we only send an update to the RDEClaudio Jeker