Title | INIT chunk is received with cookie preservative parameter (cookie life time expired) |
CommandLine | ./InitWithCookiePre.seq -pkt ./InitWithCookiePre.def -log 17.html -ti INIT chunk is received with cookie preservative parameter (cookie life time expired) |
TestVersion | REL_1_0_0 |
ToolVersion | REL_3_1_0 |
Start | 2009/02/13 10:30:31 |
Tn | .//../etc//tn.def |
Nu | .//../etc//nut.def |
Pkt | ./InitWithCookiePre.def |
System | linux-v6 |
TargetName | RHEL5GA |
HostName | FNST |
Type | IPv4 |
10:30:31 | Start |
10:30:32 | Start Capturing Packets (Link0) |
=============== sctpCheckEnv =============== | |
10:30:32 |
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]+ Done sleep 5 && sctp_test -H 192.168.0.21 -P 4293 -h 192.168.0.100 -p 3293 -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 ============== | |
10:30:40 |
vSend(Link0,echo4_request_on_link0) Send Echo Request on Link0 |
10:30:40 | vRecv(Link0,echo4_reply_on_link0 arp_request_on_link0) timeout:5 cntLimit:0 seektime:0 Recv ARP Request on Link0 |
10:30:40 |
vSend(Link0,arp_reply_on_link0) Send ARP Reply on Link0 |
10:30:40 | vRecv(Link0,echo4_reply_on_link0) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 10:30:33 recv unexpect packet at 10:30:40 Recv Echo Reply on Link0 |
============== sctpStartServer ============= | |
10:30:40 |
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 4294 -T -l -x 1 -X 1 > /tmp/tstcmd.log 2>&1 &" ''
Connected. [root@RHEL ~]# [root@RHEL ~]# sctp_test -H 192.168.0.21 ~. Disconnected. |
================ Main Test ================= | |
10:30:44 |
vSend(Link0,sctp_chunk_init_cookie) Recv SCTP CHUNK_INIT (with Cookie Preservative Parameter) |
10:30:44 | vRecv(Link0,sctp_chunk_init_ack_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_INIT_ACK |
10:30:44 | Wait 95 second |
10:32:19 |
vSend(Link0,sctp_chunk_cookie_echo_snd) Send SCTP CHUNK_COOKIE_ECHO |
10:32:20 | vRecv(Link0,sctp_chunk_error arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_ERROR (with Stale Cookie Error) |
10:32:20 |
vSend(Link0,sctp_chunk_abort_snd) Send SCTP CHUNK_ABORT |
OK | |
10:32:20 | 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 = 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 = 21480 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 1 | | | HeaderChecksum = 42263 calc(42263) | | | 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:74) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2048 | Packet_IPv4 (length:60) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 60 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 132 | | | HeaderChecksum = 14708 calc(14708) | | | SourceAddress = 192.168.0.100 | | | DestinationAddress = 192.168.0.21 | | Upp_SCTP (length:40) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3294 | | | | DestinationPort = 4294 | | | | VerificationTag = 0 | | | | Checksum = 1706269184 calc(1706269184) | | | CHUNK_INIT (length:28) | | | | Type = 1 | | | | Flags = 0 | | | | Length = 28 | | | | InitiateTag = 1 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 100 | | | | NumOfInbound = 65535 | | | | TSN = 100 | | | | CookiePreservative (length:8) | | | | | Type = 9 | | | | | Length = 8 | | | | | CookieLife = 30000
Frame_Ether (length:306) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:292) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 292 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 46986 calc(46986) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:272) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4294 | | | | DestinationPort = 3294 | | | | VerificationTag = 1 | | | | Checksum = 3338291508 calc(3338291508) | | | CHUNK_INIT_ACK (length:260) | | | | Type = 2 | | | | Flags = 0 | | | | Length = 260 | | | | InitiateTag = 2625432137 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 100 | | | | TSN = 2845130748 | | | | StaleCookie (length:232) | | | | | Type = 7 | | | | | Length = 232 | | | | | Cookie = | | | | | 0a51aec9 e4afaa7f 2e7bff63 548dd8c1 00000000 00000000 00000000 00000000 | | | | | 00000000 49ea7c9c 01000000 00000000 00000000 f1959549 e3c70e00 0a006400 | | | | | fc3f95a9 02000cde c0a80064 00000000 00000000 00000000 00000000 00000000 | | | | | c6100000 00000000 80020024 a45fbc69 95fac869 142c452b 51bc9f13 8e86e144 | | | | | 883f8d70 a920ae90 2edc1418 00000000 00000000 00000000 00000000 00000000 | | | | | 00000000 00000000 00000000 0100001c 00000001 0000d600 0064ffff 00000064 | | | | | 00090008 00007530 00000000 00000000 00000000 00000000 00000000 00000000 | | | | | 00000000 | | | | 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 = 3294 | | | | DestinationPort = 4294 | | | | VerificationTag = 2625432137 | | | | Checksum = 4136030231 calc(4136030231) | | | CHUNK_COOKIE_ECHO (length:232) | | | | Type = 10 | | | | Flags = 0 | | | | Length = 232 | | | | Cookie = | | | | 0a51aec9 e4afaa7f 2e7bff63 548dd8c1 00000000 00000000 00000000 00000000 | | | | 00000000 49ea7c9c 01000000 00000000 00000000 f1959549 e3c70e00 0a006400 | | | | fc3f95a9 02000cde c0a80064 00000000 00000000 00000000 00000000 00000000 | | | | c6100000 00000000 80020024 a45fbc69 95fac869 142c452b 51bc9f13 8e86e144 | | | | 883f8d70 a920ae90 2edc1418 00000000 00000000 00000000 00000000 00000000 | | | | 00000000 00000000 00000000 0100001c 00000001 0000d600 0064ffff 00000064 | | | | 00090008 00007530 00000000 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:44) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 44 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 47234 calc(47234) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:24) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4294 | | | | DestinationPort = 3294 | | | | VerificationTag = 1 | | | | Checksum = 1683315798 calc(1683315798) | | | CHUNK_ERROR (length:12) | | | | Type = 9 | | | | Flags = 0 | | | | Length = 12 | | | | StaleCookieError (length:8) | | | | | Code = 3 | | | | | Length = 8 | | | | | Staleness = 5324308 | [Needless] (length:2) | | data = 0000 ===sctp_chunk_error=================================
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 = 3294 | | | | DestinationPort = 4294 | | | | VerificationTag = 2625432137 | | | | Checksum = 1648225200 calc(1648225200) | | | CHUNK_ABORT (length:4) | | | | Type = 6 | | | | Reserved = 0 | | | | TFlag = 0 | | | | Length = 4