diff options
author | Xin Long <lucien.xin@gmail.com> | 2023-10-03 13:17:54 -0400 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-10-04 14:12:01 +0200 |
commit | cf791b22bef7d9352ff730a8727d3871942d6001 (patch) | |
tree | 92f7b9db9ead005cbe031ebdecb112f6f5c44607 /lib/timerqueue.c | |
parent | 8e56b063c86569e51eed1c5681ce6361fa97fc7a (diff) |
selftests: netfilter: test for sctp collision processing in nf_conntrack
This patch adds a test case to reproduce the SCTP DATA chunk retransmission
timeout issue caused by the improper SCTP collision processing in netfilter
nf_conntrack_proto_sctp.
In this test, client sends a INIT chunk, but the INIT_ACK replied from
server is delayed until the server sends a INIT chunk to start a new
connection from its side. After the connection is complete from server
side, the delayed INIT_ACK arrives in nf_conntrack_proto_sctp.
The delayed INIT_ACK should be dropped in nf_conntrack_proto_sctp instead
of updating the vtag with the out-of-date init_tag, otherwise, the vtag
in DATA chunks later sent by client don't match the vtag in the conntrack
entry and the DATA chunks get dropped.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions