Re: dhclient: avoiding hostname disclosure via DHCP request



Mark in /etc/dhcp/dhclient.conf 'send host-name' as comment.

Since the resulting file is created by merging /etc/dhcp/dhclient.conf
into /var/lib/NetworkManager/dhclient-em1.conf that does not do the trick.

The final file looks like:

-----
# Created by NetworkManager
# Merged from /etc/dhcp/dhclient.conf

# send host-name "foobar";
[...]
send host-name "foobar"; # added by NetworkManager
[...]
-----




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