| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add support for draft-ietf-idr-large-community | 2016-10-14 | 1 | -1/+84 | |
| | | | | | | Joint work with Job Snijders, many thanks! OK benno@ deraadt@ | ||||
| * | Handle the blackhole well-known community in bgpctl as well (print it | 2015-10-11 | 1 | -1/+6 | |
| | | | | | | symbolically, and don't deny its use in 'bgpctl sh rib comm 65535:6666'). ok phessler@ | ||||
| * | add "best" as an alias for "selected" | 2015-10-11 | 1 | -1/+2 | |
| | | | | | | | Helps finger memory for people used to Junipers OK benno@, claudio@ | ||||
| * | these 3 files do not need sys/socket.h | 2015-10-05 | 1 | -2/+1 | |
| | | |||||
| * | parse_prefix in parse.c got changed but the declaration in bgpctl.c | 2015-04-17 | 1 | -3/+1 | |
| | | | | | | | | | | | | | wasn't updated, so we would crash when doing `bgpctl net bulk` commands. Fix by moving parse_prefix into a header, since we use it in more than one file. crash found by henning@ underlying problem found by blambert@ OK sthen@ deraadt@ claudio@ henning@ | ||||
| * | reduce redundant strlen calls by calling it once and saving the value | 2014-11-19 | 1 | -22/+25 | |
| | | |||||
| * | missing newline on error message | 2014-01-05 | 1 | -2/+2 | |
| | | |||||
| * | Allow us to bulk add / delete routes with the same attributes. Really | 2013-10-09 | 1 | -2/+11 | |
| | | | | | | | useful for distributing IP lists. OK beck@, claudio@, henning@ | ||||
| * | Implement a bgpctl nei foo destroy that will remove the specified cloned | 2013-03-07 | 1 | -1/+2 | |
| | | | | | | neighbor. The neighbor must be set down before calling this function. OK phessler | ||||
| * | Make it possible to load mrt table dumps into bgpd. This is a debug tool but | 2012-05-27 | 1 | -1/+2 | |
| | | | | | | | | it allows anyone to use MRT table dumps to load prefixes into a bgpd instance. For example you can download the RIPE dumps and load full-feeds onto your laptop until the poor thing dies. OK henning@ sthen@ | ||||
| * | Introduce "selected" as show rib attribute to only show selected routes. | 2012-03-27 | 1 | -1/+2 | |
| | | | | | | | Can be combined like: bgpctl show rib nei peer1 selected to only show the routes that are used from neighbor peer1. Requested by and OK deraadt@, OK henning@ | ||||
| * | Make it possible to parse MRT table dumps (all 3 formats) and display | 2011-09-21 | 1 | -9/+67 | |
| | | | | | | | | them like the show rib / show rib detail output. It is also possible to filter the output. e.g. bgpctl show mrt file ./bview.20110914.1600 as 22512 204.209.0.0/16 all OK sthen@, put it in henning@ | ||||
| * | Adjustments for multiple kroute table support. This adds a few new command | 2010-05-03 | 1 | -10/+35 | |
| | | | | | | arguments (show tables and show fib table 1, etc). Tested by sthen@, OK to move on by henning@ | ||||
| * | res.flags is not only used by the irrfilter so initializing them with | 2010-03-08 | 1 | -2/+1 | |
| | | | | | | | irrfilter flags is causing strange behaviour on other commands (like show fib). Set the IPV4 and IPV6 flags at the end unless one of them got already set. OK henning, sthen, deraadt | ||||
| * | Add VPNv4 to the understood address families in bgpctl. | 2010-01-13 | 1 | -4/+11 | |
| | | | | | OK henning@, reyk@ | ||||
| * | ribreq uses now a AID, use AID also on the parsing side and convert to | 2010-01-10 | 1 | -3/+3 | |
| | | | | | AF when necessary. OK henning@ | ||||
| * | Update code to use the new AID address ids so that this works again with | 2009-12-01 | 1 | -12/+6 | |
| | | | | | bgpd. Reads OK henning@ | ||||
| * | Implement "log verbose" and "log brief" to enable or disable verbose debug | 2009-11-02 | 1 | -1/+9 | |
| | | | | | logging. henning, sthen, michele like the idea | ||||
| * | Add -4 and -6 flags to irrfilter mode, allowing you to only fetch (you | 2009-09-08 | 1 | -2/+9 | |
| | | | | | | | 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@ | ||||
| * | Just use UINT_MAX as the maximum 4-byte AS number. It is good enough here. | 2009-08-31 | 1 | -2/+2 | |
| | | |||||
| * | Kill copies of prefixlen2mask and inet6applymask their now in util.c | 2009-06-12 | 1 | -28/+1 | |
| | | |||||
| * | bgpctl part of allowing alternate RIBs to be shown. Had to use the | 2009-06-06 | 1 | -1/+21 | |
| | | | | | keyword table because show rib rib foo is strange. | ||||
| * | allow bgpctl and bgpd.conf to contain 32-bit ASN written in ASPLAIN | 2009-04-23 | 1 | -2/+2 | |
| | | | | | format (RFC5396). ok claudio@ henning@ | ||||
| * | Fix AS check in parse_community() -- well-known communities have the AS | 2008-08-31 | 1 | -3/+3 | |
| | | | | | | part set to COMMUNITY_WELLKNOWN which is the same as USHRT_MAX. Figured out by Greg Skinner | ||||
| * | Fix minor mem leak in case parse_addr() fails. | 2008-06-15 | 1 | -2/+4 | |
| | | |||||
| * | getcwd can return NULL on error, so handle that case properly. | 2008-06-11 | 1 | -2/+5 | |
| | | | | | ok henning | ||||
| * | teach the command lineparser about getopt style options after commands | 2008-06-07 | 1 | -7/+57 | |
| | | | | | | use that for irrfilter mode. hints from theo a year ago, code by me a year ago, ok claudio a year ago | ||||
| * | do not fallthrough | 2007-10-14 | 1 | -1/+2 | |
| | | |||||
| * | Use COMMUNITY_UNSET in bgpctl as well. This makes it possible to filter | 2007-05-31 | 1 | -1/+3 | |
| | | | | | on communities with 0 in them. | ||||
| * | parse_asnum must return 0 (no match) if word is not an as number instead | 2007-05-28 | 1 | -1/+4 | |
| | | | | | | | of bitching and erroring out. worked so far because at the position it kicked in, only asnumor nothing were allowed | ||||
| * | bgpctl needs to know about 4-byte AS numbers as well. | 2007-04-23 | 1 | -8/+19 | |
| | | |||||
| * | Implement "bgpctl show neighbor <peer> terse" this will print all statistics | 2007-04-06 | 1 | -2/+3 | |
| | | | | | | in an easily parseable form. This output can be used to implement SNMP MIBs or rrdtool/mrtg update scripts. OK henning@ | ||||
| * | some KNF, partially pt out by rivo nurges <rix@estpak.ee> | 2007-03-31 | 1 | -4/+4 | |
| | | |||||
| * | add support for bgpctl show rib community <community> | 2007-03-28 | 1 | -1/+11 | |
| | | | | | mostly from rivo nurges <rix@estpak.ee>, ok claudio | ||||
| * | support "bgpctl show rib peer-as NN", From: Armin Wolfermann <aw@osn.de> | 2007-03-07 | 1 | -1/+2 | |
| | | | | | ok theo | ||||
| * | add irrfilter mode. | 2007-03-03 | 1 | -1/+15 | |
| | | | | | | | | | | | | 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 | ||||
| * | minor KNF bits here too | 2007-02-22 | 1 | -4/+3 | |
| | | |||||
| * | Correct function name in err() message. | 2007-02-01 | 1 | -2/+2 | |
| | | |||||
| * | Switch from strtoul() to strtonum() making the code easier to read. | 2007-01-31 | 1 | -53/+29 | |
| | | | | | OK henning@ | ||||
| * | Correctly detect missing arguments. Same diff as in ospfctl. OK henning@ | 2007-01-25 | 1 | -4/+6 | |
| | | |||||
| * | Extend show rib command. Following new options are added: | 2006-08-23 | 1 | -8/+28 | |
| | | | | | | | | | | | | 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. | ||||
| * | Move the PREFIX token to the end of the list. The other tokens are more | 2006-06-15 | 1 | -2/+2 | |
| | | | | | specific in what they match. | ||||
| * | Use inet_net_pton() instead of inet_pton() so that it is possible to use | 2006-06-14 | 1 | -2/+2 | |
| | | | | | 10/8 as prefix. OK henning@ | ||||
| * | change keyword for route refresh request to just refresh, discussed with | 2006-05-26 | 1 | -2/+2 | |
| | | | | | claudio | ||||
| * | support requesting route refresh from a neighbor | 2006-05-23 | 1 | -5/+6 | |
| | | |||||
| * | Detailed RIB output including communities. Detailed output is enabled via | 2006-03-22 | 1 | -1/+2 | |
| | | | | | | the "detailed" keyword. Currently only works for IP or prefix lookups like "bgpctl show rib detail 199.185.137.3". Requested by many, looks good henning@ | ||||
| * | inet_pton() may return 1, 0 or -1. Only 1 is success so check explicitly | 2006-02-09 | 1 | -2/+2 | |
| | | | | | for it. OK henning@ | ||||
| * | introduce "bgpctl show summary terse", shows summary in an easy to parse | 2006-01-24 | 1 | -2/+9 | |
| | | | | | format, intended for monitoring puposes. claudio ok | ||||
| * | Show RIB statistics via "bgpctl show rib mem". | 2006-01-03 | 1 | -1/+2 | |
| | | |||||
| * | Don't use fatal() and friend in bgpctl. The log system does not work here. | 2006-01-03 | 1 | -2/+2 | |
| | | |||||
