[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] problem with SIGUSR1 on OpenBSD in conjuction with tcp


  • Subject: [Openvpn-users] problem with SIGUSR1 on OpenBSD in conjuction with tcp
  • From: Thomas Glanzmann <sithglan@xxxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 26 Sep 2003 23:13:18 +0200

Hi,
one of my users experienced a problem with openvpn on OpenBSD. After
redialing openvpn isn't connect to the server after receiving a SIGUSR1.
When sending a SIGHUP everything works as accepted, but of course all
open connections are resetted.

Logfiles / config are attached. This is the case with the tcp protcoll.

Greetings,
	Thomas
[Everything looks fine so far...ppp reconnect worked]
Sep 26 08:14:35 lain sichkell-server[30315]: select : Interrupted system call (code=4)
Sep 26 08:14:35 lain sichkell-server[30315]: SIGUSR1 received, restarting
Sep 26 08:14:35 lain sichkell-server[30315]: Closing TCP/UDP socket
Sep 26 08:14:35 lain sichkell-server[30315]: OpenVPN 1.5-beta7 i386-unknown-openbsd3.3 [SSL] built on Sep  8 2003
Sep 26 08:14:35 lain sichkell-server[30315]: Data Channel MTU parms [ link_mtu=1343 extra_frame=43 extra_buffer=0 extra_tun=0 ]
Sep 26 08:14:35 lain sichkell-server[30315]: Control Channel MTU parms [ link_mtu=1343 extra_frame=40 extra_buffer=0 extra_tun=0 ]
Sep 26 08:14:35 lain sichkell-server[30315]: Preserving previous TUN/TAP instance: tun1
Sep 26 08:14:35 lain sichkell-server[30315]: Attempting to establish TCP connection with x.x.x.x:5008
Sep 26 08:14:37 lain ppp[15875]: tun0: LCP: deflink: RecvProtocolRej(197) state = Opened
Sep 26 08:14:37 lain ppp[15875]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Sep 26 08:14:37 lain ppp[15875]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Sep 26 08:14:40 lain ppp[15875]: tun0: LCP: deflink: RecvProtocolRej(198) state = Opened
Sep 26 08:14:40 lain ppp[15875]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Sep 26 08:14:40 lain ppp[15875]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Sep 26 08:14:41 lain sichkell-server[30315]: connect() failed, will try again in 5 seconds, error: Connection refused (errno=61)
Sep 26 08:14:44 lain ppp[15875]: tun0: LCP: deflink: RecvProtocolRej(199) state = Opened
Sep 26 08:14:44 lain ppp[15875]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Sep 26 08:14:44 lain ppp[15875]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Sep 26 08:14:46 lain sichkell-server[30315]: connect() failed, will try again in 5 seconds, error: Invalid argument (errno=22)
Sep 26 08:14:47 lain ppp[15875]: tun0: LCP: deflink: RecvProtocolRej(200) state = Opened
Sep 26 08:14:47 lain ppp[15875]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Sep 26 08:14:47 lain ppp[15875]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Sep 26 08:14:51 lain sichkell-server[30315]: connect() failed, will try again in 5 seconds, error: Invalid argument (errno=22)
Sep 26 08:15:01 lain last message repeated 2 times
Sep 26 08:15:03 lain ppp[15875]: tun0: LCP: deflink: RecvEchoRequest(201) state = Opened
Sep 26 08:15:03 lain ppp[15875]: tun0: LCP: deflink: SendEchoReply(201) state = Opened
Sep 26 08:15:06 lain sichkell-server[30315]: connect() failed, will try again in 5 seconds, error: Invalid argument (errno=22)
Sep 26 08:15:36 lain last message repeated 6 times
[...]
daemon sichkell-server
dev tun
tun-ipv6
proto tcp-client

remote x.x.x.x

up /home/chr/config_openvpn/sichkell.up

tls-client
ca /home/chr/config_openvpn/ca.crt
cert /home/chr/config_openvpn/sichkell.pem
key /etc/ssl/private/ipv6tun.priv
tls-verify /home/chr/config_openvpn/tls-verify

port 5008
persist-tun
verb 3