Re: dhclient: avoiding hostname disclosure via DHCP request



Hi Dan,

thanks for your reply.

If you're using 'keyfile' configuration files, you can add the line
"dhcp-send-hostname=false" to the [ipv4] block to prevent sending the
hostname to the DHCP server.  I don't believe it's exposed anywhere in
the nm-connection-editor UI at least.  Note that setting that option
does not prevent a custom dhclient.conf with "send host-name" from
working, so make sure it's not their either.

After reading your reply, I tried to add:

"
[ipv4]
dhcp-send-hostname=false
"

to /etc/NetworkManager/NetworkManager.conf
but that wasn't very successful.

There are not much files under /etc/NetworkManager at all.

Do I have to put that somewhere under
/etc/sysconfig/network-scripts
?

thanks!







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