summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2024-01-18Convert IMSG_UPDATE and session_update() to new imsg API and ibufs.Claudio Jeker
2024-01-16Switch session_notification() over to use a struct ibuf to carry theClaudio Jeker
2024-01-12Convert the simple IMSG calls in session.c to the new imsg API.Claudio Jeker
2024-01-11Clear the last_sent_errcode, last_rcvd_errcode and last_reason whenClaudio Jeker
2024-01-10Update the control.c code to use the new imsg API.Claudio Jeker
2023-12-14Mostly straightforward conversion to imsg_get_fd() only the handlingClaudio Jeker
2023-11-07Rename struct imsgbuf *ibuf to *imsgbuf in all places.Claudio Jeker
2023-11-04Use proper length in session_newmsg() for the RFC9072 case.Claudio Jeker
2023-10-27Simplify the handling of optparamlen and RFC9072 support.Claudio Jeker
2023-10-27The holdtime is added to the ibuf with ibuf_add_n16() so no need toClaudio Jeker
2023-10-19Convert the session engine to use the new ibuf API.Claudio Jeker
2023-10-17Remove bogus plen != 0xff checkClaudio Jeker
2023-10-16Improve IPv6 link-local address handlingClaudio Jeker
2023-10-09Fix return value confusion of sa_cmp() by renaming the function sa_equal().Claudio Jeker
2023-08-04Instead of forcing a NUL into struct ctl_neighbor descr adjust theClaudio Jeker
2023-07-12Update OpenBGPD to use new ibuf API.Claudio Jeker
2023-05-25In session_process_msg() recheck the validity of the rbuf before movingClaudio Jeker
2023-05-05Limit the socket buffer size to 64k for all sessions. Long time agoClaudio Jeker
2023-04-20Implement IMSG_CTL_SHOW_FLOWSPEC and IMSG_FLOWSPEC_FLUSH and add bits forClaudio Jeker
2023-03-09Major rework of RFC9234 support. My initial interpretation of the RFC wasClaudio Jeker
2023-02-14When initalizing a new peer, wait an extra 5 seconds before connectingClaudio Jeker
2023-02-09Instead of relaying struct peer from the SE to the RDE to fill out 10Claudio Jeker
2023-01-04Add a per eBGP session role to the config.Claudio Jeker
2022-12-28spelling fixes; from paul tagliamonteJason McIntyre
2022-12-27Adjust handling of the RFC 9234 role capability for ibgp sessions:Claudio Jeker
2022-10-18Initalize last_updown in init_peer() so that it is reported correctlyClaudio Jeker
2022-08-31Remove IMSG_CTL_SHOW_RIB_HASH and struct rde_hashstats which are noClaudio Jeker
2022-08-26Handle IMSG_SESSION_* messages immediatly when received and do not putClaudio Jeker
2022-08-17Convert bzero() to memset(), bcmp() to memcmp() and bcopy() to memcpy().Claudio Jeker
2022-07-28whitespace found during a read-thru; ok claudioTheo de Raadt
2022-07-18Remove warning messages that add nothing in the situation they occure.Claudio Jeker
2022-06-27Add support for RFC 9234 - Route Leak Prevention and Detection Using RolesClaudio Jeker
2022-06-23Move struct kif from bgpd.h to kroute.cClaudio Jeker
2022-06-19Implement a applymask() function that works on bgpd_addr structs.Claudio Jeker
2022-02-23Make it possible to bind and connect to non-default ports. This is mainlyClaudio Jeker
2022-02-06Switch from u_intX_t types to stdint.h uintX_t. Mostly mechanical withClaudio Jeker
2022-01-20Make sure that all poll loops properly restart the poll loop on EINTR.Claudio Jeker
2021-09-03Add add-path support in MRT dumps (RFC8050).Claudio Jeker
2021-07-27Implement RFC9072: Extended Optional Parameters Length for BGP OPEN MessageClaudio Jeker
2021-06-24Fix add-path capability encoding, the length was not correctly calculatedClaudio Jeker
2021-06-17Implement RFC 7313 enhanced route refresh. It is off by default andClaudio Jeker
2021-05-27Use negotiated capabilities to decide if a ROUTE-REFRESH message can beClaudio Jeker
2021-05-27Use correct RFC number in commentClaudio Jeker
2021-05-27bgpd(8) will soon support ADD-PATH (RFC7911) and enhanced route refreshClaudio Jeker
2021-05-27Fix bad logic in last commit. If graceful restart is on and the forwardingClaudio Jeker
2021-05-27Improve graceful restart capability handling.Claudio Jeker
2021-05-16Capabilities are only supported on a session when both sides announceClaudio Jeker
2021-05-06Improve reload behaviour of RDE peer flags and export_type.Claudio Jeker
2021-05-03When negotiating multiprotocol capabilities only fall ack to AID_INET whenClaudio Jeker
2021-04-27Check for possible bgpid collision on open. RFC 6286 defines that thisClaudio Jeker