summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
AgeCommit message (Expand)Author
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
2006-12-08no need for KAME_SCOPEID; just check __KAME__.Jun-ichiro itojun Hagino
2006-11-10char -> u_char in a few placesHenning Brauer
2006-09-19when the neighbor announced the restart capability, send the end-of-ribHenning Brauer
2006-08-23Extend show rib interface code so that it is possible to show the adj-rib-inClaudio Jeker
2006-08-22do not send the empty UPDATE message as End-of-RIB marker yet, JuniperHenning Brauer
2006-08-14after a bulk transfer (initial or caused by route refresh request),Henning Brauer
2006-06-15Instead of passing three different kinds of arguments in show rib controlClaudio Jeker
2006-06-14Send bot nexthops (exit and true) in the bgpctl show rib cases. bgpctlClaudio Jeker
2006-05-28Preload and pin nexthop used in filtersets so the are validiated when used.Claudio Jeker
2006-04-21attr_init() should use attrhashsize and not pathhashsize. Found via a lintClaudio Jeker
2006-04-12It is no longer allowed to change attributes in place. This corrupts theClaudio Jeker
2006-04-05remote_bgpid is stored in host byte order so a htonl() is needed when puttingClaudio Jeker
2006-03-22Add a new SHOW imsg to send optional attributes to bgpctl. This can be usedClaudio Jeker
2006-03-13Fix for PR 5052. Be more careful about the announced networks we accept.Claudio Jeker
2006-02-10Make it possible to turn suftreconfig in/out on or off. Default is on forClaudio Jeker
2006-02-02Implement new special community "neighbor-as". neighbor-as is expanded onClaudio Jeker
2006-01-24Last bits for softreconfig in support. Now bgpd will automaticaly rei-filterClaudio Jeker
2006-01-24Check if filter changed on a per peer basis. This should speed up theClaudio Jeker
2006-01-24Finally start using the Adj-RIB-In. The most complex part is the modificationClaudio Jeker
2006-01-20Proactively fix prefix counters. Currently only F_LOCAL prefixes exist butClaudio Jeker
2006-01-20Don't leak a aspath in network_add(). path_update() copies the aspath soClaudio Jeker
2006-01-14Small step in supporting the Adj-RIB-In additionaly to the Local-RIB.Claudio Jeker
2006-01-13Simplify evaluation process. Instead of checking the reachability of a prefixClaudio Jeker
2006-01-12Copy AS path in rde_filter() on demand instead of doing it before callingClaudio Jeker
2006-01-05Cache optional BGP attributes (mostly communities) and use a simpleClaudio Jeker
2006-01-04Simplify shutdown function and sprinkle some rde_quit checks into functionsClaudio Jeker
2006-01-03Track some (memory) statistics in the RDE. Accessible via bgpctl.Claudio Jeker
2006-01-03Kill WFLAG macro. Should have been included in the rde_attr_parse() merge.Claudio Jeker
2006-01-03No need to check the poll fds in case of EINTR. OK dlg@Claudio Jeker
2005-12-30Merge rde_attr_error() into rde_attr_parse() it is no longer necessary toClaudio Jeker
2005-12-24Don't use bzero(&pfd, sizeof(pfd)); pfd is an array so bzero(pfd, sizeof(pfd));Claudio Jeker