Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-01-07 | fix a check that catched too much... now connected routes that appear | Henning Brauer | |
after startup (due to addition of an ip to an interface) are handled correctly. | |||
2004-01-07 | Modified version of hennings last patch. OK henning@ | Claudio Jeker | |
2004-01-07 | Duh. Fixing stupid braino. OK henning@ | Claudio Jeker | |
2004-01-07 | Document mrt dump comands. Help by jmc@ OK henning@ | Claudio Jeker | |
2004-01-07 | don't ever send kroute change (that includes add) requests to the parent | Henning Brauer | |
where the nexthop is not in state NEXTHOP_REACH. previously routes in state NEXTHOP_LOOKUP, i. e. not yet verified, were send to the parent process causing unnecessary and of course failing route add attempts, cluttering logs, etc. nexthops in state NEXTHOP_UNREACH were handled correctly. | |||
2004-01-07 | handle global vs peer-specific holdtime in a nicer and reload-friendlier | Henning Brauer | |
way | |||
2004-01-07 | don't try to be smart after config reloads and try to detect wether | Henning Brauer | |
a session needs a reinit for the new conf to kick in. the logic is condemned to fail, and implicitly taking sessions down is BAD. after discussion with mickey@, ok claudio@ | |||
2004-01-07 | Make sure that kroute updates for the FIB are only sent if there is a | Claudio Jeker | |
change. Until now rde_send_kroute tried to send a IMSG_KROUTE_DELETE if old and new prefix where ineligible. OK henning@ | |||
2004-01-06 | small bug that was not so easy to fix: we did not allow empty lines (or | Henning Brauer | |
comment-only lines) in the middle of neighbor/group blocks. as first or last line in thise blocks they were accepted, but not in between. ok deraadt@ | |||
2004-01-06 | two new imsg types, IMSG_CTL_NEIGHBOR_UP and _DOWN, on their receival on the | Henning Brauer | |
control socket the given neighbor session is sent a START / STOP signal. ok claudio@ | |||
2004-01-06 | initialize new peers inline instead of looping through 'em initing each | Henning Brauer | |
before the mainloop started, and a speerate init for those coming in on reloads. much easier this way. ok claudio@ | |||
2004-01-06 | Free buf on error and correct of by one in strlcpy. | Claudio Jeker | |
From Patrick Latifi <pat at eyeo.org> OK henning@ | |||
2004-01-06 | in session_dispatch_msg, in the loop where we suck the messages out of the | Henning Brauer | |
buffers, we need to check wether the buffers are still there before trying to get the next message. the previous one might have caused the session to drop back to the IDLE state, which implies that those buffers have been deallocated. ok claudio@ | |||
2004-01-06 | allow holdtime and holdtime min to be configuered per peer | Henning Brauer | |
ok claudio@ | |||
2004-01-06 | lower the initial value for the IdleHold timer from 90 to 30 seconds. | Henning Brauer | |
90 is too much, and now that the punishment works as intended oscillating peers get slowed down by that | |||
2004-01-06 | properly punish oscillating neighbors. | Henning Brauer | |
previously we were to forgiving so the punishment didn't kick in as intended | |||
2004-01-06 | rename our StartTimer to IdleHoldTimer as per draft-ietf-idr-bgp4-23 | Henning Brauer | |
2004-01-06 | 2004 OK henning@ | Claudio Jeker | |
2004-01-06 | Fix reopening of dump files. | Claudio Jeker | |
OK henning@ | |||
2004-01-06 | 2004 | Henning Brauer | |
2004-01-05 | Big overhaul of the mrt code. | Claudio Jeker | |
Dumping of incomming bgp messages is now possible and dumping the (not yet) filtered updates works too. Per neighbor dumps are still missing. OK henning@ | |||
2004-01-05 | fix comments | Claudio Jeker | |
OK henning@ | |||
2004-01-05 | missing fclose() | Henning Brauer | |
fd leak pointed out by Patrick Latifi, but it was not so easy to fix before I just killed the support for config from stdin and his fix didn't work. however, this is the 16 bytes memory leak on config reload i was hunting for some time, big thanks to Patrick! | |||
2004-01-05 | correctly handle SIGCHLD. | Henning Brauer | |
SIGCHLD does _not_ translate to "a child process went kaboom". waitpid() and check status; if the child exited or terminated log & quit ok claudio@ | |||
2004-01-05 | remove support for reading configuration from stdin. | Henning Brauer | |
that really does not make sense with a daemon and probably breaks horribly on config reload | |||
2004-01-05 | fix off by ones with strlcpy() | Henning Brauer | |
memleak fixes in error paths From: Patrick Latifi <pat@eyeo.org> | |||
2004-01-05 | waitpid's return is a pid_t | Henning Brauer | |
2004-01-05 | allow fib couple/decouple based on an imsg received on the control socket | Henning Brauer | |
by the SE and passed on to the main process | |||
2004-01-05 | protect against trying to couple when we're already coupled to the fib, | Henning Brauer | |
and log the coupling. same for decouple. | |||
2004-01-05 | .Xr bgpctl | Henning Brauer | |
2004-01-05 | include path fixes for gcc3. | Marc Espie | |
tests otto@, okay millert@ | |||
2004-01-04 | cope with poll error | Henning Brauer | |
2004-01-04 | split the dispatch_imsg function into twom one per pipe. | Henning Brauer | |
with the amount of different msgs the RDE is handling the checks wether a msg was received on the "wrong" pipe make things less clear. also remove some outdated comments | |||
2004-01-04 | err, on receival of keepalives increase the keepalive counter, not the update | Henning Brauer | |
counter... | |||
2004-01-04 | keep seperate message counters for open/update/keepalive/notification | Henning Brauer | |
2004-01-04 | -new imsg CTL_RELOAD | Henning Brauer | |
-upong receival in the SE forward to parent -make sending messages from SE to parent work for that (was not required before) -parent reacts to that just like a SIGHUP, reread config file | |||
2004-01-04 | allow "show neighbor" to be limited to one specific neighbor | Henning Brauer | |
2004-01-04 | in the SE, keep the remote router-id in network byte order, just like | Henning Brauer | |
every other IP address in the RDE, transform in into host byte order upon receival | |||
2004-01-04 | share statenames | Henning Brauer | |
2004-01-03 | keep track of last session up/down and last successfull read | Henning Brauer | |
2004-01-03 | add message counters | Henning Brauer | |
2004-01-03 | move some session specific stuff to session.h and make the few files | Henning Brauer | |
that need it include that | |||
2004-01-03 | decouple the peer list from bgpd_config. | Henning Brauer | |
so many parts of bgpd are not at all interested in the session specific peer structs... allows for some further cleaning | |||
2004-01-03 | change imsg_read semantics so that the number of bytes read is returned. | Henning Brauer | |
that means that the callers can (and must) coope with closed connections themselves, what is exactly the desired behaviour. | |||
2004-01-03 | send an imsg as list end indicator | Henning Brauer | |
2004-01-03 | fix umask, noticed by theo | Henning Brauer | |
2004-01-02 | whitespace | Jun-ichiro itojun Hagino | |
2004-01-02 | SEE ALSO after FILES; | Jason McIntyre | |
2004-01-02 | umask setting and unlink before bind() the unix socket, chmod and umask | Henning Brauer | |
restore afterwards help & ok theo | |||
2004-01-02 | move the socket name #define to bgpd.h and get rid of bgpdctl* | Henning Brauer | |