summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2019-06-17Adjust comment.Claudio Jeker
2019-06-17Completley rewrite the community matching and handling code. All communityClaudio Jeker
2019-06-11Fix typo which resulted in a segfault in ebgp multihop setups.Florian Obser
2019-06-07Refactor up_get_nexthop() to work for all AFI/SAFI cases. AdditionallyClaudio Jeker
2019-05-31Exit the attribute loop early if there are no unknown attributes leftClaudio Jeker
2019-05-31Also check the type of a network statement when looking for duplicates.Claudio Jeker
2019-05-29Document the few neighbor options that need a reset (bgpctl nei X clear)Claudio Jeker
2019-05-29Rework pfkey handling a bit. The old remove then add way of inserting md5sigClaudio Jeker
2019-05-27Switch the peer TAILQ to a RB tree indexed by the peer id. This wayClaudio Jeker
2019-05-24Change timer_nextisdue() and timer_nextduein() to take the current timeClaudio Jeker
2019-05-23Add F_CTL_NEIGHBORS a flag only used in bgpctl's mrt parsing code.Claudio Jeker
2019-05-13Don't use a hardcoded list of how attribute are dumped and instead moveClaudio Jeker
2019-05-13fix export default-route.denis
2019-05-09Neither rde_apply_set() nor rde_filter() are called with a NULL state soClaudio Jeker
2019-05-08when passing objects to imsg use the for 'obj, sizeof(*obj)' instead ofClaudio Jeker
2019-05-08Rework the TCP md5sig and IKE handling. Move the pfkey socket to the parentClaudio Jeker
2019-05-06Fix reloading of network statements that have no fixed prefix specification.Claudio Jeker
2019-05-03Adjust some comments that were misleading. Those flags are used by bgpdClaudio Jeker
2019-05-03Bump SET_NAME_LEN to 128 since arouteserver produces names that are moreClaudio Jeker
2019-05-03Make sure that the as-set name is not too long when parsing the config file.Claudio Jeker
2019-04-25Extend maximum message size of the shutdown communication to 255 bytes.Claudio Jeker
2019-04-10Include endian.h since htobe* or be*toh is used. Helps with protable.Claudio Jeker
2019-04-07Be more careful when setting timeout to 0 because there is pending workClaudio Jeker
2019-03-31Don't use memcpy for struct bgpd_config, the pointers and lists in thatClaudio Jeker
2019-03-31Move the struct peer into bgpd_config and switch it to a TAILQ instead ofClaudio Jeker
2019-03-31Avoid calling dup2(oldd, newd) when oldd == newd. In that case theYASUOKA Masahiko
2019-03-28zap trailing whitespace;Jason McIntyre
2019-03-27remove documentation for obsolete announce all|none|default-route, seeSebastian Benoit
2019-03-23Unbreak route origin validationdenis
2019-03-15Set all default values in init_config in parse.y and remove the specialClaudio Jeker
2019-03-13Swap arguments of rde_dump_match_peer() to match peer_matched() in session.cClaudio Jeker
2019-03-09Unbreak 'announce inet none' which was actually clearing way too much.Claudio Jeker
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-03-01Need to be more careful in kr_net_redist_add() when adding an alreadyClaudio Jeker
2019-02-27Convert the remote and local addresses in struct peer to be bgpd_addrsClaudio Jeker
2019-02-27Fix export none. none became a keyword some time ago and so this broke.Claudio Jeker
2019-02-26Add missing break; in case statement and while there check that theClaudio Jeker
2019-02-26Some betoh64 sneaked in again, change to be64toh to be posix compliant.Claudio Jeker
2019-02-26Add support for '*', local-as and neighbor-as for ext-community matchingClaudio Jeker
2019-02-21Media and link states are highly OS dependent, to make porting easierClaudio Jeker
2019-02-20Forgot to set the sockaddr length field which is mandatory on the pfkey socket.Claudio Jeker
2019-02-19Convert some (u_)int64_t to (unsigned) long long. Makes portability a bitClaudio Jeker
2019-02-18Add stdlib.h since bsearch and strtoul need it.Claudio Jeker
2019-02-18Initialize type and subtype because modern gcc complains about it.Claudio Jeker
2019-02-18Drop netmpls/mpls.h include, not needed here.Claudio Jeker
2019-02-18Use (unsigned) long long instead of (u_)int64_t since that drops theClaudio Jeker
2019-02-18For portability use a (unsigned long long) cast for %llu / %llx formatsClaudio Jeker
2019-02-18Move get_mpe_config() to kroute.c so that config.c does not depend onClaudio Jeker
2019-02-18Do not depend on the length field of struct sockaddr instead pass theClaudio Jeker
2019-02-15Move the depend on state calculation from session.c to kroute.c. ThisClaudio Jeker