Jump to content
Not connected, Your IP: 18.207.240.35
Sign in to follow this  
56Kmodem

Ubuntu 16.04 - Inactivity timeout (--ping-exit), exiting

Recommended Posts

edit: It works again. Have nothing changed. I think it was some hickups from hoster/airvpn or routing.

Hello,

I am still investigating this, maybe someone knows already what it could be.

OS: Ubuntu 16.04
No firewall configured. I have uninstalled fail2ban in case it blocks anything.

Problem:

My python script was working for months without any problems - all of the sudden it gets a ping timeout when I try to connect to any Airvpn server with netlock enabled (error log is attached)

I tested without '--netlock' and it is working immediately. I have not touched the server in any way. All of the sudden it just stopped working. The server generates a lot of traffic for the hoster, but I pay a bit more for unlimited bandwidth. At first I thought airvpn got rid of the server Ogma, but when I try without netlock it works.

my startup script (python):

os.chdir('/home/eddie-cli_2.16.3_linux_x64_portable/')
print('[+] Start eddie script.')
try:
    os.system("./eddie-cli --login=user_login --password=user_password --netlock --connect --server=Ogma >> airvpn.log &")
except Exception as Error:
    print('ERROR')
    print(Error)
print('[+] eddie script done.')
error log:
 

I 2020.01.10 23:11:18 - Checking authorization ...
! 2020.01.10 23:11:18 - Connecting to Ogma (Germany, Frankfurt)
. 2020.01.10 23:11:18 - OpenVPN > OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Apr 27 2018
. 2020.01.10 23:11:18 - OpenVPN > library versions: OpenSSL 1.1.0h  27 Mar 2018, LZO 2.10
. 2020.01.10 23:11:18 - Connection to OpenVPN Management Interface
. 2020.01.10 23:11:18 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2020.01.10 23:11:18 - OpenVPN > Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2020.01.10 23:11:18 - OpenVPN > Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2020.01.10 23:11:18 - OpenVPN > Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2020.01.10 23:11:18 - OpenVPN > Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2020.01.10 23:11:18 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]185.189.112.21:443
. 2020.01.10 23:11:18 - OpenVPN > Socket Buffers: R=[133120->133120] S=[133120->133120]
. 2020.01.10 23:11:18 - OpenVPN > UDP link local: (not bound)
. 2020.01.10 23:11:18 - OpenVPN > UDP link remote: [AF_INET]185.189.112.21:443
. 2020.01.10 23:11:18 - OpenVPN > MANAGEMENT: Client connected from [AF_INET]127.0.0.1:3100
. 2020.01.10 23:11:51 - OpenVPN > [UNDEF] Inactivity timeout (--ping-exit), exiting
. 2020.01.10 23:11:51 - OpenVPN > SIGTERM received, sending exit notification to peer
. 2020.01.10 23:11:56 - OpenVPN > SIGTERM[soft,exit-with-notification] received, process exiting
Iptables:
 
sudo iptables -L

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
f2b-sshd   tcp  --  anywhere             anywhere             multiport dports ssh
f2b-sshd   tcp  --  anywhere             anywhere             multiport dports ssh

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain f2b-sshd (2 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere
RETURN     all  --  anywhere             anywhere


 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...