Test Information

TitleThe cwnd of the transport address should be adjusted to max(cwnd/2, 4*MTU) when no transmit data
CommandLine./ResetInitCwnd.seq -pkt ./ResetInitCwnd.def -log 9.html -ti The cwnd of the transport address should be adjusted to max(cwnd/2, 4*MTU) when no transmit data
TestVersionREL_1_0_0
ToolVersionREL_3_1_0
Start2009/02/13 14:31:31
Tn.//../etc//tn.def
Nu.//../etc//nut.def
Pkt./ResetInitCwnd.def
Systemlinux-v6
TargetNameRHEL5GA
HostNameFNST
TypeIPv4

Test Sequence Execution Log

14:31:32Start
14:31:32Start Capturing Packets (Link0)

=============== sctpCheckEnv ===============
14:31: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.

[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 ==============
14:31:41 vSend(Link0,echo4_request_on_link0)
Send Echo Request on Link0
14:31:41 vRecv(Link0,echo4_reply_on_link0 arp_request_on_link0) timeout:5 cntLimit:0 seektime:0
Recv Echo Reply on Link0

== Modify MAX.BURST configure to let test easy ==

============= sctpGetRemoteSys =============
14:31:41 vRemote(getsysconfig.rmt) ``/usr/local/v6eval//bin/linux-v6//getsysconfig.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 name=MAX.BURST to=max_burst''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# ~s
cu: echocheck: unknown variable (~v lists variables)

[root@RHEL ~]# 
[root@RHEL ~]# ~t/proc/sys/net/sctp/max_burst max_burst
[file transfer complete]
[connected]
[root@RHEL ~]# 
[root@RHEL ~]# ~.~.
~.

Disconnected.

Paramater MAX.BURST of Remote System is : 4

============= sctpSetRemoteSys =============
14:31:50 vRemote(setsysconfig.rmt) ``/usr/local/v6eval//bin/linux-v6//setsysconfig.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 name=MAX.BURST value=10''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# echo 10 > /proc/sys/net/sctp/max_burst 
[root@RHEL ~]# echo $?
0~
[root@RHEL .
Disconnected.

Set paramater MAX.BURST of Remote System to value: 10================ Main Test =================

============= sctpStatusClient =============
14:31:55 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_status -H 192.168.0.21 -P 4586 -h 192.168.0.100 -p 3586 -s -X 7 -x 3 -c 1452 -I 7 -D -f /tmp/sctpstatus > /tmp/tstcmd.log 2>&1 &" ''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# sleep 5 && sctp_status -H 192.~.
Disconnected.

================= vListen ==================
14:31:59 vRecv(Link0,sctp_chunk_init_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_INIT
14:32:03 vSend(Link0,sctp_chunk_init_ack_snd)
Send SCTP CHUNK_INIT_ACK

================= vAccept ==================
14:32:03 vRecv(Link0,sctp_chunk_cookie_echo_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_COOKIE_ECHO
14:32:03 vSend(Link0,sctp_chunk_cookie_ack_snd)
Send SCTP CHUNK_COOKIE_ACK

Now the cwnd is 4380
14:32:04 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (1)
14:32:04 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
14:32:04 vRecv(Link0,sctp_chunk_data_3 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
14:32:04 vRecv(Link0,sctp_chunk_data_4 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)

Now the cwnd is 5832
14:32:05 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK
14:32:05 vRecv(Link0,sctp_chunk_data_5 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
14:32:05 vSend(Link0,sctp_chunk_sack_2)
Send SCTP CHUNK_SACK (1 and 2)
14:32:05 vSend(Link0,sctp_chunk_sack_3)
Send SCTP CHUNK_SACK (1 and 3)
14:32:06 vSend(Link0,sctp_chunk_sack_4)
Send SCTP CHUNK_SACK (1, 3 and 4)
14:32:06 vSend(Link0,sctp_chunk_sack_5)
Send SCTP CHUNK_SACK (1, 3 to 4)
14:32:06 vRecv(Link0,sctp_chunk_data_6 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
14:32:06 vRecv(Link0,sctp_chunk_data_7 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (7)
14:32:06 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)

Now the cwnd is 6000, partial_bytes_acked = 0
14:32:07 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK
14:32:07 vSend(Link0,sctp_chunk_data_snd)
Send SCTP CHUNK_DATA
14:32:07 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
recv unexpect packet at 14:32:07
Recv SCTP CHUNK_DATA (1)
14:32:08 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
14:32:08 vRecv(Link0,sctp_chunk_data_3 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
14:32:08 vRecv(Link0,sctp_chunk_data_4 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)
14:32:08 vRecv(Link0,sctp_chunk_data_5 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
14:32:09 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500
14:32:09 vRecv(Link0,sctp_chunk_data_6 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
14:32:09 vRecv(Link0,sctp_chunk_data_7 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (7)
14:32:10 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK
14:32:10 vSend(Link0,sctp_chunk_data_snd)
Send SCTP CHUNK_DATA
14:32:10 vRecv(Link0,sctp_chunk_data_1 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (1)
14:32:11 vRecv(Link0,sctp_chunk_data_2 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (2)
14:32:11 vRecv(Link0,sctp_chunk_data_3 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (3)
14:32:11 vRecv(Link0,sctp_chunk_data_4 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (4)
14:32:11 vRecv(Link0,sctp_chunk_data_5 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (5)
14:32:12 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 1452
14:32:12 vRecv(Link0,sctp_chunk_data_6 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
Recv SCTP CHUNK_DATA (6)
14:32:12 vRecv(Link0,sctp_chunk_data_7 arp_request_on_link0 ) timeout:30 cntLimit:0 seektime:0
recv unexpect packet at 14:32:10
Recv SCTP CHUNK_DATA (7)
14:32:13 vSend(Link0,sctp_chunk_sack_snd)
Send SCTP CHUNK_SACK

Now the cwnd is 7500, partial_bytes_acked = 0
14:32:13 vRecv(Link0,sctp_chunk_heartbeat arp_request_on_link0 ) timeout:100 cntLimit:0 seektime:0
Recv ARP Request on Link0
14:32:13 vSend(Link0,arp_reply_on_link0)
Send ARP Reply on Link0
14:32:13 vRecv(Link0,sctp_chunk_heartbeat arp_request_on_link0 ) timeout:100 cntLimit:0 seektime:0
Recv SCTP CHUNK_HEARTBEAT
14:32:33 vSend(Link0,sctp_chunk_heartbeat_ack)
Send SCTP CHUNK_HEARTBEAT_ACK

Now the cwnd is 6000

================== vClose ==================
14:32:33 vSend(Link0,sctp_chunk_shutdown_snd)
Send SCTP CHUNK_SHUTDOWN
14:32:33 vRecv(Link0,sctp_chunk_shutdown_ack_rcv arp_request_on_link0 ) timeout:10 cntLimit:0 seektime:0
Recv SCTP CHUNK_SHUTDOWN_ACK
14:32:34 vSend(Link0,sctp_chunk_shutdown_complete_snd)
Send SCTP CHUNK_SHUTDOWN_COMPLETE

============ sctpGetRemoteStatus ===========
14:32:34 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                    sleep 5 && sctp_status -H 192.168.0.21 -P 4586 -h 192.168.0.100 -p 3586 -s -X 7 -x 3 -c 1452 -I 7 -D -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]
L ~]# 
[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       1500
2   1        ESTABLISHED       47180    5         0        100     10       1452       ACTIVE       5832        705         2113       1500
3   1        ESTABLISHED       50256    3         0        100     10       1452       ACTIVE       6000        670         2006       1500
4   1        ESTABLISHED       48632    4         0        100     10       1452       ACTIVE       7500        700         1944       1500
5   1        ESTABLISHED       54784    0         0        100     10       1452       ACTIVE       6000        685         3394       1500
OK

============= sctpSetRemoteSys =============
14:32:43 vRemote(setsysconfig.rmt) ``/usr/local/v6eval//bin/linux-v6//setsysconfig.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 name=MAX.BURST value=4''
Connected.

[root@RHEL ~]# 
[root@RHEL ~]# echo 4 > /proc/sys/net/sctp/max_burst 
[root@RHEL ~]# echo $?
0
[roo~.
Disconnected.

Set paramater MAX.BURST of Remote System to value: 4
14:32:47End

Packet Reverse Log