summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
AgeCommit message (Collapse)Author
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
2004-10-26document -nHenning Brauer
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-20document "neighbor 1.2.3.4 clear"Henning 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-07-16- fix macrosJared Yanovich
- bgp -> BGP - change description in FILES - sync to reality ok henning, jmc
2004-06-17print '<cr>' instead of '(nothing)' when we hit the end token in theHenning Brauer
context-dependent usage help
2004-05-24Fix copy paste error pointed out by jmc@Claudio Jeker
2004-05-23some readability fixes, mainly keeping things in alphabetical order;Jason McIntyre
ok henning@
2004-05-21Man page update to document the new network statements. OK henning@Claudio Jeker
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-30missing full stop;Jason McIntyre
2004-04-29document abbreviated commands -- same way as systat; ok henningTheo de Raadt