Title | The initial cwnd before DATA transmission MUST be set to min(4*MTU, max (2*MTU, 4380bytes)) |
CommandLine | ./InitCwndBeforeTrans.seq -pkt ./InitCwndBeforeTrans.def -log 1.html -ti The initial cwnd before DATA transmission MUST be set to min(4*MTU, max (2*MTU, 4380bytes)) |
TestVersion | REL_1_0_0 |
ToolVersion | REL_3_1_0 |
Start | 2009/02/13 14:26:33 |
Tn | .//../etc//tn.def |
Nu | .//../etc//nut.def |
Pkt | ./InitCwndBeforeTrans.def |
System | linux-v6 |
TargetName | RHEL5GA |
HostName | FNST |
Type | IPv4 |
14:26:34 | Start |
14:26:34 | Start Capturing Packets (Link0) |
=============== sctpCheckEnv =============== | |
14:26:34 |
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 sctp_test -H 192.168.0.21 -P 4577 -T -l -x 1 -X 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 [root@~.~. ~. Disconnected. |
============== sctpPingToHost ============== | |
14:26:43 |
vSend(Link0,echo4_request_on_link0) Send Echo Request on Link0 |
14:26:43 | vRecv(Link0,echo4_reply_on_link0 arp_request_on_link0) timeout:5 cntLimit:0 seektime:0 Recv Echo Reply on Link0 |
============== sctpStatusServer ============ | |
14:26:43 |
vRemote(rcommandasync.rmt) ``/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 cmd="sctp_status -H 192.168.0.21 -P 4578 -l -X 1 -x 1 -f /tmp/sctpstatus > /tmp/tstcmd.log 2>&1 &" ''
Connected. [root@RHEL ~]# [root@RHEL ~]# ~. Disconnected. |
================= vConnect ================= | |
14:26:47 |
vSend(Link0,sctp_chunk_init_snd) Send SCTP CHUNK_INIT |
14:26:47 | vRecv(Link0,sctp_chunk_init_ack_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_INIT_ACK |
14:26:48 |
vSend(Link0,sctp_chunk_cookie_echo_snd) Send SCTP CHUNK_COOKIE_ECHO |
14:26:48 | vRecv(Link0,sctp_chunk_cookie_ack_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_COOKIE_ACK |
================= vSendMsg ================= | |
14:26:48 |
vSend(Link0,sctp_chunk_data_snd) Send SCTP CHUNK_DATA |
14:26:48 | vRecv(Link0,sctp_chunk_sack_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_SACK |
================== vClose ================== | |
14:26:48 |
vSend(Link0,sctp_chunk_shutdown_snd) Send SCTP CHUNK_SHUTDOWN |
14:26:49 | vRecv(Link0,sctp_chunk_shutdown_ack_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_SHUTDOWN_ACK |
14:26:49 |
vSend(Link0,sctp_chunk_shutdown_complete_snd) Send SCTP CHUNK_SHUTDOWN_COMPLETE |
============ sctpGetRemoteStatus =========== | |
14:26:49 |
vRemote(getfile.rmt) ``/usr/local/v6eval//bin/linux-v6//getfile.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 from=/tmp/sctpstatus to=.sctpstatus''
Connected. [1]+ Done sctp_status -H 192.168.0.21 -P 4578 -l -X 1 -x 1 -f /tmp/sctpstatus > /tmp/tstcmd.log 2>&1 [root@RHEL ~]# [root@RHEL ~]# ~sechocheck [root@RHEL ~]# [root@RHEL ~]# ~t/tmp/sctpstatus .sctpstatus [file transfer complete] [connected] HEL ~]# [root@RHEL ~]# ~.~. ~. Disconnected. |
NO. ASSOC-ID STATE RWND UNACKDATA PENDDATA INSTRMS OUTSTRMS FRAG-POINT SPINFO-STATE SPINFO-CWDN SPINFO-SRTT SPINFO-RTO SPINFO-MTU 1 1 ESTABLISHED 54784 0 0 100 10 1452 ACTIVE 4380 0 3000 1500OK |
|
14:26:57 | 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: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 = 1539 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 1 | | | HeaderChecksum = 62204 calc(62204) | | | 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 = 3578 | | | | DestinationPort = 4578 | | | | VerificationTag = 0 | | | | Checksum = 1012783387 calc(1012783387) | | | 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: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 = 4578 | | | | DestinationPort = 3578 | | | | VerificationTag = 1 | | | | Checksum = 2620189393 calc(2620189393) | | | CHUNK_INIT_ACK (length:268) | | | | Type = 2 | | | | Flags = 0 | | | | Length = 268 | | | | InitiateTag = 2101235940 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 100 | | | | TSN = 287268284 | | | | StaleCookie (length:232) | | | | | Type = 7 | | | | | Length = 232 | | | | | Cookie = | | | | | 8d19cee0 00f579a8 b0bc5cb0 c64cd40d 00000000 00000000 00000000 00000000 | | | | | 00000000 e4503e7d 01000000 00000000 00000000 2fce9549 daaa0e00 0a006400 | | | | | bc5d1f11 02000dfa c0a80064 00000000 00000000 00000000 00000000 00000000 | | | | | e2110100 00000000 80020024 24666dde 853dba8d 0ab80ba7 3f4dd8d5 9d261340 | | | | | 652c844f 081d76fd 6f6a18e7 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 = 3578 | | | | DestinationPort = 4578 | | | | VerificationTag = 2101235940 | | | | Checksum = 3289807179 calc(3289807179) | | | CHUNK_COOKIE_ECHO (length:232) | | | | Type = 10 | | | | Flags = 0 | | | | Length = 232 | | | | Cookie = | | | | 8d19cee0 00f579a8 b0bc5cb0 c64cd40d 00000000 00000000 00000000 00000000 | | | | 00000000 e4503e7d 01000000 00000000 00000000 2fce9549 daaa0e00 0a006400 | | | | bc5d1f11 02000dfa c0a80064 00000000 00000000 00000000 00000000 00000000 | | | | e2110100 00000000 80020024 24666dde 853dba8d 0ab80ba7 3f4dd8d5 9d261340 | | | | 652c844f 081d76fd 6f6a18e7 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 = 4578 | | | | DestinationPort = 3578 | | | | VerificationTag = 1 | | | | Checksum = 2016046307 calc(2016046307) | | | 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:1414) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2048 | Packet_IPv4 (length:1400) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 1400 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 132 | | | HeaderChecksum = 13368 calc(13368) | | | SourceAddress = 192.168.0.100 | | | DestinationAddress = 192.168.0.21 | | Upp_SCTP (length:1380) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3578 | | | | DestinationPort = 4578 | | | | VerificationTag = 2101235940 | | | | Checksum = 3982220974 calc(3982220974) | | | CHUNK_DATA (length:1368) | | | | Type = 0 | | | | Reserved = 0 | | | | IFlag = 0 | | | | UFlag = 1 | | | | BFlag = 1 | | | | EFlag = 1 | | | | Length = 1368 | | | | TSN = 100 | | | | Identifier = 0 | | | | SequenceNumber = 0 | | | | Protocol = 0 | | | | Payload (length:1352) | | | | | 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 38393000
Frame_Ether (length:62) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 2048 | Packet_IPv4 (length:48) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 2 | | | TotalLength = 48 | | | Identifier = 63807 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 48958 calc(48958) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:28) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4578 | | | | DestinationPort = 3578 | | | | VerificationTag = 1 | | | | Checksum = 2714963285 calc(2714963285) | | | CHUNK_SACK (length:16) | | | | Type = 3 | | | | Flags = 0 | | | | Length = 16 | | | | ACK = 100 | | | | AdvRecvWindow = 53432 | | | | NumOfGapAck = 0 | | | | NumOfDupTSN = 0 ===sctp_chunk_sack_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 = 3578 | | | | DestinationPort = 4578 | | | | VerificationTag = 2101235940 | | | | Checksum = 144810824 calc(144810824) | | | CHUNK_SHUTDOWN (length:8) | | | | Type = 7 | | | | Flags = 0 | | | | Length = 8 | | | | TSN = 287268283
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 = 63808 | | | Reserved = 0 | | | DF = 1 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 64 | | | Protocol = 132 | | | HeaderChecksum = 48969 calc(48969) | | | SourceAddress = 192.168.0.21 | | | DestinationAddress = 192.168.0.100 | | Upp_SCTP (length:16) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4578 | | | | DestinationPort = 3578 | | | | VerificationTag = 1 | | | | Checksum = 1101221505 calc(1101221505) | | | CHUNK_SHUTDOWN_ACK (length:4) | | | | Type = 8 | | | | Flags = 0 | | | | Length = 4 | [Needless] (length:10) | | data = 00000000 00000000 0000 ===sctp_chunk_shutdown_ack_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 = 3578 | | | | DestinationPort = 4578 | | | | VerificationTag = 2101235940 | | | | Checksum = 2927900771 calc(2927900771) | | | CHUNK_SHUTDOWN_COMPLETE (length:4) | | | | Type = 14 | | | | Reserved = 0 | | | | TFlag = 0 | | | | Length = 4