Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-08-23 | Extend show rib interface code so that it is possible to show the adj-rib-in | Claudio Jeker | |
and adj-rib-out. Additionally it is now possible to limit the output to a specified peer. OK henning@ | |||
2006-05-27 | Pass a IMSG_CTL_RESULT messgae back to bgpctl on reloads to indicate if | Claudio Jeker | |
the reload was successful or not. OK henning@ | |||
2006-05-27 | Cleanup with lint. Make the poll fd indexes unsigned and because of that | Claudio Jeker | |
control_accept should also return a unsigned int. Remove old prototype. | |||
2006-05-23 | allow bgpd to request a route refresh from a neighbor if that neighbor | Henning Brauer | |
announced route refresh capabilities | |||
2006-01-24 | introduce "bgpctl show summary terse", shows summary in an easy to parse | Henning Brauer | |
format, intended for monitoring puposes. claudio ok | |||
2006-01-24 | zap now unused var | Henning Brauer | |
2006-01-24 | introduce a second control socket, which is restricted to certain messages, | Henning Brauer | |
nameley the show ones. needed for looking glass style applications, monitoring etc. claudio ok | |||
2006-01-03 | Track some (memory) statistics in the RDE. Accessible via bgpctl. | Claudio Jeker | |
2005-10-19 | for "bgpctl neighbor foo up/down/clear", make bgpctl not exit after sending | Henning Brauer | |
the request, but wait for the new IMSG_CTL_RESULT message, which contains a status code to indicate wether the request was processed successfully or wether an error occured and if so what kind of error. no more "IMSG_CTL_NEIGHBOR_ with unknown neighbor foobaz" in the log when you mistyped foobar - no bgpctl itself complains claudio ok | |||
2005-10-19 | on "bgpctl neighbor foo clear", we used to send a STOP event immediately | Henning Brauer | |
followed by a START event. Instead of sending START immediately, start the IdleHoldTimer with a very low value (5 seconds) so that we restart the session these seconds later. some other implementations deal poorly with our previously superfast reconnects, namely, that commercial one from san jose, claudio ok | |||
2005-03-11 | move umask() song and dance closer around the bind, being more careful about ↵ | Theo de Raadt | |
errors; ok claudio | |||
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 | |