l7vsd_system_endpoint = "warn"
l7vsd_system_signal = "warn"
l7vsd_system_environment = "warn"
-l7vsd_snmpagent = "warn"
+l7vsd_snmpagent = "info"
l7vsd_protocol = "warn"
l7vsd_schedule = "warn"
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 80.000000 Mbps
- Current Download / Limit 0.000000 Mbps / 40.000000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 10.000000 Mbps
+ Current Download / Limit 0.000000 Mbps / 5.000000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
-perl v5.10.1 2010-10-08 L7DIRECTORD(1)
+perl v5.10.1 2010-10-15 L7DIRECTORD(1)
#!/bin/bash
-
. ${SET_DEFAULT_CONF}
-#Run nc server
-#nc -i 1 -l 9876 > ${TMP_DIR}/nc_tmp &
-#NC_PID=$!
-
-#chkconfig echo-stream on
-
#Add Service
$L7VSD
if [ $? -ne 0 ]
#Connect
GET_REQ=""
for((I=0;I<100;I++)) do GET_REQ="${GET_REQ}GET / HTTP/1.0\r\n\r\n"; done
-echo "${GET_REQ}"
POST_REQ=""
for((I=0;I<200;I++)) do POST_REQ="${POST_REQ}POST / HTTP/1.0\r\n\r\n"; done
echo -e -n "${GET_REQ}" | nc 127.0.0.1 40001
#HTTP Total Requests check
RET=`$L7VSADM -V -n | grep "HTTP Total Requests" | awk '{print $4}'`
-echo "$RET"
EXPECT="300"
if [ "${RET}" != "${EXPECT}" ]
then
. ${SET_DEFAULT_CONF}
-#Run nc server
-#nc -i 1 -l 9876 > ${TMP_DIR}/nc_tmp &
-#NC_PID=$!
-
-#chkconfig echo-stream on
-
#Add Service
$L7VSD
if [ $? -ne 0 ]
RealServer1=RealServer1
RealServer1_ADDR=127.0.0.1
RealServer1_PORT=50001
+start_lighttpd -s $RealServer1 -a $RealServer1_ADDR -p $RealServer1_PORT
+if [ $? -ne 0 ]
+then
+ echo "Test failed: start_lighttpd RealServer1"
+ exit 1
+fi
RealServer2=RealServer2
RealServer2_ADDR=127.0.0.1
RealServer2_PORT=50002
-
-start_lighttpd -s $RealServer1 -a $RealServer1_ADDR -p $RealServer1_PORT
start_lighttpd -s $RealServer2 -a $RealServer2_ADDR -p $RealServer2_PORT
-
if [ $? -ne 0 ]
then
- echo "Test failed: start_lighttpd RealServer1"
+ echo "Test failed: start_lighttpd RealServer2"
exit 1
fi
usleep 100000
RET=`$L7VSADM -S 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Argument argc is illegal for -S command."
+EXPECT="PARSE ERROR: Argument argc is illegal for -S command."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S"
usleep 100000
RET=`$L7VSADM -S -f 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Need option value for -f option."
-
-echo "$RET"
+EXPECT="PARSE ERROR: Need option value for -f option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -f"
usleep 100000
RET=`$L7VSADM -S -f 1 -f 0 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Option -f is conflict."
-
+EXPECT="PARSE ERROR: Option -f is conflict."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -f 1 -f 0"
usleep 100000
RET=`$L7VSADM -S -f -1 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option value for -f option."
+EXPECT="PARSE ERROR: Invalid option value for -f option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -f -1"
usleep 100000
RET=`$L7VSADM -S -f 2 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option value for -f option."
+EXPECT="PARSE ERROR: Invalid option value for -f option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -f 2"
usleep 100000
RET=`$L7VSADM -S -f a 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option value for -f option."
+EXPECT="PARSE ERROR: Invalid option value for -f option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -f a"
usleep 100000
RET=`$L7VSADM -S -i 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Need option value for -i option."
+EXPECT="PARSE ERROR: Need option value for -i option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -i"
usleep 100000
RET=`$L7VSADM -S -i 5 -i 5 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Option -i is conflict."
+EXPECT="PARSE ERROR: Option -i is conflict."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -i 5 -i 5"
usleep 100000
RET=`$L7VSADM -S -i a 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option value for -i option."
+EXPECT="PARSE ERROR: Invalid option value for -i option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -i a"
usleep 100000
RET=`$L7VSADM -S -i -1 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option value for -i option."
+EXPECT="PARSE ERROR: Invalid option value for -i option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -i -1"
usleep 100000
RET=`$L7VSADM -S -i 2147483648 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option value for -i option."
+EXPECT="PARSE ERROR: Invalid option value for -i option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -i 2147483648"
usleep 100000
RET=`$L7VSADM -S -x 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option for -S command."
-echo "$RET"
+EXPECT="PARSE ERROR: Invalid option for -S command."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -x"
usleep 100000
RET=`$L7VSADM -S -t 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Need option value for -t option."
+EXPECT="PARSE ERROR: Need option value for -t option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -t"
usleep 100000
RET=`$L7VSADM -S -t 1 -t 0 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Option -t is conflict."
+EXPECT="PARSE ERROR: Option -t is conflict."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -t 1 -t 0"
usleep 100000
RET=`$L7VSADM -S -t 1 -t a 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Option -t is conflict."
+EXPECT="PARSE ERROR: Option -t is conflict."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -t 1 -t a"
usleep 100000
RET=`$L7VSADM -S -t -1 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option value for -t option."
+EXPECT="PARSE ERROR: Invalid option value for -t option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -t -1"
usleep 100000
RET=`$L7VSADM -S -t 2 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option value for -t option."
+EXPECT="PARSE ERROR: Invalid option value for -t option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -t 2"
usleep 100000
RET=`$L7VSADM -S -t a 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option value for -t option."
+EXPECT="PARSE ERROR: Invalid option value for -t option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -t a"
usleep 100000
RET=`$L7VSADM -S -l 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Need option value for -l option."
+EXPECT="PARSE ERROR: Need option value for -l option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -l"
usleep 100000
RET=`$L7VSADM -S -l debug -l debug 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Option -l is conflict."
+EXPECT="PARSE ERROR: Option -l is conflict."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -l debug -l debug"
usleep 100000
RET=`$L7VSADM -S -l aaa 2>&1 | grep "PARSE ERROR"`
-echo "$RET"
-EXPECT="PARSE ERROR : No such Log-Level aaa."
+EXPECT="PARSE ERROR: No such Log-Level aaa."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -l aaa"
usleep 100000
RET=`$L7VSADM -S -f 1 -t 1 -l debug -i 5 -r 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option for -S command."
+EXPECT="PARSE ERROR: Invalid option for -S command."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -f 1 -t 1 -l debug -i 5 -r"
usleep 100000
RET=`$L7VSADM -S -r -m sessionless 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Argument argc is illegal for -S command."
+EXPECT="PARSE ERROR: Argument argc is illegal for -S command."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -r -m sessionless"
usleep 100000
RET=`$L7VSADM -S -r -m sessionless -m sessionless 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Option -m is conflict."
-echo "$RET"
+EXPECT="PARSE ERROR: Option -m is conflict."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -r -m sessionless -m sessionless"
usleep 100000
RET=`$L7VSADM -S -r -t 172.16.58.126:80 -t 172.16.58.126:80 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Option -t is conflict."
+EXPECT="PARSE ERROR: Option -t is conflict."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -r -t 172.16.58.126:80 -t 172.16.58.126:80"
#valid option: '-n'
RET=`$L7VSADM -S -r -t 172.16.58.126:80 -n sessionless 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : Invalid option value for -r option."
-echo "$RET"
+EXPECT="PARSE ERROR: Invalid option value for -r option."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -r -t 172.16.58.126:80 -n sessionless"
#invalid endpoint(no port): 172.16.58.126
RET=`$L7VSADM -S -r -t 172.16.58.126 -m sessionless 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : target endpoint parse error:invalid endpoint:Service not found:172.16.58.126"
-
+EXPECT="PARSE ERROR: target endpoint parse error:invalid endpoint:Service not found:172.16.58.126"
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -r -t 172.16.58.126 -m sessionless"
#module name's max length is 16
RET=`$L7VSADM -S -r -t 172.16.58.126:80 -m 12345678901234567 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : protomod name is too long."
+EXPECT="PARSE ERROR: protomod name is too long."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -r -t 172.16.58.126:80 -m 12345678901234567"
usleep 100000
RET=`$L7VSADM -S -r -t 172.16.58.126:80 -m 1234567890123456 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : protocol module not found:1234567890123456"
-
+EXPECT="PARSE ERROR: protocol module not found:1234567890123456"
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -S -r -t 172.16.58.126:80 -m 1234567890123456"
+++ /dev/null
-#!/bin/bash
-
-# set config file
-cp materials/l7vsadm-2-1-1-1-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
-
-#Add Service
-$L7VSD
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSD"
- exit 1
-fi
-usleep 100000
-
-$L7VSADM -l
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSADM"
- exit 1
-fi
-
-RET=`cat ${L7VS_LOG_DIR}/l7vsadm.log` # | grep "\[WARN\] l7vsadm_common ADM33100009 Command wait value too long. Use default value."`
-echo "$RET"
-exit 1
-if [ -z "${RET}" ]
-then
- echo "Test failed: cat ${L7VS_LOG_DIR}/l7vsadm.log"
- exit 1
-fi
-
-exit 0
-
+++ /dev/null
-#!/bin/bash
-
-# set config file
-cp materials/l7vsadm-2-1-1-2-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
-
-#Add Service
-$L7VSD
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSD"
- exit 1
-fi
-usleep 100000
-
-$L7VSADM -l
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSADM"
- exit 1
-fi
-
-RET=`cat ${L7VS_LOG_DIR}/l7vsadm.log` #| grep "\[WARN\] l7vsadm_common ADM33100009 Command wait value too long. Use default value."`
-echo "$RET"
-exit 1
-if [ -z "${RET}" ]
-then
- echo "Test failed: cat ${L7VS_LOG_DIR}/l7vsadm.log"
- exit 1
-fi
-
-exit 0
-
+++ /dev/null
-#!/bin/bash
-
-# set config file
-cp materials/l7vsadm-2-1-1-3-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
-
-#Add Service
-$L7VSD
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSD"
- exit 1
-fi
-usleep 100000
-
-$L7VSADM -l
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSADM"
- exit 1
-fi
-
-RET=`cat ${L7VS_LOG_DIR}/l7vsadm.log` #| grep "\[WARN\] l7vsadm_common ADM33100009 Command wait value too long. Use default value."`
-echo "$RET"
-exit 1
-if [ -z "${RET}" ]
-then
- echo "Test failed: cat ${L7VS_LOG_DIR}/l7vsadm.log"
- exit 1
-fi
-
-exit 0
-
+++ /dev/null
-#!/bin/bash
-
-# set config file
-cp materials/l7vsadm-2-1-1-4-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
-
-#Add Service
-$L7VSD
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSD"
- exit 1
-fi
-usleep 100000
-
-$L7VSADM -l
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSADM"
- exit 1
-fi
-
-RET=`cat ${L7VS_LOG_DIR}/l7vsadm.log` #| grep "\[WARN\] l7vsadm_common ADM33100009 Command wait value too long. Use default value."`
-echo "$RET"
-exit 1
-if [ -z "${RET}" ]
-then
- echo "Test failed: cat ${L7VS_LOG_DIR}/l7vsadm.log"
- exit 1
-fi
-
-exit 0
-
+++ /dev/null
-#!/bin/bash
-
-# set config file
-cp materials/l7vsadm-2-1-1-5-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
-
-#Add Service
-$L7VSD
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSD"
- exit 1
-fi
-usleep 100000
-
-$L7VSADM -l
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSADM"
- exit 1
-fi
-
-RET=`cat ${L7VS_LOG_DIR}/l7vsadm.log` #| grep "\[WARN\] l7vsadm_common ADM33100009 Command wait value too long. Use default value."`
-echo "$RET"
-exit 1
-if [ -z "${RET}" ]
-then
- echo "Test failed: cat ${L7VS_LOG_DIR}/l7vsadm.log"
- exit 1
-fi
-
-exit 0
-
+++ /dev/null
-#!/bin/bash
-
-# set config file
-cp materials/l7vsadm-2-1-1-6-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
-
-#Add Service
-$L7VSD
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSD"
- exit 1
-fi
-usleep 100000
-
-$L7VSADM -l
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSADM"
- exit 1
-fi
-
-RET=`cat ${L7VS_LOG_DIR}/l7vsadm.log` #| grep "\[WARN\] l7vsadm_common ADM33100009 Command wait value too long. Use default value."`
-echo "$RET"
-exit 1
-if [ -z "${RET}" ]
-then
- echo "Test failed: cat ${L7VS_LOG_DIR}/l7vsadm.log"
- exit 1
-fi
-
-exit 0
-
+++ /dev/null
-#!/bin/bash
-
-# set config file
-cp materials/l7vsadm-2-1-1-7-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
-
-#Add Service
-$L7VSD
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSD"
- exit 1
-fi
-usleep 100000
-
-$L7VSADM -l
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSADM"
- exit 1
-fi
-
-RET=`cat ${L7VS_LOG_DIR}/l7vsadm.log` #| grep "\[WARN\] l7vsadm_common ADM33100009 Command wait value too long. Use default value."`
-echo "$RET"
-exit 1
-if [ -z "${RET}" ]
-then
- echo "Test failed: cat ${L7VS_LOG_DIR}/l7vsadm.log"
- exit 1
-fi
-
-exit 0
-
+++ /dev/null
-#!/bin/bash
-
-# set config file
-cp materials/l7vsadm-2-1-1-8-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
-
-#Add Service
-$L7VSD
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSD"
- exit 1
-fi
-usleep 100000
-
-$L7VSADM -l
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSADM"
- exit 1
-fi
-
-RET=`cat ${L7VS_LOG_DIR}/l7vsadm.log` #| grep "\[WARN\] l7vsadm_common ADM33100009 Command wait value too long. Use default value."`
-echo "$RET"
-exit 1
-if [ -z "${RET}" ]
-then
- echo "Test failed: cat ${L7VS_LOG_DIR}/l7vsadm.log"
- exit 1
-fi
-
-exit 0
-
+++ /dev/null
-#!/bin/bash
-
-# set config file
-cp materials/l7vsadm-2-1-1-9-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
-
-#Add Service
-$L7VSD
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSD"
- exit 1
-fi
-usleep 100000
-
-$L7VSADM -l
-if [ $? -ne 0 ]
-then
- echo "Test failed: $L7VSADM"
- exit 1
-fi
-
-RET=`cat ${L7VS_LOG_DIR}/l7vsadm.log` #| grep "\[WARN\] l7vsadm_common ADM33100009 Command wait value too long. Use default value."`
-echo "$RET"
-exit 1
-if [ -z "${RET}" ]
-then
- echo "Test failed: cat ${L7VS_LOG_DIR}/l7vsadm.log"
- exit 1
-fi
-
-exit 0
-
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
fi
usleep 100000
-$L7VSADM -A -t 127.0.0.1:40001 -m sessionless -u 1000 -q 512 -Q 512 -b $SorryServer1_ADDR:$SorryServer1_PORT -f 1 -z /etc/l7vs/sslproxy/sslproxy.target.cf -O deferaccept -L 1 -a /var/log/l7vs/access_log
+$L7VSADM -A -t 127.0.0.1:40001 -m sessionless -u 1000 -q 512 -Q 512 -b $SorryServer1_ADDR:$SorryServer1_PORT -f 1 --tproxy -z /etc/l7vs/sslproxy/sslproxy.target.cf -O deferaccept -L 1 -a /var/log/l7vs/access_log
if [ $? -ne 0 ]
then
- echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m sessionless -u 1000 -q 512 -Q 512 -b $SorryServer1_ADDR:$SorryServer1_PORT -f 1 -z /etc/l7vs/sslproxy/sslproxy.target.cf -O deferaccept -L 1 -a /var/log/l7vs/access_log"
+ echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m sessionless -u 1000 -q 512 -Q 512 -b $SorryServer1_ADDR:$SorryServer1_PORT -f 1 --tproxy -z /etc/l7vs/sslproxy/sslproxy.target.cf -O deferaccept -L 1 -a /var/log/l7vs/access_log"
+ exit 1
+fi
+
+$L7VSADM -A -t 127.0.0.1:40002 -m sessionless -u 1000 -q 512 -Q 512 -b $SorryServer1_ADDR:$SorryServer1_PORT -f 1 --masq -z /etc/l7vs/sslproxy/sslproxy.target.cf -O deferaccept -L 1 -a /var/log/l7vs/access_log
+if [ $? -ne 0 ]
+then
+ echo "Test failed: $L7VSADM -A -t 127.0.0.1:40002 -m sessionless -u 1000 -q 512 -Q 512 -b $SorryServer1_ADDR:$SorryServer1_PORT -f 1 --masq -z /etc/l7vs/sslproxy/sslproxy.target.cf -O deferaccept -L 1 -a /var/log/l7vs/access_log"
exit 1
fi
-> RemoteAddress:Port Forward Weight ActiveConn InactConn
TCP localhost:40001 sessionless rr --sorry-uri '/' --statistic 0
Bypass Settings:
+ Sorry Server localhost:50001 Tproxy
+ Max Connection 1000
+ Sorry Flag on
+ SSL Settings:
+ SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf
+ Logging Settings:
+ Access Log on
+ Access Log File /var/log/l7vs/access_log
+ Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M
+ Socket Settings:
+ TCP_DEFER_ACCEPT enable
+ TCP_NODELAY disable
+ TCP_CORK disable
+ TCP_QUICKACK auto
+ Throughput:
+ Current Upload / Limit 0.000000 Mbps / 0.000512 Mbps
+ Current Download / Limit 0.000000 Mbps / 0.000512 Mbps
+ Statistics:
+ HTTP Total Requests 0
+ HTTP GET Requests 0
+ HTTP POST Requests 0
+TCP localhost:40002 sessionless rr --sorry-uri '/' --statistic 0
+ Bypass Settings:
Sorry Server localhost:50001 Masq
Max Connection 1000
Sorry Flag on
SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf
Logging Settings:
Access Log on
- Access Log File deferaccept
+ Access Log File /var/log/l7vs/access_log
Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M
Socket Settings:
TCP_DEFER_ACCEPT enable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 0.004096 Mbps
- Current Download / Limit 0.000000 Mbps / 0.004096 Mbps
+ Current Upload / Limit 0.000000 Mbps / 0.000512 Mbps
+ Current Download / Limit 0.000000 Mbps / 0.000512 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps
- Current Download / Limit 0.000000 Mbps / 8.000000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 100.000000 Mbps
+ Current Download / Limit 0.000000 Mbps / 1.000000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps
- Current Download / Limit 0.000000 Mbps / 8.000000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 100.000000 Mbps
+ Current Download / Limit 0.000000 Mbps / 1.000000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
HTTP Total Requests 0
HTTP GET Requests 0
HTTP POST Requests 0"
+
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -V -n"
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 8.000000 Mbps
- Current Download / Limit 0.000000 Mbps / 8.000000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 1.000000 Mbps
+ Current Download / Limit 0.000000 Mbps / 1.000000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
HTTP POST Requests 0"
+
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -V -n"
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 8.000000 Mbps
- Current Download / Limit 0.000000 Mbps / 8.000000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 1.000000 Mbps
+ Current Download / Limit 0.000000 Mbps / 1.000000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 100.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
Statistics:
HTTP Total Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 100.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
Statistics:
HTTP Total Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
- Current Download / Limit 0.000000 Mbps / 800.000000 Mbps
+ Current Download / Limit 0.000000 Mbps / 100.000000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
- Current Download / Limit 0.000000 Mbps / 800.000000 Mbps
+ Current Download / Limit 0.000000 Mbps / 100.000000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
usleep 100000
RET=`$L7VSADM -V 2>&1 | grep "l7vsd_snmpagent"`
-EXPECT="l7vsd_snmpagent warn"
+EXPECT="l7vsd_snmpagent info"
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -V | grep l7vsd_agent"
usleep 100000
RET=`$L7VSADM -V 2>&1 | grep "l7vsd_snmpagent"`
-EXPECT="l7vsd_snmpagent warn"
+EXPECT="l7vsd_snmpagent info"
if [ "${RET}" != "${EXPECT}" ]
then
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
HTTP Total Requests 0
HTTP GET Requests 0
HTTP POST Requests 0"
+
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -V"
exit 1
fi
-RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[FATAL\] l7vsd_parameter VSD51600001 Parameter initialize failure"`
+RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[ERROR\] l7vsd_logger VSD41700001 Not exist logfilename_key : l7vsd_log_filename"`
if [ -z "${RET}" ]
then
echo "Test failed: cat /var/log/messages"
exit 1
fi
-RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[FATAL\] l7vsd_parameter VSD51600001 Parameter initialize failure"`
+RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[ERROR\] l7vsd_logger VSD41700001 Not exist logfilename_key : l7vsd_log_filename"`
if [ -z "${RET}" ]
then
echo "Test failed: cat /var/log/messages"
exit 1
fi
-RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[FATAL\] l7vsd_parameter VSD51600001 Parameter initialize failure"`
+RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[ERROR\] l7vsd_logger VSD41700001 Not exist logfilename_key : l7vsd_log_filename"`
if [ -z "${RET}" ]
then
echo "Test failed: cat /var/log/messages"
exit 1
fi
-RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[FATAL\] l7vsd_parameter VSD51600001 Parameter initialize failure"`
+RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[ERROR\] l7vsd_logger VSD41700001 Not exist logfilename_key : l7vsd_log_filename"`
if [ -z "${RET}" ]
then
echo "Test failed: cat /var/log/messages"
exit 1
fi
-RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[FATAL\] l7vsd_parameter VSD51600001 Parameter initialize failure"`
+RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[ERROR\] l7vsd_logger VSD41700001 Not exist logfilename_key : l7vsd_log_filename"`
if [ -z "${RET}" ]
then
echo "Test failed: cat /var/log/messages"
exit 1
fi
-RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[FATAL\] l7vsd_parameter VSD51600001 Parameter initialize failure"`
+RET=`cat /var/log/messages | grep "l7vsd: ${EXEC_DATE}" | grep "\[ERROR\] l7vsd_logger VSD41700001 Not exist logfilename_key : l7vsd_log_filename"`
if [ -z "${RET}" ]
then
echo "Test failed: cat /var/log/messages"
usleep 100000
RET=`$L7VSADM -A -t 127.0.0.1:40001 -m ip --statistic 1 -c 1 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : protocol module argument error: Cannot set multiple option '-c/--statistic'."
+EXPECT="PARSE ERROR: protocol module argument error(--proto-module): Cannot set multiple option '-c/--statistic'."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m ip --statistic 1 -c 1"
usleep 100000
RET=`$L7VSADM -A -t 127.0.0.1:40001 -m ip --statistic 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : protocol module argument error: You have to set option value '-c/--statistic'."
+EXPECT="PARSE ERROR: protocol module argument error(--proto-module): You have to set option value '-c/--statistic'."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m ip --statistic"
usleep 100000
RET=`$L7VSADM -A -t 127.0.0.1:40001 -m ip --statistic 2 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : protocol module argument error: '-c/--statistic' option value '2' is not a valid value."
+EXPECT="PARSE ERROR: protocol module argument error(--proto-module): '-c/--statistic' option value '2' is not a valid value."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m ip --statistic 2"
usleep 100000
RET=`$L7VSADM -A -t 127.0.0.1:40001 -m ip --statistic -1 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : protocol module argument error: '-c/--statistic' option value '-1' is not a valid value."
+EXPECT="PARSE ERROR: protocol module argument error(--proto-module): '-c/--statistic' option value '-1' is not a valid value."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m ip --statistic -1"
# When 'statistic' defined again,print the error!
#Check default value
RET=`$L7VSADM -A -t 127.0.0.1:40001 -m sessionless --statistic 1 -c 0 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : protocol module argument error: Cannot set multiple option '-c/--statistic'."
+EXPECT="PARSE ERROR: protocol module argument error(--proto-module): Cannot set multiple option '-c/--statistic'."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m sessionless --statistic 1 -c 0"
# When 'statistic' was not defined right,print the error!
#Check default value
RET=`$L7VSADM -A -t 127.0.0.1:40001 -m sessionless --statistic 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : protocol module argument error: You have to set option value '-c/--statistic'."
+EXPECT="PARSE ERROR: protocol module argument error(--proto-module): You have to set option value '-c/--statistic'."
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m sessionless --statistic"
#Check default value
RET=`$L7VSADM -A -t 127.0.0.1:40001 -m sessionless --statistic 2 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : protocol module argument error: '-c/--statistic' option value '2' is not a valid value."
+EXPECT="PARSE ERROR: protocol module argument error(--proto-module): '-c/--statistic' option value '2' is not a valid value."
if [ "${RET}" != "${EXPECT}" ]
then
#Check default value
RET=`$L7VSADM -A -t 127.0.0.1:40001 -m sessionless --statistic -1 2>&1 | grep "PARSE ERROR"`
-EXPECT="PARSE ERROR : protocol module argument error: '-c/--statistic' option value '-1' is not a valid value."
+EXPECT="PARSE ERROR: protocol module argument error(--proto-module): '-c/--statistic' option value '-1' is not a valid value."
if [ "${RET}" != "${EXPECT}" ]
then
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
+++ /dev/null
-#
-# UltraMonkey - L7 configuration file
-# Copyright (C) 2008-2009 NTT COMWARE Corporation.
-# License: GNU General Public License (GPL)
-#
-#
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301 USA
-#
-#
-# Rivision History.
-# 3.0.0 MultiThread version release.
-# 1.2.0 First verion release.(version was put together l7vsd)
-# - 2008/03/26 Norihisa Nakai.
-
-
-#
-# l7vs log setting
-#
-[logger]
-# l7vsd logfile base name
-l7vsd_log_filename = "/var/log/l7vs/l7vsd.log"
-# l7vsd log rotate pattern
-l7vsd_rotation = "size"
-# l7vsd rotate max backup number
-l7vsd_max_backup_index = "10"
-# l7vsd rotate file size
-l7vsd_max_filesize = "10M"
-
-# l7vsd access log rotate pattern
-l7vsd_accesslog_rotate_type = "size"
-# l7vsd access rotate max backup number
-l7vsd_accesslog_rotate_max_backup_index = "10"
-# l7vsd access rotate file size
-l7vsd_accesslog_rotate_max_filesize = "10M"
-
-# l7vsd log categories level
-l7vsd_network = "warn"
-l7vsd_network_qos = "warn"
-l7vsd_network_bandwidth = "warn"
-l7vsd_network_num_connection = "warn"
-l7vsd_network_access = "warn"
-l7vsd_mainthread = "warn"
-l7vsd_virtualservice = "warn"
-l7vsd_virtualservice_thread = "warn"
-l7vsd_session = "warn"
-l7vsd_session_thread = "warn"
-l7vsd_realserver = "warn"
-l7vsd_sorryserver = "warn"
-l7vsd_module = "warn"
-l7vsd_replication = "warn"
-l7vsd_replication_sendthread = "warn"
-l7vsd_parameter = "warn"
-l7vsd_logger = "warn"
-l7vsd_command = "warn"
-l7vsd_start_stop = "warn"
-l7vsd_system = "warn"
-l7vsd_system_memory = "warn"
-l7vsd_system_endpoint = "warn"
-l7vsd_system_signal = "warn"
-l7vsd_system_environment = "warn"
-l7vsd_snmpagent = "warn"
-
-l7vsd_protocol = "warn"
-l7vsd_schedule = "warn"
-
-# l7vsadm log file base name
-l7vsadm_log_filename = "/var/log/l7vs/l7vsadm.log"
-# l7vsadm rotate pattern
-l7vsadm_rotation = "date"
-# l7vsadm rotate max backup number
-l7vsadm_max_backup_index = "10"
-# l7vsadm rotate timing ( every month rotate )
-l7vsadm_rotation_timing = "month"
-# l7vsadm rotate timing ( day and time )
-l7vsadm_rotation_timing_value = "1 0:01"
-
-# l7vsadm log categories level
-l7vsadm_parse = "warn"
-l7vsadm_operate = "warn"
-l7vsadm_config_result = "warn"
-l7vsadm_common = "warn"
-l7vsadm_logger = "warn"
-l7vsadm_parameter = "warn"
-l7vsadm_module = "warn"
-
-l7vsadm_protocol = "warn"
-l7vsadm_schedule = "warn"
-
-#
-# l7vsadm setting
-#
-[l7vsadm]
-cmd_interval = 1
-cmd_count = 10
-
-#
-# l7vsd setting
-#
-[l7vsd]
-maxfileno = 65535
-
-#
-# virtualservice setting
-#
-[virtualservice]
-session_thread_pool_size = 32
-throughput_calc_interval = 500
-
-#
-# l7vsd replication setting
-#
-[replication]
-#ip_addr = "192.168.0.254"
-#service_name = "40000"
-#recv_ip_addr = "192.168.0.253"
-#interval = 1000
-#compulsorily_interval = 40
-
-#cmponent_id_00 = "virtualservice"
-#cmponent_size_00 = 64
-#cmponent_id_01 = "chash"
-#cmponent_size_01 = 1
-#cmponent_id_02 = "sslid"
-#cmponent_size_02 = 222
-
-#
-# snmpagent settings
-#
-[snmpagent]
-enable = "true"
-cache_update_interval = 0
-logtrap = "false"
-logtrap_level = "info"
-qos_up_alert_on = 85
-qos_up_alert_off = 50
-qos_down_alert_on = 85
-qos_down_alert_off = 50
-sessionpool_alert_on = 5
-sessionpool_alert_off = 8
-trap_queue_polling_interval = 100000000
-trap_queue_max_size = 1000
exit 1
fi
#Check SNMPAgent function disable
-RET=`snmpwalk -v 2c -c public 127.0.0.1 ULTRAMONKEY-L7-MIB::ultramonkey-l7`
+RET=`snmpwalk -v 2c -c public 127.0.0.1 ULTRAMONKEY-L7-MIB::ultramonkey-l7 2>&1`
EXPECT="ULTRAMONKEY-L7-MIB::ultramonkey-l7 = No Such Object available on this agent at this OID"
#SNMPv3 configuration
#createUser MD5User MD5 mysecretpass DES mysecretpass
#rwuser MD5User auth
-\cp -f ./materials/mib-58-snmpd.conf /etc/snmp/snmpd.conf
+#\cp -f ./materials/mib-58-snmpd.conf /etc/snmp/snmpd.conf
${INIT_SNMPD} start >/dev/null
if [ $? -ne 0 ]
\cp -f materials/snmpagent-1-19-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
#Start snmptrapd
-${SNMPTRAPD} -c ./materials/snmpagent-1-19-snmptrapd.conf -Lf ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log
+${SNMPTRAPD} -c ./materials/snmpagent-1-19-snmptrapd.conf -Lf ${L7VS_LOG_DIR}/snmpagent-1-snmptrapd.log
#Add Service
$L7VSD
exit 1
fi
-RET=`cat ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log | grep -e "SNMPv2-SMI::enterprises.32132.1.0.1.1 = STRING: \"[0-9]\{4\}/[0-9]\{2\}/[0-9]\{2\} [0-9]\{2\}:[0-9]\{2\}:[0-9]\{2\},TRAP00010001,l7vsd start."`
+RET=`cat ${L7VS_LOG_DIR}/snmpagent-1-snmptrapd.log | grep -e "SNMPv2-SMI::enterprises.32132.1.0.1.1 = STRING: \"[0-9]\{4\}/[0-9]\{2\}/[0-9]\{2\} [0-9]\{2\}:[0-9]\{2\}:[0-9]\{2\},TRAP00010001,l7vsd start."`
if [ -z "${RET}" ]
then
- echo "Test failed: cat ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log"
+ echo "Test failed: cat ${L7VS_LOG_DIR}/snmpagent-1-snmptrapd.log"
exit 1
fi
TCP_CORK enable
TCP_QUICKACK disable
Throughput:
- Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps
- Current Download / Limit 0.000000 Mbps / 800.000000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 100.000000 Mbps
+ Current Download / Limit 0.000000 Mbps / 100.000000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
HTTP POST Requests 0"
+
if [ "${RET}" != "${EXPECT}" ]
then
echo "Test failed: $L7VSADM -V"
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 8.000000 Mbps
- Current Download / Limit 0.000000 Mbps / 8.000000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 1.000000 Mbps
+ Current Download / Limit 0.000000 Mbps / 1.000000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 0.800000 Mbps
- Current Download / Limit 0.000000 Mbps / 0.800000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 0.100000 Mbps
+ Current Download / Limit 0.000000 Mbps / 0.100000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps
- Current Download / Limit 0.000000 Mbps / 800.000000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 100.000000 Mbps
+ Current Download / Limit 0.000000 Mbps / 100.000000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
exit 1
fi
+$L7VSADM -C
+
exit 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 0.800000 Mbps
- Current Download / Limit 0.000000 Mbps / 0.800000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 0.100000 Mbps
+ Current Download / Limit 0.000000 Mbps / 0.100000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
- Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps
- Current Download / Limit 0.000000 Mbps / 800.000000 Mbps
+ Current Upload / Limit 0.000000 Mbps / 100.000000 Mbps
+ Current Download / Limit 0.000000 Mbps / 100.000000 Mbps
Statistics:
HTTP Total Requests 0
HTTP GET Requests 0
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
TCP_DEFER_ACCEPT disable
TCP_NODELAY disable
TCP_CORK disable
- TCP_QUICKACK disable
+ TCP_QUICKACK auto
Throughput:
Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
Current Download / Limit 0.000000 Mbps / 0.000000 Mbps