summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2009-06-04Document that we accept ASPLAIN format 32-bit ASN.Stuart Henderson
2009-06-03Allocate all rib contextes for tree walks and don't use static stack memory.Claudio Jeker
2009-06-03Initial stab at rib_free() until now unused.Claudio Jeker
2009-06-03Better way to allocate new RIBs.Claudio Jeker
2009-06-03Make prefix_destroy more generic and use it in prefix_remove this is possibleClaudio 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-06-01Do not call the upcall twice on some prefixes. Move the upcall back toClaudio Jeker
2009-06-01Holy simplification batman. Use the per rib entry flags to lock entriesClaudio Jeker
2009-06-01Instead of storing a pointer to the RIB head in the RIB element use thatClaudio Jeker
2009-05-30Only use a single tree for all address families. There is no need for multipleClaudio Jeker
2009-05-27Move update and withdraw code into own functions to simplify the necessaryClaudio Jeker
2009-05-27add an option to change the "connect-retry" timer which defaults to 120s.Reyk Floeter
2009-05-25In dispatch_rtmsg_addr() don't fatal on missing multipath deletes. Not 100%Claudio Jeker
2009-05-21Make it possible to turn off the decision process per RIB. This is mainlyClaudio 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-17rib_dump_r needs to check the af of the prefix because there is no rib perClaudio 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-05-05fix a couple of comment typosStuart Henderson
2009-05-05check that an IMSG_CTL_SHOW_RIB_PREFIX request has a validStuart Henderson
2009-04-29de-static some functions. Helps handling the monster change I'm working on.Claudio Jeker
2009-04-26Unused defines from a time long long ago.Claudio Jeker
2009-04-23Rework the way we handle announced networks. Instead of two freak rde_peersClaudio Jeker
2009-04-23allow bgpctl and bgpd.conf to contain 32-bit ASN written in ASPLAINStuart Henderson
2009-04-21instead of calling getpid() all over the place do it once, claudio okHenning Brauer
2009-04-21ignore pfkey replies not for us and discard themHenning Brauer
2009-04-19Correct function name in log_warnx().Claudio Jeker
2009-03-31Fixed memory leaks which would occur if the second of two memoryTobias Stoeckmann
2009-03-26argh, do not reuse the global trans_as flag to be applied to the peerHenning Brauer
2009-03-22make transparent-as yes|no settable peer neighbor with the global settingHenning Brauer
2009-03-19First big chunk of mrt rewrite. Simplifies code hopefully and fixes tableClaudio Jeker
2009-03-19Implement a attr_writebuf() function that works on a struct buf instead ofClaudio Jeker
2009-03-18Correctly check the peer group for mrt dumps. Without this all non-groupedClaudio Jeker
2009-03-18Correctly check for MRT_TABLE_DUMP_MP and don't send the config to the SE.Claudio Jeker
2009-03-18Introduce local_as in the peer config. This allows per peer local AS andClaudio Jeker
2009-03-18short_as is always initialised to the 16bit AS that is used. So no needClaudio 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-13Sync buffer API with the one from ospfd. The dynamic buffers will make otherClaudio Jeker
2009-03-13More paranoia when parsing empty updates. Make sure they are really empty andClaudio Jeker
2009-03-13Correctly encode MP unreach NLRI so that IPv6 prefixes get removed correctly.Claudio Jeker
2009-02-25add a stupid workaround for a race somewhere in the crypto code in theHenning Brauer
2009-02-19Use a bob sized header for IPv6 not the default pedro sized one.Claudio Jeker
2009-02-17Fix aspath_prepend() in the case a AS-PATH has a sequence of 255 elementsClaudio Jeker
2009-02-16typo in error message; "bigger that" -> "bigger than"Stuart Henderson
2009-02-11Because IPv6 fucked up and created a badly sized struct sockaddr_in6 we needClaudio Jeker