summaryrefslogtreecommitdiff
path: root/src/lib/ssm/flow_set.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-05-03 17:00:15 +0200
committerSander Vrijders <sander@ouroboros.rocks>2026-05-20 08:17:05 +0200
commit875df4e784530430b13e77f4c37e37466db4ef3c (patch)
tree99bc2b5c8dd7eae690d9d1f39750f0b468d9c5c0 /src/lib/ssm/flow_set.c
parentee329b9047532c7e9199bba2246992ea1a619df8 (diff)
downloadouroboros-875df4e784530430b13e77f4c37e37466db4ef3c.tar.gz
ouroboros-875df4e784530430b13e77f4c37e37466db4ef3c.zip
ipcpd: Reject outbound packets on eth
AF_PACKET under `tc netem duplicate`, produces an extra PACKET_OUTGOING frame at the source that receive path didn't reject. Read with recvfrom(2) and discard frames whose sll_pkttype is PACKET_OUTGOING. Restores the dst-MAC check body (defense in depth, also bumps n_bad_id) so any frame addressed neither to us nor the broadcast MAC is dropped before flow lookup. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/ssm/flow_set.c')
0 files changed, 0 insertions, 0 deletions