summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/bgpctl.c
AgeCommit message (Collapse)Author
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-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-20let "bgpctl network show" print v6 addresses correctlyHenning Brauer
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-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-06allow show fib to be limited to inet or inet6 families, claudio okHenning 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-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-23allo the "bgpctl show neighbor " commands to take the neighbor descrHenning Brauer
too, claudio ok
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-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-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
2004-10-26in the "show summary" view print the peer descr instead of the IP (if a descrHenning Brauer
is given in the config, fall back to IP otherwise) new -n switch to force display of IPs claudio ok
2004-10-26do /%u instead of /%6u for max_prefix, looks better, claudio okHenning Brauer
2004-09-23cosmeticsHenning Brauer
2004-09-21Don't pad the prefix count with 0. OK henning@Claudio Jeker
2004-09-16malloc ibuf instead of having it staticallyHenning Brauer
2004-09-16cope with imsg API changeHenning Brauer
2004-08-20add support for "bgpctl neighbor 1.2.3.4 clear", takes session down & up againHenning Brauer
claudio ok
2004-08-06In bgpctl show summary report the current and max prefix count if state isClaudio Jeker
established. OK henning@
2004-05-21Make it possible to add, delete, flush and show network announcements.Claudio Jeker
OK henning@
2004-05-20check for strdup(3) failure was missing in one case, catched byHenning Brauer
Andrey Matveev <andrushock@korovino.net>
2004-05-06print Multiprotocol capabilities slightly nicerHenning Brauer
2004-05-01becuase lint says so; henning okTheo de Raadt
2004-04-28keep route refresh counters into account when building sums, andHenning Brauer
print route refresh counters in the neighbor view
2004-04-27print route refresh capability if presentHenning Brauer
2004-04-25there's a slight difference between teh local and the remote sockaddr...Henning Brauer
2004-04-25correctly pritn netmask with template neighbors, prettify output overall,Henning Brauer
and print Template / Cloned flags in the neigbor view, claudio ok
2004-04-25use getnameinfo here too, itojun & markus okHenning Brauer
2004-04-16in the neighbor view, add support for local/remote addr beeing v6 onesHenning Brauer
2004-04-13print the MP capabilities as the neighbor announced in the show neighborHenning Brauer
display, claudio ok
2004-03-11Plugging memory leaks is OK but don't break intended behaviour. So this timeClaudio Jeker
do it correctly.
2004-03-11Use aspath_asprint() instead of this malloc, aspath_snprint() mess. OK henning@Claudio Jeker
2004-03-11Plug another memory leak. OK henning@Claudio Jeker
2004-03-11check for malloc failure...Henning Brauer
2004-03-02KNFHenning Brauer
2004-03-02show rib A.B.C.D and show rib A.B.C.D/N [all] support. Now the most importantClaudio Jeker
show commands are available. OK henning@