Title | SHUTDOWN chunk is received with invalid Verification Tag |
CommandLine | ./ShutWithBadTag.seq -pkt ./ShutWithBadTag.def -log 44.html -ti SHUTDOWN chunk is received with invalid Verification Tag |
TestVersion | REL_1_0_0 |
ToolVersion | REL_3_1_0 |
Start | 2009/02/12 16:19:41 |
Tn | .//../etc//tn.def |
Nu | .//../etc//nut.def |
Pkt | ./ShutWithBadTag.def |
System | linux-v6 |
TargetName | RHEL5GA |
HostName | FNST |
Type | IPv6 |
16:19:42 | Start |
16:19:42 | Start Capturing Packets (Link0) |
=============== sctpCheckEnv =============== | |
16:19:42 |
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 4096 -h 3ffe:501:ffff:100:0200:00ff:fe00:0100 -p 3096 -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 ============== | |
16:19:51 |
vSend(Link0,echo_request_on_link0) Send Echo Request on Link0 |
16:19:51 | 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:19:51 |
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 4097 -T -l -x 1 -X 1 > /tmp/tstcmd.log 2>&1 &" ''
Connected. [root@RHEL ~]# [root@RHEL ~]# sctp_test -H 3ffe:501:ffff:100:02~. Disconnected. |
================= vConnect ================= | |
16:19:55 |
vSend(Link0,sctp_chunk_init_snd) Send SCTP CHUNK_INIT |
16:19:55 | 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:19:55 |
vSend(Link0,sctp_chunk_cookie_echo_snd) Send SCTP CHUNK_COOKIE_ECHO |
16:19:56 | 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 ================= | |
16:19:56 |
vSend(Link0,sctp_chunk_shutdown_bad_tag) Send SCTP CHUNK_SHUTDOWN (with invalid Verification Tag) |
16:19:56 | vRecv(Link0,sctp_chunk_any_rcv ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0 vRecv() return status=1 |
================== vClose ================== | |
16:20:06 |
vSend(Link0,sctp_chunk_shutdown_snd) Send SCTP CHUNK_SHUTDOWN |
16:20:06 | 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 |
16:20:06 |
vSend(Link0,sctp_chunk_shutdown_complete_snd) Send SCTP CHUNK_SHUTDOWN_COMPLETE |
OK | |
16:20:06 | 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 = 3097 | | | | DestinationPort = 4097 | | | | VerificationTag = 0 | | | | Checksum = 3711320282 calc(3711320282) | | | 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 = 4097 | | | | DestinationPort = 3097 | | | | VerificationTag = 1 | | | | Checksum = 94536511 calc(94536511) | | | CHUNK_INIT_ACK (length:268) | | | | Type = 2 | | | | Flags = 0 | | | | Length = 268 | | | | InitiateTag = 2956851712 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 100 | | | | TSN = 2874150227 | | | | StaleCookie (length:232) | | | | | Type = 7 | | | | | Length = 232 | | | | | Cookie = | | | | | a35fb20b e6fc35b3 3b7396e5 efa14a55 00000000 00000000 00000000 00000000 | | | | | 00000000 00fa3db0 01000000 00000000 00000000 3e939449 c7e80b00 0a006400 | | | | | 530d50ab 0a000c19 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | | 01100100 00000000 80020024 267b237d 5c611a64 731951e6 46c44e77 13aa8b48 | | | | | 6b696c55 2d4f4a39 e3581637 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 = 3097 | | | | DestinationPort = 4097 | | | | VerificationTag = 2956851712 | | | | Checksum = 738695275 calc(738695275) | | | CHUNK_COOKIE_ECHO (length:232) | | | | Type = 10 | | | | Flags = 0 | | | | Length = 232 | | | | Cookie = | | | | a35fb20b e6fc35b3 3b7396e5 efa14a55 00000000 00000000 00000000 00000000 | | | | 00000000 00fa3db0 01000000 00000000 00000000 3e939449 c7e80b00 0a006400 | | | | 530d50ab 0a000c19 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | 01100100 00000000 80020024 267b237d 5c611a64 731951e6 46c44e77 13aa8b48 | | | | 6b696c55 2d4f4a39 e3581637 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 = 4097 | | | | DestinationPort = 3097 | | | | VerificationTag = 1 | | | | Checksum = 403747290 calc(403747290) | | | 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 = 3097 | | | | DestinationPort = 4097 | | | | VerificationTag = 2956851813 | | | | Checksum = 508775805 calc(508775805) | | | CHUNK_SHUTDOWN (length:8) | | | | Type = 7 | | | | Flags = 0 | | | | Length = 8 | | | | TSN = 2874150226
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 = 3097 | | | | DestinationPort = 4097 | | | | VerificationTag = 2956851712 | | | | Checksum = 1707451780 calc(1707451780) | | | CHUNK_SHUTDOWN (length:8) | | | | Type = 7 | | | | Flags = 0 | | | | Length = 8 | | | | TSN = 2874150226
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 = 4097 | | | | DestinationPort = 3097 | | | | VerificationTag = 1 | | | | Checksum = 563712952 calc(563712952) | | | 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 = 3097 | | | | DestinationPort = 4097 | | | | VerificationTag = 2956851712 | | | | Checksum = 2585908931 calc(2585908931) | | | CHUNK_SHUTDOWN_COMPLETE (length:4) | | | | Type = 14 | | | | Reserved = 0 | | | | TFlag = 0 | | | | Length = 4