On Monday, April 10, 2017 at 5:06:30 PM UTC-4, qubenix wrote: > qubenix: > > Andrew David Wong: > >> On 2017-04-09 15:25, Joonas Lehtonen wrote: > >>> Hi, > >> > >>> if you setup MAC randomization via network manager in a debian 9 > >>> template as described here: > >>> https://www.qubes-os.org/doc/anonymizing-your-mac-address/ > >>> you still leak your hostname. > >> > >>> Once your MAC address is randomized you might also want to prevent the > >>> disclosure of your netvm's hostname to the network, since "sys-net" > >>> might be a unique hostname (that links all your random MAC addresses and > >>> the fact that you likely use qubes). > >> > >>> To prevent the hostname leak via DHCP option (12): > >>> - start the debian 9 template > >>> - open the file /etc/dhcpd/dhclient.conf > >>> - in line number 15 you should see "send host-name = gethostname();" > >>> - comment (add "#" at the beginning) or remove that line and store the > >>> file > >>> - reboot your netvm > >> > >>> I tested the change via inspecting dhcp requests and can confirm that > >>> the hostname is no longer included in dhcp requests. > >> > >> > >> Thanks. Added as a comment: > >> > >> https://github.com/QubesOS/qubes-issues/issues/938#issuecomment-292843628 > >> > >> > > > > Nice. I was just thinking about this after spending some time on my > > routers interface. Thanks for the post! > > > > After testing this, 'sys-net' still shows up on my router interface. > > -- > qubenix > GPG: B536812904D455B491DCDCDD04BE1E61A3C2E500
if you are talking about always connecting to your own router I would do a static connection, my router won't know hostname unless I use DHCP. Not sure if this is the case for most routers or not. But its good not to use dhcp for other reasons too. If you hop around public lans then this would be more of a hassle. When I first started using qubes I too didn't like how it showed sys-net as hostname cause it would be obvious you are using Qubes. Changing name is ideal, a script to randomize it would be nice too. -- 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/1b18d551-538c-4cf8-9e71-e24784562191%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
