Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-02-25 | unlink() control socket in error path. Spotted by Theo. | Claudio Jeker | |
2004-12-23 | allo the "bgpctl show neighbor " commands to take the neighbor descr | Henning Brauer | |
too, claudio ok | |||
2004-12-23 | allow "bgpctl neighbor" to take the peer's descr as argument as well | Henning Brauer | |
as its address so "bgpctl neighbor upstream1 clear" now works and you don't have to remember IPs claudio ok | |||
2004-11-23 | Switch from a single filter_set to a linked list of sets. With this change | Claudio Jeker | |
it is possible to specify multiple communities. This is also the first step to better bgpd filters. OK henning@ | |||
2004-09-16 | imsg API cleanup: | Henning Brauer | |
-kill imsg_compose_pid, imsg_compose_fdpass and imsg_create_pid -extend the original imsg_compose/_create API to take pid & fd too -make imsg_compose do imsg_create + imsg_add + imsg_close instead of duplicating the code -adjust all callers to the new API ok claudio | |||
2004-08-24 | missing space in log message. | Claudio Jeker | |
2004-08-20 | add IMSG_CTL_NEIGHBOR_CLEAR, takes a session down and restarts it, | Henning Brauer | |
claudio ok | |||
2004-08-20 | merge IMSG_CTL_NEIGHBOR_UP and _DOWN handling, kills some duplicate code, | Henning Brauer | |
claudio ok | |||
2004-08-06 | Forward IMSG_CTL_SHOW_NEIGHBOR messages to the rde so that we can report | Claudio Jeker | |
the current and max prefix count back to bgpctl. OK henning@ | |||
2004-06-20 | at least somewhat consistently name the TAILQ_ENTRYs... this confused me | Henning Brauer | |
more than once | |||
2004-06-09 | move to a dynamically allocated struct pollfd array. | Henning Brauer | |
we used a ststic one with OPEN_MAX entries, which is a rather arbitary limit as OPEN_MAX is _not_ the max # of open fds we can have, but just a default for that setting. in the same move we have to allocate the peer_l array, basically there for pfd-index to peer pointers to prevent peer list scans all time, dynamiccaly to. we overallocate a little and use that reserve until we have to realloc again later to prevent reallocs for every single control connection or a single flapping peer. help & ok claudio | |||
2004-05-21 | Add support for dynamic announcements. Usefule to annouce temporary | Claudio Jeker | |
blackhole routes or to make network announcements dependent on a external state (e.g. for carp setups) OK henning@ | |||
2004-05-08 | remove unused argument to control_dispatch_msg(), lint | Henning Brauer | |
2004-04-29 | sock -> fd; ok henning | Theo de Raadt | |
2004-04-25 | missing return; noticed by Joris Vink <amni@pandora.be> but I fixed in | Henning Brauer | |
another way | |||
2004-04-16 | use getpeerbyaddr() instead of using the v4 part of the af independent | Henning Brauer | |
struct manually | |||
2004-03-17 | remove getpeereid() call so that those who have write access to the socket | Henning Brauer | |
(root:wheel 0640) can send queries, claudio ok | |||
2004-03-02 | Framework for rib lookups by prefix. OK henning@ | Claudio Jeker | |
2004-02-29 | plug memory leak: when a control connection is closed we need to clear | Henning Brauer | |
its write buffers, noticed by claudio | |||
2004-02-29 | of course the control socket needs to be nonblocking as well, i could have | Henning Brauer | |
sworn it was... noticed by & fixed with claudio | |||
2004-02-26 | show rib infrastructure. At least full dumps and per as dumps. Per prefix | Claudio Jeker | |
dump need some more work. OK henning@ | |||
2004-02-02 | close socket on error in control_init | Henning Brauer | |
From: Patrick Latifi <pat@eyeo.org> | |||
2004-01-22 | use log_warnx and log_info. reclassify a few messages in the process and fix | Henning Brauer | |
a few messages. ok claudio@ | |||
2004-01-22 | s/log_err/log_warn/ | Henning Brauer | |
it is like warn(3), nor err(3). so use a less confusing name. | |||
2004-01-20 | fix error logging on connection attempts from !root user | Henning Brauer | |
2004-01-17 | allow the interfaces as bgpd sees 'em to be queried via imsgs | Henning Brauer | |
2004-01-11 | new message IMSG_CTL_SHOW_NEXTHOP: request/send lost of BGP nexthops and | Henning Brauer | |
the result of their validity check | |||
2004-01-09 | for IMSG_CTL_KROUTEs allow matching based on flags, | Henning Brauer | |
add IMGS_CTL_KROUTE_ADDR to match the route for a given address ok claudio@ | |||
2004-01-09 | get us a stateful imsg relaying framework, and the first receiver, | Henning Brauer | |
IMSG_CTL_KROUTE, to have the kroute structs forming the fib sent to a control socket. ok claudio@ | |||
2004-01-09 | you must not try to read(2) without checking (pfd->revents & POLLIN) | Henning Brauer | |
you must not try to read(2) without checking (pfd->revents & POLLIN) you must not try to read(2) without checking (pfd->revents & POLLIN) [...] you must not try to read(2) without checking (pfd->revents & POLLIN) | |||
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 | 2004 | 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-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-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 | 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-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 |