Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2004-01-02 | no, not there | Theo de Raadt | |
2004-01-02 | mark a few numbers U to please compilers; henning ok | Theo de Raadt | |
2004-01-02 | do not , after last element in an enum | Theo de Raadt | |
2004-01-02 | no nested subdirs like this, henning did not discuss | Theo de Raadt | |
2004-01-02 | compile like it used to | Theo de Raadt | |
2004-01-01 | add bgpdctl | Henning Brauer | |
2004-01-01 | add bgpdctl | Henning Brauer | |
right now it only connects to bgpd and prints a list of neighbors and their status; that will change. | |||
2004-01-01 | prepare for bgpdctl | Henning Brauer | |
2004-01-01 | listen on a AF_LOCAL socket for imsgs too. | Henning Brauer | |
only implemented type yet is IMSG_CTL_SHOW_NEIGHBOR which sends back the struct peer for all neighbors. will be used by bgpdctl | |||
2004-01-01 | typo | Henning Brauer | |
2004-01-01 | now that imsg_get uses bigger buffers, one read call can put more than one | Henning Brauer | |
imsg into the buffer. since imsg_get by definition only returns one imsg we missed the next imsg(s) until the next poll event on the socket in question, building up a queue on that socket. didn't show up as a problem yet... factor out imsg_read, which reads into the buffer. imsg_get now entirely operates on the buffers and does not read(2) itself. make all callers cope by calling imsg_read on poll events and calling imsg_get in a loop until all imsgs are processed. | |||
2004-01-01 | conf -> mconf | Henning Brauer | |
causes a conflicht with upcoming changes | |||
2003-12-30 | correctly free after buf_add/_close errs. | Henning Brauer | |
From: Patrick Latifi <pat@eyeo.org> | |||
2003-12-30 | small logic error in session_open/_keepalive/_notification (yes, the same in | Henning Brauer | |
all three) after buf_open failure. as this does not happen normally (except for in out of memory cases) it wasn't noticed. | |||
2003-12-30 | missing free()s in error cases that (now) lead to program termination | Henning Brauer | |
From: Patrick Latifi <pat@eyeo.org> | |||
2003-12-30 | we should not access ressources in a peer strcut 2 lines after we | Henning Brauer | |
detected a closed connection which caused an fsm call which causes a deallocation of said ressources (that was long for "missing return") | |||
2003-12-30 | missing free()s; From: Patrick Latifi <pat@eyeo.org> | Henning Brauer | |
2003-12-30 | no empty default: cases in switch, gcc3 complaints via espie@ | Henning Brauer | |
2003-12-30 | typos from david | Henning Brauer | |
2003-12-28 | typo in comment | Henning Brauer | |
From: Dries Schellekens <gwyllion@ace.ulyssis.org> | |||
2003-12-28 | redo the imsg readers to use bigger buffers and less read(2)s. should increase | Henning Brauer | |
performance even further. gets rif od struct imsg_readbuf; rename peer_read_buf to read_buf as that is more appropriate now. |