Periodic stats report may not correct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nikos,

  I tried to comment out the compression attribute in config file. The test 
result is very close to the tun's TX. I think the behavior of my end is caused by 
downloading an easy compressible file that comes from a speed testing website.
That make sense I have ten-fold of the value comparing to the log. Thanks a lot.

BTW, I'm curious about the client side when I have previous exercise.
What is the actual byte the client received when the server send a compress data?
In my previous case, is the client actually receive 1.64MB from server?

John

>On Sat, Feb 24, 2018 at 6:42 PM, Chang John <jonny at livemail.tw> wrote:
>> Hi,
>>
>> I've found a behavior that the reported stats of bytes_out from worker may not match the actual reading from tun interface.
>>
>> A simple example is mentioned below:
>> You can find the TX? reported from occtl is 17672025 (17.7 MB)? which is match the vpns0 interface.
>> But the value of tx from the ocserv log is only 1642481 (1.64 MB), it is ten times less than the reading from vpns0.
>> Is it normal?
>
>Hi,
>
>?Your example below shows an compressed connection. That means that
>the data transferred on the wire are less than the data received by
>the tun device. The ten-fold value is interesting, though you may want
>to try without compression to figure whether there is an issue or not.
>
>
>> Terminal log:
>> ===============================================================================
>> root at 01:~# occtl show user tester4_55 && ifconfig vpns0 && occtl disconnect user tester4_55
>>???????? ID: 20927
>>???????? Username: tester4_55?? Groupname: (none)
>>???????? State: connected
>>???????? Device: vpns0?? MTU: 1342
>>???????? Remote IP: 11.22.33.44?? Location:
>>???????? Local Device IP: 10.140.0.2
>>???????? IPv4: 192.168.1.237?? P-t-P IPv4: 192.168.1.1
>>???????? User-Agent: Cisco AnyConnect VPN Agent for Apple iPhone 4.6.00122 / iPhone1
>>???????? RX: 245575 (245.6 KB)?? TX: 17672025 (17.7 MB)
>>???????? Average bandwidth RX: 2.2 KB/sec? TX: 159.2 KB/sec
>>???????? DPD: 90?? KeepAlive: 32400
>>???????? Hostname: iPhone
>>???????? Connected at: 2018-02-24 23:34 ( 1m:51s)
>>???????? Session: TZT+MM
>>???????? TLS ciphersuite: (TLS1.2)-(ECDHE-RSA-SECP521R1)-(AES-128-GCM)
>>???????? DTLS cipher: (DTLS0.9)-(RSA)-(AES-128-CBC)-(SHA1)
>>???????? CSTP compression: lzs?? DTLS compression: lzs
>>
>>???????? DNS: 8.8.8.8
>>???????????????? 8.8.4.4
>>???????? Routes: defaultroute
>>???????? Restricted to routes: False
>>
>> vpns0???? Link encap:UNSPEC? HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>>?????????? inet addr:192.168.1.1? P-t-P:192.168.1.237? Mask:255.255.255.255
>>?????????? UP POINTOPOINT RUNNING? MTU:1342? Metric:1
>>?????????? RX packets:4217 errors:0 dropped:0 overruns:0 frame:0
>>?????????? TX packets:13238 errors:0 dropped:0 overruns:0 carrier:0
>>?????????? collisions:0 txqueuelen:500
>>?????????? RX bytes:245575 (245.5 KB)? TX bytes:17672025 (17.6 MB)
>>
>
>regards,
>Nikos
    


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux