Title | COOKIE-ECHO chunk is received with invalid checksum |
CommandLine | ./InvalidChecksumInCookieEcho.seq -pkt ./InvalidChecksumInCookieEcho.def -log 23.html -ti COOKIE-ECHO chunk is received with invalid checksum |
TestVersion | REL_1_0_0 |
ToolVersion | REL_3_1_0 |
Start | 2009/02/12 18:36:18 |
Tn | .//../etc//tn.def |
Nu | .//../etc//nut.def |
Pkt | ./InvalidChecksumInCookieEcho.def |
System | linux-v6 |
TargetName | RHEL5GA |
HostName | FNST |
Type | IPv6 |
18:36:19 | Start |
18:36:19 | Start Capturing Packets (Link0) |
=============== sctpCheckEnv =============== | |
18:36:19 |
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]+ Done sleep 5 && sctp_test -H 3ffe:501:ffff:100:020c:29ff:fe0f:1734 -P 4220 -h 3ffe:501:ffff:100:0200:00ff:fe00:0100 -p 3220 -T -s -c -1352 -X 1 -x 1 -o 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~. Disconnected. |
============= sctpPing6ToHost ============== | |
18:36:28 |
vSend(Link0,echo_request_on_link0) Send Echo Request on Link0 |
18:36:28 | 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:36:29 |
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 4221 -T -l -x 1 -X 1 > /tmp/tstcmd.log 2>&1 &" ''
Connected. [root@RHEL ~]# [root@RHEL ~]# sctp_test -H 3ffe:~. Disconnected. |
================ Main Test ================= | |
18:36:32 |
vSend(Link0,sctp_chunk_init_snd) Send SCTP CHUNK_INIT |
18:36:33 | 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:36:33 |
vSend(Link0,sctp_chunk_cookie_echo_bad_csum) Send SCTP CHUNK_COOKIE_ECHO (with Invalid Checksum) |
18:36:33 | vRecv(Link0,sctp_chunk_any_rcv ns_on_link0 ns_on_link0_gl) timeout:5 cntLimit:0 seektime:0 vRecv() return status=1 |
18:36:38 |
vSend(Link0,sctp_chunk_cookie_echo_snd) Send SCTP CHUNK_COOKIE_ECHO |
18:36:38 | 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 |
================= vSendMsg ================= | |
18:36:38 |
vSend(Link0,sctp_chunk_data_snd) Send SCTP CHUNK_DATA |
18:36:38 | vRecv(Link0,sctp_chunk_sack_rcv ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_SACK |
================== vClose ================== | |
18:36:38 |
vSend(Link0,sctp_chunk_shutdown_snd) Send SCTP CHUNK_SHUTDOWN |
18:36:38 | vRecv(Link0,sctp_chunk_shutdown_ack_rcv ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_SHUTDOWN_ACK |
18:36:39 |
vSend(Link0,sctp_chunk_shutdown_complete_snd) Send SCTP CHUNK_SHUTDOWN_COMPLETE |
OK | |
18:36:39 | 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 = 3221 | | | | DestinationPort = 4221 | | | | VerificationTag = 0 | | | | Checksum = 1736363444 calc(1736363444) | | | 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 = 4221 | | | | DestinationPort = 3221 | | | | VerificationTag = 1 | | | | Checksum = 1128062118 calc(1128062118) | | | CHUNK_INIT_ACK (length:268) | | | | Type = 2 | | | | Flags = 0 | | | | Length = 268 | | | | InitiateTag = 2479254080 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 100 | | | | TSN = 1760163385 | | | | StaleCookie (length:232) | | | | | Type = 7 | | | | | Length = 232 | | | | | Cookie = | | | | | fab1fd54 3b83166e 0a7d5ba1 ada319d3 00000000 00000000 00000000 00000000 | | | | | 00000000 406ac693 01000000 00000000 00000000 63b39449 bbed0800 0a006400 | | | | | 39f6e968 0a000c95 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | | 7d100100 00000000 80020024 0bf28543 17d012d5 7f70dd7d d8762f64 502c5881 | | | | | 9f7337c0 4cca7835 ebc707f3 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 = 3221 | | | | DestinationPort = 4221 | | | | VerificationTag = 2479254080 | | | | Checksum = 4294967295 calc(1610789907) | | | CHUNK_COOKIE_ECHO (length:232) | | | | Type = 10 | | | | Flags = 0 | | | | Length = 232 | | | | Cookie = | | | | fab1fd54 3b83166e 0a7d5ba1 ada319d3 00000000 00000000 00000000 00000000 | | | | 00000000 406ac693 01000000 00000000 00000000 63b39449 bbed0800 0a006400 | | | | 39f6e968 0a000c95 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | 7d100100 00000000 80020024 0bf28543 17d012d5 7f70dd7d d8762f64 502c5881 | | | | 9f7337c0 4cca7835 ebc707f3 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: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 = 3221 | | | | DestinationPort = 4221 | | | | VerificationTag = 2479254080 | | | | Checksum = 1610789907 calc(1610789907) | | | CHUNK_COOKIE_ECHO (length:232) | | | | Type = 10 | | | | Flags = 0 | | | | Length = 232 | | | | Cookie = | | | | fab1fd54 3b83166e 0a7d5ba1 ada319d3 00000000 00000000 00000000 00000000 | | | | 00000000 406ac693 01000000 00000000 00000000 63b39449 bbed0800 0a006400 | | | | 39f6e968 0a000c95 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | 7d100100 00000000 80020024 0bf28543 17d012d5 7f70dd7d d8762f64 502c5881 | | | | 9f7337c0 4cca7835 ebc707f3 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 = 4221 | | | | DestinationPort = 3221 | | | | VerificationTag = 1 | | | | Checksum = 3499873297 calc(3499873297) | | | CHUNK_COOKIE_ACK (length:4) | | | | Type = 11 | | | | Flags = 0 | | | | Length = 4 ===sctp_chunk_cookie_ack_rcv=================================
Frame_Ether (length:1434) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:1420) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 1380 | | | 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:1380) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3221 | | | | DestinationPort = 4221 | | | | VerificationTag = 2479254080 | | | | Checksum = 3728633806 calc(3728633806) | | | CHUNK_DATA (length:1368) | | | | Type = 0 | | | | Reserved = 0 | | | | IFlag = 0 | | | | UFlag = 1 | | | | BFlag = 1 | | | | EFlag = 1 | | | | Length = 1368 | | | | TSN = 100 | | | | Identifier = 0 | | | | SequenceNumber = 0 | | | | Protocol = 0 | | | | Payload (length:1352) | | | | | data = | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393000
Frame_Ether (length:82) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:68) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 2 | | | FlowLabel = 0 | | | PayloadLength = 28 | | | 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:28) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4221 | | | | DestinationPort = 3221 | | | | VerificationTag = 1 | | | | Checksum = 664551196 calc(664551196) | | | CHUNK_SACK (length:16) | | | | Type = 3 | | | | Flags = 0 | | | | Length = 16 | | | | ACK = 100 | | | | AdvRecvWindow = 53432 | | | | NumOfGapAck = 0 | | | | NumOfDupTSN = 0 ===sctp_chunk_sack_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 = 3221 | | | | DestinationPort = 4221 | | | | VerificationTag = 2479254080 | | | | Checksum = 2175284670 calc(2175284670) | | | CHUNK_SHUTDOWN (length:8) | | | | Type = 7 | | | | Flags = 0 | | | | Length = 8 | | | | TSN = 1760163384
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 = 4221 | | | | DestinationPort = 3221 | | | | VerificationTag = 1 | | | | Checksum = 3910334067 calc(3910334067) | | | CHUNK_SHUTDOWN_ACK (length:4) | | | | Type = 8 | | | | Flags = 0 | | | | Length = 4 ===sctp_chunk_shutdown_ack_rcv=================================
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 = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | DestinationAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | Upp_SCTP (length:16) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3221 | | | | DestinationPort = 4221 | | | | VerificationTag = 2479254080 | | | | Checksum = 2860366380 calc(2860366380) | | | CHUNK_SHUTDOWN_COMPLETE (length:4) | | | | Type = 14 | | | | Reserved = 0 | | | | TFlag = 0 | | | | Length = 4