Thanks for your code. I will try to use it with /dev/urandom to generate a random hostname...
I will post my findings Dominique On Tuesday, February 28, 2017 at 11:24:31 AM UTC-5, steve.coleman wrote: > On 02/27/2017 03:48 PM, Dominique St-Pierre Boucher wrote: > > Hello, > > > > I have setup the mac address change for qubes 3.2 with debian 9 as my > > sys-net. > > > > I am trying to figure out a way to randomize the hostname that is sent to > > the DHCP server. This is in an effort to minimize the risk of os > > identification. > > I'm not quite sure why you need to hide you hostname on your local DHCP > network. Is the purpose so that you "feel" more hidden? Anyone running > p0f on your local network will guess your OS regardless of your > IP/MAC/hostname randomization, and people outside your domain won't have > your MAC or DHCP hostname, just your IP unless you/IT publish your name > through DNS to the outside. > > > But, You could try: > > sys-net>$ nmcli general hostname > <<< mine was empty > sys-net>$ sudo nmcli general hostname xyzpdq.nowhere.com > sys-net>$ sudo systemctl restart systemd-hostnamed > sys-net>$ nmcli general hostname > xyzpdq.nowhere.com > sys-net>$ cat /etc/hostname > xyzpdq.nowhere.com > > > You may need to disconnect and reconnect to get the DHCP server lease to > acknowledge a change. Mine did not propagate to DNS right away but > eventually did. > > nmcli --help > > > Dominique > > -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/c01fa087-731c-4186-85b7-c2a3257ddf58%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
