Clients still show up on status.log after disconnecting

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
markx
OpenVpn Newbie
Posts: 3
Joined: Fri Nov 07, 2014 7:15 am

Clients still show up on status.log after disconnecting

Post by markx » Sat Nov 15, 2014 4:57 am

I am testing my own openvpn server on a dedicated, and i found that the openvpn-status.log (or status and load-stats in management) still show client connections that have disconnected. For example my current log look like this:

Code: Select all

OpenVPN CLIENT LIST
Updated,Fri Nov 14 23:52:58 2014
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
client1,111.222.333.444:61558,6145,7317,Fri Nov 14 23:43:02 2014
client1,111.222.333.444:55111,6145,7317,Fri Nov 14 23:40:54 2014
client1,111.222.333.444:62333,6145,7317,Fri Nov 14 23:51:24 2014
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
10.8.0.10,client1,111.222.333.444:61558,Fri Nov 14 23:43:05 2014
10.8.0.14,client1,111.222.333.444:62333,Fri Nov 14 23:51:27 2014
10.8.0.6,client1,111.222.333.444:55111,Fri Nov 14 23:40:58 2014
GLOBAL STATS
Max bcast/mcast queue length,0
I have disconnected the clients with different methods, ctrl+c, killall openvpn, killall -SIGINT openvpn, kill PID. But they still show up on the server log after disconnecting. It's been 15 minutes or more on this last test and they are still showing up on the log (I've waited about an hour on previous tests).

Why is the status.log still showing up connections that are not really connected?

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Clients still show up on status.log after disconnecting

Post by maikcat » Sat Nov 15, 2014 5:57 pm

are you using tcp or udp?

Michael.

aaratn
OpenVpn Newbie
Posts: 1
Joined: Thu Dec 24, 2015 2:58 pm

Re: Clients still show up on status.log after disconnecting

Post by aaratn » Thu Dec 24, 2015 3:25 pm

I am having same issue. I am using udp protocol.

OpenVPN Version: OpenVPN 2.3.9 x86_64-pc-linux-gnu

Post Reply