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

[Openvpn-users] Out of Memory error on FC4 server


  • Subject: [Openvpn-users] Out of Memory error on FC4 server
  • From: "Marcin J. Kraszewski" <ac477@xxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 30 Nov 2005 18:01:03 -0500
  • Priority: normal

Dear Listers

Here is my problem. I followed the HOW-TO and installed a server on FC4
and a client on Win2000. When I start the openvpn daemon, it initializes
OK. As soon as I start the client, the server crashes with the following
error:

Wed Nov 30 16:35:43 2005 MULTI: multi_create_instance called
Wed Nov 30 16:35:43 2005 192.168.211.31:3814 Re-using SSL/TLS context
OpenVPN: Out of Memory

(192.168.211.31 is my client)

I am using VMware for my testing and assigned 1GB of memory fo FC4. top
does not show any memory shortages. I searched the archives, but could
not find anything similar.

Both server and client are on the same subnet (server has two more
interfaces). All the key files were created on the server. If you need
more information, please,let me know. I would really appreciate your
input here. Attached are the logs and config files.

Server config:

local 192.168.211.111
port 1194
proto udp
dev tun
mlock
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/vmlinux.crt
key /etc/openvpn/keys/vmlinux.key  # This file should be kept secret
dh /etc/openvpn/keys/dh1024.pem
server 192.168.11.240 255.255.255.240
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
max-clients 10
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3
management 10.100.11.111 1194

Server log:

Wed Nov 30 16:25:13 2005 OpenVPN 2.0.5 i386-redhat-linux-gnu [SSL] [LZO]
[EPOLL] built on Nov  4 2005
Wed Nov 30 16:25:13 2005 MANAGEMENT: TCP Socket listening on
10.100.11.111:1194
Wed Nov 30 16:25:13 2005 mlockall call succeeded
Wed Nov 30 16:25:13 2005 Diffie-Hellman initialized with 1024 bit key
Wed Nov 30 16:25:13 2005 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0
ET:0 EL:0 ]
Wed Nov 30 16:25:13 2005 TUN/TAP device tun0 opened
Wed Nov 30 16:25:13 2005 /sbin/ip link set dev tun0 up mtu 1500
Wed Nov 30 16:25:13 2005 /sbin/ip addr add dev tun0 local 192.168.11.241
peer 192.168.11.242
Wed Nov 30 16:25:13 2005 /sbin/ip route add 192.168.11.240/28 via
192.168.11.242
Wed Nov 30 16:25:13 2005 Data Channel MTU parms [ L:1542 D:1450 EF:42
EB:135 ET:0 EL:0 AF:3/1 ]
Wed Nov 30 16:25:13 2005 GID set to nobody
Wed Nov 30 16:25:13 2005 UID set to nobody
Wed Nov 30 16:25:13 2005 UDPv4 link local (bound): 192.168.211.111:1194
Wed Nov 30 16:25:13 2005 UDPv4 link remote: [undef]
Wed Nov 30 16:25:13 2005 MULTI: multi_init called, r=256 v=256
Wed Nov 30 16:25:13 2005 IFCONFIG POOL: base=192.168.11.244 size=2
Wed Nov 30 16:25:13 2005 IFCONFIG POOL LIST
Wed Nov 30 16:25:13 2005 Initialization Sequence Completed


Client config:

client
dev tun
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
ca "c:\\Program Files\\OpenVPN\\keys\\ca.crt"
cert "c:\\Program Files\\OpenVPN\\keys\\client.crt"
key "c:\\Program Files\\OpenVPN\\keys\\client.key"
comp-lzo
verb 3

Client log:

Wed Nov 30 16:19:25 2005 OpenVPN 2.0.5 Win32-MinGW [SSL] [LZO] built on
Nov  2 2005
Wed Nov 30 16:19:25 2005 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.
Wed Nov 30 16:19:25 2005 WARNING: No server certificate verification
method has been enabled.  See http://openvpn.net/howto.html#mitm for
more info.
Wed Nov 30 16:19:33 2005 LZO compression initialized
Wed Nov 30 16:19:33 2005 Control Channel MTU parms [ L:1542 D:138 EF:38
EB:0 ET:0 EL:0 ]
Wed Nov 30 16:19:33 2005 Data Channel MTU parms [ L:1542 D:1450 EF:42
EB:135 ET:0 EL:0 AF:3/1 ]
Wed Nov 30 16:19:33 2005 Local Options hash (VER=V4): '41690919'
Wed Nov 30 16:19:33 2005 Expected Remote Options hash (VER=V4): '530fdded'
Wed Nov 30 16:19:33 2005 UDPv4 link local: [undef]
Wed Nov 30 16:19:33 2005 UDPv4 link remote: 192.168.211.111:1194
Wed Nov 30 16:19:33 2005 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054)
Wed Nov 30 16:19:36 2005 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054)
Wed Nov 30 16:19:38 2005 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054)
Wed Nov 30 16:19:40 2005 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054)
Wed Nov 30 16:19:42 2005 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054)

Regards

Marcin

---
Marcin J. Kraszewski
ac477@xxxxxx

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users