Hello all,
I am facing an issue using tshark for SCTP fragmented frames.
I have SIP traffic coming over SCTP. SIP packet is fragmented into 2 SCTP data chunks. I have it stored into a input.pcapng file. I use the following command to filter this:
tshark -2 -Y 'sip.r-uri.host == "xxx.yyy.com"' -o sctp.reassembly:TRUE -r input.pcapng -w output.pcapng
Or
tshark -2 -Y 'sip.r-uri.host == "xxx.yyy.com"' -r input.pcapng -w output.pcapng
But the output file contains only the fragment in which the packet is reassembled.
Problems:
1. Output file does not contain the correct frame containing fragment which has matching filter. It shows the fragment which did the reassembly.
2. It does not show both the fragments in output file.
What can be the reason and how can I achieve this?
Note: I tried the same with IP fragmentation (I have a SIP packet fragmented into 2 IP fragments) and after SIP header based filtering, I see the both fragments are written to output file. So this seems to be working for IP fragmentation.
Thanks in advance,
Amit