1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00
openbsd-src/usr.sbin/bgpd
claudio 25cbba3a33 Add support for extended messages (RFC8654)
This extends the maximum message size of BGP from 4096 to 65535.

This mostly follows rfc8654 with the following differences:
- NOTIFICATIONS are always truncated to fit in 4096 bytes.
- There is no message reduction using "attribute discard" in case of overflow.
- Large messages are only sent if both sides announced extended message support.
OK tb@
2024-12-09 10:51:46 +00:00
..
bgpd.8 Add support for extended messages (RFC8654) 2024-12-09 10:51:46 +00:00
bgpd.c Only set the SO_RCVBUF and SO_SNDBUF on the socketpair to what we want. 2024-12-03 13:46:53 +00:00
bgpd.conf.5 Add support for extended messages (RFC8654) 2024-12-09 10:51:46 +00:00
bgpd.h Add support for extended messages (RFC8654) 2024-12-09 10:51:46 +00:00
carp.c Convert bzero() to memset(), bcmp() to memcmp() and bcopy() to memcpy(). 2022-08-17 15:15:25 +00:00
config.c Rework the pfkey and tcp md5 API to not depend on struct peer. 2024-10-01 11:49:24 +00:00
control.c Bump imsg size up to MAX_BGPD_IMSGSIZE (128k) to support extended messages 2024-12-02 15:03:17 +00:00
flowspec.c Use xoff instead of *olen in the shift_right() call. xoff is the right 2023-10-23 13:07:44 +00:00
kroute.c Qualifying nexthops via BGP does not properly work since nexthops need 2024-09-04 15:06:36 +00:00
log.c
log.h For portability include sys/types.h instead of sys/cdefs.h. 2020-10-21 06:48:33 +00:00
logmsg.c Tabs on empty line 2024-05-20 10:00:00 +00:00
Makefile Implement a basic API to work with flowspec NLRI. 2023-04-17 08:02:21 +00:00
mrt.c Teach mrt_dump_bgp_msg() to use ibufs 2024-11-21 13:34:01 +00:00
mrt.h spelling fixes; from paul tagliamonte 2022-12-28 21:30:15 +00:00
name2id.c If anything in name2id conversion fails then just return 0. 2022-06-16 15:30:12 +00:00
parse.y Add support for extended messages (RFC8654) 2024-12-09 10:51:46 +00:00
pfkey.c No need to check as->established before calling pfkey_remove(). 2024-10-02 09:45:29 +00:00
pftable.c Use an C99 anonymous union inside struct bgpd_addr 2024-02-13 16:35:43 +00:00
printconf.c Add support for extended messages (RFC8654) 2024-12-09 10:51:46 +00:00
rde_aspa.c Remove per-AFI ASPA handling in bgpd internals 2023-08-16 08:26:35 +00:00
rde_attr.c Be more careful with aspath that have 0 length (aka the empty AS_PATH). 2024-09-10 09:38:45 +00:00
rde_community.c community_copy needs to check if nentries is 0 and handle that specially. 2024-09-10 08:53:20 +00:00
rde_decide.c Introduce 'rde rib Loc-RIB include filtered' a feature that includes 2024-08-14 19:09:51 +00:00
rde_filter.c Properly handle references for nexthops and labels in filterset_copy() 2023-05-09 13:11:19 +00:00
rde_peer.c Introduce peer_is_up() and use it instead of peer->state == PEER_UP checks 2024-08-28 13:21:39 +00:00
rde_prefix.c s/ibuf_add_buf/ibuf_add_ibuf/ 2024-11-21 13:26:49 +00:00
rde_rib.c Introduce 'rde rib Loc-RIB include filtered' a feature that includes 2024-08-14 19:09:51 +00:00
rde_sets.c Be more careful with aspath that have 0 length (aka the empty AS_PATH). 2024-09-10 09:38:45 +00:00
rde_trie.c spelling fixes; from paul tagliamonte 2022-12-28 21:30:15 +00:00
rde_update.c Add support for extended messages (RFC8654) 2024-12-09 10:51:46 +00:00
rde.c Check in bgpctl show rib commands if the table / rib passed is 2024-12-02 16:31:51 +00:00
rde.h When generating UPDATE handle the message size limit better. 2024-09-25 14:46:51 +00:00
rtr_proto.c Adjust the msgbuf parser callbacks in bgpd to the new API. 2024-11-26 13:59:54 +00:00
rtr.c Remove the ASPA imsg size workaround now that imsg are large enough to 2024-12-02 15:13:57 +00:00
session.c Add support for extended messages (RFC8654) 2024-12-09 10:51:46 +00:00
session.h Convert session.c to use the new msgbuf reader API. 2024-11-21 13:34:30 +00:00
timer.c Make the timer code independent of struct peer this way it can be used 2020-12-11 12:00:01 +00:00
util.c ibuf_get_string() was added to the ibuf API, remove local version 2024-11-21 13:05:23 +00:00
version.h Bump version 2024-09-05 20:28:42 +00:00