SCTP ABORT Issue
Kumar, Vivek (NSN - IN/Bangalore <vivek.kumar <at> nsn.com>
2009-01-12 09:38:34 GMT
Hello Sir,
I am facing a rather strange scenario:
Endpoint A Endpoint B
SCTP-INIT------------------->
<----------------------INIT_ACK
COOKIE-ECHO----------->
<---------------------COOKIE-ACK
M3UA msg------------->
<--------------ABORT
<--------------HEARTBEAT
In the Abort Chunk I observe that the T bit is set to 1 indicating that Endpoint B does not have a TCB. What could be the problem here. Is this an OOTB case? Shouldnt TCB be present on Endpoint B as the 4-way handshake has been successfully been completed. If Endpoint B does not have a TCB ? How can it send HEARTBEAT to Endpoint A?
Thanks in advance.
<<capture.txt>>
Regards,
Vivek Kumar
No. Time Source Destination Protocol Info
13767 334.575983 10.3.51.1 10.0.0.244 SCTP INIT
Frame 13767 (84 bytes on wire, 84 bytes captured)
Arrival Time: Dec 10, 2008 10:41:51.363728000
[Time delta from previous captured frame: 0.000280000 seconds]
[Time delta from previous displayed frame: 334.575983000 seconds]
[Time since reference or first frame: 334.575983000 seconds]
Frame Number: 13767
Frame Length: 84 bytes
Capture Length: 84 bytes
[Frame is marked: True]
[Protocols in frame: sll:ip:sctp]
Linux cooked capture
Packet type: Sent by us (4)
Link-layer address type: 1
Link-layer address length: 6
Source: Intel_9d:40:51 (00:0e:0c:9d:40:51)
Protocol: IP (0x0800)
Internet Protocol, Src: 10.3.51.1 (10.3.51.1), Dst: 10.0.0.244 (10.0.0.244)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 68
Identification: 0x0000 (0)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: SCTP (0x84)
Header checksum: 0xf23e [correct]
[Good: True]
[Bad : False]
Source: 10.3.51.1 (10.3.51.1)
Destination: 10.0.0.244 (10.0.0.244)
Stream Control Transmission Protocol, Src Port: m3ua (2905), Dst Port: m3ua (2905)
Source port: 2905
Destination port: 2905
Verification tag: 0x00000000
Checksum: 0x1f5ed1b1 [correct CRC32C]
INIT chunk (Outbound streams: 32, inbound streams: 32)
Chunk type: INIT (1)
0... .... = Bit: Stop processing of the packet
.0.. .... = Bit: Do not report
Chunk flags: 0x00
Chunk length: 36
Initiate tag: 0x675882f2
Advertised receiver window credit (a_rwnd): 102400
Number of outbound streams: 32
Number of inbound streams: 32
Initial TSN: 1733853938
Supported address types parameter (Supported types: IPv4)
Parameter type: Supported address types (0x000c)
0... .... .... .... = Bit: Stop processing of chunk
.0.. .... .... .... = Bit: Do not report
Parameter length: 6
Supported address type: IPv4 address (5)
Parameter padding: 0000
IPv4 address parameter (Address: 10.3.51.1)
Parameter type: IPv4 address (0x0005)
0... .... .... .... = Bit: Stop processing of chunk
.0.. .... .... .... = Bit: Do not report
Parameter length: 8
IP Version 4 address: 10.3.51.1 (10.3.51.1)
No. Time Source Destination Protocol Info
13768 334.576501 10.0.0.244 10.3.51.1 SCTP INIT_ACK
Frame 13768 (248 bytes on wire, 248 bytes captured)
Arrival Time: Dec 10, 2008 10:41:51.364246000
[Time delta from previous captured frame: 0.000518000 seconds]
[Time delta from previous displayed frame: 0.000518000 seconds]
[Time since reference or first frame: 334.576501000 seconds]
Frame Number: 13768
Frame Length: 248 bytes
Capture Length: 248 bytes
[Frame is marked: True]
[Protocols in frame: sll:ip:sctp]
Linux cooked capture
Packet type: Unicast to us (0)
Link-layer address type: 1
Link-layer address length: 6
Source: Advantec_a3:a7:96 (00:d0:c9:a3:a7:96)
Protocol: IP (0x0800)
Trailer: 22828022
Internet Protocol, Src: 10.0.0.244 (10.0.0.244), Dst: 10.3.51.1 (10.3.51.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x02 (DSCP 0x00: Default; ECN: 0x02)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..1. = ECN-Capable Transport (ECT): 1
.... ...0 = ECN-CE: 0
Total Length: 228
Identification: 0x0000 (0)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: SCTP (0x84)
Header checksum: 0xf19c [correct]
[Good: True]
[Bad : False]
Source: 10.0.0.244 (10.0.0.244)
Destination: 10.3.51.1 (10.3.51.1)
Stream Control Transmission Protocol, Src Port: m3ua (2905), Dst Port: m3ua (2905)
Source port: 2905
Destination port: 2905
Verification tag: 0x675882f2
Checksum: 0x07e4df8e [correct CRC32C]
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: 196
Initiate tag: 0xf5302440
Advertised receiver window credit (a_rwnd): 74752
Number of outbound streams: 10
Number of inbound streams: 10
Initial TSN: 651912558
State cookie parameter (Cookie length: 164 bytes)
Parameter type: State cookie (0x0007)
0... .... .... .... = Bit: Stop processing of chunk
.0.. .... .... .... = Bit: Do not report
Parameter length: 168
State cookie: 4EA1A65A20F83FA1744FAFBA4D575D110000000000000000...
Adaptation Layer Indication parameter (Indication: 0)
Parameter type: Adaptation Layer Indication (0xc006)
1... .... .... .... = Bit: Skip parameter and continue processing of the chunk
.1.. .... .... .... = Bit: Do report
Parameter length: 8
Indication: 0x00000000
No. Time Source Destination Protocol Info
13769 334.576623 10.3.51.1 10.0.0.244 SCTP COOKIE_ECHO
Frame 13769 (216 bytes on wire, 216 bytes captured)
Arrival Time: Dec 10, 2008 10:41:51.364368000
[Time delta from previous captured frame: 0.000122000 seconds]
[Time delta from previous displayed frame: 0.000122000 seconds]
[Time since reference or first frame: 334.576623000 seconds]
Frame Number: 13769
Frame Length: 216 bytes
Capture Length: 216 bytes
[Frame is marked: True]
[Protocols in frame: sll:ip:sctp]
Linux cooked capture
Packet type: Sent by us (4)
Link-layer address type: 1
Link-layer address length: 6
Source: Intel_9d:40:51 (00:0e:0c:9d:40:51)
Protocol: IP (0x0800)
Internet Protocol, Src: 10.3.51.1 (10.3.51.1), Dst: 10.0.0.244 (10.0.0.244)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 200
Identification: 0x0001 (1)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: SCTP (0x84)
Header checksum: 0xf1b9 [correct]
[Good: True]
[Bad : False]
Source: 10.3.51.1 (10.3.51.1)
Destination: 10.0.0.244 (10.0.0.244)
Stream Control Transmission Protocol, Src Port: m3ua (2905), Dst Port: m3ua (2905)
Source port: 2905
Destination port: 2905
Verification tag: 0xf5302440
Checksum: 0x2fd2dae2 [correct CRC32C]
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: 4EA1A65A20F83FA1744FAFBA4D575D110000000000000000...
No. Time Source Destination Protocol Info
13770 334.577125 10.0.0.244 10.3.51.1 SCTP COOKIE_ACK
Frame 13770 (62 bytes on wire, 62 bytes captured)
Arrival Time: Dec 10, 2008 10:41:51.364870000
[Time delta from previous captured frame: 0.000502000 seconds]
[Time delta from previous displayed frame: 0.000502000 seconds]
[Time since reference or first frame: 334.577125000 seconds]
Frame Number: 13770
Frame Length: 62 bytes
Capture Length: 62 bytes
[Frame is marked: True]
[Protocols in frame: sll:ip:sctp]
Linux cooked capture
Packet type: Unicast to us (0)
Link-layer address type: 1
Link-layer address length: 6
Source: Advantec_a3:a7:96 (00:d0:c9:a3:a7:96)
Protocol: IP (0x0800)
Trailer: 3F5B1CCD000000000000
Internet Protocol, Src: 10.0.0.244 (10.0.0.244), Dst: 10.3.51.1 (10.3.51.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x02 (DSCP 0x00: Default; ECN: 0x02)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..1. = ECN-Capable Transport (ECT): 1
.... ...0 = ECN-CE: 0
Total Length: 36
Identification: 0x0000 (0)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: SCTP (0x84)
Header checksum: 0xf25c [correct]
[Good: True]
[Bad : False]
Source: 10.0.0.244 (10.0.0.244)
Destination: 10.3.51.1 (10.3.51.1)
Stream Control Transmission Protocol, Src Port: m3ua (2905), Dst Port: m3ua (2905)
Source port: 2905
Destination port: 2905
Verification tag: 0x675882f2
Checksum: 0xe36cfb68 [correct CRC32C]
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 Info
14003 340.598717 10.3.51.1 10.0.0.244 M3UA (RFC 3332) ASPUP
Frame 14003 (72 bytes on wire, 72 bytes captured)
Arrival Time: Dec 10, 2008 10:41:57.386462000
[Time delta from previous captured frame: 0.010365000 seconds]
[Time delta from previous displayed frame: 6.021592000 seconds]
[Time since reference or first frame: 340.598717000 seconds]
Frame Number: 14003
Frame Length: 72 bytes
Capture Length: 72 bytes
[Frame is marked: True]
[Protocols in frame: sll:ip:sctp:m3ua]
Linux cooked capture
Packet type: Sent by us (4)
Link-layer address type: 1
Link-layer address length: 6
Source: Intel_9d:40:51 (00:0e:0c:9d:40:51)
Protocol: IP (0x0800)
Internet Protocol, Src: 10.3.51.1 (10.3.51.1), Dst: 10.0.0.244 (10.0.0.244)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 56
Identification: 0x0002 (2)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: SCTP (0x84)
Header checksum: 0xf248 [correct]
[Good: True]
[Bad : False]
Source: 10.3.51.1 (10.3.51.1)
Destination: 10.0.0.244 (10.0.0.244)
Stream Control Transmission Protocol, Src Port: m3ua (2905), Dst Port: m3ua (2905)
Source port: 2905
Destination port: 2905
Verification tag: 0xf5302440
Checksum: 0xe6f40bcf [correct CRC32C]
DATA chunk(ordered, complete segment, TSN: 1733853938, SID: 0, SSN: 0, PPID: 3, payload length: 8 bytes)
Chunk type: DATA (0)
0... .... = Bit: Stop processing of the packet
.0.. .... = Bit: Do not report
Chunk flags: 0x03
.... ...1 = E-Bit: Last segment
.... ..1. = B-Bit: First segment
.... .0.. = U-Bit: Ordered deliviery
Chunk length: 24
TSN: 1733853938
Stream Identifier: 0x0000
Stream sequence number: 0
Payload protocol identifier: M3UA (3)
MTP 3 User Adaptation Layer
Version: Release 1 (1)
Reserved: 0x00
Message class: ASP state maintenance messages (3)
Message type: ASP up (ASPUP) (1)
Message length: 8
No. Time Source Destination Protocol Info
14004 340.599054 10.0.0.244 10.3.51.1 SCTP ABORT
Frame 14004 (62 bytes on wire, 62 bytes captured)
Arrival Time: Dec 10, 2008 10:41:57.386799000
[Time delta from previous captured frame: 0.000337000 seconds]
[Time delta from previous displayed frame: 0.000337000 seconds]
[Time since reference or first frame: 340.599054000 seconds]
Frame Number: 14004
Frame Length: 62 bytes
Capture Length: 62 bytes
[Frame is marked: True]
[Protocols in frame: sll:ip:sctp]
Linux cooked capture
Packet type: Unicast to us (0)
Link-layer address type: 1
Link-layer address length: 6
Source: Advantec_a3:a7:96 (00:d0:c9:a3:a7:96)
Protocol: IP (0x0800)
Trailer: 8EAE7C83000000000000
Internet Protocol, Src: 10.0.0.244 (10.0.0.244), Dst: 10.3.51.1 (10.3.51.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x02 (DSCP 0x00: Default; ECN: 0x02)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..1. = ECN-Capable Transport (ECT): 1
.... ...0 = ECN-CE: 0
Total Length: 36
Identification: 0x0000 (0)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: SCTP (0x84)
Header checksum: 0xf25c [correct]
[Good: True]
[Bad : False]
Source: 10.0.0.244 (10.0.0.244)
Destination: 10.3.51.1 (10.3.51.1)
Stream Control Transmission Protocol, Src Port: m3ua (2905), Dst Port: m3ua (2905)
Source port: 2905
Destination port: 2905
Verification tag: 0xf5302440
Checksum: 0xaa04fc4b [correct CRC32C]
ABORT chunk
Chunk type: ABORT (6)
0... .... = Bit: Stop processing of the packet
.0.. .... = Bit: Do not report
Chunk flags: 0x01
.... ...1 = T-Bit: Tag reflected
Chunk length: 4
No. Time Source Destination Protocol Info
14013 340.616916 10.0.0.244 10.3.51.1 SCTP HEARTBEAT
Frame 14013 (104 bytes on wire, 104 bytes captured)
Arrival Time: Dec 10, 2008 10:41:57.404661000
[Time delta from previous captured frame: 0.003108000 seconds]
[Time delta from previous displayed frame: 0.017862000 seconds]
[Time since reference or first frame: 340.616916000 seconds]
Frame Number: 14013
Frame Length: 104 bytes
Capture Length: 104 bytes
[Frame is marked: True]
[Protocols in frame: sll:ip:sctp]
Linux cooked capture
Packet type: Unicast to us (0)
Link-layer address type: 1
Link-layer address length: 6
Source: Advantec_a3:a7:96 (00:d0:c9:a3:a7:96)
Protocol: IP (0x0800)
Trailer: 261237E7
Internet Protocol, Src: 10.0.0.244 (10.0.0.244), Dst: 10.3.51.1 (10.3.51.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x02 (DSCP 0x00: Default; ECN: 0x02)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..1. = ECN-Capable Transport (ECT): 1
.... ...0 = ECN-CE: 0
Total Length: 84
Identification: 0x6723 (26403)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: SCTP (0x84)
Header checksum: 0x8b09 [correct]
[Good: True]
[Bad : False]
Source: 10.0.0.244 (10.0.0.244)
Destination: 10.3.51.1 (10.3.51.1)
Stream Control Transmission Protocol, Src Port: m3ua (2905), Dst Port: m3ua (2905)
Source port: 2905
Destination port: 2905
Verification tag: 0x675882f2
Checksum: 0x11e669bd [correct CRC32C]
HEARTBEAT chunk (Information: 48 bytes)
Chunk type: HEARTBEAT (4)
0... .... = Bit: Stop processing of the packet
.0.. .... = Bit: Do not report
Chunk flags: 0x00
Chunk length: 52
Heartbeat info parameter (Information: 44 bytes)
Parameter type: Heartbeat info (0x0001)
0... .... .... .... = Bit: Stop processing of chunk
.0.. .... .... .... = Bit: Do not report
Parameter length: 48
Heartbeat information: 00020B590A03330100000000000000000000000000000000...
No. Time Source Destination Protocol Info
14260 347.760701 10.0.0.244 10.3.51.1 SCTP HEARTBEAT
Frame 14260 (104 bytes on wire, 104 bytes captured)
Arrival Time: Dec 10, 2008 10:42:04.548446000
[Time delta from previous captured frame: 0.178646000 seconds]
[Time delta from previous displayed frame: 7.143785000 seconds]
[Time since reference or first frame: 347.760701000 seconds]
Frame Number: 14260
Frame Length: 104 bytes
Capture Length: 104 bytes
[Frame is marked: True]
[Protocols in frame: sll:ip:sctp]
Linux cooked capture
Packet type: Unicast to us (0)
Link-layer address type: 1
Link-layer address length: 6
Source: Advantec_a3:a7:96 (00:d0:c9:a3:a7:96)
Protocol: IP (0x0800)
Trailer: 1A864D80
Internet Protocol, Src: 10.0.0.244 (10.0.0.244), Dst: 10.3.51.1 (10.3.51.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x02 (DSCP 0x00: Default; ECN: 0x02)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..1. = ECN-Capable Transport (ECT): 1
.... ...0 = ECN-CE: 0
Total Length: 84
Identification: 0x6724 (26404)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: SCTP (0x84)
Header checksum: 0x8b08 [correct]
[Good: True]
[Bad : False]
Source: 10.0.0.244 (10.0.0.244)
Destination: 10.3.51.1 (10.3.51.1)
Stream Control Transmission Protocol, Src Port: m3ua (2905), Dst Port: m3ua (2905)
Source port: 2905
Destination port: 2905
Verification tag: 0x675882f2
Checksum: 0x92103438 [correct CRC32C]
HEARTBEAT chunk (Information: 48 bytes)
Chunk type: HEARTBEAT (4)
0... .... = Bit: Stop processing of the packet
.0.. .... = Bit: Do not report
Chunk flags: 0x00
Chunk length: 52
Heartbeat info parameter (Information: 44 bytes)
Parameter type: Heartbeat info (0x0001)
0... .... .... .... = Bit: Stop processing of chunk
.0.. .... .... .... = Bit: Do not report
Parameter length: 48
Heartbeat information: 00020B590A03330100000000000000000000000000000000...
_______________________________________________
Sigtran mailing list
Sigtran <at> ietf.org
https://www.ietf.org/mailman/listinfo/sigtran