Daily security tips 1: hostname

Published: Jun 28, 2018 by nemanjan00

When you connect your computer to new network, what it does to acquire networking settings like Gateway, DNS, network mask, etc. is it uses DHCP protocol.

If you ever logged into router settings or tried sniffing DHCP traffic, what you would see is there you can see hostname of computer that is connecting.

Why is that a bad thing? Well, does everyone on network has to know who you are, when you, for example, connect to local coffee shop WiFi?

So, what is the solution?

For linux users (if your distro is using dhcpclient), just comment out hostname line in your /etc/dhcpcd.conf.

Share

Latest Posts

How to print all rejections in NodeJS
How to print all rejections in NodeJS

Did you forget to print error on rejection, in a huge project and are now having issues debugging it? I wrote a snippet of code to solve that.

Why argv sucks for users
Why argv sucks for users

There are some conventions and patterns that are part of so much software we are never getting rid of them. One of those conventions defines how we pass arguments to applications.

Do not run chrome from your app!
Do not run chrome from your app!

This is example how your user can be hacked if you misuse chromium to open web links.