Re: openvpn plugin take incorrect secondary dns from wins information
- From: Dan Williams <dcbw redhat com>
- To: Alessandro Bono <alessandro bono gmail com>
- Cc: networkmanager-list gnome org
- Subject: Re: openvpn plugin take incorrect secondary dns from wins information
- Date: Sun, 14 Dec 2008 12:12:10 -0500
On Sat, 2008-12-13 at 16:36 +0000, Alessandro Bono wrote:
> Hi all
>
> After connecting to a customer openvpn server I have incorrect dns
> nameserver, NM use information of primary wins server as secondary dns
> some log below
Yup, I see the bug; nm-vpn-connection.c is adding the WINS servers to
the DNS list in the IP4 config. Shouldn't be doing that.
Dan
> Dec 13 17:16:25 champagne NetworkManager: <info> VPN connection
> 'xxxxxxxxx' (IP Config Get) reply
> received.
> Dec 13 17:16:25 champagne NetworkManager: <info> VPN Gateway:
> xxxxxxxxxxx
> Dec 13 17:16:25 champagne NetworkManager: <info> Internal Gateway:
> 10.153.1.241
> Dec 13 17:16:25 champagne NetworkManager: <info> Tunnel Device:
> tap0
> Dec 13 17:16:25 champagne NetworkManager: <info> Internal IP4 Address:
> 10.153.1.201
> Dec 13 17:16:25 champagne NetworkManager: <info> Internal IP4 Prefix:
> 24
> Dec 13 17:16:25 champagne NetworkManager: <info> Internal IP4 Point-to-
> Point Address:
> 0.0.0.0
> Dec 13 17:16:25 champagne NetworkManager: <info> Maximum Segment Size
> (MSS):
> 0
> Dec 13 17:16:25 champagne NetworkManager: <info> Static Route:
> 192.168.1.0/24 Next Hop:
> 192.168.1.0
> Dec 13 17:16:25 champagne NetworkManager: <info> Static Route:
> 10.153.12.0/24 Next Hop:
> 10.153.12.0
> Dec 13 17:16:25 champagne NetworkManager: <info> Static Route:
> 10.153.24.0/24 Next Hop:
> 10.153.24.0
> Dec 13 17:16:25 champagne NetworkManager: <info> Static Route:
> 10.153.254.0/24 Next Hop:
> 10.153.254.0
> Dec 13 17:16:25 champagne NetworkManager: <info> Internal IP4 DNS:
> 10.153.1.242
> Dec 13 17:16:25 champagne NetworkManager: <info> Internal IP4 DNS:
> 10.153.1.239
> Dec 13 17:16:25 champagne NetworkManager: <info> DNS Domain:
> '(none)'
> Dec 13 17:16:25 champagne NetworkManager: <info> Login Banner:
> Dec 13 17:16:25 champagne NetworkManager: <info>
> -----------------------------------------
> Dec 13 17:16:25 champagne NetworkManager: <info> (null)
> Dec 13 17:16:25 champagne NetworkManager: <info>
> -----------------------------------------
>
> using openvpn from cli I have
>
>
> Sat Dec 13 17:13:18 2008 OpenVPN 2.1_rc11 x86_64-pc-linux-gnu [SSL]
> [LZO2] [EPOLL] [PKCS11] built on Oct 15 2008
>
> [....]
>
> Sat Dec 13 17:13:24 2008 SENT CONTROL [_.xxxxxxxxxx.com]:
> 'PUSH_REQUEST' (status=1)
> Sat Dec 13 17:13:24 2008 PUSH: Received control message:
> 'PUSH_REPLY,route 192.168.1.0 255.255.255.0 10.153.1.254,route
> 10.153.12.0 255.255.255.0 10.153.1.12,route 10.153.24.0 255.255.255.0
> 10.153.1.254,route 10.153.254.0 255.255.255.0 10.153.1.254,dhcp-option
> DNS 10.153.1.242 10.153.1.7,dhcp-option WINS 10.153.1.239
>
> [...]
>
> as you can see correct dns are 10.153.1.242 10.153.1.7 not 10.153.1.242
> 10.153.1.239
>
>
> I'm using a ubuntu intrepid with
>
> dpkg -l | grep network-manager
> ii network-manager
> 0.7~~svn20081018t105859-0ubuntu2~nm4 network management framework
> daemon
> ii network-manager-gnome
> 0.7~~svn20081020t000444-0ubuntu1 network management framework
> (GNOME frontend
> ii network-manager-kde
> 1:0.7svn864988-0ubuntu1ppa1 KDE systray applet for
> controlling NetworkMa
> ii network-manager-openvpn
> 0.7~~svn20081015t024626-0ubuntu1 network management framework
> (OpenVPN plugin
> ii network-manager-pptp
> 0.7~~svn20081015t024626-0ubuntu2~nm3 network management framework
> (PPTP plugin)
> ii network-manager-vpnc
> 0.7~~svn20081015t024626-0ubuntu1.8.10.1~nm4 network management framework
> (VPNC plugin)
>
> dpkg -l | grep resolvconf
> ii resolvconf
> 1.42ubuntu2 name server information
> handler
>
>
> tell me if you need other info
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]