Hello List,
I've got a somewhat weird question. Let me tell you what my intent is first: We're running a set of Dell boxes with CentOS 4. Some of them use OpenVPN. As we need to monitor the system status of these boxes, we use the Dell supplied OMSA package. As it turns out, OMSA totally breaks if you've got one or more tun devices configured. AFAICT Dell denies support with that issue, because OpenVPN is a third-party add-on. Now instead of discussing with Dell for hours, I'd like to reproduce the issue without OpenVPN which brings me to my question:
How can I create a tun device without using any add on packages using only software contained in CentOS?
Regards, Andreas
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Joseph L. Casale Sent: Monday, August 17, 2009 5:35 To: 'CentOS mailing list' Subject: Re: [CentOS] How to create a tun-device with CentOS packages only?
How can I create a tun device without using any add on
packages using
only software contained in CentOS?
Just your kernel :) Support is built in. Manipulation of and other commands might need additional software though...
Stabbing in the dark here, but does:
mknod /dev/net/tun c 10 200
Or other partial steps you can think of cause the issue?
-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00.
Jason Pyeron schrieb:
Stabbing in the dark here, but does:
mknod /dev/net/tun c 10 200
Or other partial steps you can think of cause the issue?
Not at all. The omcliproxy binary from OMSA starts to segfault once there is any tun netdevice. If I destroy the tun devices, it works fine again.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Andreas Rogge Sent: Monday, August 17, 2009 5:51 To: CentOS mailing list Subject: Re: [CentOS] How to create a tun-device with CentOS packages only?
Jason Pyeron schrieb:
Stabbing in the dark here, but does:
mknod /dev/net/tun c 10 200
Or other partial steps you can think of cause the issue?
Not at all. The omcliproxy binary from OMSA starts to segfault once there is any tun netdevice. If I destroy the tun devices, it works fine again.
So to get a clarification, because I am dense. Do you need to have the drivers insmoded or just have the /dev entries to make OMSA crash?
Remember your request was to find a "supported" config that causes OMSA to not work, so they fix it.
-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00.
Am Montag, den 17.08.2009, 08:15 -0400 schrieb Jason Pyeron:
So to get a clarification, because I am dense. Do you need to have the drivers insmoded or just have the /dev entries to make OMSA crash?
Neither, I can have the driver loaded and in /dev/net/tun. The problem only arises once you create a tun-device (i.e. openvpn --mktun --dev tun1) and vanishes when you remove it again.
Remember your request was to find a "supported" config that causes OMSA to not work, so they fix it.
I finally found another way: it also fails if there's a ppp device, so it can be reproduced with "supported" stuff: Call pppd, call omreport and see it die.
Thank you for your help!
Regards, Andreas