summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
AgeCommit message (Expand)Author
2004-02-02Fix bug in the decision process. The decision process is unable to directlyClaudio Jeker
2004-02-02Seal a memory leak and fix a format string, conf->as is unsigned.Claudio Jeker
2004-01-28catch SIGINT here as well so we can properly shut down if ^C'ed in debug modeHenning Brauer
2004-01-27move strict kroute from in_addr_t for nexthop and prefix to struct in_addrHenning Brauer
2004-01-27use a struct bgpd_addr instead of sockaddr_in for peer_config->local_addr andHenning Brauer
2004-01-22provide a log_debug and use it in rde.c.Henning Brauer
2004-01-22use log_peer_warnx() now that we can, claudio agreesHenning Brauer
2004-01-22use log_warnx and log_info. reclassify a few messages in the process and fixHenning Brauer
2004-01-17Make it possible to announce own networks. In the RDE these prefixes areClaudio Jeker
2004-01-13Implement a max-prefix and a announce none | self | all neighbor statement.Claudio Jeker
2004-01-13Better update error handling. Ensure that the session goes down andClaudio Jeker
2004-01-13Dump and send RIB to the neighbor if his session is comming up.Claudio Jeker
2004-01-11KNFHenning Brauer
2004-01-11This comment is not true. We decided to use a separate struct kroute6Claudio Jeker
2004-01-11remove obsolete commentHenning Brauer
2004-01-11Bad sizeof slipped in while resolving a conflict. OK henning@Claudio Jeker
2004-01-11Move all struct in_addr to either struct bgpd_addr or in_addr_t whicheverClaudio Jeker
2004-01-11in the nexthop imsgs use struct bgpd_addr for the data part instead ofHenning Brauer
2004-01-11Add to the IMSG_SESSION_UP message the local and remote address of theClaudio Jeker
2004-01-11KNFHenning Brauer
2004-01-10Implement as path prepends. At least one prepend is needed for ebgpClaudio Jeker
2004-01-10RDE update generation. First we queue all updates and withdraws on a perClaudio Jeker
2004-01-07Modified version of hennings last patch. OK henning@Claudio Jeker
2004-01-07don't ever send kroute change (that includes add) requests to the parentHenning Brauer
2004-01-07Make sure that kroute updates for the FIB are only sent if there is aClaudio Jeker
2004-01-062004Henning Brauer
2004-01-05Big overhaul of the mrt code.Claudio Jeker
2004-01-04split the dispatch_imsg function into twom one per pipe.Henning Brauer
2004-01-04in the SE, keep the remote router-id in network byte order, just likeHenning Brauer
2004-01-03move some session specific stuff to session.h and make the few filesHenning Brauer
2004-01-03decouple the peer list from bgpd_config.Henning Brauer
2004-01-03change imsg_read semantics so that the number of bytes read is returned.Henning Brauer
2004-01-01now that imsg_get uses bigger buffers, one read call can put more than oneHenning Brauer
2003-12-27implement "no fib-update" much coolerHenning Brauer
2003-12-27do not print NULL nexthop (e.g. from a withdrawn route)Jakob Schlyter
2003-12-26print nexthop when logging. ok henning@Jakob Schlyter
2003-12-26"when you try to be very smart, something breaks horribly"Henning Brauer
2003-12-26when asking the kernel to add a route, send him the true nexthop and notHenning Brauer
2003-12-26add option 'log updates' to log updates. ok henning@Jakob Schlyter
2003-12-26let imsg_get and imsg_compose not fatal() but return errors upstream.Henning Brauer
2003-12-26when this project started and i added the fatal() function, I made it takeHenning Brauer
2003-12-25Turn the nexthop verification on. At least in the RDE.Claudio Jeker
2003-12-25RDE part of the nexthop verification puzzle.Claudio Jeker
2003-12-25kill IMSG_KROUTE_ADD as well. just send KROUTE_CHANGE requests.Henning Brauer
2003-12-24syscalls return -1 on err so test for == -1 instead of the < 0 found in veryHenning Brauer
2003-12-24now that the main process can cleanup without RDE's help, we do not need theHenning Brauer
2003-12-24now that we keep track of the routes we added to the kernel we can removeHenning Brauer
2003-12-24add option to not touch the kernel routing tableHenning Brauer
2003-12-24handle write() returning 0 correctly, adjust the msgbuf API appropriately,Henning Brauer
2003-12-23spacingTheo de Raadt