aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/netflow.c
diff options
context:
space:
mode:
authorThomas Winter <Thomas.Winter@alliedtelesis.co.nz>2023-08-29 13:14:27 +1200
committerIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-09-12 13:12:14 +0200
commita5f0cb7e6c4cfb45666876b79f23f2ec7a56a870 (patch)
tree1d28f046b8010caa89f94113217337f44d5f84cc /src/lib/protocols/netflow.c
parent7263562514ac8c98ca923b98cc89d4c10bbdb30f (diff)
tftp: check incrementation for DATA and ACK packets
The 2 bytes following the opcode for DATA and ACK packets are the block number and this should be incrementing every packet. We should check to see that this is occurring otherwise false matches can occur, eg L2TPv3 over UDP matches the DATA opcode but the next two bytes are always zero. Remove the DATA max block size assumption since this can be false if the blksize option is used to increase it. Fixes #2070
Diffstat (limited to 'src/lib/protocols/netflow.c')
0 files changed, 0 insertions, 0 deletions