Skip to contentSkip to conversation

Potentially Obscure Bug

Openvpn-devel Stephen Gerstacker 2 participants 2 messages Dec 20, 2006 – Dec 22, 2006 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

I apologize ahead of time, but I've posted this multiple times on the OpenVPN-Users list as well as the forum and no one has said a word to me about fixing my problem. I'm getting desperate and I'm going insane because of this problem.

The Problem
-----------
When I VPN in, I can ping everything on my network. I can SSH into my UNIX boxes. I can connect to web servers running on my internal machines. When I attempt to connect to a Windows share, nothing happens for about 3 minutes. I am then presented with a Windows authentication dialog. I can't type in my current credentials because Windows is awesome and won't let you try them again. Trying other credentials does nothing.

I also found that if I hit a site hosted on an IIS server that requires authentication, the web browser tries for about 3 minutes and then gives a 'page cannot be displayed error'.

This leads me to believe that something is being lost with the authentication protocol.

The Setup
---------
This originally started happening with an OpenVPN 2.0.6 server running on OpenBSD 3.8. The clients were using Windows XP SP2 with I believe the 2.0.6 GUI client.

I've since upgraded and tried many different configurations, including:

* OpenVPN 2.0.9 server on OpenBSD 3.8
* OpenVPN 2.0.9 server on OpenBSD 4.0
* OpenVPN 2.0.9 client
* OpenVPN 2.0.9 server on Ubuntu Edgy

The weirdest part is that with the original configuration worked for 6 months and then spontaneously stopped working. My guess is that a Windows patch killed it, but I'm surprised that no one else has experienced this.

I've attached my current configuration files. This is for the 2.0.9 client GUI, 2.0.9 server on Edgy behind an OpenBSD 4.0 firewall. The log from the client is also provided.

Our network's subnet is 192.168.1.0/24 and our VPN subnet is 192.168.10.0/24.

Again, please help.

Stephen Gerstacker
Sr. Database Developer
Electronic Data Payment Systems
p: 866.578.9740 x114
f: 866.578.9740

