IP address lease 0.0.0.0 has been denied
Posted: Sun Oct 17, 2010 8:12 am
I just re-started my Windows Server 2008 (32-bit, original edition, fully patched) with OpenVPN version information:
OpenVPN 2.1.3 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Aug 20 2010
The System Event Log began filling up with thousands of this error:
The IP address lease 0.0.0.0 for the Network Card with network address 00FF09A5E76E has been denied by the DHCP server 10.8.0.2 (The DHCP Server sent a DHCPNACK message).
The error occurred exactly once per second, every second, until I manually stopped the OpenVPN service when I noticed the errors an hour later. (Lots of errors in the log!)
The error messages began at 18:32:09, which is about five minutes after the OpenVPN Service started automatically at 18:26:27 during the server's normal boot up process. Note, this server is a very low-end machine, rather slow; I do not know why there was that long delay between the OpenVPN Service start and the beginning of the endless series of these errors in the System Log. The errors stopped instantly after I stopped the OpenVPN service. (Literally, the last of these error messages was the last event log entry before the event log entry indicating the OpenVPN Service stopping).
Oddly, when I re-started the OpenVPN Service a few minutes later, the errors did NOT start up again.
Here's the contents of the OpenVPN.log file from service start to stop. I don't see anything in here to suggest that the OpenVPN Service itself was even aware of the problem going on?
Sun Oct 17 18:26:27 2010 OpenVPN 2.1.3 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Aug 20 2010
Sun Oct 17 18:26:27 2010 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sun Oct 17 18:26:27 2010 Diffie-Hellman initialized with 1024 bit key
Sun Oct 17 18:26:28 2010 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Sun Oct 17 18:26:28 2010 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Oct 17 18:26:28 2010 ROUTE default_gateway=192.168.255.5
Sun Oct 17 18:26:28 2010 TAP-WIN32 device [OpenVPN Adapter #1] opened: \\.\Global\{09A5E76E-183F-4C7A-8717-E4F857803062}.tap
Sun Oct 17 18:26:28 2010 TAP-Win32 Driver Version 9.7
Sun Oct 17 18:26:28 2010 TAP-Win32 MTU=1500
Sun Oct 17 18:26:28 2010 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.252 on interface {09A5E76E-183F-4C7A-8717-E4F857803062} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Sun Oct 17 18:26:28 2010 Sleeping for 10 seconds...
Sun Oct 17 18:26:38 2010 Successful ARP Flush on interface [13] {09A5E76E-183F-4C7A-8717-E4F857803062}
Sun Oct 17 18:26:38 2010 C:\WINDOWS\system32\route.exe ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Sun Oct 17 18:26:38 2010 Warning: route gateway is not reachable on any active network adapters: 10.8.0.2
Sun Oct 17 18:26:38 2010 Route addition via IPAPI failed [adaptive]
Sun Oct 17 18:26:38 2010 Route addition fallback to route.exe
OK!
Sun Oct 17 18:26:39 2010 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Oct 17 18:26:39 2010 UDPv4 link local (bound): 192.168.255.4:1194
Sun Oct 17 18:26:39 2010 UDPv4 link remote: [undef]
Sun Oct 17 18:26:39 2010 MULTI: multi_init called, r=256 v=256
Sun Oct 17 18:26:39 2010 IFCONFIG POOL: base=10.8.0.4 size=62
Sun Oct 17 18:26:39 2010 IFCONFIG POOL LIST
Sun Oct 17 18:26:39 2010 MONSTER.AD3.felines.org,10.8.0.4
Sun Oct 17 18:26:39 2010 GATO.AD3.felines.org,10.8.0.8
Sun Oct 17 18:26:39 2010 Initialization Sequence Completed
Sun Oct 17 19:53:40 2010 TCP/UDP: Closing socket
Sun Oct 17 19:53:40 2010 C:\WINDOWS\system32\route.exe DELETE 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Sun Oct 17 19:53:40 2010 Warning: route gateway is not reachable on any active network adapters: 10.8.0.2
Sun Oct 17 19:53:40 2010 Route deletion via IPAPI failed [adaptive]
Sun Oct 17 19:53:40 2010 Route deletion fallback to route.exe
OK!
Sun Oct 17 19:53:40 2010 Closing TUN/TAP interface
Sun Oct 17 19:53:40 2010 SIGTERM[hard,] received, process exiting
Other information:
IPv6 is disabled on both the physical Ethernet interface of the server, and on the logical TAP interface installed by OpenVPN. There is no IPv6 actually active on the network, except for what the several Windows 7 clients on the network might have by default.
10.8.0.2 is the IP address used by the OpenVPN Service as the DHCP server for the VPN it operates.
The two cached DHCP leases (GATO and MONSTER) are for two physical Windows 7 machines on my LAN, both of which I had used to test the OpenVPN Service when I installed it recently.
No clients are currently configured to attempt to start VPN connections to this OpenVPN Service, and no connection attempts were made to the OpenVPN Service during this event.
The Network Card with network address 00FF09A5E76E mentioned in the error messages is the OpenVPN Service's logical TAP-Win32 Adapter.
Any ideas why this would happen, and how to prevent it in the future?
Thanks!
-Jay
OpenVPN 2.1.3 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Aug 20 2010
The System Event Log began filling up with thousands of this error:
The IP address lease 0.0.0.0 for the Network Card with network address 00FF09A5E76E has been denied by the DHCP server 10.8.0.2 (The DHCP Server sent a DHCPNACK message).
The error occurred exactly once per second, every second, until I manually stopped the OpenVPN service when I noticed the errors an hour later. (Lots of errors in the log!)
The error messages began at 18:32:09, which is about five minutes after the OpenVPN Service started automatically at 18:26:27 during the server's normal boot up process. Note, this server is a very low-end machine, rather slow; I do not know why there was that long delay between the OpenVPN Service start and the beginning of the endless series of these errors in the System Log. The errors stopped instantly after I stopped the OpenVPN service. (Literally, the last of these error messages was the last event log entry before the event log entry indicating the OpenVPN Service stopping).
Oddly, when I re-started the OpenVPN Service a few minutes later, the errors did NOT start up again.
Here's the contents of the OpenVPN.log file from service start to stop. I don't see anything in here to suggest that the OpenVPN Service itself was even aware of the problem going on?
Sun Oct 17 18:26:27 2010 OpenVPN 2.1.3 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Aug 20 2010
Sun Oct 17 18:26:27 2010 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sun Oct 17 18:26:27 2010 Diffie-Hellman initialized with 1024 bit key
Sun Oct 17 18:26:28 2010 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Sun Oct 17 18:26:28 2010 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Oct 17 18:26:28 2010 ROUTE default_gateway=192.168.255.5
Sun Oct 17 18:26:28 2010 TAP-WIN32 device [OpenVPN Adapter #1] opened: \\.\Global\{09A5E76E-183F-4C7A-8717-E4F857803062}.tap
Sun Oct 17 18:26:28 2010 TAP-Win32 Driver Version 9.7
Sun Oct 17 18:26:28 2010 TAP-Win32 MTU=1500
Sun Oct 17 18:26:28 2010 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.252 on interface {09A5E76E-183F-4C7A-8717-E4F857803062} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Sun Oct 17 18:26:28 2010 Sleeping for 10 seconds...
Sun Oct 17 18:26:38 2010 Successful ARP Flush on interface [13] {09A5E76E-183F-4C7A-8717-E4F857803062}
Sun Oct 17 18:26:38 2010 C:\WINDOWS\system32\route.exe ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Sun Oct 17 18:26:38 2010 Warning: route gateway is not reachable on any active network adapters: 10.8.0.2
Sun Oct 17 18:26:38 2010 Route addition via IPAPI failed [adaptive]
Sun Oct 17 18:26:38 2010 Route addition fallback to route.exe
OK!
Sun Oct 17 18:26:39 2010 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Oct 17 18:26:39 2010 UDPv4 link local (bound): 192.168.255.4:1194
Sun Oct 17 18:26:39 2010 UDPv4 link remote: [undef]
Sun Oct 17 18:26:39 2010 MULTI: multi_init called, r=256 v=256
Sun Oct 17 18:26:39 2010 IFCONFIG POOL: base=10.8.0.4 size=62
Sun Oct 17 18:26:39 2010 IFCONFIG POOL LIST
Sun Oct 17 18:26:39 2010 MONSTER.AD3.felines.org,10.8.0.4
Sun Oct 17 18:26:39 2010 GATO.AD3.felines.org,10.8.0.8
Sun Oct 17 18:26:39 2010 Initialization Sequence Completed
Sun Oct 17 19:53:40 2010 TCP/UDP: Closing socket
Sun Oct 17 19:53:40 2010 C:\WINDOWS\system32\route.exe DELETE 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Sun Oct 17 19:53:40 2010 Warning: route gateway is not reachable on any active network adapters: 10.8.0.2
Sun Oct 17 19:53:40 2010 Route deletion via IPAPI failed [adaptive]
Sun Oct 17 19:53:40 2010 Route deletion fallback to route.exe
OK!
Sun Oct 17 19:53:40 2010 Closing TUN/TAP interface
Sun Oct 17 19:53:40 2010 SIGTERM[hard,] received, process exiting
Other information:
IPv6 is disabled on both the physical Ethernet interface of the server, and on the logical TAP interface installed by OpenVPN. There is no IPv6 actually active on the network, except for what the several Windows 7 clients on the network might have by default.
10.8.0.2 is the IP address used by the OpenVPN Service as the DHCP server for the VPN it operates.
The two cached DHCP leases (GATO and MONSTER) are for two physical Windows 7 machines on my LAN, both of which I had used to test the OpenVPN Service when I installed it recently.
No clients are currently configured to attempt to start VPN connections to this OpenVPN Service, and no connection attempts were made to the OpenVPN Service during this event.
The Network Card with network address 00FF09A5E76E mentioned in the error messages is the OpenVPN Service's logical TAP-Win32 Adapter.
Any ideas why this would happen, and how to prevent it in the future?
Thanks!
-Jay