summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
AgeCommit message (Expand)Author
2021-06-16Add command line option to show the versionjob
2021-05-27Add the bits needed in bgpctl to show the new ADD-PATH and enhancedClaudio Jeker
2021-05-20Fix bgpctl show mrt argument list. Seems like peers was added in the wrongClaudio Jeker
2021-05-06export [ none | default-route ] changes are not handled by reload.Claudio Jeker
2021-05-03Print the timestamps both formatted and as a time in seconds field inClaudio Jeker
2021-04-26Print out both the sent "Neighbor capabilities" and the "NegotiatedClaudio Jeker
2021-04-15Fix bgpctl show mrt for UPDATE messages. The call to output->attr() wasClaudio Jeker
2021-03-01off by one in bounds testJonathan Gray
2021-02-16Add `bgpctl show rtr` to display basic information about RTR sessions.Claudio Jeker
2021-01-25Adjust code since bgpd added an extra argument to aspath_verify() toClaudio Jeker
2021-01-18Adjust code to the change of struct bgpd_addr in bgpd.Claudio Jeker
2020-12-30Add 'bgpctl show sets' to display information about the roa-set, as-sets,Claudio Jeker
2020-10-21Include endian.h for htobe64().Claudio Jeker
2020-10-21No need to include sys/cdefs.h hereClaudio Jeker
2020-05-12Remove unused token BULK and for PREFIX and ADDRESS the table value is alwaysClaudio Jeker
2020-05-11Add support for VPNv6 in the family keyword of show ribClaudio Jeker
2020-05-10In bgpctl argument parser, re-arrange 'reason' parsing ('nei action [reason]')Theo de Raadt
2020-05-04Using int64_t together with printf %llu is not portable. Either add aClaudio Jeker
2020-05-03Correctly name max_out_prefix and don't clobber the max_prefix value.Claudio Jeker
2020-05-02Minimal documentation of JSON output.Claudio Jeker
2020-05-02Add support to output data in JSON. This is still work in progress andClaudio Jeker
2020-05-02Adjust fmt_attr() to pass in -1 for flags to tell it you don't careClaudio Jeker
2020-05-02Indirect the output functions through function pointers so that theyClaudio Jeker
2020-05-02Cleanup the output functions a bit. show_neighbor_full() should print someClaudio Jeker
2020-03-20Reshuffle code more to separate out the output functions into output.c.Claudio Jeker
2020-01-24Extend 'bgpctl show neighbor' to include the received and sent prefixClaudio Jeker
2020-01-22delete wasteful ;;Theo de Raadt
2020-01-21Report sent or received errors (normally not both at the same time).Claudio Jeker
2020-01-21Update get_errstr() to report errors like log_notification() in bgpd.Claudio Jeker
2020-01-16when parsing ASN, don't \0-split the original string, as it may be neededTheo de Raadt
2020-01-09Adjust time printing to the changes done in bgpd. Most timestamps areClaudio Jeker
2019-12-31Rename print_timer() to show_timer() and move it to output.cClaudio Jeker
2019-12-20Split out show functions into a new file called output.cClaudio Jeker
2019-12-20Shuffle the fmt_timeframe functions and change fmt_timeframe() to avoidClaudio Jeker
2019-12-20Change show_mrt_dump() to call show_rib() instead of the internalClaudio Jeker
2019-12-19Change the way individual show functions are called. Up until now an imsgClaudio Jeker
2019-12-13Remove some more show_*_head() functions. Compiler agrees.Claudio Jeker
2019-12-13Remove show_rib_summary_head() it is no longer used.Claudio Jeker
2019-12-13First step of refactoring the output processing of bgpctl. MoveClaudio Jeker
2019-11-27Adjust after changing the struct ctl_show_rib (removal of aspath_len)Claudio Jeker
2019-10-19The size limit of the shutdown reason was relaxed to 255 characters butClaudio Jeker
2019-09-27Implement 'bgpctl show rib 8.8.8.8 or-shorter' to show all routes coveringClaudio Jeker
2019-09-25also show peer AS and description in "bgpctl sh nei group XXX terse" outputStuart Henderson
2019-09-24add the neighbour's address, to disambiguate peers in the output fromStuart Henderson
2019-08-05Add a comment why network_bulk() is not using send_filterset(). UsingClaudio Jeker
2019-07-03Add a default case to subtype switch in the table v2 parser.Claudio Jeker
2019-07-03Remove unneccessary type castClaudio Jeker
2019-06-28The bgpctl parser can not handle neighbor and neighbors at the same time.Claudio Jeker
2019-06-28Implement the bits and pieces that are needed to dump MRT_DUMP_V2_RIB_GENERICClaudio Jeker
2019-06-25Remove irrfilter from bgpctl. The current code is not very useful.Claudio Jeker