Title | HEARTBEAT chunk is received with invalid parameter length |
CommandLine | ./InvalidParamInHeartbeat.seq -pkt ./InvalidParamInHeartbeat.def -log 38.html -ti HEARTBEAT chunk is received with invalid parameter length |
TestVersion | REL_1_0_0 |
ToolVersion | REL_3_1_0 |
Start | 2009/02/13 13:41:01 |
Tn | .//../etc//tn.def |
Nu | .//../etc//nut.def |
Pkt | ./InvalidParamInHeartbeat.def |
System | linux-v6 |
TargetName | RHEL5GA |
HostName | FNST |
Type | IPv4 |
13:41:02 | Start |
13:41:02 | Start Capturing Packets (Link0) |
=============== sctpCheckEnv =============== | |
13:41:02 |
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 192.168.0.21 -P 4536 -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. |
============== sctpPingToHost ============== | |
13:41:11 |
vSend(Link0,echo4_request_on_link0) Send Echo Request on Link0 |
13:41:11 | vRecv(Link0,echo4_reply_on_link0 arp_request_on_link0) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 13:41:04 recv unexpect packet at 13:41:08 Recv Echo Reply on Link0 |
============== sctpStartServer ============= | |
13:41:11 |
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 192.168.0.21 -P 4537 -T -l -x 1 -X 1 > /tmp/tstcmd.log 2>&1 &" ''
Connected. [root@RHEL ~]# [root@RHEL ~]# sctp_t~. Disconnected. |
================= vConnect ================= | |
13:41:15 |
vSend(Link0,sctp_chunk_init_snd) Send SCTP CHUNK_INIT |
13:41:16 | vRecv(Link0,sctp_chunk_init_ack_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0 recv unexpect packet at 13:41:15 Recv SCTP CHUNK_INIT_ACK |
13:41:16 |
vSend(Link0,sctp_chunk_cookie_echo_snd) Send SCTP CHUNK_COOKIE_ECHO |
13:41:16 | vRecv(Link0,sctp_chunk_cookie_ack_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_COOKIE_ACK |
================ Main Test ================= | |
13:41:16 |
vSend(Link0,sctp_chunk_heartbeat_bad_plen) !!! unable decode HeartbeatInfo size(44,0) ,in CHUNK_HEARTBEAT at(4,0)/size(8) Send SCTP CHUNK_HEARTBEAT (with Invalid Parameter Length) |
13:41:16 | vRecv(Link0,sctp_chunk_abort_bad_plen arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0 !!! unable decode HeartbeatInfo size(44,0) ,in CHUNK_HEARTBEAT_ACK at(4,0)/size(8) recv unexpect packet at 13:41:16 vRecv() return status=1 |
Cannot receive SCTP CHUNK_ABORT NG |
|
13:41:26 | 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 = 2048 | Packet_IPv4 (length:40) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 40 | | | Identifier = 61679 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 51094 calc(51094) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:20) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4536 | | | | DestinationPort = 3536 | | | | VerificationTag = 1 | | | | Checksum = 1752898658 calc(1752898658) | | | CHUNK_SHUTDOWN (length:8) | | | | Type = 7 | | | | Flags = 0 | | | | Length = 8 | | | | TSN = 99 | [Needless] (length:6) | | data = 00000000 0000 ===echo4_reply_on_link0================================= ng compare _HDR_IPV4_echo4_reply_on_link0.Protocol received:132 = 1 ng meta Packet_IPv4.ICMPv4_EchoReply != Packet_IPv4.Upp_SCTP ===arp_request_on_link0================================= ng compare _HETHER_nut2local4.Type received:2048 = 2054 ng meta Frame_Ether.Packet_ARP != Frame_Ether.Packet_IPv4
Frame_Ether (length:60) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:40) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 40 | | | Identifier = 61680 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 51093 calc(51093) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:20) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4536 | | | | DestinationPort = 3536 | | | | VerificationTag = 1 | | | | Checksum = 1752898658 calc(1752898658) | | | CHUNK_SHUTDOWN (length:8) | | | | Type = 7 | | | | Flags = 0 | | | | Length = 8 | | | | TSN = 99 | [Needless] (length:6) | | data = 00000000 0000 ===echo4_reply_on_link0================================= ng compare _HDR_IPV4_echo4_reply_on_link0.Protocol received:132 = 1 ng meta Packet_IPv4.ICMPv4_EchoReply != Packet_IPv4.Upp_SCTP ===arp_request_on_link0================================= 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 = 22696 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 1 | | | HeaderChecksum = 41047 calc(41047) | | | 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:82) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2048 | Packet_IPv4 (length:68) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 68 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 132 | | | HeaderChecksum = 14700 calc(14700) | | | SourceAddress = 192.168.0.100 | | | DestinationAddress = 192.168.0.21 | | Upp_SCTP (length:48) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3537 | | | | DestinationPort = 4537 | | | | VerificationTag = 0 | | | | Checksum = 2523406741 calc(2523406741) | | | 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:60) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:40) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 40 | | | Identifier = 61681 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 51092 calc(51092) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:20) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4536 | | | | DestinationPort = 3536 | | | | VerificationTag = 1 | | | | Checksum = 1752898658 calc(1752898658) | | | CHUNK_SHUTDOWN (length:8) | | | | Type = 7 | | | | Flags = 0 | | | | Length = 8 | | | | TSN = 99 | [Needless] (length:6) | | data = 00000000 0000 ===sctp_chunk_init_ack_rcv================================= ng compare _HDR_SCTP_sctp_chunk_init_ack_rcv.SourcePort received:4536 = 4537 ng compare _HDR_SCTP_sctp_chunk_init_ack_rcv.DestinationPort received:3536 = 3537 ng meta Upp_SCTP.CHUNK_INIT_ACK != Upp_SCTP.CHUNK_SHUTDOWN ===arp_request_on_link0================================= ng compare _HETHER_nut2local4.Type received:2048 = 2054 ng meta Frame_Ether.Packet_ARP != Frame_Ether.Packet_IPv4
Frame_Ether (length:314) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:300) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 300 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 46978 calc(46978) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:280) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4537 | | | | DestinationPort = 3537 | | | | VerificationTag = 1 | | | | Checksum = 3073886790 calc(3073886790) | | | CHUNK_INIT_ACK (length:268) | | | | Type = 2 | | | | Flags = 0 | | | | Length = 268 | | | | InitiateTag = 268213372 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 100 | | | | TSN = 1311460184 | | | | StaleCookie (length:232) | | | | | Type = 7 | | | | | Length = 232 | | | | | Cookie = | | | | | 111cac6d dd9ee3cb 907ccafb 7eb86ced 00000000 00000000 00000000 00000000 | | | | | 00000000 7c9cfc0f 01000000 00000000 00000000 90c29549 d3160700 0a006400 | | | | | 584b2b4e 02000dd1 c0a80064 00000000 00000000 00000000 00000000 00000000 | | | | | b9110100 00000000 80020024 ace33ac2 b2af9fc1 867a2073 2ca92a5a 35f53393 | | | | | e4212953 aaadac88 aaa02263 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:278) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2048 | Packet_IPv4 (length:264) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 264 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 132 | | | HeaderChecksum = 14504 calc(14504) | | | SourceAddress = 192.168.0.100 | | | DestinationAddress = 192.168.0.21 | | Upp_SCTP (length:244) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3537 | | | | DestinationPort = 4537 | | | | VerificationTag = 268213372 | | | | Checksum = 1863886153 calc(1863886153) | | | CHUNK_COOKIE_ECHO (length:232) | | | | Type = 10 | | | | Flags = 0 | | | | Length = 232 | | | | Cookie = | | | | 111cac6d dd9ee3cb 907ccafb 7eb86ced 00000000 00000000 00000000 00000000 | | | | 00000000 7c9cfc0f 01000000 00000000 00000000 90c29549 d3160700 0a006400 | | | | 584b2b4e 02000dd1 c0a80064 00000000 00000000 00000000 00000000 00000000 | | | | b9110100 00000000 80020024 ace33ac2 b2af9fc1 867a2073 2ca92a5a 35f53393 | | | | e4212953 aaadac88 aaa02263 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:60) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:36) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 36 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 47242 calc(47242) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:16) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4537 | | | | DestinationPort = 3537 | | | | VerificationTag = 1 | | | | Checksum = 2408704094 calc(2408704094) | | | CHUNK_COOKIE_ACK (length:4) | | | | Type = 11 | | | | Flags = 0 | | | | Length = 4 | [Needless] (length:10) | | data = 00000000 00000000 0000 ===sctp_chunk_cookie_ack_rcv=================================
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 = 3537 | | | | DestinationPort = 4537 | | | | VerificationTag = 268213372 | | | | Checksum = 4083567883 calc() | | | CHUNK_HEARTBEAT (length:8) | | | | Type = 4 | | | | Flags = 0 | | | | Length = 8 | | | | [Needless] (length:4) | | | | | data = 0001002c