| Title | Generation of error cause Protocol Violation (Invalid Chunk Length) |
| CommandLine | ./GEN_InvalidChunkLen.seq -pkt ./GEN_InvalidChunkLen.def -log 11.html -ti Generation of error cause Protocol Violation (Invalid Chunk Length) |
| TestVersion | REL_1_0_0 |
| ToolVersion | REL_3_1_0 |
| Start | 2009/02/12 16:24:40 |
| Tn | .//../etc//tn.def |
| Nu | .//../etc//nut.def |
| Pkt | ./GEN_InvalidChunkLen.def |
| System | linux-v6 |
| TargetName | RHEL5GA |
| HostName | FNST |
| Type | IPv6 |
| 16:24:41 | Start |
| 16:24:41 | Start Capturing Packets (Link0) |
| =============== sctpCheckEnv =============== | |
| 16:24:41 |
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 4108 -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@R~.~. ~. Disconnected. |
| ============= sctpPing6ToHost ============== | |
| 16:24:50 |
vSend(Link0,echo_request_on_link0) Send Echo Request on Link0 |
| 16:24:50 | 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) |
| 16:24:51 |
vSend(Link0,na_on_link0_gl) Send Neighbor Advertisement on Link0 (Global) |
| 16:24:51 | vRecv(Link0,echo_reply_on_link0) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 16:24:43 recv unexpect packet at 16:24:44 recv unexpect packet at 16:24:50 Recv Echo Reply on Link0 |
| ============== sctpStartClient ============= | |
| 16:24:51 |
vRemote(rcommandasync.rmt) ``/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 cmd="sleep 5 && sctp_test -H 3ffe:501:ffff:100:020c:29ff:fe0f:1734 -P 4109 -h 3ffe:501:ffff:100:0200:00ff:fe00:0100 -p 3109 -T -s -c -1352 -X 1 -x 1 -o 1 > /tmp/tstcmd.log 2>&1 &" ''
Connected. [root@RHEL ~]# [root@RHEL ~]# sleep 5 && sctp_test -H 3ffe:501:ffff:100:020c:29ff:fe0f:1734 -P 4109 -h 3ffe:501:ffff:100:0200:00ff:fe00:0~. Disconnected. |
| ================ Main Test ================= | |
| 16:24:55 | vRecv(Link0,sctp_chunk_init_rcv ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0 recv unexpect packet at 16:24:51 Recv SCTP CHUNK_INIT |
| 16:24:57 |
vSend(Link0,sctp_chunk_init_ack_bad_len) !!! "./GEN_InvalidChunkLen.def", line 48: warning: chunk_init_ack_bad_len alignment requirement(4) need 2 pad in !!! unable decode NumOfOutbound size(2,0) ,in CHUNK_INIT_ACK at(12,0)/size(12) Send SCTP CHUNK_INIT_ACK (Invalid Chunk Length) |
| 16:24:57 | vRecv(Link0,sctp_chunk_abort_bad_len ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_ABORT (Protocol Violation - Invalid Chunk Length) |
| OK | |
| 16:24:57 | 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 = 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 ===ns_on_link0================================= ng compare _HDR_IPV6_ns_on_link0.SourceAddress received:3ffe:501:ffff:100:20c:29ff:fe0f:1734 = fe80::20c:29ff:fe0f:1734 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 = 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: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: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:74)
| Hdr_Ether (length:14)
| | DestinationAddress = 0:0:0:0:1:0
| | SourceAddress = 0:c:29:f:17:34
| | Type = 34525
| Packet_IPv6 (length:60)
| | Hdr_IPv6 (length:40)
| | | Version = 6
| | | TrafficClass = 2
| | | FlowLabel = 0
| | | PayloadLength = 20
| | | 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:20)
| | | Hdr_SCTP (length:12)
| | | | SourcePort = 4108
| | | | DestinationPort = 3108
| | | | VerificationTag = 1
| | | | Checksum = 3930937710 calc(3930937710)
| | | CHUNK_SHUTDOWN (length:8)
| | | | Type = 7
| | | | Flags = 0
| | | | Length = 8
| | | | TSN = 99
===sctp_chunk_init_rcv=================================
ng compare _HDR_SCTP_sctp_chunk_init_rcv.SourcePort received:4108 = 4109
ng compare _HDR_SCTP_sctp_chunk_init_rcv.DestinationPort received:3108 = 3109
ng compare _HDR_SCTP_sctp_chunk_init_rcv.VerificationTag received:1 = 0
ng meta Upp_SCTP.CHUNK_INIT != Upp_SCTP.CHUNK_SHUTDOWN
===ns_on_link0=================================
ng compare _HDR_IPV6_ns_on_link0.NextHeader received:132 = 58
ng compare _HDR_IPV6_ns_on_link0.HopLimit received:64 = 255
ng compare _HDR_IPV6_ns_on_link0.SourceAddress received:3ffe:501:ffff:100:20c:29ff:fe0f:1734 = fe80::20c:29ff:fe0f:1734
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 meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Upp_SCTP
===ns_on_link0_gl=================================
ng compare _HDR_IPV6_ns_on_link0_gl.NextHeader received:132 = 58
ng compare _HDR_IPV6_ns_on_link0_gl.HopLimit received:64 = 255
ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Upp_SCTP
Frame_Ether (length:110) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:96) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 2 | | | FlowLabel = 0 | | | PayloadLength = 56 | | | 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:56) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4109 | | | | DestinationPort = 3109 | | | | VerificationTag = 0 | | | | Checksum = 1475998800 calc(1475998800) | | | CHUNK_INIT (length:44) | | | | Type = 1 | | | | Flags = 0 | | | | Length = 44 | | | | InitiateTag = 1580490103 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 65535 | | | | TSN = 2772217577 | | | | SupportAddress (length:8) | | | | | Type = 12 | | | | | Length = 8 | | | | | AddrType = 6 | | | | | AddrType = 5 | | | | 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_rcv=================================
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | 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:24) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3109 | | | | DestinationPort = 4109 | | | | VerificationTag = 1580490103 | | | | Checksum = 3873836220 calc() | | | CHUNK_INIT_ACK (length:12) | | | | Type = 2 | | | | Flags = 0 | | | | Length = 12 | | | | InitiateTag = 1 | | | | AdvRecvWindow = 54784
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 = 4109 | | | | DestinationPort = 3109 | | | | VerificationTag = 1580490103 | | | | Checksum = 2297712809 calc(2297712809) | | | CHUNK_ABORT (length:52) | | | | Type = 6 | | | | Reserved = 0 | | | | TFlag = 1 | | | | Length = 52 | | | | ProtocolViolation (length:48) | | | | | Code = 13 | | | | | Length = 48 | | | | | Information = | | | | | 54686520 666f6c6c 6f77696e 67206368 756e6b20 68616420 696e7661 6c696420 | | | | | 6c656e67 74683a00 0002000c ===sctp_chunk_abort_bad_len=================================