Title | ECN-CWR chunk is received with invalid chunk length |
CommandLine | ./CwrWithBadChunkLength.seq -pkt ./CwrWithBadChunkLength.def -log 5.html -ti ECN-CWR chunk is received with invalid chunk length |
TestVersion | REL_1_0_0 |
ToolVersion | REL_3_1_0 |
Start | 2009/02/12 18:28:38 |
Tn | .//../etc//tn.def |
Nu | .//../etc//nut.def |
Pkt | ./CwrWithBadChunkLength.def |
System | linux-v6 |
TargetName | RHEL5GA |
HostName | FNST |
Type | IPv6 |
18:28:39 | Start |
18:28:39 | Start Capturing Packets (Link0) |
=============== sctpCheckEnv =============== | |
18:28:39 |
vRemote(rcommand.rmt) ``/usr/local/v6eval//bin/linux-v6//rcommand.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 cmd="killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_status; checksctp" ''
Connected. [1]+ Exit 1 sctp_test -H 3ffe:501:ffff:100:020c:29ff:fe0f:1734 -P 4197 -T -l -x 1 -X 1 > /tmp/tstcmd.log 2>&1 [root@RHEL ~]# [root@RHEL ~]# killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_sta tus; checksctp sctp_test: no process killed sctp_darn: no process killed sctp_status: no process killed SCTP supported [root@RHEL ~]# sendMessagesSync: never got killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_status; checksctp echo $? 0 [root@~. Disconnected. |
============= sctpPing6ToHost ============== | |
18:28:48 |
vSend(Link0,echo_request_on_link0) Send Echo Request on Link0 |
18:28:48 | vRecv(Link0,echo_reply_on_link0 ns_on_link0 ns_on_link0_gl) timeout:5 cntLimit:0 seektime:0 Recv Echo Reply on Link0 |
============== sctpStartServer ============= | |
18:28:48 |
vRemote(rcommandasync.rmt) ``/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 cmd="sctp_test -H 3ffe:501:ffff:100:020c:29ff:fe0f:1734 -P 4198 -T -l -x 1 -X 1 > /tmp/tstcmd.log 2>&1 &" ''
Connected. [root@RHEL ~]# [root@RHEL ~]# sct~. Disconnected. |
================= vConnect ================= | |
18:28:52 |
vSend(Link0,sctp_chunk_init_snd) Send SCTP CHUNK_INIT |
18:28:52 | vRecv(Link0,sctp_chunk_init_ack_rcv ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_INIT_ACK |
18:28:52 |
vSend(Link0,sctp_chunk_cookie_echo_snd) Send SCTP CHUNK_COOKIE_ECHO |
18:28:52 | vRecv(Link0,sctp_chunk_cookie_ack_rcv ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_COOKIE_ACK |
================ Main Test ================= | |
18:28:52 |
vSend(Link0,sctp_chunk_ecn_cwr_bad_len) !!! unable decode LowestTSNNumber size(4,0) ,in CHUNK_ECN_CWR at(4,0)/size(4) Send SCTP CHUNK_ECN_CWR (with bad chunk length) |
18:28:53 | vRecv(Link0,sctp_chunk_abort ns_on_link0 ns_on_link0_gl) timeout:30 cntLimit:0 seektime:0 Recv SCTP CHUNK_ABORT |
OK | |
18:28:53 | End |
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | DestinationAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | ICMPv6_EchoRequest (length:16) | | | Type = 128 | | | Code = 0 | | | Checksum = 41042 calc(41042) | | | Identifier = 65535 | | | SequenceNumber = 1 | | | Payload (length:8) | | | | data = 01020304 05060708
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | ICMPv6_EchoReply (length:16) | | | Type = 129 | | | Code = 0 | | | Checksum = 40786 calc(40786) | | | Identifier = 65535 | | | SequenceNumber = 1 | | | Payload (length:8) | | | | data = 01020304 05060708 ===echo_reply_on_link0=================================
Frame_Ether (length:102) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:88) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 48 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | DestinationAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | Upp_SCTP (length:48) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3198 | | | | DestinationPort = 4198 | | | | VerificationTag = 0 | | | | Checksum = 4063712851 calc(4063712851) | | | CHUNK_INIT (length:36) | | | | Type = 1 | | | | Flags = 0 | | | | Length = 36 | | | | InitiateTag = 1 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 100 | | | | NumOfInbound = 65535 | | | | TSN = 100 | | | | ENCCapable (length:4) | | | | | Type = 32768 | | | | | Length = 4 | | | | ForwardTSN (length:4) | | | | | Type = 49152 | | | | | Length = 4 | | | | AdaptationLayerIndication (length:8) | | | | | Type = 49158 | | | | | Length = 8 | | | | | Indication = 0
Frame_Ether (length:334) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:320) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 2 | | | FlowLabel = 0 | | | PayloadLength = 280 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | Upp_SCTP (length:280) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4198 | | | | DestinationPort = 3198 | | | | VerificationTag = 1 | | | | Checksum = 489351803 calc(489351803) | | | CHUNK_INIT_ACK (length:268) | | | | Type = 2 | | | | Flags = 0 | | | | Length = 268 | | | | InitiateTag = 3155592245 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 100 | | | | TSN = 4119729561 | | | | StaleCookie (length:232) | | | | | Type = 7 | | | | | Length = 232 | | | | | Cookie = | | | | | 4e0640a7 8889b8af 26685dad b153e3a6 00000000 00000000 00000000 00000000 | | | | | 00000000 358416bc 01000000 00000000 00000000 97b19449 bcaa0200 0a006400 | | | | | 99158ef5 0a000c7e 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | | 66100100 00000000 80020024 2b056410 94f716e9 ae942852 f4444e4a 54df805c | | | | | d1becd26 50ed2e5c 37bdf406 00000000 00000000 00000000 00000000 00000000 | | | | | 00000000 00000000 00000000 01000024 00000001 0000d600 0064ffff 00000064 | | | | | 80000004 c0000004 c0060008 00000000 00000000 00000000 00000000 00000000 | | | | | 00000000 | | | | ENCCapable (length:4) | | | | | Type = 32768 | | | | | Length = 4 | | | | ForwardTSN (length:4) | | | | | Type = 49152 | | | | | Length = 4 | | | | AdaptationLayerIndication (length:8) | | | | | Type = 49158 | | | | | Length = 8 | | | | | Indication = 0 ===sctp_chunk_init_ack_rcv=================================
Frame_Ether (length:298) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:284) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 244 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | DestinationAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | Upp_SCTP (length:244) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3198 | | | | DestinationPort = 4198 | | | | VerificationTag = 3155592245 | | | | Checksum = 1264308849 calc(1264308849) | | | CHUNK_COOKIE_ECHO (length:232) | | | | Type = 10 | | | | Flags = 0 | | | | Length = 232 | | | | Cookie = | | | | 4e0640a7 8889b8af 26685dad b153e3a6 00000000 00000000 00000000 00000000 | | | | 00000000 358416bc 01000000 00000000 00000000 97b19449 bcaa0200 0a006400 | | | | 99158ef5 0a000c7e 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | 66100100 00000000 80020024 2b056410 94f716e9 ae942852 f4444e4a 54df805c | | | | d1becd26 50ed2e5c 37bdf406 00000000 00000000 00000000 00000000 00000000 | | | | 00000000 00000000 00000000 01000024 00000001 0000d600 0064ffff 00000064 | | | | 80000004 c0000004 c0060008 00000000 00000000 00000000 00000000 00000000 | | | | 00000000
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 2 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | Upp_SCTP (length:16) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4198 | | | | DestinationPort = 3198 | | | | VerificationTag = 1 | | | | Checksum = 441533231 calc(441533231) | | | CHUNK_COOKIE_ACK (length:4) | | | | Type = 11 | | | | Flags = 0 | | | | Length = 4 ===sctp_chunk_cookie_ack_rcv=================================
Frame_Ether (length:74) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:60) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 20 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | DestinationAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | Upp_SCTP (length:20) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3198 | | | | DestinationPort = 4198 | | | | VerificationTag = 3155592245 | | | | Checksum = 1204659786 calc() | | | CHUNK_ECN_CWR (length:4) | | | | Type = 13 | | | | Flags = 0 | | | | Length = 0 | | | [Needless] (length:4) | | | | data = 00000063
Frame_Ether (length:118) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:104) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 2 | | | FlowLabel = 0 | | | PayloadLength = 64 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | Upp_SCTP (length:64) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4198 | | | | DestinationPort = 3198 | | | | VerificationTag = 1 | | | | Checksum = 2742704905 calc(2742704905) | | | CHUNK_ABORT (length:52) | | | | Type = 6 | | | | Reserved = 0 | | | | TFlag = 0 | | | | Length = 52 | | | | ProtocolViolation (length:48) | | | | | Code = 13 | | | | | Length = 48 | | | | | Information = | | | | | 54686520 666f6c6c 6f77696e 67206368 756e6b20 68616420 696e7661 6c696420 | | | | | 6c656e67 74683a00 000d0000 ===sctp_chunk_abort=================================