summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
AgeCommit message (Collapse)Author
2006-11-26repair missing DPADD requestsTheo de Raadt
2006-11-11Add the bgpd control socket to FILES and use the same .Bl -width as inMichael Knudsen
bgpd(8). ok (and fixing my mistakes because I was sleepy when I mailed out the diff) jmc
2006-11-10cast to (long long) for %lld printfsHenning Brauer
apparently from Jeff Rizzo <riz@NetBSD.org> via "Thomas E. Spanjaard" <tgen@netphreax.net>, with changes from me (as far as I remember, this is kinda old stuff). claudio ok
2006-08-29avoid ending mid-sentence w/ `.', or we get an extra space;Jason McIntyre
2006-08-28use Forwarding Information Base vs. Forward Information Base;Kevin Steves
ok jmc@ claudio@
2006-08-28indicate when the peer announced the Graceful Restart capability, ok claudioHenning Brauer
2006-08-23Extend show rib command. Following new options are added:Claudio Jeker
in: show the unfiltered input of a neighbor aka adj-rib-in out: show only the prefixes that are sent to a specified neighbor (adj-rib-out) neighbor <IP>: limit the output of the command to prefixes sent by the specified neighbor OK henning@ manpage with help by jmc@ but the show rib section needs some rework because it starts to be confusing. Actually the parser needs to get smarter.
2006-08-17Remove -Wredundant-decls from CFLAGSClaudio Jeker
2006-07-25amazing how far a typo of mine (CFLAGS vs CLFAGS) from early 2004 spreadHenning Brauer
(and how long it went unnoticed) From: Alexey Dobriyan <adobriyan@gmail.com>
2006-07-25kill redundant prototypesHenning Brauer
2006-06-15Use new struct ctl_show_rib_request for show rib requests. OK henning@Claudio Jeker
2006-06-15Move the PREFIX token to the end of the list. The other tokens are moreClaudio Jeker
specific in what they match.
2006-06-15Shuffle some vars to make the struct ordered by size.Claudio Jeker
2006-06-14bgpctl show rib shows now the exit nexthop per default and not the trueClaudio Jeker
nexthop as before. The detailed output includes both nexthops. OK henning@
2006-06-14Use inet_net_pton() instead of inet_pton() so that it is possible to useClaudio Jeker
10/8 as prefix. OK henning@
2006-05-27Wait for a response from bgpd on reloads.Claudio Jeker
2006-05-26change keyword for route refresh request to just refresh, discussed withHenning Brauer
claudio
2006-05-23support requesting route refresh from a neighborHenning Brauer
2006-04-06Add missing break. Now bgpctl show rib det source-as 8271 shows all announcedClaudio Jeker
prefixes not only the first one.
2006-04-06Document show rib detail and friends. Some input by jmc@ getting dust in oneClaudio Jeker
of my trees since a few weeks.
2006-03-22Detailed RIB output including communities. Detailed output is enabled viaClaudio Jeker
the "detailed" keyword. Currently only works for IP or prefix lookups like "bgpctl show rib detail 199.185.137.3". Requested by many, looks good henning@
2006-03-22Change fmt_peer() so that it can be used by the upcomming detailed RIB output.Claudio Jeker
OK henning@
2006-02-09inet_pton() may return 1, 0 or -1. Only 1 is success so check explicitlyClaudio Jeker
for it. OK henning@
2006-01-24introduce "bgpctl show summary terse", shows summary in an easy to parseHenning Brauer
format, intended for monitoring puposes. claudio ok
2006-01-24make bgpctl deal with IMSG_CTL_RESULT no matter what request was sentHenning Brauer
claudio ok
2006-01-05Show attribute cache total reference count.Claudio Jeker
2006-01-04Use new BGP attribute counter.Claudio Jeker
2006-01-04Document "show rib mem" with jmc@'s helpClaudio Jeker
2006-01-03Show RIB statistics via "bgpctl show rib mem".Claudio Jeker
2006-01-03Cope with new util.cClaudio Jeker
2006-01-03Don't use fatal() and friend in bgpctl. The log system does not work here.Claudio Jeker
2005-12-30Fix parse_prefix() for IPv4 addresses. Looks like fallout after IPv6 addition.Claudio Jeker
Now bgpctl show rib 129.128.5.191 works again.
2005-11-29tabs on empty linesClaudio Jeker
2005-11-17missing strdup() check, From: David Hill <dhill@mindcry.org>Henning Brauer
2005-11-02Add IPv6 support for the address and prefix parser. OK henning@Claudio Jeker
2005-10-19for "bgpctl neighbor foo up/down/clear", make bgpctl not exit after sendingHenning 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-09-21uppercase first letter of a sentence;Jason McIntyre
2005-09-20allow "show rib" to be limited to an address family tooHenning Brauer
2005-09-20don't try to print v6 nexthops as v4 addressHenning Brauer
2005-09-20for consistency, make "show network" and alias for "network show"Henning Brauer
2005-09-20allow the "show network" output to be limited to a given address familyHenning Brauer
2005-09-20let "bgpctl network show" print v6 addresses correctlyHenning Brauer
2005-07-09IP-address -> IP address;Jason McIntyre
from tamas tevesz;
2005-07-01fix breakage; if this proves to be wrong, will be fixed later. at leastFederico G. Schwindt
make build will work now.
2005-06-16use prefixlen2mask() instead of doing the bitshifting by hand; fixes theHenning Brauer
zero prefixlen case (32 bit shift on 32 bit val -> undefined result) spotted by Moritz Grimm and otto
2005-06-13Properly align the show rib output. flags is 5 chars long not 4.Claudio Jeker
2005-06-10As we no longer send IMSG_CTL_SHOW_RIB_PREFIX from bgpd to bgpctl simplifyClaudio Jeker
show_rib_summary_msg().
2005-06-07For show rib -- show_rib_summary_msg() and print_prefix() -- use log_addr()Claudio Jeker
to print prefixes and nexthops and suddenly we can print IPv6 addresses that are stored in the RIB. Makes the code even simpler. OK henning@
2005-06-07In case strlcpy() indicates that a string was truncated fail with errx().Claudio Jeker
No need for other strange constructs. OK henning@
2005-06-06allow show fib to be limited to inet or inet6 families, claudio okHenning Brauer