summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2024-09-10Be more careful with aspath that have 0 length (aka the empty AS_PATH).Claudio Jeker
2024-09-10community_copy needs to check if nentries is 0 and handle that specially.Claudio Jeker
2024-09-10AID_VPN_IPv4 and AID_VPN_IPv6 require a labellen that is non-zero.Claudio Jeker
2024-09-10Enfroce proper encoding of ASPA announce/withdraw PDU.Claudio Jeker
2024-09-10Use reallocarray() instead of recallocarray(), this code does not need theClaudio Jeker
2024-09-09Handle the CLUSTER_LIST attribute as described in RFC7606Claudio Jeker
2024-09-09There is no need for an explicit size check for IMSG_RECONF_ASPA_TASClaudio Jeker
2024-09-09Use msgbuf_init() instead of hand initalizing the msgbuf.Claudio Jeker
2024-09-05Bump versionClaudio Jeker
2024-09-04Qualifying nexthops via BGP does not properly work since nexthops needClaudio Jeker
2024-09-04Call pfkey_remove() only after the Session Engine finished reloading itsClaudio Jeker
2024-08-28Introduce peer_is_up() and use it instead of peer->state == PEER_UP checksClaudio Jeker
2024-08-28Check the max_prefix and max_out_prefix limit during config reload.Claudio Jeker
2024-08-22inet_pton returns 0 and -1 for error.Florian Obser
2024-08-21Use inet_pton to parse ext-communities with an IPv4 address.Florian Obser
2024-08-20Use msgbuf_queuelen() instead of accessing wbuf.queue for msgbuf structs.Claudio Jeker
2024-08-14Introduce 'rde rib Loc-RIB include filtered' a feature that includesClaudio Jeker
2024-08-12Add 'min-version' RTR config option and default to RTR version 1 by default.Claudio Jeker
2024-08-09Remove the ibuf_size(pdu) % sizeof(uint32_t) == 0 since it is alreadyClaudio Jeker
2024-08-09Adjust RTR ASPA pdu parser to draft-ietf-sidrops-8210bis-14 which finallyClaudio Jeker
2024-07-03Fix typoJob Snijders
2024-06-26Bump versionClaudio Jeker
2024-06-25When filling prefixes with pt_writebuf() keep 2 bytes reserved in theClaudio Jeker
2024-06-10In get_alternate_addr() consider sessions to IPv6 link-local addressesClaudio Jeker
2024-05-30Fix copy-paste error in last commit. Fixes lladdr and l3vpn regress.Claudio Jeker
2024-05-29Handle IPvX only interfaces with IPvY sessions more gracefully.Claudio Jeker
2024-05-29Only fall back to the default IPv4 unicast mode if there was no MPClaudio Jeker
2024-05-29Remove nexthop_compare() prototype.Claudio Jeker
2024-05-29Rename nexthop_compare to nexthop_cmp and make it static inline.Claudio Jeker
2024-05-29Introduce a ring buffer for log_sockaddr() this way log_addr() can beClaudio Jeker
2024-05-22Convert bgpid, remote_bgpid and clusterid to host byte order.Claudio Jeker
2024-05-20Convert more of the session engine parsers to the new ibuf APIClaudio Jeker
2024-05-20Tabs on empty lineClaudio Jeker
2024-05-19remove prototypes with no matching functionJonathan Gray
2024-05-18remove prototypes with no matching function; ok claudio@Jonathan Gray
2024-05-16Simplify the code to clamp the TCP send and recv buffer to 64k.Claudio Jeker
2024-05-15Mark RTR and IPv6 BGP packets with DSCP CS6 (network control)Job Snijders
2024-04-24Remove 'announce capabilities' as neighbor config stanza.Claudio Jeker
2024-04-22In state IDLE handle EVNT_STOP and stop the IdleHold timer. This wayClaudio Jeker
2024-04-22Move setting of the shutdown reason to session_stop()Claudio Jeker
2024-04-22No longer fall back to no capabilities when there is an OPEN/optionalClaudio Jeker
2024-04-11Remove repeated type declaration that makes bison unhappyTheo Buehler
2024-04-11Use != NULL for pointer check. No binary change.Claudio Jeker
2024-04-10Rework the logic to not send double notifications in session_notification().Claudio Jeker
2024-04-09Limit the number of provider ASnumbers to MAX_ASPA_SPAS_COUNT (10'000)Claudio Jeker
2024-04-09Increase RTR PDU limit to 48k and limit number of SPAS to 10'000.Claudio Jeker
2024-04-09Check that the ASPA tas array fits in an IMSG before sending the ASPAClaudio Jeker
2024-04-09Allow operators to enforce the presence of certain capabilities on sessions.Claudio Jeker
2024-04-03Rewrite str2key() to not use strtoul() to convert 2 hexdigits into oneClaudio Jeker
2024-03-26Move the SendHoldTimer code into start_timer_sendholdtime() and ensureClaudio Jeker