Hi,
On 19/02/15 21:52, Reinoud Koornstra wrote:
Hi Everyone,
I have a side to side (point to point) configuration. Meaning no
client or server involved.
It comes up fine.
I did set this as well in the config file:
status /tmp/openvpn_hello_status.log 5
status-version 3
When i look at the file:
OpenVPN STATISTICS
Updated,Thu Feb 19 13:41:29 2015
TUN/TAP read bytes,0
TUN/TAP write bytes,0
TCP/UDP read bytes,1480
TCP/UDP write bytes,1647
Auth read bytes,1480
END
This looks like format 1 when looking at the client-server statistics file case.
Is this correct or is the actually format 3?
The statistics file for server is more like I expected:
TITLE OpenVPN 2.3.4 i486-gnu-linux-gnu [SSL (OpenSSL)] [EPOLL] [MH]
[IPv6] built on Feb 19 2015
TIMEThu Feb 19 13:25:08 20151424377508
HEADER CLIENT_LIST Common Name Real AddressVirtual
Address Bytes Received Bytes Sent Connected Since Connected
Since_(time_t)Username
CLIENT_LIST blabla 172.21.2.127:1194 192.168.0.6 5701
5769Thu Feb 19 13:19:07 20151424377147 UNDEF
HEADER ROUTING_TABLE Virtual Address Common Name Real Address
Last RefLast Ref (time_t)
ROUTING_TABLE 192.168.0.6 blabla 172.21.2.127:1194 Thu
Feb 19 13:19:08 20151424377148
GLOBAL_STATSMax bcast/mcast queue length0
END
In point-to-point mode there are very little statistics reported. Only
some global server statistics are printed out, which is what you are
seeing. As there is no concept of a client list, there is no report on
the connected clients.
The code for point-to-point mode does not differentiate on the status
version - it simply calls one function which prints out the stats you
see above.
HTH,
JJK