Title | Handling ICMP message with Verification Tag is 0 and the Initiate Tag does not match |
CommandLine | ./ICMP_BadInitTag.seq -pkt ./ICMP_BadInitTag.def -log 5.html -ti Handling ICMP message with Verification Tag is 0 and the Initiate Tag does not match |
TestVersion | REL_1_0_0 |
ToolVersion | REL_3_1_0 |
Start | 2009/02/13 13:10:54 |
Tn | .//../etc//tn.def |
Nu | .//../etc//nut.def |
Pkt | ./ICMP_BadInitTag.def |
System | linux-v6 |
TargetName | RHEL5GA |
HostName | FNST |
Type | IPv4 |
13:10:54 | Start |
13:10:54 | Start Capturing Packets (Link0) |
=============== sctpCheckEnv =============== | |
13:10:54 |
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]+ Exit 1 sleep 5 && sctp_test -H 192.168.0.21 -P 4487 -h 192.168.0.100 -p 3487 -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 [r~. Disconnected. |
============== sctpPingToHost ============== | |
13:11:03 |
vSend(Link0,echo4_request_on_link0) Send Echo Request on Link0 |
13:11:03 | vRecv(Link0,echo4_reply_on_link0 arp_request_on_link0) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 13:11:01 Recv Echo Reply on Link0 |
============== sctpStartClient ============= | |
13:11:03 |
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 192.168.0.21 -P 4488 -h 192.168.0.100 -p 3488 -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 192.168.0.21 -P 4488 -h ~. Disconnected. |
================ Main Test ================= | |
13:11:07 | vRecv(Link0,sctp_chunk_init_rcv arp_request_on_link0 ) timeout:15 cntLimit:0 seektime:0 Recv ARP Request on Link0 |
13:11:07 |
vSend(Link0,arp_reply_on_link0) Send ARP Reply on Link0 |
13:11:07 | vRecv(Link0,sctp_chunk_init_rcv arp_request_on_link0 ) timeout:15 cntLimit:0 seektime:0 Recv SCTP CHUNK_INIT |
13:11:09 |
vSend(Link0,icmp_proto_unreach) Send ICMP message (with the Initiate Tag does not match) |
13:11:09 | vRecv(Link0,sctp_chunk_init_rcv arp_request_on_link0 ) timeout:15 cntLimit:0 seektime:0 Recv SCTP CHUNK_INIT |
13:11:12 |
vSend(Link0,sctp_chunk_abort_snd) Send SCTP CHUNK_ABORT |
OK | |
13:11:12 | 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:1514) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:1500) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 1500 | | | Identifier = 39 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 45739 calc(45739) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:1480) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4479 | | | | DestinationPort = 3479 | | | | VerificationTag = 1 | | | | Checksum = 4140372635 calc(4140372635) | | | CHUNK_DATA (length:1468) | | | | Type = 0 | | | | Reserved = 0 | | | | IFlag = 0 | | | | UFlag = 1 | | | | BFlag = 1 | | | | EFlag = 1 | | | | Length = 1468 | | | | TSN = 1731951083 | | | | Identifier = 0 | | | | SequenceNumber = 0 | | | | Protocol = 3907589663 | | | | Payload (length:1452) | | | | | data = | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393031 32333435 36373839 30313233 34353637 38393031 | | | | | 32333435 36373839 30313233 34353637 38393031 32333435 36373839 30313233 | | | | | 34353637 38393031 32333435 36373839 30313233 34353637 38393031 32333435 | | | | | 36373839 30313233 34353637 38393031 32333435 36373839 30313233 34353637 | | | | | 38393031 32333435 36373839 30313233 34353637 38393031 32333435 36373839 | | | | | 30313233 34353637 38393000 ===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 = 27083 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 1 | | | HeaderChecksum = 36660 calc(36660) | | | 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: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 ===sctp_chunk_init_rcv================================= 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:90) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:76) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 76 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 47202 calc(47202) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:56) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4488 | | | | DestinationPort = 3488 | | | | VerificationTag = 0 | | | | Checksum = 1394393897 calc(1394393897) | | | CHUNK_INIT (length:44) | | | | Type = 1 | | | | Flags = 0 | | | | Length = 44 | | | | InitiateTag = 3795643257 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 65535 | | | | TSN = 225184351 | | | | SupportAddress (length:8) | | | | | Type = 12 | | | | | Length = 6 | | | | | AddrType = 5 | | | | | Padding = 0000 | | | | 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:94) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2048 | Packet_IPv4 (length:80) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 80 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 1 | | | HeaderChecksum = 14819 calc(14819) | | | SourceAddress = 192.168.0.100 | | | DestinationAddress = 192.168.0.21 | | ICMPv4_DestinationUnreachable (length:60) | | | Type = 3 | | | Code = 2 | | | Checksum = 13866 calc(13866) | | | Unused = 0 | | | Payload (length:52) | | | | data = | | | | 45000034 00000000 ff84397c c0a80015 c0a80064 11880da0 00000000 51ef54a8 | | | | 01000014 00000000 00000000 00000000 00000000
Frame_Ether (length:90) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:76) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 76 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 47202 calc(47202) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:56) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4488 | | | | DestinationPort = 3488 | | | | VerificationTag = 0 | | | | Checksum = 1394393897 calc(1394393897) | | | CHUNK_INIT (length:44) | | | | Type = 1 | | | | Flags = 0 | | | | Length = 44 | | | | InitiateTag = 3795643257 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 65535 | | | | TSN = 225184351 | | | | SupportAddress (length:8) | | | | | Type = 12 | | | | | Length = 6 | | | | | AddrType = 5 | | | | | Padding = 0000 | | | | 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:50) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2048 | Packet_IPv4 (length:36) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 36 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 132 | | | HeaderChecksum = 14732 calc(14732) | | | SourceAddress = 192.168.0.100 | | | DestinationAddress = 192.168.0.21 | | Upp_SCTP (length:16) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3488 | | | | DestinationPort = 4488 | | | | VerificationTag = 3795643257 | | | | Checksum = 4153452326 calc(4153452326) | | | CHUNK_ABORT (length:4) | | | | Type = 6 | | | | Reserved = 0 | | | | TFlag = 0 | | | | Length = 4