summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
AgeCommit message (Expand)Author
2009-06-29Unfuck mrt table dumps and plug a memory leak while there.Claudio Jeker
2009-06-22Log a warning when "enforce remote-as" is triggered. ok claudio@Stuart Henderson
2009-06-07Change the way fds passed over a socket are retreived on the receiving side.Eric Faurot
2009-06-07First attempt at reload support for RIBs. There is some magic that I doClaudio Jeker
2009-06-06Fix bgpctl show rib prefix/len command. Problem reported by Insan Praja.Claudio Jeker
2009-06-06sync bgpd/bgpctl with the common imsg code, making it lib ready as well.Eric Faurot
2009-06-06Make it possible to select the RIB that a show command should show.Claudio Jeker
2009-06-06Some preliminary filter magic to support multiple RIBs on the filters.Claudio Jeker
2009-06-06Only generate updates for peers that are member of the RIB that update isClaudio Jeker
2009-06-06Minor cleanup.Claudio Jeker
2009-06-05Make it possible to bind peers to a specified RIB. Now only filters andClaudio Jeker
2009-06-05Change the way we do mrt dumps in the rde (from the retarded only one dumpClaudio Jeker
2009-06-04Make mrt understand alternate RIB plus remove some other static rib references.Claudio Jeker
2009-06-04Export networks to be redistributed into all ribs for now.Claudio Jeker
2009-06-04Add "rde rib <name>" to the config and allow the rde to use these other RIBs.Claudio Jeker
2009-06-02Make show rib as and show rib community use the same dump code as the otherClaudio Jeker
2009-06-02Move the rest of the rib dump functions into rde_rib.c where it belongs.Claudio Jeker
2009-06-01Use only one list to queue the dump contextes on. Use the list in structClaudio Jeker
2009-05-27Move update and withdraw code into own functions to simplify the necessaryClaudio Jeker
2009-05-17F_LOCAL and F_ORIGINAL are gone. The Adj-Rib-In is now a distinct tree.Claudio Jeker
2009-05-17Simplify the IMSG_CTL_SHOW_NETWORK case and make it actually work by sendingClaudio Jeker
2009-05-17Rework most of the RDE to allow multiple RIBs. This is mostly preparationClaudio Jeker
2009-05-11Make bgpctl show network print both AF_INET and AF_INET6 as mentioned in theClaudio Jeker
2009-04-23Rework the way we handle announced networks. Instead of two freak rde_peersClaudio Jeker
2009-03-18Correctly check for MRT_TABLE_DUMP_MP and don't send the config to the SE.Claudio Jeker
2009-03-13No need for a line break, makes code a bit more compact.Claudio Jeker
2009-03-13Next step in mrt cleanup. Switch buf_write to a smarter version of itself.Claudio Jeker
2009-03-13Move mrt code over to use the msgbuf way of queuing buffers instead of rollingClaudio Jeker
2009-03-13More paranoia when parsing empty updates. Make sure they are really empty andClaudio Jeker
2009-01-13Replace NEW_ASPATH/NEW_AGGREGATOR with the naming from RFC4893,Stuart Henderson
2008-12-28Add a ugly workaround for the problem where an invalid AS4_PATH is passedClaudio Jeker
2008-12-12Follow RFC 4271 more closely by sending the correct error back for optionalClaudio Jeker
2008-06-15Paranoia check. Make sure that the 2 len bytes are actually available.Claudio Jeker
2008-05-02Fix logic when setting the F_RIB_ELIGIBLE flag. A path with a NULL nexthopClaudio Jeker
2008-02-26Ignore and drop path attributes with a type code of 0 instead of sending anClaudio Jeker
2007-11-27Prefixes or actually pathes that would cause a rooting loops should not beClaudio Jeker
2007-09-16log_fmt_peer() does not use a static buffer so it is necessary to free theClaudio Jeker
2007-06-19Ignore SIGHUP in bgpd's children to allow the use of pkill -1 bgpd forPierre-Yves Ritschard
2007-05-11Various spelling fixes from Stuart Henderson.Claudio Jeker
2007-04-23Make bgpd 4-byte AS compatible. All internal representations of AS numbersClaudio Jeker
2007-04-06Count the updates and withdraws for additional statisic gathering.Claudio Jeker
2007-03-28add IMSG_CTL_SHOW_RIB_COMMUNITY, rib by given communityHenning Brauer
2007-03-16A few more s/2858/4760/ and use RFC <number> everywhere.Claudio Jeker
2007-03-16Update multiprotocol extension code to RFC 4760. This actually removesClaudio Jeker
2007-03-12When running show commands that are restarted make sure that we eitherClaudio Jeker
2007-02-22KNFHenning Brauer
2007-01-26Massiv rework of the control imsg flow. Main changes:Claudio Jeker
2007-01-24Lock the nexthop while parsing an update by increasing the reference count.Claudio Jeker
2007-01-04Do not run rde_shutdown() unless bgpd is started with -d.Claudio Jeker
2006-12-12Kill peer_remove(). This function is only used once so inline it there.Claudio Jeker