tcpdump
tcpdump copied to clipboard
SCTP: Support printing some latest chunk types
Some new SCTP chunk types are implemented in Linux kernel but not yet supported by tcpdump
to print them appropriately. These patches add corresponding supports for chunks below:
Signed-off-by: Yuxuan Luo <[email protected]>
@guyharris could you please tell me which part of the code stops the merging process? I will update it as soon as possible.
Hi tcpdump maintainers, this patch is reviewed and has passed all checks, is there any concerns stopping it going to master branch?
Thanks for preparing this PR. Each commit should have a pcap test file with eventually several output (-v, -vv, etc.). (See CONTRIBUTING.md item 6.)
See CONTRIBUTING.md item 6 about TESTLIST usage.
A flaw has been found regarding this PR:
The the-tcpdump-group fuzzing process has found a long or infinite loop in this code, with the following command and the attached pcap file. reading from file test_pb_extract_loop_sctp_1a.pcap, link-type EN10MB (Ethernet), snapshot length 18546948 1 [Error converting time] IP (tos 0x0, ttl 206, id 256, offset 0, flags [none], proto SCTP (132), length 16489, bad cksum ce29 (->5bfb)!) 13.20.64.1.53 > 1.1.1.0.1: sctp (1) [ASCONF-ACK] [SEQ: 0] [#0] [#0] [#0] [#0] [#0] [#0] [#0] [#0] [#0] [#0] [#0] [#0] [#0] [#0] [#0] [#0]
Will work on fixing this issue later, please do not merge this PR right now.
This latest patch set has solved the bug mentioned above and fixed other miscellaneous issues.
Fuzzing found a problem. Setting on draft. Private mail sent.
Fuzzing found a problem. Setting on draft. Private mail sent.
I have not received the email, do you mind send it again to [email protected]? Appreciate that!
send it again
Done.
Solved a merge conflict with master branch.
Thank you. The master branch now uses -tttt
timestamps, so the new tests will need a trivial update using update-test.sh <testname>
.
Thank you. The master branch now uses
-tttt
timestamps, so the new tests will need a trivial update usingupdate-test.sh <testname>
.
Thanks for noticing. All the testcases .out files have been updated using ./update-test.sh
.