bird/proto
Job Snijders b9f38727a7 RPKI: Add contextual out-of-bound checks in RTR Prefix PDU handler
RFC 6810 and RFC 8210 specify that the "Max Length" value MUST NOT be
less than the Prefix Length element (underflow). On the other side,
overflow of the Max Length element also is possible, it being an 8-bit
unsigned integer allows for values larger than 32 or 128. This also
implicitly ensures there is no overflow of "Length" value.

When a PDU is received where the Max Length field is corrputed, the RTR
client (BIRD) should immediately terminate the session, flush all data
learned from that cache, and log an error for the operator.

Minor changes done by commiter.
2021-12-18 16:35:28 +01:00
..
babel Babel: Simplify auth expiration 2021-06-09 19:31:55 +02:00
bfd BFD: Dispatch sessions also by interface index 2021-01-10 15:29:02 +01:00
bgp BGP: Ensure that freed neighbor entry is not accessed 2021-06-01 02:20:26 +02:00
mrt Routing tables list iteration should use explicit node struct position 2021-03-30 21:56:08 +02:00
ospf Nest: Clean up main channel handling 2021-06-17 16:56:51 +02:00
perf Perf: changed route update pattern to be more like common protocols 2020-03-12 09:26:05 +01:00
pipe Pipe: Propagate debug flags from protocol to channels 2021-03-16 20:10:00 +01:00
radv Nest: Clean up main channel handling 2021-06-17 16:56:51 +02:00
rip Nest: Clean up main channel handling 2021-06-17 16:56:51 +02:00
rpki RPKI: Add contextual out-of-bound checks in RTR Prefix PDU handler 2021-12-18 16:35:28 +01:00
static Nest: Clean up main channel handling 2021-06-17 16:56:51 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00