OpenVPN 2.0 and udev
Hi all,
After I decided to push OpenVPN 2.0 into Debian for future inclusion in Sarge, I got this [1] bug report from one Debian user. It seems that 2.0 doesn't get along well with udev, as opposed to 1.6. I don't use udev, so I can't really tell, but has anything changed from 1.6 to 2.0 in the way the device is handled?
The suspicious message is:
Oct 16 16:31:12 gimli wait_for_sysfs[5873]: error: wait_for_sysfs needs an update to handle the device '/class/net/tun0' properly, please report to <[email protected]>
The bug submitter claims that OpenVPN 1.6 deals correctly with it. Maybe it has something to do with device probing?
Thanks,
Alberto
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=276799
P.S. James, did you find out anything about this [2]? Do you think it could be due to hardware (RAM) problem? I'm thinking about tagging it irreproducible.
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=265632
Signature · 5 lines
Alberto Gonzalez Iniesta | BOFH excuse #175: agi@(inittab.org|debian.org)| OS swapped to disk Encrypted mail preferred | Key fingerprint = 9782 04E7 2B75 405C F5E9 0C81 C514 AF8E 4BA4 01C3
Quoted 11 lines · Alberto Gonzalez Iniesta
Hi all,
After I decided to push OpenVPN 2.0 into Debian for future inclusion in Sarge, I got this [1] bug report from one Debian user. It seems that 2.0 doesn't get along well with udev, as opposed to 1.6. I don't use udev, so I can't really tell, but has anything changed from 1.6 to 2.0 in the way the device is handled?
The suspicious message is:
Oct 16 16:31:12 gimli wait_for_sysfs[5873]: error: wait_for_sysfs needs an
update to handle the device '/class/net/tun0' properly, please report to <[email protected]>
Quoted 3 lines
The bug submitter claims that OpenVPN 1.6 deals correctly with it. Maybe it has something to do with device probing?
The TUN/TAP handling code in 2.0 is nearly identical to the 1.6 code. The only change I can think of is the setting of txqueuelen on the TUN/TAP driver.
Incidentally, the error shown in the bug report looks like he is trying to make a tunnel between 1.6 and 2.0 using incompatible key-method parameters. He needs to set --key-method 2 on the 1.6 side.
Quoted 10 lines
Thanks,
Alberto
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=276799
P.S. James, did you find out anything about this [2]? Do you think it could be due to hardware (RAM) problem? I'm thinking about tagging it irreproducible.
Yes, I would tend to mark it as irreproducible for now. I tried to contact him for more info, but haven't received any response.
Quoted 1 line
James
Quoted 13 lines · James Yonan
Quoted 11 lines · Alberto Gonzalez Iniesta
Hi all,
After I decided to push OpenVPN 2.0 into Debian for future inclusion in Sarge, I got this [1] bug report from one Debian user. It seems that 2.0 doesn't get along well with udev, as opposed to 1.6. I don't use udev, so I can't really tell, but has anything changed from 1.6 to 2.0 in the way the device is handled?
The suspicious message is:
Oct 16 16:31:12 gimli wait_for_sysfs[5873]: error: wait_for_sysfs needs an
Quoted 8 lines
update to handle the device '/class/net/tun0' properly, please report to <[email protected]>
Quoted 3 lines
The bug submitter claims that OpenVPN 1.6 deals correctly with it. Maybe it has something to do with device probing?
The TUN/TAP handling code in 2.0 is nearly identical to the 1.6 code. The only change I can think of is the setting of txqueuelen on the TUN/TAP driver.
Ok
Quoted 3 lines
Incidentally, the error shown in the bug report looks like he is trying to make a tunnel between 1.6 and 2.0 using incompatible key-method parameters. He needs to set --key-method 2 on the 1.6 side.
Has this changed between 1.6 and 2 beta11?
The man page says --key-method defaults to 1 and the ChangeLog does not say otherwise. I don't think this guy changed that to 2 just after he upgraded the package. I'll ask him anyway, yo never know...
Could a problem with the TUN/TAP driver confuse the --key-method handling code?
Quoted 9 lines
Quoted 6 lines
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=276799
P.S. James, did you find out anything about this [2]? Do you think it could be due to hardware (RAM) problem? I'm thinking about tagging it irreproducible.Yes, I would tend to mark it as irreproducible for now. I tried to contact him for more info, but haven't received any response.
Ok, thanks a lot. I'll tag it 'unreproducible' and 'moreinfo' so 'the ball will be on his side'. :)
Signature · 5 lines
Alberto Gonzalez Iniesta | BOFH excuse #47: agi@(inittab.org|debian.org)| Complete Transient Lockout Encrypted mail preferred | Key fingerprint = 9782 04E7 2B75 405C F5E9 0C81 C514 AF8E 4BA4 01C3
Quoted 30 lines · Alberto Gonzalez Iniesta
Quoted 13 lines · James Yonan
Quoted 11 lines · Alberto Gonzalez Iniesta
Hi all,
After I decided to push OpenVPN 2.0 into Debian for future inclusion in Sarge, I got this [1] bug report from one Debian user. It seems that 2.0 doesn't get along well with udev, as opposed to 1.6. I don't use udev, so I can't really tell, but has anything changed from 1.6 to 2.0 in the way the device is handled?
The suspicious message is:
Oct 16 16:31:12 gimli wait_for_sysfs[5873]: error: wait_for_sysfs needs anQuoted 8 lines
update to handle the device '/class/net/tun0' properly, please report to <[email protected]>
Quoted 3 lines
The bug submitter claims that OpenVPN 1.6 deals correctly with it. Maybe it has something to do with device probing?
The TUN/TAP handling code in 2.0 is nearly identical to the 1.6 code. The only change I can think of is the setting of txqueuelen on the TUN/TAP driver.
Ok
Quoted 3 lines
Incidentally, the error shown in the bug report looks like he is trying to make a tunnel between 1.6 and 2.0 using incompatible key-method parameters. He needs to set --key-method 2 on the 1.6 side.
Quoted 8 lines
Has this changed between 1.6 and 2 beta11?
The man page says --key-method defaults to 1 and the ChangeLog does not say otherwise. I don't think this guy changed that to 2 just after he upgraded the package. I'll ask him anyway, yo never know...
Could a problem with the TUN/TAP driver confuse the --key-method handling code?Quoted 2 lines
Quoted 2 lines
James, as you may see in here [1] now, it seems that setting --key-method to 1 in the OpenVPN 2 side, solved the problem. Maybe that changed but it's not documented? Or there's something weird going on?
Thanks,
Alberto
Signature · 5 lines
Alberto Gonzalez Iniesta | BOFH excuse #268: agi@(inittab.org|debian.org)| Neutrino overload on the nameserver Encrypted mail preferred | Key fingerprint = 9782 04E7 2B75 405C F5E9 0C81 C514 AF8E 4BA4 01C3
Quoted 12 lines · Alberto Gonzalez Iniesta
Quoted 11 lines
Quoted 3 lines
Incidentally, the error shown in the bug report looks like he is trying to make a tunnel between 1.6 and 2.0 using incompatible key-method parameters. He needs to set --key-method 2 on the 1.6 side.
Has this changed between 1.6 and 2 beta11?
The man page says --key-method defaults to 1 and the ChangeLog does not say otherwise. I don't think this guy changed that to 2 just after he upgraded the package. I'll ask him anyway, yo never know...
Could a problem with the TUN/TAP driver confuse the --key-method handling code?
Quoted 3 lines
James, as you may see in here [1] now, it seems that setting --key-method to 1 in the OpenVPN 2 side, solved the problem. Maybe that changed but it's not documented? Or there's something weird going on?
It is documented, but probably not where you looked :-)
1.6 defaults to key-method 1, while 2.0 defaults to key-method 2.
I found it documented in the following two places:
The 2.0 Release Notes. [1]
The Compatibility Notes. [2]
[1] http://openvpn.sourceforge.net/20notes.html
[2] http://openvpn.sourceforge.net/compat.html
--
_____________________________________________________________
Mathias Sundman (^) ASCII Ribbon Campaign OpenVPN GUI for Windows X NO HTML/RTF in e-mail http://www.nilings.se/openvpn / \ NO Word docs in e-mail
Quoted 25 lines · Alberto Gonzalez Iniesta
Quoted 13 lines · James Yonan
Quoted 11 lines · Alberto Gonzalez Iniesta
Hi all,
After I decided to push OpenVPN 2.0 into Debian for future inclusion in Sarge, I got this [1] bug report from one Debian user. It seems that 2.0 doesn't get along well with udev, as opposed to 1.6. I don't use udev, so I can't really tell, but has anything changed from 1.6 to 2.0 in the way the device is handled?
The suspicious message is:
Oct 16 16:31:12 gimli wait_for_sysfs[5873]: error: wait_for_sysfs needs anQuoted 8 lines
update to handle the device '/class/net/tun0' properly, please report to <[email protected]>
Quoted 3 lines
The bug submitter claims that OpenVPN 1.6 deals correctly with it. Maybe it has something to do with device probing?
The TUN/TAP handling code in 2.0 is nearly identical to the 1.6 code. The only change I can think of is the setting of txqueuelen on the TUN/TAP driver.
Ok
Quoted 7 lines
Quoted 3 lines
Incidentally, the error shown in the bug report looks like he is trying to make a tunnel between 1.6 and 2.0 using incompatible key-method parameters. He needs to set --key-method 2 on the 1.6 side.
Has this changed between 1.6 and 2 beta11?
The man page says --key-method defaults to 1 and the ChangeLog does not say otherwise.
Ah yes, the man page entry for --key-method hasn't been updated for 2.0. I will fix this for beta12.
Quoted 3 lines
I don't think this guy changed that to 2 just after he upgraded the package. I'll ask him anyway, yo never know...
Could a problem with the TUN/TAP driver confuse the --key-method handling code?
I doubt it. The SSL/TLS handling code has almost no interactions with the TUN/TAP code.
James