Re: dhclient: avoiding hostname disclosure via DHCP request



On Wed, 2014-10-15 at 12:36 +0000, Robert Horovitz wrote:
Dan wrote (2014-01-06):
This turns out to be a bug in the 'ifcfg-rh' config file parsing plugin.
I've fixed it in git upstream, but a temporary workaround would be:

DHCP_HOSTNAME=wont-be-used
DHCP_SEND_HOSTNAME=no

DHCP_SEND_HOSTNAME was only parsed if DHCP_HOSTNAME was also given.

NM version:
NetworkManager-0.9.8.8-2.fc19.x86_64

I tried it in my FC20 VM, there it works fine, I guess I have one more
reason to upgrade then.


The steps that previously worked back in January do not work on a F20
now? (I upgraded from F19 -> F20).

I'm using:
NetworkManager-0.9.9.0-45.git20131003.fc20.x86_64

and added these lines:

DHCP_HOSTNAME=wont-be-used
DHCP_SEND_HOSTNAME=no

to
/etc/sysconfig/network-scripts/ifcfg-<SSID>

Did anything change in this regard? How can I prevent hostname
disclosure via DHCP requests nowadays?

I'm not quite sure why that worked in 0.9.8.8 since the patches that
read/write DHCP_SEND_HOSTNAME only got added in December 2013, long
after both those versions came out.  But...

I've backported those patches to F20 for you, can you try:

https://admin.fedoraproject.org/updates/NetworkManager-0.9.9.0-46.git20131003.fc20

and let me know if it fixes the issue?

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]