empty dns information from openvpn servers

Christoph Höger choeger at cs.tu-berlin.de
Sat Sep 15 15:40:22 UTC 2007


hi,

I have some proposals to handle this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=244274

(in short, if an openvpn server does not push dns informations to the
client, the networkmanager-openvpn plugin sends empty addresses and
networkmanager creates an empty /etc/resolv.conf resulting in loss of
comfort using the plugin)

I would prefer to have an "ignore pushed dns information" option in the
plugin, as seen in the attached glade file.

The simplest method would be to patch the plugin to parse the old
resolv.conf and ask NM to use the old data. This would only require to
patch the plugin.

A better way would be to inform NM, that there is no valid new
information available and to use the old file. This would require
patches for both packages. (The patch mentioned in the ubuntu bug report
seems to already do exactly this for NM by jumping out if there is an
obvious wrong nameserver ip returned)

I would do it myself, but im rather new in gnome propgramming in common
and dbus in special.

It would be nice if someone could give me a hint on how to use the value
of the checkbox, and if this is even the right direction to solve the
problem.

regards

christoph  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nm-openvpn-dialog.glade
Type: application/x-glade
Size: 81253 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070915/e70fdfa3/attachment.bin>


More information about the fedora-devel-list mailing list