summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
AgeCommit message (Collapse)Author
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
2005-06-06add support for a "family" token, allows to select address familiesHenning Brauer
2005-06-06let "show fib" print out both the v4 and the v6 routes.Henning Brauer
2005-06-05print the error for the last notification sent when we're IDLE in theHenning Brauer
neighbor detail display
2005-06-05grr, more whitespace KNF, more carrot for claudioHenning Brauer
2005-06-04do not print the tcp connection details when the session is IDLE, weHenning Brauer
have no connection in that case
2005-05-27Add a flag for specifying the socket to open to talk to bgpd.Claudio Jeker
Needed for upcomming spamd madness. Requested and OK beck@
2005-05-23Make it possible to dynamicaly add networks with attributes like communitiesClaudio Jeker
or metrics. Requested by beck@ OK henning@
2005-04-18Static routes are flagged with F_STATIC and not with F_KERNEL. OK henning@Claudio Jeker
2005-04-13Show if a route is rejected or blackholed in show fib output. OK henning@Claudio Jeker
2005-03-14add IFT_/IFM_IEE80211 to ift2ifm so we can pretty-print link state andHenning Brauer
such for those as well, pointed out by claudio
2005-03-14print interface and some stuff about it with the nexthops so it is easierHenning Brauer
to see why a nexthop is treated invalid, claudio ok
2005-02-09need to send IMSG_NETWORK_DONE after sending networks announcement.Claudio Jeker
Similar to the fix commited by henning@ a few hours ago. OK henning@
2005-02-02usage() is __deadHenning Brauer
pt out by Alexander v Gernler
2004-12-31document using neighbor descriptions to specify neighbors whereJared Yanovich
applicable. ok henning, jmc
2004-12-23allo the "bgpctl show neighbor " commands to take the neighbor descrHenning Brauer
too, claudio ok
2004-12-23must only try to match PEERDESC of nothing else matched, it's just a stringHenning Brauer
and will match almost everything...
2004-12-23allow "bgpctl neighbor" to take the peer's descr as argument as wellHenning Brauer
as its address so "bgpctl neighbor upstream1 clear" now works and you don't have to remember IPs claudio ok
2004-11-19Rename struct as_filter to struct filter_as.Claudio Jeker
2004-11-18cope with changes in capabilities announcement shitzHenning Brauer
2004-11-02now that carp media descriptions are available through the ifmedia frameworkHenning Brauer
print carp interface status correctly
2004-10-27typo, adresses -> addressesJared Yanovich
2004-10-26ease the parser a bit.Henning Brauer
parse() now wants the first argv member to be the first argument it parses, i. e. it does not skip over argv[0] any more, caller has to account for that. the caller does the usual getopt followed by argv += optind; argc -= optind; dance so this is accounted for. in parse() don't use a seperate curarg counter, just in/decrease argv/argc claudio ok