Hi all, 

Sorry for the delay forwarding this email, but I don't find time to 
breath lately (and thus Oxygen does not make it to my brain :)

Hope it's an easy one.


----- Forwarded message from Robert de Bath <robert$@mayday.cix.co.uk> -----

From: Robert de Bath <robert$@mayday.cix.co.uk>
Reply-To: Robert de Bath <robert$@mayday.cix.co.uk>, 182...@bugs.debian.org
To: sub...@bugs.debian.org
Subject: Bug#182020: openvpn needs dynamic choice on HAVE_LINUX_IF_TUN_H
List-Post: openvpn-devel@lists.sourceforge.net
Date: Sat, 22 Feb 2003 11:03:19 +0000 (GMT)
X-URL: <http://www.cix.co.uk/~mayday>
X-Dev86-Version: 0.16.10
Reply-By: 01 jan 2001 00:00:00
X-Message-Flag: Linux: The choice of a GNU generation.
Return-Receipt-To: recei...@mayday.cix.co.uk
X-Spam-Level: 
X-SpamProbe: GOOD 0.0000000 f10cd08f2b096e6bf59bcfea5e2f80a4
X-Spam-Status: No, hits=-4.5 required=5.0 tests=SENT_BY_BTS,FORGED_RCVD_FOUND 
version=2.20
X-Spam-Level: 

Package: openvpn
Version: 1.3.0-2

When compiled with 2.4.* kernel headers (libc6-dev 2.2.5-14.3 headers)
it detects this header file and defines HAVE_LINUX_IF_TUN_H. This allow
openvpn to work correctly with 2.4.18 kernels BUT it stops it working
with 2.2.X kernels at all (with or without the tun kernel module from
sourceforge)

Options are:

1) Seperate compiles for 2.2.X and 2.4+ kernels, both binaries in the .deb

2) Patch tun.c to first check if /dev/net/tun exists and works before
   falling back to the open_tun_generic(..) function if it doesn't.

I'm currently successfully using openvpn between a 2.2.19 and 2.4.18
kernel using the tun0 tunnel and the driver from sourceforge on the 2.2.19
machine. (No reboot required to install the tun0 driver) The 2.4.18
openvpn is standard, the 2.2.19 has HAVE_LINUX_IF_TUN_H undefined.

Both machines are woody with libc6/testing.

-- 
Rob.                          (Robert de Bath <robert$ @ debath.co.uk>)
                                       <http://www.cix.co.uk/~mayday>
Google Homepage:   http://www.google.com/search?btnI&q=Robert+de+Bath


----- End forwarded message -----

-- 
Alberto Gonzalez Iniesta   | BOFH excuse #2:
agi@(agi.as|debian.org)    | solar flares
Encrypted mail preferred   | 

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3

Reply via email to