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

Re: [Openvpn-users] Re: OpenVPN on OS X


  • Subject: Re: [Openvpn-users] Re: OpenVPN on OS X
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Thu, 7 Apr 2005 14:33:22 -0600 (MDT)

On Thu, 7 Apr 2005, Jim O'Gorman wrote:

> Just as a followup to my self here:
> 
> Using the exact same config files, everything works perfect when set
> to TCP. As soon as it is changed to UDP, these errors kick in.
> 
> So, I have a work around for now. But, this does indicate to me
> something is wrong with either the tun driver on OS X, or openvpn on
> OS X.

This error ("No buffer space available") usually occurs when the kernel 
doesn't have enough buffer space for a given socket.

Probably the best solution is to either increase the amount of buffer 
space available to the kernel or reduce the amount being taken by the 
OpenVPN socket.

One way to do the latter is to use the --rcvbuf and --sndbuf parameters to 
use a lower value.  Since the kernel appears to be set to use 8192, try 
lower values than this.

James

> On Apr 6, 2005 10:04 AM, Jim O'Gorman <jogorman@xxxxxxxxx> wrote:
> > Hello there, I am hoping someone might have seen this problem before.
> > 
> > I am setting up OpenVPN as a WEP replacement for OS X 10.3 clients. I
> > have it working fine for routing to a private IP range, but when I
> > add:
> > 
> > push "redirect-gateway local def1"
> > 
> > to the server, after I start up the client I get errors of:
> > 
> > Wed Apr  6 00:09:54 2005 GID set to nobody
> > Wed Apr  6 00:09:54 2005 UID set to nobody
> > Wed Apr  6 00:09:54 2005 Initialization Sequence Completed
> > Wed Apr  6 00:09:54 2005 write UDPv4: No buffer space available (code=55)
> > Wed Apr  6 00:09:54 2005 write UDPv4: No buffer space available (code=55)
> > Wed Apr  6 00:09:54 2005 write UDPv4: No buffer space available (code=55)
> > Wed Apr  6 00:09:54 2005 write UDPv4: No buffer space available (code=55)
> > Wed Apr  6 00:09:54 2005 write UDPv4: No buffer space available (code=55)
> > 
> > on the Client. While the connection was "up" I tried a ping to see
> > what would happen, and I get:
> > 
> > $ ping 192.168.100.1
> > PING 192.168.100.1 (192.168.100.1): 56 data bytes
> > ping: sendto: No buffer space available
> > 
> > Going through the FAQ, I see this error for Linux, but obviously that
> > fix does not translate directly to OS X.
> > 
> > Using sysctl, I found these options:
> > 
> > net.local.stream.recvspace: 8192
> > net.local.stream.sendspace: 8192
> > 
> > that I thought might be related. But, I wanted to double check with
> > others that might have seen this before.
> > 
> > Some more information, right after I closed down the connection,
> > netstat reported this:
> > 
> > 187 mbufs in use:
> >         181 mbufs allocated to data
> >         2 mbufs allocated to packet headers
> >         3 mbufs allocated to socket names and addresses
> >         1 mbufs allocated to Appletalk data blocks
> > 211/1028 mbuf clusters in use
> > 2102 Kbytes allocated to network (22% in use)
> > 0 requests for memory denied
> > 0 requests for memory delayed
> > 0 calls to protocol drain routines
> > 
> > The tun driver I am using is the one from
> > http://www-user.rhrk.uni-kl.de/~nissler/tuntap/.
> > 
> > Anyone have any suggestions on what I may try to resolve this?
> > 
> > Thanks
> > Jim
> >
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
> 

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


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-04/msg00110.html on line 271

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-04/msg00110.html on line 271