summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/parser.h
AgeCommit message (Collapse)Author
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
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-03-28add support for bgpctl show rib community <community>Henning Brauer
mostly from rivo nurges <rix@estpak.ee>, ok claudio
2007-03-03add irrfilter mode.Henning Brauer
generates bgpd filter rules from the Internet Routing Registry aka IRR aka the aut-num, as-set and route objects in the RIPE, ARIN, APNIC ... databases accessed via whois, using the Routing Policy Specificaion Language RPSL. implement the whois query interface, an RPSL parser (of course only the parts we need), recursive as-set resolver, prefixes per AS lookup, and an ouput module to make up the rules. work in progress, not ready for general consumption yet. import agreed by theo & claudio
2006-08-23Extend show rib command. Following new options are added:Claudio Jeker
in: show the unfiltered input of a neighbor aka adj-rib-in out: show only the prefixes that are sent to a specified neighbor (adj-rib-out) neighbor <IP>: limit the output of the command to prefixes sent by the specified neighbor OK henning@ manpage with help by jmc@ but the show rib section needs some rework because it starts to be confusing. Actually the parser needs to get smarter.
2006-06-15Shuffle some vars to make the struct ordered by size.Claudio Jeker
2006-05-23support requesting route refresh from a neighborHenning Brauer
2006-01-24introduce "bgpctl show summary terse", shows summary in an easy to parseHenning Brauer
format, intended for monitoring puposes. claudio ok
2006-01-03Show RIB statistics via "bgpctl show rib mem".Claudio Jeker
2005-06-06add support for a "family" token, allows to select address familiesHenning Brauer
2005-05-23Make it possible to dynamicaly add networks with attributes like communitiesClaudio Jeker
or metrics. Requested by beck@ OK henning@
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-08-20add support for "bgpctl neighbor 1.2.3.4 clear", takes session down & up againHenning Brauer
claudio ok
2004-05-21Make it possible to add, delete, flush and show network announcements.Claudio Jeker
OK henning@
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@
2004-02-26Implement "show rib" and "show rib <astype> <AS>" commands to dump theClaudio Jeker
RIB. OK henning@
2004-01-21new parser.Henning Brauer
completely table driven and not wired into the action code like the previous parser... i wanted to do this for some time, and now it was just due. ok claudio@