mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-27 12:03:44 +08:00
a97e56cb11
SCTP's payload protocol identifiers added. M3UA tests provided by wireshark http://wiki.wireshark.org/SampleCaptures#Sigtran_Protocol_Family But RFC4666 tells that parameter 0x0002 aren't carried by M3UA, so it's OK that tcpdump doesn't know about this identifier. Conflicts: Makefile.in interface.h print-sctp.c sctpConstants.h ----------------------------------------------------------------------- The change to sctp_print() does three things: * makes detection of ForCES consider PPID, not just port number * verifies chunk length of all SCTP_DATA chunks, not just of ForCES * adds PPID-specific dispatching with a particular case of M3UA -- Denis
31 lines
1.5 KiB
Plaintext
31 lines
1.5 KiB
Plaintext
IP (tos 0x0, ttl 64, id 38618, offset 0, flags [none], proto SCTP (132), length 132)
|
|
10.28.6.42.2905 > 10.28.6.44.2905: sctp
|
|
1) [DATA] (B)(E) [TSN: 1822994892] [SID: 6] [SSEQ 42] [PPID M3UA]
|
|
Transfer Data Message
|
|
Unknown Parameter (0x0002): (length 73)
|
|
IP (tos 0x0, ttl 255, id 50089, offset 0, flags [DF], proto SCTP (132), length 76)
|
|
10.28.6.44.2905 > 10.28.6.42.2905: sctp
|
|
1) [DATA] (B)(E) [TSN: 4307] [SID: 0] [SSEQ 643] [PPID M3UA]
|
|
Transfer Data Message
|
|
Unknown Parameter (0x0002): (length 18)
|
|
IP (tos 0x0, ttl 255, id 50090, offset 0, flags [DF], proto SCTP (132), length 72)
|
|
10.28.6.44.2905 > 10.28.6.42.2905: sctp
|
|
1) [DATA] (B)(E) [TSN: 4308] [SID: 0] [SSEQ 644] [PPID M3UA]
|
|
Transfer Data Message
|
|
Unknown Parameter (0x0002): (length 15)
|
|
IP (tos 0x0, ttl 255, id 50091, offset 0, flags [DF], proto SCTP (132), length 72)
|
|
10.28.6.44.2905 > 10.28.6.42.2905: sctp
|
|
1) [DATA] (B)(E) [TSN: 4309] [SID: 0] [SSEQ 645] [PPID M3UA]
|
|
Transfer Data Message
|
|
Unknown Parameter (0x0002): (length 13)
|
|
IP (tos 0x0, ttl 64, id 38651, offset 0, flags [none], proto SCTP (132), length 76)
|
|
10.28.6.42.2905 > 10.28.6.44.2905: sctp
|
|
1) [DATA] (B)(E) [TSN: 1822994893] [SID: 6] [SSEQ 43] [PPID M3UA]
|
|
Transfer Data Message
|
|
Unknown Parameter (0x0002): (length 17)
|
|
IP (tos 0x0, ttl 255, id 50109, offset 0, flags [DF], proto SCTP (132), length 72)
|
|
10.28.6.44.2905 > 10.28.6.42.2905: sctp
|
|
1) [DATA] (B)(E) [TSN: 4310] [SID: 0] [SSEQ 646] [PPID M3UA]
|
|
Transfer Data Message
|
|
Unknown Parameter (0x0002): (length 13)
|