dhclient: preventing hostname disclosure via DHCP request (option 12)

fedorauser fedorauser at vfemail.net
Sat Dec 14 11:52:21 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I'd like to avoid sending my hostname to the DHCP server via the DHCP
request (Option 12).

On my F19 system dhclient runs with the following parameters:

/sbin/dhclient -d -sf /usr/libexec/nm-dhcp-client.action -pf
/var/run/dhclient-em1.pid -lf
/var/lib/NetworkManager/dhclient-e4e10ab3-a727-4cae-9b6e-40b565ad3e3f-em1.lease
- -cf /var/lib/NetworkManager/dhclient-em1.conf em1


/var/lib/NetworkManager/dhclient-em1.conf
contains the relevant line:

send host-name "foobar"; # added by NetworkManager


but modifying this file has no effect since it will be regenerated by
NetworkManager.


What is the right way to remove the "send host-name" line from
dhclient's config file?

thanks!
fedorauser
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJSrEZ1AAoJEHgmGhf8XKdd8+cIAJrdfqnGg5XZwDldJas3W0gt
c7P32YN4R6SOP9ZRIH2ULpuhHl1vR3RU5XevFzu3foWVSiXuvzif+CGhUqvsODZu
gtYIgDCqI8ADsKlK440bS8eUFqvTV0+CPEE5LEw7qtPDrM0esGF/EXzPhSVL8rvT
y/icyVnGqn2VjhGF+WTNkBsFkxZa3P6XokXf1gqSf4BBjD7RqnOoNbvodsPiss59
eoWU2pMxx5jAitr5HsfdRPjK8ZAXWzYQ7IQ66jyJkJ/x1wIgyZSXxJTRQWQRpuKG
qW446PzgitTsk8Oyd+Ahv/rtqOf/Q10bfsXRo6Og6UN2HXTkh7n8wnZ4mg0NEd4=
=/2fy
-----END PGP SIGNATURE-----

-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  


More information about the users mailing list