summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
AgeCommit message (Collapse)Author
2009-05-17Adjust for IMSG_CTL_SHOW_NETWORK change in the RDE. IMSG_CTL_SHOW_NETWORK isClaudio Jeker
now using the same payload as IMSG_CTL_SHOW_RIB.
2009-05-17Adjust show rib memory output after the monster commit to bgpd.Claudio Jeker
2009-04-23allow bgpctl and bgpd.conf to contain 32-bit ASN written in ASPLAINStuart Henderson
format (RFC5396). ok claudio@ henning@
2009-04-14Fixed a few the-the misspellings in comments. Skipped a bunch in ↵Janne Johansson
binutils,gcc and so on. ok jmc@
2009-02-01embellish the output of bgpctl(8).Igor Sobrado
ok claudio@
2008-12-12Make bgpctl priority aware.Claudio Jeker
2008-12-10convert the aggregator's AS number into host byte order whenStuart Henderson
displayed in "show rib detail". ok claudio@
2008-12-06the ellipsis allows more than one argument being specified.Igor Sobrado
discussed with gilles@ ok jmc@
2008-08-31Fix AS check in parse_community() -- well-known communities have the ASClaudio Jeker
part set to COMMUNITY_WELLKNOWN which is the same as USHRT_MAX. Figured out by Greg Skinner
2008-06-15Fix minor mem leak in case parse_addr() fails.Claudio Jeker
2008-06-11getcwd can return NULL on error, so handle that case properly.Tobias Stoeckmann
ok henning
2008-06-07repair usage, jmcHenning Brauer
2008-06-07teach the command lineparser about getopt style options after commandsHenning Brauer
use that for irrfilter mode. hints from theo a year ago, code by me a year ago, ok claudio a year ago
2008-02-24Add missing space when printing ext. communities.Claudio Jeker
2008-01-23extend bgpctl show rib detail output to include more attributes in the output.Claudio Jeker
In addition to communities bgpctl now prints the aggregator, originator id, cluster list and extended communities if available. OK henning@
2007-12-23send timers for bgpctlshow neighbor foo timer in seperate messages afterHenning Brauer
the peer data. makes bgpctl display code independent from timer implementation internals. only running timers are displayed now, stopped ones are skipped.
2007-12-20rework timers.Henning Brauer
stop changing tienmr values directly, always use new timer_(get/set/stop/running) functions. preparation for more to come :) ok claudio
2007-10-15specifying int instead of just unsigned is better styleTheo de Raadt
2007-10-14do not fallthroughTheo de Raadt
2007-09-11baudrate is 64bit now, plus print w/ %lluHenning Brauer
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-31Use COMMUNITY_UNSET in bgpctl as well. This makes it possible to filterClaudio Jeker
on communities with 0 in them.
2007-05-30bad henningOtto Moerbeek
2007-05-28on tsartup, along with saying which AS number we are building filters for,Henning Brauer
give the output dir
2007-05-28parse_asnum must return 0 (no match) if word is not an as number insteadHenning Brauer
of bitching and erroring out. worked so far because at the position it kicked in, only asnumor nothing were allowed
2007-05-27initialize pfx->pfx_maxlen too, rotting in my tree for some timeHenning Brauer
2007-04-23bgpctl needs to know about 4-byte AS numbers as well.Claudio Jeker
2007-04-07tweak previous; ok claudioJason McIntyre
2007-04-07Document the terse format outputs. Additional input by jmc@Claudio Jeker
2007-04-06Implement "bgpctl show neighbor <peer> terse" this will print all statisticsClaudio Jeker
in an easily parseable form. This output can be used to implement SNMP MIBs or rrdtool/mrtg update scripts. OK henning@
2007-04-06Include update statistics in the bgpctl show neighbor output.Claudio Jeker
2007-03-31some KNF, partially pt out by rivo nurges <rix@estpak.ee>Henning Brauer
2007-03-28add support for bgpctl show rib community <community>Henning Brauer
mostly from rivo nurges <rix@estpak.ee>, ok claudio
2007-03-16Missed to remove SAFI_BOTH here. Informed about it by Steven Mestdagh.Claudio Jeker
2007-03-07support "bgpctl show rib peer-as NN", From: Armin Wolfermann <aw@osn.de>Henning Brauer
ok theo
2007-03-06prepare, but leave disabled, verbose operation so that you can see what isHenning Brauer
going on (helps when the damn thing runs for hours). will be enabled with a -v somewhen in the future
2007-03-06another completely bogus route entry, this time openface in their own RR:Henning Brauer
route: 198.73.251.0 no prefixlen... overhaul error handling in prefixset_addmember(). for prefixes without prefixlen or ones where inet_net_pton reports an invalid format, complain and ignore the prefix, but don't err out completely.
2007-03-05RPSL spec says route: is single-valued... nontheless, in the APNIC db:Henning Brauer
route: 203.94.216.0/21, origin: AS17813 so we need to cut trailing ',' away
2007-03-05better diagnostics on inet_net_pton failingHenning Brauer
2007-03-05correctly deal with hierarchical as-set names.Henning Brauer
everything we run into as members that is hierarchical (contains :) has to be an as-set. RPSL requires one component to have the AS- prefix; we check that. now the huge AS-TELIANET correctly resolves - into 15128 unique ASes, takes 12m47.11s real 0m8.62s user 0m1.07s system
2007-03-05convert all members of an as-set to uppercase on the fly.Henning Brauer
do the same in asset_expand() for the head as-set or aut-num reference from the policy. fixes duplicate ASes with mixed case seen after set resolution and saves some str(n)casecmp on the way (or rather allows a whole bunch of strcmp to stay)
2007-03-05KNFHenning Brauer
2007-03-05need to eat whitespace at both ends of valHenning Brauer
2007-03-05KNFHenning Brauer
2007-03-05gremlins keep putting tiny KNF violations in my code in the hope I don'tHenning Brauer
spot 'em
2007-03-05better error msgHenning Brauer
2007-03-05loop over the list calling prefix_aggregate until nothing can be aggregatedHenning Brauer
any more. since aggregated entries might be further aggregatable... shaves of another 1200 lines (of ~16900) from the generated ruleset for my AS
2007-03-05lint happinessHenning Brauer
2007-03-05unused vars, lintHenning Brauer