summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
AgeCommit message (Expand)Author
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
2012-05-27Extend the network code to allow attributes to be passed in with prefixes.Claudio Jeker
2011-05-01On reload the filtersets attached to a network need to be moved to theClaudio Jeker
2011-03-07continguous -> contiguousHenning Brauer
2010-10-11bgpd needs to see all routing messages so set the ROUTE_TABLEFILTER toClaudio Jeker
2010-09-30Only 6 elements of mib are used so do allocate 6 not 7.Claudio Jeker
2010-09-02remove trailing spaces and tabs from source code; no binary changesIgor Sobrado
2010-07-12Merge duplicate log messages into one log_warn().Alexander Bluhm
2010-06-03Instead of doing a poor mans offsetof() implementation change the codeClaudio Jeker
2010-05-19When installing MPLS VPN routes set the RTF_MPLS bit since those routesClaudio Jeker
2010-05-18Be more careful in ktable_update() and ktable_new() and the fib sync flag.Claudio Jeker
2010-05-17Last bits of MPLS VPN support. Hook kernel routing tables and RIB together.Claudio Jeker
2010-05-03Make it possible to load multiple routing tables at the same time and useClaudio Jeker
2010-04-13Instead of passing AF specific struct kroutes over imsgs use a structClaudio Jeker
2010-04-06Switch to a more address family independent nexthop imsg. Instead of passingClaudio Jeker
2010-02-26Fix some minor issues. 0 instead of NULL in one comparison. Set theClaudio Jeker
2010-02-23Remove some extra ().Claudio Jeker
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
2009-07-23Send the used kroute along with the nexthop information. This allows usClaudio Jeker
2009-07-23knexthop_compare() failed to compare correctly and because of this it wasClaudio Jeker
2009-07-20Include more info in the bgpctl show nexthop ctl message. Mainly add theClaudio Jeker
2009-06-25Add missing RTM_VERSION checks. Bad me, no cockies.Claudio Jeker
2009-06-12Move prefixlen2mask and inet6applymask to util.c so that we can kill theClaudio Jeker
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
2009-05-25In dispatch_rtmsg_addr() don't fatal on missing multipath deletes. Not 100%Claudio Jeker
2009-02-11Because IPv6 fucked up and created a badly sized struct sockaddr_in6 we needClaudio Jeker
2009-02-09Correct function name in warning to avoid confusion. After a discussion onClaudio Jeker
2009-01-01Remove unneeded debug messages that made it into the tree.Claudio Jeker
2008-12-12Make bgpd route priority aware and while there sync in the basics to correctlyClaudio Jeker
2008-11-21Track nexthops when the underlying route is changing. Until now true nexthopsClaudio Jeker
2008-05-09insert/delete routes with priority RTP_BGPHenning Brauer
2008-05-08backout shit committed on accidentHenning Brauer
2008-05-08in timer_set, when figuring out the right position for the timer,Henning Brauer
2007-11-24Another missing RTM_VERSION check. This will remove the RB_INSERT warningsClaudio Jeker
2007-11-24some spelling fixes from Martynas VenckusJason McIntyre
2007-10-04when inserting blackhole or reject routes, set the gateway address toHenning Brauer