Title | Authentication Chunk is received with chunk length less than AUTH chunk header |
CommandLine | ./AuthWithBadChunkLength.seq -pkt ./AuthWithBadChunkLength.def -log 12.html -ti Authentication Chunk is received with chunk length less than AUTH chunk header |
TestVersion | REL_1_0_0 |
ToolVersion | REL_3_1_0 |
Start | 2009/02/12 18:50:12 |
Tn | .//../etc//tn.def |
Nu | .//../etc//nut.def |
Pkt | ./AuthWithBadChunkLength.def |
System | linux-v6 |
TargetName | RHEL5GA |
HostName | FNST |
Type | IPv6 |
18:50:13 | Start |
18:50:13 | Start Capturing Packets (Link0) |
=============== sctpCheckEnv =============== | |
18:50:13 |
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 4260 -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 [~.~. ~. Disconnected. |
============= sctpPing6ToHost ============== | |
18:50:22 |
vSend(Link0,echo_request_on_link0) Send Echo Request on Link0 |
18:50:22 | vRecv(Link0,echo_reply_on_link0 ns_on_link0 ns_on_link0_gl) timeout:5 cntLimit:0 seektime:0 Recv Neighbor Solicitation on Link0 (Global) |
18:50:22 |
vSend(Link0,na_on_link0_gl) Send Neighbor Advertisement on Link0 (Global) |
18:50:22 | vRecv(Link0,echo_reply_on_link0) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 18:50:16 recv unexpect packet at 18:50:17 recv unexpect packet at 18:50:22 Recv Echo Reply on Link0 |
============== sctpStartServer ============= | |
18:50:22 |
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 4261 -T -l -x 1 -X 1 > /tmp/tstcmd.log 2>&1 &" ''
Connected. [root@RHEL ~]# [root@RHEL ~]# sctp_test -H 3ffe:5~. Disconnected. |
=============== vConnectAuth =============== | |
18:50:26 |
vSend(Link0,sctp_chunk_init_auth_snd) Send SCTP CHUNK_INIT |
18:50:26 | 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:50:27 |
vSend(Link0,sctp_chunk_cookie_echo_snd) Send SCTP CHUNK_COOKIE_ECHO |
18:50:27 | 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:50:27 |
vSend(Link0,sctp_chunk_auth_bad_len) !!! unable decode TSN size(4,0) ,in CHUNK_DATA at(4,0)/size(4) Send SCTP CHUNK_AUTH (Bad Chunk Length) |
18:50:27 | vRecv(Link0,sctp_chunk_abort ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_ABORT (Protocol Violation) |
OK | |
18:50:27 | 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:86) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::20c:29ff:fe0f:1734 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 26502 calc(26502) | | | Reserved = 0 | | | TargetAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:c:29:f:17:34 ===echo_reply_on_link0================================= ng compare _HDR_IPV6_echo_reply_on_link0.SourceAddress received:fe80::20c:29ff:fe0f:1734 = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 ng meta Packet_IPv6.ICMPv6_EchoReply != Packet_IPv6.ICMPv6_NS ===ns_on_link0================================= ng compare _HDR_IPV6_ns_on_link0.DestinationAddress received:3ffe:501:ffff:100:200:ff:fe00:100 = oneof(tnv6(),v6merge("FF02:0:0:0:0:1:FF00:0000",104,tnv6())) ng compare _ICMPV6_ns_on_link0.TargetAddress received:3ffe:501:ffff:100:200:ff:fe00:100 = fe80::200:ff:fe00:100 ===ns_on_link0_gl=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | DestinationAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | ICMPv6_NA (length:32) | | | Type = 136 | | | Code = 0 | | | Checksum = 64854 calc(64854) | | | RFlag = 0 | | | SFlag = 1 | | | OFlag = 1 | | | Reserved = 0 | | | TargetAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | Opt_ICMPv6_TLL (length:8) | | | | Type = 2 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:0:0:1:0
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::20c:29ff:fe0f:1734 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 26502 calc(26502) | | | Reserved = 0 | | | TargetAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:c:29:f:17:34 ===echo_reply_on_link0================================= ng compare _HDR_IPV6_echo_reply_on_link0.SourceAddress received:fe80::20c:29ff:fe0f:1734 = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 ng meta Packet_IPv6.ICMPv6_EchoReply != Packet_IPv6.ICMPv6_NS
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::20c:29ff:fe0f:1734 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 26502 calc(26502) | | | Reserved = 0 | | | TargetAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:c:29:f:17:34 ===echo_reply_on_link0================================= ng compare _HDR_IPV6_echo_reply_on_link0.SourceAddress received:fe80::20c:29ff:fe0f:1734 = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 ng meta Packet_IPv6.ICMPv6_EchoReply != Packet_IPv6.ICMPv6_NS
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:ff:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | | DestinationAddress = ff02::1:ff00:100 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 26882 calc(26882) | | | Reserved = 0 | | | TargetAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:c:29:f:17:34 ===echo_reply_on_link0================================= ng compare _HETHER_nut2tn.DestinationAddress received:33:33:ff:0:1:0 = 0:0:0:0:1:0 ng compare _HDR_IPV6_echo_reply_on_link0.DestinationAddress received:ff02::1:ff00:100 = 3ffe:501:ffff:100:200:ff:fe00:100 ng meta Packet_IPv6.ICMPv6_EchoReply != Packet_IPv6.ICMPv6_NS
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:146) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:132) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 92 | | | 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:92) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3261 | | | | DestinationPort = 4261 | | | | VerificationTag = 0 | | | | Checksum = 2081455585 calc(2081455585) | | | CHUNK_INIT (length:80) | | | | Type = 1 | | | | Flags = 0 | | | | Length = 80 | | | | InitiateTag = 1 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 100 | | | | NumOfInbound = 65535 | | | | TSN = 100 | | | | Random (length:36) | | | | | Type = 32770 | | | | | Length = 36 | | | | | RandomNumber = | | | | | 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | | | | ChunkList (length:8) | | | | | Type = 32771 | | | | | Length = 6 | | | | | ChunkType = 193 | | | | | ChunkType = 128 | | | | | Padding = 0000 | | | | RequestedHMACAlgorithm (length:8) | | | | | Type = 32772 | | | | | Length = 8 | | | | | HMACIdentifier = 1 | | | | | HMACIdentifier = 3 | | | | SupportedExtensions (length:8) | | | | | Type = 32776 | | | | | Length = 7 | | | | | ChunkType = 15 | | | | | ChunkType = 193 | | | | | ChunkType = 128 | | | | | Padding = 00
Frame_Ether (length:414) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:400) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 2 | | | FlowLabel = 0 | | | PayloadLength = 360 | | | 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:360) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4261 | | | | DestinationPort = 3261 | | | | VerificationTag = 1 | | | | Checksum = 1305391476 calc(1305391476) | | | CHUNK_INIT_ACK (length:348) | | | | Type = 2 | | | | Flags = 0 | | | | Length = 348 | | | | InitiateTag = 1215107428 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 100 | | | | TSN = 3114058164 | | | | StaleCookie (length:264) | | | | | Type = 7 | | | | | Length = 264 | | | | | Cookie = | | | | | 4d8631bb 5ba2f334 41383603 2eb3ccb5 00000000 00000000 00000000 00000000 | | | | | 00000000 64116d48 01000000 00000000 00000000 a5b69449 3ca40500 0a006400 | | | | | b4c19cb9 0a000cbd 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | | a5100000 00000000 80020024 1a57c4a0 f0cbbdc2 7879f248 86a683a8 43487b98 | | | | | f80486c1 8f91219c 2f8238dc 80040006 00018003 00040000 00000000 00000000 | | | | | 00000000 00000000 00000000 01000050 00000001 0000d600 0064ffff 00000064 | | | | | 80020024 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | | | | | 00000000 80030006 c1800000 80040008 00010003 80080007 0fc18000 00000000 | | | | | 00000000 | | | | SupportedExtensions (length:8) | | | | | Type = 32776 | | | | | Length = 5 | | | | | ChunkType = 15 | | | | | Padding = 000000 | | | | AdaptationLayerIndication (length:8) | | | | | Type = 49158 | | | | | Length = 8 | | | | | Indication = 0 | | | | Random (length:36) | | | | | Type = 32770 | | | | | Length = 36 | | | | | RandomNumber = | | | | | 1a57c4a0 f0cbbdc2 7879f248 86a683a8 43487b98 f80486c1 8f91219c 2f8238dc | | | | RequestedHMACAlgorithm (length:8) | | | | | Type = 32772 | | | | | Length = 6 | | | | | HMACIdentifier = 1 | | | | | Padding = 0000 | | | | ChunkList (length:4) | | | | | Type = 32771 | | | | | Length = 4 ===sctp_chunk_init_ack_rcv=================================
Frame_Ether (length:330) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:316) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 276 | | | 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:276) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3261 | | | | DestinationPort = 4261 | | | | VerificationTag = 1215107428 | | | | Checksum = 2165854670 calc(2165854670) | | | CHUNK_COOKIE_ECHO (length:264) | | | | Type = 10 | | | | Flags = 0 | | | | Length = 264 | | | | Cookie = | | | | 4d8631bb 5ba2f334 41383603 2eb3ccb5 00000000 00000000 00000000 00000000 | | | | 00000000 64116d48 01000000 00000000 00000000 a5b69449 3ca40500 0a006400 | | | | b4c19cb9 0a000cbd 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | a5100000 00000000 80020024 1a57c4a0 f0cbbdc2 7879f248 86a683a8 43487b98 | | | | f80486c1 8f91219c 2f8238dc 80040006 00018003 00040000 00000000 00000000 | | | | 00000000 00000000 00000000 01000050 00000001 0000d600 0064ffff 00000064 | | | | 80020024 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | | | | 00000000 80030006 c1800000 80040008 00010003 80080007 0fc18000 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 = 4261 | | | | DestinationPort = 3261 | | | | VerificationTag = 1 | | | | Checksum = 684045951 calc(684045951) | | | CHUNK_COOKIE_ACK (length:4) | | | | Type = 11 | | | | Flags = 0 | | | | Length = 4 ===sctp_chunk_cookie_ack_rcv=================================
Frame_Ether (length:94) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:80) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 40 | | | 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:40) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3261 | | | | DestinationPort = 4261 | | | | VerificationTag = 1215107428 | | | | Checksum = 2126245432 calc() | | | CHUNK_AUTH (length:8) | | | | Type = 15 | | | | Flags = 0 | | | | Length = 8 | | | | SharedKeyIdentifier = 0 | | | | HMACIdentifier = 1 | | | | HMAC = | | | CHUNK_DATA (length:4) | | | | Type = 0 | | | | Reserved = 0 | | | | IFlag = 0 | | | | UFlag = 0 | | | | BFlag = 0 | | | | EFlag = 0 | | | | Length = 0 | | | [Needless] (length:16) | | | | data = 00000000 00000000 00000000 00000000
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 = 4261 | | | | DestinationPort = 3261 | | | | VerificationTag = 1 | | | | Checksum = 3218265849 calc(3218265849) | | | 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 000f0008 ===sctp_chunk_abort=================================