Title | OOTB SHUTDOWN chunk is received with chunk length set to zero |
CommandLine | ./OotbShutWithZeroLength.seq -pkt ./OotbShutWithZeroLength.def -log 2.html -ti OOTB SHUTDOWN chunk is received with chunk length set to zero |
TestVersion | REL_1_0_0 |
ToolVersion | REL_3_1_0 |
Start | 2009/02/13 13:51:39 |
Tn | .//../etc//tn.def |
Nu | .//../etc//nut.def |
Pkt | ./OotbShutWithZeroLength.def |
System | linux-v6 |
TargetName | RHEL5GA |
HostName | FNST |
Type | IPv4 |
13:51:40 | Start |
13:51:40 | Start Capturing Packets (Link0) |
=============== sctpCheckEnv =============== | |
13:51:40 |
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 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 [root@RH~.~. ~. Disconnected. |
============== sctpPingToHost ============== | |
13:51:49 |
vSend(Link0,echo4_request_on_link0) Send Echo Request on Link0 |
13:51:49 | vRecv(Link0,echo4_reply_on_link0 arp_request_on_link0) timeout:5 cntLimit:0 seektime:0 Recv ARP Request on Link0 |
13:51:50 |
vSend(Link0,arp_reply_on_link0) Send ARP Reply on Link0 |
13:51:50 | vRecv(Link0,echo4_reply_on_link0) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 13:51:43 recv unexpect packet at 13:51:44 recv unexpect packet at 13:51:49 Recv Echo Reply on Link0 |
================ Main Test ================= | |
13:51:50 |
vSend(Link0,sctp_chunk_shutdown_bad_len) !!! unable decode TSN size(4,0) ,in CHUNK_SHUTDOWN at(4,0)/size(4) Send SCTP CHUNK_SHUTDOWN (Chunk Length is set to zero) |
13:51:50 | vRecv(Link0,sctp_chunk_abort arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0 Recv SCTP CHUNK_ABORT (Protocol Violation) |
=============== sctpCheckEnv =============== | |
13:51:50 |
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 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. |
============== sctpPingToHost ============== | |
13:51:59 |
vSend(Link0,echo4_request_on_link0) Send Echo Request on Link0 |
13:51:59 | vRecv(Link0,echo4_reply_on_link0 arp_request_on_link0) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 13:51:57 recv unexpect packet at 13:51:57 Recv Echo Reply on Link0 |
OK | |
13:51:59 | End |
Frame_Ether (length:66) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2048 | Packet_IPv4 (length:52) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 52 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 1 | | | HeaderChecksum = 14847 calc(14847) | | | SourceAddress = 192.168.0.100 | | | DestinationAddress = 192.168.0.21 | | ICMPv4_EchoRequest (length:32) | | | Type = 8 | | | Code = 0 | | | Checksum = 50238 calc(50238) | | | Identifier = 65535 | | | SequenceNumber = 1 | | | Payload (length:24) | | | | data = | | | | 4563686f 44617461 4563686f 44617461 4563686f 44617461
Frame_Ether (length:60) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2054 | Packet_ARP (length:28) | | Hdr_ARP (length:28) | | | Hardware = 1 | | | Protocol = 2048 | | | HLEN = 6 | | | PLEN = 4 | | | Operation = 1 | | | SenderHAddr = 0:c:29:f:17:34 | | | SenderPAddr = 192.168.0.21 | | | TargetHAddr = 0:0:0:0:0:0 | | | TargetPAddr = 192.168.0.100 | [Needless] (length:18) | | data = | | 00000000 00000000 00000000 00000000 0000 ===echo4_reply_on_link0================================= ng compare _HETHER_nut2tn.Type received:2054 = 2048 ng meta Frame_Ether.Packet_IPv4 != Frame_Ether.Packet_ARP ===arp_request_on_link0=================================
Frame_Ether (length:42) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2054 | Packet_ARP (length:28) | | Hdr_ARP (length:28) | | | Hardware = 1 | | | Protocol = 2048 | | | HLEN = 6 | | | PLEN = 4 | | | Operation = 2 | | | SenderHAddr = 0:0:0:0:1:0 | | | SenderPAddr = 192.168.0.100 | | | TargetHAddr = 0:c:29:f:17:34 | | | TargetPAddr = 192.168.0.21
Frame_Ether (length:60) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2054 | Packet_ARP (length:28) | | Hdr_ARP (length:28) | | | Hardware = 1 | | | Protocol = 2048 | | | HLEN = 6 | | | PLEN = 4 | | | Operation = 1 | | | SenderHAddr = 0:c:29:f:17:34 | | | SenderPAddr = 192.168.0.21 | | | TargetHAddr = 0:0:0:0:0:0 | | | TargetPAddr = 192.168.0.100 | [Needless] (length:18) | | data = | | 00000000 00000000 00000000 00000000 0000 ===echo4_reply_on_link0================================= ng compare _HETHER_nut2tn.Type received:2054 = 2048 ng meta Frame_Ether.Packet_IPv4 != Frame_Ether.Packet_ARP
Frame_Ether (length:60) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2054 | Packet_ARP (length:28) | | Hdr_ARP (length:28) | | | Hardware = 1 | | | Protocol = 2048 | | | HLEN = 6 | | | PLEN = 4 | | | Operation = 1 | | | SenderHAddr = 0:c:29:f:17:34 | | | SenderPAddr = 192.168.0.21 | | | TargetHAddr = 0:0:0:0:0:0 | | | TargetPAddr = 192.168.0.100 | [Needless] (length:18) | | data = | | 00000000 00000000 00000000 00000000 0000 ===echo4_reply_on_link0================================= ng compare _HETHER_nut2tn.Type received:2054 = 2048 ng meta Frame_Ether.Packet_IPv4 != Frame_Ether.Packet_ARP
Frame_Ether (length:60) | Hdr_Ether (length:14) | | DestinationAddress = ff:ff:ff:ff:ff:ff | | SourceAddress = 0:c:29:f:17:34 | | Type = 2054 | Packet_ARP (length:28) | | Hdr_ARP (length:28) | | | Hardware = 1 | | | Protocol = 2048 | | | HLEN = 6 | | | PLEN = 4 | | | Operation = 1 | | | SenderHAddr = 0:c:29:f:17:34 | | | SenderPAddr = 192.168.0.21 | | | TargetHAddr = 0:0:0:0:0:0 | | | TargetPAddr = 192.168.0.100 | [Needless] (length:18) | | data = | | 00000000 00000000 00000000 00000000 0000 ===echo4_reply_on_link0================================= ng compare _HETHER_nut2tn.DestinationAddress received:ff:ff:ff:ff:ff:ff = 0:0:0:0:1:0 ng compare _HETHER_nut2tn.Type received:2054 = 2048 ng meta Frame_Ether.Packet_IPv4 != Frame_Ether.Packet_ARP
Frame_Ether (length:66) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:52) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 52 | | | Identifier = 22728 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 1 | | | HeaderChecksum = 41015 calc(41015) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | ICMPv4_EchoReply (length:32) | | | Type = 0 | | | Code = 0 | | | Checksum = 52286 calc(52286) | | | Identifier = 65535 | | | SequenceNumber = 1 | | | Payload (length:24) | | | | data = | | | | 4563686f 44617461 4563686f 44617461 4563686f 44617461 ===echo4_reply_on_link0=================================
Frame_Ether (length:54) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2048 | Packet_IPv4 (length:40) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 40 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 132 | | | HeaderChecksum = 14728 calc(14728) | | | SourceAddress = 192.168.0.100 | | | DestinationAddress = 192.168.0.21 | | Upp_SCTP (length:20) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3569 | | | | DestinationPort = 4569 | | | | VerificationTag = 4294967295 | | | | Checksum = 2536743179 calc() | | | CHUNK_SHUTDOWN (length:4) | | | | Type = 7 | | | | Flags = 0 | | | | Length = 0 | | | [Needless] (length:4) | | | | data = 00000001
Frame_Ether (length:98) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:84) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 84 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 47194 calc(47194) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:64) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4569 | | | | DestinationPort = 3569 | | | | VerificationTag = 4294967295 | | | | Checksum = 1792300149 calc(1792300149) | | | 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 00070000 ===sctp_chunk_abort=================================
Frame_Ether (length:66) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2048 | Packet_IPv4 (length:52) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 52 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 1 | | | HeaderChecksum = 14847 calc(14847) | | | SourceAddress = 192.168.0.100 | | | DestinationAddress = 192.168.0.21 | | ICMPv4_EchoRequest (length:32) | | | Type = 8 | | | Code = 0 | | | Checksum = 50238 calc(50238) | | | Identifier = 65535 | | | SequenceNumber = 1 | | | Payload (length:24) | | | | data = | | | | 4563686f 44617461 4563686f 44617461 4563686f 44617461
Frame_Ether (length:255) | Hdr_Ether (length:14) | | DestinationAddress = ff:ff:ff:ff:ff:ff | | SourceAddress = 0:c:29:23:a7:b4 | | Type = 2048 | Packet_IPv4 (length:241) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 241 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 17 | | | HeaderChecksum = 47001 calc(47001) | | | SourceAddress = 192.168.0.19 | | | DestinationAddress = 192.168.0.255 | | Upp_UDP (length:221) | | | Hdr_UDP (length:8) | | | | SourcePort = 138 | | | | DestinationPort = 138 | | | | Length = 221 | | | | Checksum = 9089 calc(9089) | | | Payload (length:213) | | | | data = | | | | 110a47df c0a80013 008a00c7 00002046 43454945 46454d43 41434143 41434143 | | | | 41434143 41434143 41434143 41414100 20454e46 4a454846 43455046 46464143 | | | | 41434143 41434143 41434143 41434142 4f00ff53 4d422500 00000000 00000000 | | | | 00000000 00000000 00000000 00000000 00001100 002d0000 00000000 00000000 | | | | 00000000 00000000 002d0056 00030001 00010002 003e005c 4d41494c 534c4f54 | | | | 5c42524f 57534500 0fb880fc 0a005248 454c0000 00000000 00000000 00000409 | | | | 039a8400 0f0155aa 53616d62 61205365 72766572 00 ===echo4_reply_on_link0================================= ng compare _HETHER_nut2tn.DestinationAddress received:ff:ff:ff:ff:ff:ff = 0:0:0:0:1:0 ng compare _HETHER_nut2tn.SourceAddress received:0:c:29:23:a7:b4 = 0:c:29:f:17:34 ng compare _HDR_IPV4_echo4_reply_on_link0.Protocol received:17 = 1 ng compare _HDR_IPV4_echo4_reply_on_link0.SourceAddress received:192.168.0.19 = 192.168.0.21 ng compare _HDR_IPV4_echo4_reply_on_link0.DestinationAddress received:192.168.0.255 = 192.168.0.100 ng meta Packet_IPv4.ICMPv4_EchoReply != Packet_IPv4.Upp_UDP ===arp_request_on_link0================================= ng compare _HETHER_nut2local4.SourceAddress received:0:c:29:23:a7:b4 = 0:c:29:f:17:34 ng compare _HETHER_nut2local4.Type received:2048 = 2054 ng meta Frame_Ether.Packet_ARP != Frame_Ether.Packet_IPv4
Frame_Ether (length:247) | Hdr_Ether (length:14) | | DestinationAddress = ff:ff:ff:ff:ff:ff | | SourceAddress = 0:c:29:23:a7:b4 | | Type = 2048 | Packet_IPv4 (length:233) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 233 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 17 | | | HeaderChecksum = 47009 calc(47009) | | | SourceAddress = 192.168.0.19 | | | DestinationAddress = 192.168.0.255 | | Upp_UDP (length:213) | | | Hdr_UDP (length:8) | | | | SourcePort = 138 | | | | DestinationPort = 138 | | | | Length = 213 | | | | Checksum = 37860 calc(37860) | | | Payload (length:205) | | | | data = | | | | 110a47e0 c0a80013 008a00bf 00002046 43454945 46454d43 41434143 41434143 | | | | 41434143 41434143 41434143 41414100 20414241 43465046 50454e46 44454346 | | | | 43455046 48464445 46465046 50414341 4200ff53 4d422500 00000000 00000000 | | | | 00000000 00000000 00000000 00000000 00001100 00250000 00000000 00000000 | | | | 00000000 00000000 00250056 00030001 00010002 0036005c 4d41494c 534c4f54 | | | | 5c42524f 57534500 0cb880fc 0a004d59 47524f55 50000000 00000000 00000409 | | | | 00100080 0f0155aa 5248454c 00 ===echo4_reply_on_link0================================= ng compare _HETHER_nut2tn.DestinationAddress received:ff:ff:ff:ff:ff:ff = 0:0:0:0:1:0 ng compare _HETHER_nut2tn.SourceAddress received:0:c:29:23:a7:b4 = 0:c:29:f:17:34 ng compare _HDR_IPV4_echo4_reply_on_link0.Protocol received:17 = 1 ng compare _HDR_IPV4_echo4_reply_on_link0.SourceAddress received:192.168.0.19 = 192.168.0.21 ng compare _HDR_IPV4_echo4_reply_on_link0.DestinationAddress received:192.168.0.255 = 192.168.0.100 ng meta Packet_IPv4.ICMPv4_EchoReply != Packet_IPv4.Upp_UDP ===arp_request_on_link0================================= ng compare _HETHER_nut2local4.SourceAddress received:0:c:29:23:a7:b4 = 0:c:29:f:17:34 ng compare _HETHER_nut2local4.Type received:2048 = 2054 ng meta Frame_Ether.Packet_ARP != Frame_Ether.Packet_IPv4
Frame_Ether (length:66) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:52) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 52 | | | Identifier = 22729 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 1 | | | HeaderChecksum = 41014 calc(41014) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | ICMPv4_EchoReply (length:32) | | | Type = 0 | | | Code = 0 | | | Checksum = 52286 calc(52286) | | | Identifier = 65535 | | | SequenceNumber = 1 | | | Payload (length:24) | | | | data = | | | | 4563686f 44617461 4563686f 44617461 4563686f 44617461 ===echo4_reply_on_link0=================================