summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
AgeCommit message (Collapse)Author
2009-11-03sort;Jason McIntyre
2009-11-02Implement "log verbose" and "log brief" to enable or disable verbose debugClaudio Jeker
logging. henning, sthen, michele like the idea
2009-10-23errx -> err since the errno is set.Claudio Jeker
2009-09-15In bgpctl sh nei, display whether a neighbour is set to use passiveStuart Henderson
mode and/or E-BGP multihop. Ok and suggestions from claudio@
2009-09-14Switch the various link state printing codes to use the new if_mediaClaudio Jeker
independent LINK_STATE_DESCRIPTIONS. Code is now more or less a one to one copy of get_linkstate() in route/route.c. OK henning, michele, sthen, deraadt
2009-09-08Add -4 and -6 flags to irrfilter mode, allowing you to only fetch (youStuart Henderson
guessed it) v4 or v6 from the IRR. Reduces size of the filter file (and thus router resource use) when you only speak IPv4 but you want to filter peers who announce lots of v6 space. ok claudio@
2009-09-08Update irrfilter to support IPv6 and 4-byte AS numbers. IPv6 support basedClaudio Jeker
on work by Tonnerre Lombard I just cleaned it up. OK henning, sthen
2009-08-31Just use UINT_MAX as the maximum 4-byte AS number. It is good enough here.Claudio Jeker
2009-07-23Update bgpctl show next to show all necessary info. This time OK henning@Claudio Jeker
2009-07-21sorry, but showing a diff, getting an explicit "not ok" and then committingHenning Brauer
anyway without oks is not our process
2009-07-20Try to show a more usable nexthop output. It may still change but at leastClaudio Jeker
it is better than what we had till now and syncs up with the last bgpd change.
2009-06-12Kill copies of prefixlen2mask and inet6applymask their now in util.cClaudio Jeker
2009-06-06sync bgpd/bgpctl with the common imsg code, making it lib ready as well.Eric Faurot
ok claudio@ pyr@
2009-06-06Document show rib table fooClaudio Jeker
2009-06-06bgpctl part of allowing alternate RIBs to be shown. Had to use theClaudio Jeker
keyword table because show rib rib foo is strange.
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