Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-25 | Use struct bgpd_addr instead of a union of sockaddrs to store addresses | Claudio Jeker | |
in the mrt dump structs. This is more compatible with bgpctl since it uses struct bgpd_addr in most cases anyway. OK kn@ | |||
2019-02-21 | type is not used here. Still keep a comment around to keep the code | Claudio Jeker | |
similar to all other attr parsers. | |||
2019-02-21 | Adjust bgpctl to the new ctl_show_interface struct that is sent instead of | Claudio Jeker | |
the system specific struct kif. Makes this code a lot more portable but still prints the same info in the same way. OK sthen@ | |||
2019-02-19 | Switch betoh64 to the posix be64toh also remove some casts since we now | Claudio Jeker | |
use long long instead of int64_t. | |||
2019-02-18 | Bring in fixes in the community parsing code done in parse.y and fix | Claudio Jeker | |
a bug that sneaked in some time ago which broke large community parsing. Bug found by gcc on a linux box | |||
2019-02-11 | Adjust to last bgpd commit changing the MPLS VPN configuration. | Claudio Jeker | |
Sync the community handling code to be in sync with parsing code of bgpd. To inject networks into MPLS VPN it is required to specify the route distinguisher as part of the attributes. With and OK dlg@, OK denis@ | |||
2019-01-20 | Allow 'neighbor descripton' to be used like neighbor group description | Claudio Jeker | |
which will match all neighbors in that group. Works for bgpctl neighbor group <name> [clear|destroy|down|refresh|up] bgpctl show neighbor group <name> [messages|terse|timers] bgpctl show rib neighbor group <name> ... Manpage bits from sthen@ OK benno@ sthen@ | |||
2018-12-19 | Adjust bgpctl now that filter_extcommunity is no more. | Claudio Jeker | |
OK benno@ | |||
2018-12-12 | zap trailing whitespace; | Jason McIntyre | |
2018-12-11 | bgpctl can no long reuse the aspath_match function from bgpd so move the | Claudio Jeker | |
roughly the same function here called match_aspath(). OK denis@ | |||
2018-12-05 | Set the routing table when adding a network | denis | |
OK claudio@ | |||
2018-11-28 | Adjust bgpctl to handle the community changes done in bgpd. | Claudio Jeker | |
OK job@, phessler@ | |||
2018-11-01 | fix typos | denis | |
Noticed by David Higgs, thanks. OK claudio@ | |||
2018-10-31 | Remove extra , | Claudio Jeker | |
Noticed by denis@ | |||
2018-10-31 | Show the number of references hold by struct rde_aspath objects (which should | Claudio Jeker | |
be the same as the number of prefixes for now). OK denis@ | |||
2018-10-26 | Show how much memory is used for *-sets. | Claudio Jeker | |
OK deraadt@ | |||
2018-10-03 | add filter option based on origin validation state | denis | |
OK claudio@ | |||
2018-10-01 | Expose BGP Origin Validation state in bgpctl show commands | job | |
OK denis@ claudio@ | |||
2018-09-26 | Rename AS_NONE to AS_UNDEF here as well. OK compiler & grep | Claudio Jeker | |
2018-09-20 | as_set_match() changed again, so adjust it here too. | Claudio Jeker | |
OK benno@ | |||
2018-09-17 | Rename struct as_set to struct irr_as_set to not conflict with bgpd. | Claudio Jeker | |
OK $CC | |||
2018-09-14 | Adjust the dummy as_set_match function to new prototype after last bgpd commit | Claudio Jeker | |
OK benno@ | |||
2018-09-09 | sync header line with whats actually in the output. | Sebastian Benoit | |
ok claudio@ | |||
2018-09-09 | Make it clear what 'dynamically added' prefixes are. | Sebastian Benoit | |
Say that adding a prefix will overwrite an existing (equal) prefix. ok claudio@ | |||
2018-09-07 | When parsing AS numbers set both as_min and as_max to the parsed value. | Claudio Jeker | |
Not strictly needed but better to have both initialized. | |||
2018-09-07 | Add a dummy as_set_match() function since it is needed to link util.c now. | Claudio Jeker | |
2018-09-06 | Use getline() for the network bulk code. Also make the parser better by | Claudio Jeker | |
doing tokenizing on spaces and correctly ignore comments. This should make this feature in general more robust. OK benno@ | |||
2018-09-05 | Adjust after change of struct filter_as. | Claudio Jeker | |
OK phessler@ | |||
2018-08-30 | Use past tense for treated as withdrawn since the withdraw happened in the past. | Claudio Jeker | |
From and with jmc@ | |||
2018-08-29 | Introduce 'bgpctl show rib error' to show all prefixes that got flagged | Claudio Jeker | |
invalid because of a soft parsing error. These prefixes are never eligible or valid but the listing may help to understand what is going on. 'bgpctl show rib error' run automatically on Adj-RIB-In since that is the only RIB that has such prefixes. OK sthen@ denis@ | |||
2018-07-29 | mestre and i both concluded pledge can be tightened, "unix" handles the | Theo de Raadt | |
coming code and "rpath wpath" isn't needed ok claudio | |||
2018-07-22 | First iteration of implementing full mrt dumping/printing support in bgpctl. | Claudio Jeker | |
This is good enough as a start but I guess output could be nicer. OK benno@ | |||
2018-07-22 | Move functions to print link status etc. to util.c so that bgpd can use them | Claudio Jeker | |
as well. OK benno@ | |||
2018-07-20 | Print the timestamp embedded in mrt files for update and status messages. | Claudio Jeker | |
Also implemented the extended precision format so microseconds are printed as well when available. The output is relative to the previous message and follows what kdump does. OK benno@ | |||
2018-07-20 | There is no need to have bgpd running when running bgpctl show mrt. | Claudio Jeker | |
The first thing the code actually does is closing the socket. Instead move the code up to where currently the IRR filter code is. Additionally change the late pledges to just stdio since nothing after that needs rpath or wpath. OK benno@ | |||
2018-07-13 | explicitly link libm for sqrt()/fmax() calls added in bgpctl.c rev 1.204 | Jonathan Gray | |
2018-07-12 | store and print the rdomain of the interfaces we see. | Sebastian Benoit | |
ok phessler@ henning@ | |||
2018-07-11 | Print out the hash info sent by the RDE in bgpctl show rib mem | Claudio Jeker | |
OK phessler@ benno@ | |||
2018-07-10 | Initialize the rtable in the requests send to bgpd to the current | Sebastian Benoit | |
rtables process. With this you dont need to add "table N" to commands when talking to a bgpd not in rdomain 0. ok claudio@ phessler@ | |||
2018-07-10 | move the top level pledge, getrtable() works with pledge stdio. | Sebastian Benoit | |
ok claudio@ phessler@ | |||
2017-11-27 | lenght->length, mostly in comments | Stuart Henderson | |
2017-10-16 | Ensure last character in ssv mode is a newline | job | |
OK benno@ | |||
2017-10-15 | Add "ssv" variant which turns a rib route output into a single | Theo de Raadt | |
semicolon-seperated line, so that grep and such can operate easier; then use tr ';' '\n' to convert it to normal form later. This helps with scanning vast swathes of routes.. ok benno claudio job | |||
2017-09-21 | word fix; from tom smyth | Jason McIntyre | |
2017-08-10 | replace memcpy() with assignements where the type is the same. | Sebastian Benoit | |
noticed by deraadt@, ok claudio@ | |||
2017-08-10 | handle extended communities in bgpctl. | Sebastian Benoit | |
From Dennis Fondras, thanks! ok phessler@ | |||
2017-06-26 | don't print the WELLKNOWN string for unknown well-known communities | Peter Hessler | |
from Job Snijders ok phessler@ benno@ | |||
2017-06-26 | let admins set an unknown well-known community | Peter Hessler | |
from Job Snijders ok phessler@ benno@ | |||
2017-06-26 | add support for the "graceful shutdown" well-known community as described | Peter Hessler | |
in draft-ietf-grow-bgp-gshut from Job Snijders ok phessler@ benno@ | |||
2017-05-31 | Update ext community printer to the changes done in bgpd. | Claudio Jeker | |
OK henning@ benno@ |