summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2024-10-29Fix logic to return CTL_RES_NOSUCHPEER. The RB_EMPTY check needs to beClaudio Jeker
2024-10-28Remove two fatalx calls in pt_fill since they are wrong.Claudio Jeker
2024-10-09Make it possible to configure tcp md5 and ipsec on rtr as wellClaudio Jeker
2024-10-08Extend the socket handover from parent to rtr process to also include teardownClaudio Jeker
2024-10-02No need to check as->established before calling pfkey_remove().Claudio Jeker
2024-10-01Explicitly set peer.auth_conf.method, the auth_state value is neverClaudio Jeker
2024-10-01In merge_peers also copy over the auth_conf from the new peer to the oldClaudio Jeker
2024-10-01Fix typo in commentClaudio Jeker
2024-10-01Rework the pfkey and tcp md5 API to not depend on struct peer.Claudio Jeker
2024-09-30Improve some currently impossible error path in log_ext_subtype().Claudio Jeker
2024-09-30In bgpd_rtr_connect() do the setsockopt dance for IP_TOS and TCP_NODELAYClaudio Jeker
2024-09-25When generating UPDATE handle the message size limit better.Claudio Jeker
2024-09-20remove unneeded semicolons; checked by millert@Jonathan Gray
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