summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/control.c
AgeCommit message (Expand)Author
2006-08-23Extend show rib interface code so that it is possible to show the adj-rib-inClaudio Jeker
2006-05-27Pass a IMSG_CTL_RESULT messgae back to bgpctl on reloads to indicate ifClaudio Jeker
2006-05-27Cleanup with lint. Make the poll fd indexes unsigned and because of thatClaudio Jeker
2006-05-23allow bgpd to request a route refresh from a neighbor if that neighborHenning Brauer
2006-01-24introduce "bgpctl show summary terse", shows summary in an easy to parseHenning Brauer
2006-01-24zap now unused varHenning Brauer
2006-01-24introduce a second control socket, which is restricted to certain messages,Henning Brauer
2006-01-03Track some (memory) statistics in the RDE. Accessible via bgpctl.Claudio Jeker
2005-10-19for "bgpctl neighbor foo up/down/clear", make bgpctl not exit after sendingHenning Brauer
2005-10-19on "bgpctl neighbor foo clear", we used to send a STOP event immediatelyHenning Brauer
2005-03-11move umask() song and dance closer around the bind, being more careful about ...Theo de Raadt
2005-02-25unlink() control socket in error path. Spotted by Theo.Claudio Jeker
2004-12-23allo the "bgpctl show neighbor " commands to take the neighbor descrHenning Brauer
2004-12-23allow "bgpctl neighbor" to take the peer's descr as argument as wellHenning Brauer
2004-11-23Switch from a single filter_set to a linked list of sets. With this changeClaudio Jeker
2004-09-16imsg API cleanup:Henning Brauer
2004-08-24missing space in log message.Claudio Jeker
2004-08-20add IMSG_CTL_NEIGHBOR_CLEAR, takes a session down and restarts it,Henning Brauer
2004-08-20merge IMSG_CTL_NEIGHBOR_UP and _DOWN handling, kills some duplicate code,Henning Brauer
2004-08-06Forward IMSG_CTL_SHOW_NEIGHBOR messages to the rde so that we can reportClaudio Jeker
2004-06-20at least somewhat consistently name the TAILQ_ENTRYs... this confused meHenning Brauer
2004-06-09move to a dynamically allocated struct pollfd array.Henning Brauer
2004-05-21Add support for dynamic announcements. Usefule to annouce temporaryClaudio Jeker
2004-05-08remove unused argument to control_dispatch_msg(), lintHenning Brauer
2004-04-29sock -> fd; ok henningTheo de Raadt
2004-04-25missing return; noticed by Joris Vink <amni@pandora.be> but I fixed inHenning Brauer
2004-04-16use getpeerbyaddr() instead of using the v4 part of the af independentHenning Brauer
2004-03-17remove getpeereid() call so that those who have write access to the socketHenning Brauer
2004-03-02Framework for rib lookups by prefix. OK henning@Claudio Jeker
2004-02-29plug memory leak: when a control connection is closed we need to clearHenning Brauer
2004-02-29of course the control socket needs to be nonblocking as well, i could haveHenning Brauer
2004-02-26show rib infrastructure. At least full dumps and per as dumps. Per prefixClaudio Jeker
2004-02-02close socket on error in control_initHenning Brauer
2004-01-22use log_warnx and log_info. reclassify a few messages in the process and fixHenning Brauer
2004-01-22s/log_err/log_warn/Henning Brauer
2004-01-20fix error logging on connection attempts from !root userHenning Brauer
2004-01-17allow the interfaces as bgpd sees 'em to be queried via imsgsHenning Brauer
2004-01-11new message IMSG_CTL_SHOW_NEXTHOP: request/send lost of BGP nexthops andHenning Brauer
2004-01-09for IMSG_CTL_KROUTEs allow matching based on flags,Henning Brauer
2004-01-09get us a stateful imsg relaying framework, and the first receiver,Henning Brauer
2004-01-09you must not try to read(2) without checking (pfd->revents & POLLIN)Henning Brauer
2004-01-06two new imsg types, IMSG_CTL_NEIGHBOR_UP and _DOWN, on their receival on theHenning Brauer
2004-01-062004Henning Brauer
2004-01-05allow fib couple/decouple based on an imsg received on the control socketHenning Brauer
2004-01-04-new imsg CTL_RELOADHenning Brauer
2004-01-04allow "show neighbor" to be limited to one specific neighborHenning 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-03send an imsg as list end indicatorHenning Brauer
2004-01-03fix umask, noticed by theoHenning Brauer