Title | SHUTDOWN-COMPLETE chunk is received with invalid Verification Tag |
CommandLine | ./ShutCompWithBadTag.seq -pkt ./ShutCompWithBadTag.def -log 35.html -ti SHUTDOWN-COMPLETE chunk is received with invalid Verification Tag |
TestVersion | REL_1_0_0 |
ToolVersion | REL_3_1_0 |
Start | 2009/02/12 16:16:24 |
Tn | .//../etc//tn.def |
Nu | .//../etc//nut.def |
Pkt | ./ShutCompWithBadTag.def |
System | linux-v6 |
TargetName | RHEL5GA |
HostName | FNST |
Type | IPv6 |
16:16:25 | Start |
16:16:25 | Start Capturing Packets (Link0) |
=============== sctpCheckEnv =============== | |
16:16:25 |
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. [root@RHEL ~]# [root@RHEL ~]# killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_sta tus; checksctp [1]+ Killed sctp_test -H 3ffe:501:ffff:100:020c:29ff:fe0f:1734 -P 4087 -T -l -x 1 -X 1 > /tmp/tstcmd.log 2>&1 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@RHEL ~.~. ~. Disconnected. |
============= sctpPing6ToHost ============== | |
16:16:33 |
vSend(Link0,echo_request_on_link0) Send Echo Request on Link0 |
16:16:33 | 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 ============= | |
16:16:33 |
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 4088 -T -l -x 1 -X 1 > /tmp/tstcmd.log 2>&1 &" ''
Connected. [root@RHEL ~]# [root@RHEL ~]# sctp_test -H 3ffe:501:ffff:100:020c:29ff:fe0f:1734 -P 4088 -T -l ~. Disconnected. |
================= vConnect ================= | |
16:16:37 |
vSend(Link0,sctp_chunk_init_snd) Send SCTP CHUNK_INIT |
16:16:37 | 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 |
16:16:37 |
vSend(Link0,sctp_chunk_cookie_echo_snd) Send SCTP CHUNK_COOKIE_ECHO |
16:16:37 | 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 |
================== vClose ================== | |
16:16:37 |
vSend(Link0,sctp_chunk_shutdown_snd) Send SCTP CHUNK_SHUTDOWN |
16:16: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 |
================ Main Test ================= | |
16:16:38 |
vSend(Link0,sctp_chunk_shutdown_complete_flag0) Send SCTP CHUNK_SHUTDOWN_COMPLETE (with invalid Tag and TFlag=0) |
16:16:38 | vRecv(Link0,sctp_chunk_shutdown_ack_rcv ns_on_link0 ns_on_link0_gl) timeout:15 cntLimit:0 seektime:0 Recv SCTP CHUNK_SHUTDOWN_ACK |
16:16:41 |
vSend(Link0,sctp_chunk_shutdown_complete_flag1) Send SCTP CHUNK_SHUTDOWN_COMPLETE (with invalid Tag and TFlag=1) |
16:16:41 | vRecv(Link0,sctp_chunk_shutdown_ack_rcv ns_on_link0 ns_on_link0_gl) timeout:15 cntLimit:0 seektime:0 Recv SCTP CHUNK_SHUTDOWN_ACK |
16:16:47 |
vSend(Link0,sctp_chunk_shutdown_complete_snd) Send SCTP CHUNK_SHUTDOWN_COMPLETE |
OK | |
16:16:47 | 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 = 3088 | | | | DestinationPort = 4088 | | | | VerificationTag = 0 | | | | Checksum = 1665110617 calc(1665110617) | | | 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 = 4088 | | | | DestinationPort = 3088 | | | | VerificationTag = 1 | | | | Checksum = 2599898414 calc(2599898414) | | | CHUNK_INIT_ACK (length:268) | | | | Type = 2 | | | | Flags = 0 | | | | Length = 268 | | | | InitiateTag = 2722931802 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 100 | | | | TSN = 3819425204 | | | | StaleCookie (length:232) | | | | | Type = 7 | | | | | Length = 232 | | | | | Cookie = | | | | | 4556a1ac 94568807 dce37f5f 7c466f2e 00000000 00000000 00000000 00000000 | | | | | 00000000 5aa44ca2 01000000 00000000 00000000 78929449 d4d70800 0a006400 | | | | | b4cda7e3 0a000c10 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | | f80f0100 00000000 80020024 811dd4f0 0a5bbac2 36e2fbb1 0359815b 4c986708 | | | | | ff4f0f38 a4ac3512 f84412e7 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 = 3088 | | | | DestinationPort = 4088 | | | | VerificationTag = 2722931802 | | | | Checksum = 3628440188 calc(3628440188) | | | CHUNK_COOKIE_ECHO (length:232) | | | | Type = 10 | | | | Flags = 0 | | | | Length = 232 | | | | Cookie = | | | | 4556a1ac 94568807 dce37f5f 7c466f2e 00000000 00000000 00000000 00000000 | | | | 00000000 5aa44ca2 01000000 00000000 00000000 78929449 d4d70800 0a006400 | | | | b4cda7e3 0a000c10 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | f80f0100 00000000 80020024 811dd4f0 0a5bbac2 36e2fbb1 0359815b 4c986708 | | | | ff4f0f38 a4ac3512 f84412e7 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 = 4088 | | | | DestinationPort = 3088 | | | | VerificationTag = 1 | | | | Checksum = 4004942694 calc(4004942694) | | | 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 = 3088 | | | | DestinationPort = 4088 | | | | VerificationTag = 2722931802 | | | | Checksum = 3860306677 calc(3860306677) | | | CHUNK_SHUTDOWN (length:8) | | | | Type = 7 | | | | Flags = 0 | | | | Length = 8 | | | | TSN = 3819425203
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 = 4088 | | | | DestinationPort = 3088 | | | | VerificationTag = 1 | | | | Checksum = 3611275524 calc(3611275524) | | | 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 = 3088 | | | | DestinationPort = 4088 | | | | VerificationTag = 2722931903 | | | | Checksum = 2932528413 calc(2932528413) | | | CHUNK_SHUTDOWN_COMPLETE (length:4) | | | | Type = 14 | | | | Reserved = 0 | | | | TFlag = 0 | | | | Length = 4
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 = 4088 | | | | DestinationPort = 3088 | | | | VerificationTag = 1 | | | | Checksum = 3611275524 calc(3611275524) | | | 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 = 3088 | | | | DestinationPort = 4088 | | | | VerificationTag = 2722931903 | | | | Checksum = 3495466168 calc(3495466168) | | | CHUNK_SHUTDOWN_COMPLETE (length:4) | | | | Type = 14 | | | | Reserved = 0 | | | | TFlag = 1 | | | | Length = 4
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 = 4088 | | | | DestinationPort = 3088 | | | | VerificationTag = 1 | | | | Checksum = 3611275524 calc(3611275524) | | | 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 = 3088 | | | | DestinationPort = 4088 | | | | VerificationTag = 2722931802 | | | | Checksum = 231053738 calc(231053738) | | | CHUNK_SHUTDOWN_COMPLETE (length:4) | | | | Type = 14 | | | | Reserved = 0 | | | | TFlag = 0 | | | | Length = 4