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

[Openvpn-users] VPN Client (Write to TUN/TAP Result Too Large) [Open Solaris 10 ON + Nexenta Alpha5]


  • Subject: [Openvpn-users] VPN Client (Write to TUN/TAP Result Too Large) [Open Solaris 10 ON + Nexenta Alpha5]
  • From: David Lloyd <lloy0076@xxxxxxxxxxx>
  • Date: Tue, 10 Oct 2006 22:07:37 +0930

I keep on getting:

[date] write to TUN/TAP : Result too large (code=34)

It happens every 20 seconds and eventually the connection resets.

I've copied the client.conf and my key(s) from a working Gentoo 
GNU/Linux configuration.

I've used the Solaris tun device from:

  http://vtun.sourceforge.net/tun/

And I'm using the sources from the web whose last changelog entry was 
2006.10.01 -- Version 2.0.9

Although I had to do some very small adjustments to get OpenVPN to 
compile properly, I do not believe these adjustments would cause this 
failure:

1. I had to download the source version of the TUN/TAP driver

    - and place net/if_tun.h (or was it net/if_tap.h) in
      a place where the compiler could find it

    - I don't believe this to be an issue as my Solaris loads the TUN/TAP
      driver at boot and OpenVPN isn't complaining about a lack of it

      [I've seen what happens if the tun* device(s) don't exist and
       Openvpn isn't showing those errors]

2. I've had to add /usr/sfw/lib to the shared library configuration path

    - this was for the openssl shared libraries

    - the SSL negotiations are approved and debug shows routes etc etc
      being sent to me

    - I conclude that this isn't the issue as the certificate/key
      negotiation doesn't give a failure message


I have also tried the same on another Nexenta Alpha5 machine. Whilst 
openvpn and the tun drivers compiled with less fiddling, I still 
encounter the same problem(s).

I'm not sure what else I can do to work out what that error actually 
means...

DSL
______________________
OpenVPN mailing lists
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/2006-10/msg00091.html on line 223

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/2006-10/msg00091.html on line 223