I am using lksctp-tools-1.0.6-3.el5 (Red Hat Enterprise Linux Server release 5.8 (Tikanga)) on one machine and lksctp-tools-1.0.10-7.el6.x86_64 (Red Hat Enterprise Linux Server release 6.5 (Santiago)) in another machine. I am trying to establish a SCTP association via JAVA application. SCTP server(172.16.150.14) was running on the machine (lksctp-tools-1.0.6-3.el5) and my JAVA SCTP client(172.16.150.69) was creating association through machine (lksctp-tools-1.0.10-7.el6.x86_64). We are getting multiple ABORT while establishment phase itself. I am providing the pcap details for reference.
No. Time Source Destination Protocol Length Info 1 05:36:43.098903 172.16.150.69 172.16.150.14 SCTP 82 INIT Frame 1: 82 bytes on wire (656 bits), 82 bytes captured (656 bits) Ethernet II, Src: Hewlett-_09:fa:f2 (3c:d9:2b:09:fa:f2), Dst: Hewlett-_09:e5:c6 (3c:d9:2b:09:e5:c6) Internet Protocol Version 4, Src: 172.16.150.69 (172.16.150.69), Dst: 172.16.150.14 (172.16.150.14) Stream Control Transmission Protocol, Src Port: 8080 (8080), Dst Port: 8080 (8080) Source port: 8080 Destination port: 8080 Verification tag: 0x00000000 Checksum: 0xe1257a59 (not verified) INIT chunk (Outbound streams: 10, inbound streams: 65535) Chunk type: INIT (1) 0... .... = Bit: Stop processing of the packet .0.. .... = Bit: Do not report Chunk flags: 0x00 Chunk length: 36 Initiate tag: 0xb08220ed Advertised receiver window credit (a_rwnd): 131072 Number of outbound streams: 10 Number of inbound streams: 65535 Initial TSN: 3289108916 Supported address types parameter (Supported types: IPv6, IPv4) ECN parameter Forward TSN supported parameter No. Time Source Destination Protocol Length Info 2 05:36:43.099044 172.16.150.14 172.16.150.69 SCTP 250 INIT_ACK Frame 2: 250 bytes on wire (2000 bits), 250 bytes captured (2000 bits) Ethernet II, Src: Hewlett-_09:e5:c6 (3c:d9:2b:09:e5:c6), Dst: Hewlett-_09:fa:f2 (3c:d9:2b:09:fa:f2) Internet Protocol Version 4, Src: 172.16.150.14 (172.16.150.14), Dst: 172.16.150.69 (172.16.150.69) Stream Control Transmission Protocol, Src Port: 8080 (8080), Dst Port: 8080 (8080) Source port: 8080 Destination port: 8080 Verification tag: 0xb08220ed Checksum: 0xb93c0ee7 (not verified) INIT_ACK chunk (Outbound streams: 10, inbound streams: 10) Chunk type: INIT_ACK (2) 0... .... = Bit: Stop processing of the packet .0.. .... = Bit: Do not report Chunk flags: 0x00 Chunk length: 204 Initiate tag: 0x4e2a7e3e Advertised receiver window credit (a_rwnd): 32768 Number of outbound streams: 10 Number of inbound streams: 10 Initial TSN: 2610537679 State cookie parameter (Cookie length: 164 bytes) ECN parameter Forward TSN supported parameter Adaptation Layer Indication parameter (Indication: 0) No. Time Source Destination Protocol Length Info 3 05:36:43.099094 172.16.150.69 172.16.150.14 SCTP 214 COOKIE_ECHO Frame 3: 214 bytes on wire (1712 bits), 214 bytes captured (1712 bits) Ethernet II, Src: Hewlett-_09:fa:f2 (3c:d9:2b:09:fa:f2), Dst: Hewlett-_09:e5:c6 (3c:d9:2b:09:e5:c6) Internet Protocol Version 4, Src: 172.16.150.69 (172.16.150.69), Dst: 172.16.150.14 (172.16.150.14) Stream Control Transmission Protocol, Src Port: 8080 (8080), Dst Port: 8080 (8080) Source port: 8080 Destination port: 8080 Verification tag: 0x4e2a7e3e Checksum: 0x9ed7b037 (not verified) COOKIE_ECHO chunk (Cookie length: 164 bytes) Chunk type: COOKIE_ECHO (10) 0... .... = Bit: Stop processing of the packet .0.. .... = Bit: Do not report Chunk flags: 0x00 Chunk length: 168 Cookie: d257bd8304f17a3aaf3d2afa131b81a20000000000000000... No. Time Source Destination Protocol Length Info 4 05:36:43.099101 172.16.150.14 172.16.150.69 SCTP 60 ABORT Frame 4: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) Ethernet II, Src: Hewlett-_09:e5:c6 (3c:d9:2b:09:e5:c6), Dst: Hewlett-_09:fa:f2 (3c:d9:2b:09:fa:f2) Internet Protocol Version 4, Src: 172.16.150.14 (172.16.150.14), Dst: 172.16.150.69 (172.16.150.69) Stream Control Transmission Protocol, Src Port: 8080 (8080), Dst Port: 8080 (8080) Source port: 8080 Destination port: 8080 Verification tag: 0xb08220ed Checksum: 0x9a8f1794 (not verified) ABORT chunk Chunk type: ABORT (6) 0... .... = Bit: Stop processing of the packet .0.. .... = Bit: Do not report Chunk flags: 0x01 Chunk length: 4 No. Time Source Destination Protocol Length Info 5 05:36:43.099234 172.16.150.14 172.16.150.69 SCTP 60 COOKIE_ACK Frame 5: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) Ethernet II, Src: Hewlett-_09:e5:c6 (3c:d9:2b:09:e5:c6), Dst: Hewlett-_09:fa:f2 (3c:d9:2b:09:fa:f2) Internet Protocol Version 4, Src: 172.16.150.14 (172.16.150.14), Dst: 172.16.150.69 (172.16.150.69) Stream Control Transmission Protocol, Src Port: 8080 (8080), Dst Port: 8080 (8080) Source port: 8080 Destination port: 8080 Verification tag: 0xb08220ed Checksum: 0x49e57561 (not verified) COOKIE_ACK chunk Chunk type: COOKIE_ACK (11) 0... .... = Bit: Stop processing of the packet .0.. .... = Bit: Do not report Chunk flags: 0x00 Chunk length: 4 No. Time Source Destination Protocol Length Info 6 05:36:43.115270 172.16.150.69 172.16.150.14 SCTP 74 DATA Frame 6: 74 bytes on wire (592 bits), 74 bytes captured (592 bits) Ethernet II, Src: Hewlett-_09:fa:f2 (3c:d9:2b:09:fa:f2), Dst: Hewlett-_09:e5:c6 (3c:d9:2b:09:e5:c6) Internet Protocol Version 4, Src: 172.16.150.69 (172.16.150.69), Dst: 172.16.150.14 (172.16.150.14) Stream Control Transmission Protocol, Src Port: 8080 (8080), Dst Port: 8080 (8080) Source port: 8080 Destination port: 8080 Verification tag: 0x4e2a7e3e Checksum: 0xb3dbcc41 (not verified) DATA chunk(ordered, complete segment, TSN: 3289108916, SID: 0, SSN: 0, PPID: 0, payload length: 11 bytes) Chunk type: DATA (0) 0... .... = Bit: Stop processing of the packet .0.. .... = Bit: Do not report Chunk flags: 0x03 Chunk length: 27 TSN: 3289108916 Stream Identifier: 0x0000 Stream sequence number: 0 Payload protocol identifier: not specified (0) Chunk padding: 00 Data (11 bytes) 0000 48 65 6c 6c 6f 20 57 6f 72 6c 64 Hello World No. Time Source Destination Protocol Length Info 7 05:36:43.115369 172.16.150.14 172.16.150.69 SCTP 62 SACK Frame 7: 62 bytes on wire (496 bits), 62 bytes captured (496 bits) Ethernet II, Src: Hewlett-_09:e5:c6 (3c:d9:2b:09:e5:c6), Dst: Hewlett-_09:fa:f2 (3c:d9:2b:09:fa:f2) Internet Protocol Version 4, Src: 172.16.150.14 (172.16.150.14), Dst: 172.16.150.69 (172.16.150.69) Stream Control Transmission Protocol, Src Port: 8080 (8080), Dst Port: 8080 (8080) Source port: 8080 Destination port: 8080 Verification tag: 0xb08220ed Checksum: 0xe89887f8 (not verified) SACK chunk (Cumulative TSN: 3289108916, a_rwnd: 32757, gaps: 0, duplicate TSNs: 0) Chunk type: SACK (3) 0... .... = Bit: Stop processing of the packet .0.. .... = Bit: Do not report Chunk flags: 0x00 Chunk length: 16 Cumulative TSN ACK: 3289108916 Advertised receiver window credit (a_rwnd): 32757 Number of gap acknowledgement blocks: 0 Number of duplicated TSNs: 0 No. Time Source Destination Protocol Length Info 8 05:36:43.115394 172.16.150.14 172.16.150.69 SCTP 60 ABORT Frame 8: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) Ethernet II, Src: Hewlett-_09:e5:c6 (3c:d9:2b:09:e5:c6), Dst: Hewlett-_09:fa:f2 (3c:d9:2b:09:fa:f2) Internet Protocol Version 4, Src: 172.16.150.14 (172.16.150.14), Dst: 172.16.150.69 (172.16.150.69) Stream Control Transmission Protocol, Src Port: 8080 (8080), Dst Port: 8080 (8080) Source port: 8080 Destination port: 8080 Verification tag: 0x4e2a7e3e Checksum: 0x32aec396 (not verified) ABORT chunk Chunk type: ABORT (6) 0... .... = Bit: Stop processing of the packet .0.. .... = Bit: Do not report Chunk flags: 0x01 Chunk length: 4 No. Time Source Destination Protocol Length Info 9 05:36:43.123580 172.16.150.14 172.16.150.69 SCTP 74 DATA Frame 9: 74 bytes on wire (592 bits), 74 bytes captured (592 bits) Ethernet II, Src: Hewlett-_09:e5:c6 (3c:d9:2b:09:e5:c6), Dst: Hewlett-_09:fa:f2 (3c:d9:2b:09:fa:f2) Internet Protocol Version 4, Src: 172.16.150.14 (172.16.150.14), Dst: 172.16.150.69 (172.16.150.69) Stream Control Transmission Protocol, Src Port: 8080 (8080), Dst Port: 8080 (8080) Source port: 8080 Destination port: 8080 Verification tag: 0xb08220ed Checksum: 0xf927519f (not verified) DATA chunk(ordered, complete segment, TSN: 2610537679, SID: 0, SSN: 0, PPID: 0, payload length: 11 bytes) Chunk type: DATA (0) 0... .... = Bit: Stop processing of the packet .0.. .... = Bit: Do not report Chunk flags: 0x03 Chunk length: 27 TSN: 2610537679 Stream Identifier: 0x0000 Stream sequence number: 0 Payload protocol identifier: not specified (0) Chunk padding: 00 Data (11 bytes) 0000 48 65 6c 6c 6f 20 57 6f 72 6c 64 Hello World No. Time Source Destination Protocol Length Info 10 05:36:43.123609 172.16.150.69 172.16.150.14 SCTP 50 ABORT Frame 10: 50 bytes on wire (400 bits), 50 bytes captured (400 bits) Ethernet II, Src: Hewlett-_09:fa:f2 (3c:d9:2b:09:fa:f2), Dst: Hewlett-_09:e5:c6 (3c:d9:2b:09:e5:c6) Internet Protocol Version 4, Src: 172.16.150.69 (172.16.150.69), Dst: 172.16.150.14 (172.16.150.14) Stream Control Transmission Protocol, Src Port: 8080 (8080), Dst Port: 8080 (8080) Source port: 8080 Destination port: 8080 Verification tag: 0xb08220ed Checksum: 0x9a8f1794 (not verified) ABORT chunk Chunk type: ABORT (6) 0... .... = Bit: Stop processing of the packet .0.. .... = Bit: Do not report Chunk flags: 0x01 Chunk length: 4
Kindly help me.
I have tried with same version of lk-sctp : lksctp-tools-1.0.10-7.el6.x86_64 on both my machines. It is working fine for now.
Tested with sctp_test commands:
Please find pcap file for above command as attachment.
Just one doubt, whether this will work seamlessly with other SCTP stack too?