Tue Dec 12 22:56:35 2006 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Tue Dec 12 22:56:39 2006 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Dec 12 22:56:39 2006 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Dec 12 22:56:39 2006 LZO compression initialized
Tue Dec 12 22:56:39 2006 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Dec 12 22:56:39 2006 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Dec 12 22:56:39 2006 Local Options hash (VER=V4): '41690919'
Tue Dec 12 22:56:39 2006 Expected Remote Options hash (VER=V4): '530fdded'
Tue Dec 12 22:56:39 2006 UDPv4 link local: [undef]
Tue Dec 12 22:56:39 2006 UDPv4 link remote: 63.239.190.203:1194
Tue Dec 12 22:56:40 2006 TLS: Initial packet from 63.239.190.203:1194, sid=95131adf 0170e063
Tue Dec 12 22:56:41 2006 VERIFY OK: depth=1, /C=US/ST=Ohio/L=Dover/O=Electronic_Data_Payment_Systems/CN=rosencrantz/[email protected]...
Tue Dec 12 22:56:41 2006 VERIFY OK: depth=0, /C=US/ST=Ohio/O=Electronic_Data_Payment_Systems/CN=server/[email protected]...
Tue Dec 12 22:56:45 2006 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Dec 12 22:56:45 2006 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Dec 12 22:56:45 2006 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Dec 12 22:56:45 2006 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Dec 12 22:56:45 2006 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue Dec 12 22:56:45 2006 [server] Peer Connection Initiated with 63.239.190.203:1194
Tue Dec 12 22:56:46 2006 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Dec 12 22:56:46 2006 PUSH: Received control message: 'PUSH_REPLY,route 192.168.1.0 255.255.255.0,redirect-gateway,dhcp-option DNS 192.168.1.3,dhcp-option WINS 192.168.1.3,route 10.8.0.0 255.255.255.0,ping 10,ping-restart 120,ifconfig 10.8.0.10 10.8.0.9' Tue Dec 12 22:56:46 2006 OPTIONS IMPORT: timers and/or timeouts modified
Tue Dec 12 22:56:46 2006 OPTIONS IMPORT: --ifconfig/up options modified
Tue Dec 12 22:56:46 2006 OPTIONS IMPORT: route options modified
Tue Dec 12 22:56:46 2006 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Dec 12 22:56:46 2006 TAP-WIN32 device [Local Area Connection] opened: \\.\Global\{492CF7EE-DE31-4B55-A125-CD396A5DEE12}.tap
Tue Dec 12 22:56:46 2006 TAP-Win32 Driver Version 8.4
Tue Dec 12 22:56:46 2006 TAP-Win32 MTU=1500
Tue Dec 12 22:56:46 2006 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.10/255.255.255.252 on interface {492CF7EE-DE31-4B55-A125-CD396A5DEE12} [DHCP-serv: 10.8.0.9, lease-time: 31536000]
Tue Dec 12 22:56:46 2006 Successful ARP Flush on interface [6] {492CF7EE-DE31-4B55-A125-CD396A5DEE12}
Tue Dec 12 22:56:46 2006 TEST ROUTES: 0/0 succeeded len=2 ret=0 a=0 u/d=down
Tue Dec 12 22:56:46 2006 Route: Waiting for TUN/TAP interface to come up...
Tue Dec 12 22:56:48 2006 TEST ROUTES: 0/0 succeeded len=2 ret=0 a=0 u/d=down
Tue Dec 12 22:56:48 2006 Route: Waiting for TUN/TAP interface to come up...
Tue Dec 12 22:56:49 2006 TEST ROUTES: 3/3 succeeded len=2 ret=1 a=0 u/d=up
Tue Dec 12 22:56:49 2006 route ADD 63.239.190.203 MASK 255.255.255.255 192.168.1.254
Tue Dec 12 22:56:49 2006 Route addition via IPAPI succeeded
Tue Dec 12 22:56:49 2006 route DELETE 0.0.0.0 MASK 0.0.0.0 192.168.1.254
Tue Dec 12 22:56:49 2006 Route deletion via IPAPI succeeded
Tue Dec 12 22:56:49 2006 route ADD 0.0.0.0 MASK 0.0.0.0 10.8.0.9
Tue Dec 12 22:56:49 2006 Route addition via IPAPI succeeded
Tue Dec 12 22:56:49 2006 route ADD 192.168.1.0 MASK 255.255.255.0 10.8.0.9
Tue Dec 12 22:56:49 2006 Route addition via IPAPI succeeded
Tue Dec 12 22:56:49 2006 route ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.9
Tue Dec 12 22:56:49 2006 Route addition via IPAPI succeeded
Tue Dec 12 22:56:49 2006 Initialization Sequence Completed
Tue Dec 12 22:57:13 2006 Replay-window backtrack occurred [1]
Tue Dec 12 23:08:17 2006 TCP/UDP: Closing socket
Tue Dec 12 23:08:17 2006 route DELETE 10.8.0.0 MASK 255.255.255.0 10.8.0.9
Tue Dec 12 23:08:17 2006 Route deletion via IPAPI succeeded
Tue Dec 12 23:08:17 2006 route DELETE 192.168.1.0 MASK 255.255.255.0 10.8.0.9
Tue Dec 12 23:08:17 2006 Route deletion via IPAPI succeeded
Tue Dec 12 23:08:17 2006 route DELETE 63.239.190.203 MASK 255.255.255.255 192.168.1.254
Tue Dec 12 23:08:17 2006 ROUTE: route deletion failed using DeleteIpForwardEntry: The parameter is incorrect.
Tue Dec 12 23:08:17 2006 Route deletion via IPAPI failed
Tue Dec 12 23:08:17 2006 route DELETE 0.0.0.0 MASK 0.0.0.0 10.8.0.9
Tue Dec 12 23:08:17 2006 Route deletion via IPAPI succeeded
Tue Dec 12 23:08:17 2006 route ADD 0.0.0.0 MASK 0.0.0.0 192.168.1.254
Tue Dec 12 23:08:17 2006 Route addition via IPAPI succeeded
Tue Dec 12 23:08:17 2006 Closing TUN/TAP interface
Tue Dec 12 23:08:17 2006 SIGTERM[hard,] received, process exiting

A message that is not in the archive (sent off-list or not yet received): [email protected]...

#2 lore raw
Quoted 12 lines · On 12/21/06, /dev/rob0 <[email protected]...> wrote:

[ Crossposted: this address might not be on Openvpn-devel ]

Quoted 3 lines · Stephen Gerstacker

I apologize ahead of time, but I've posted this multiple times on the OpenVPN-Users list as well as the forum and no one has said a word to me about fixing my problem.

FWIW I doubt this has anything at all to do with openvpn directly. You described a VPN working perfectly, with at least two IP protocols. This is almost certainly a Windows issue. I don't support Microsoft, so I didn't reply.

Quoted 8 lines
Quoted 2 lines

I'm getting desperate and I'm going
insane because of this problem.

Come back with hard evidence that openvpn is somehow causing this problem. Otherwise, check your SMB/CIFS configuration. At no extra charge I'll throw out a WAG: you're using domain authentication, and Windows clients not onsite are giving the wrong (or no) domain for authentication. As Charles suggested, a packet sniffer will show it.

I have to agree this is a Windows issue not OpenVPN. if it was OpenVPN specific there would be a large number of reports on the mailing list. Just because you can reach a device via IP doesn't mean that the Windows configuration is correct.

Signature · 2 lines
Leonard Isham, CISSP
Ostendo non ostento.