Do you hate it too? When you are going through some DHCP logfiles/leases you see those:
[18:53][martin@cerberus:~]$ leasecheck.pl |grep -i .34
10.0.0.34 2014/01/24 11:41:36 2014/01/25 11:41:36 04:46:65:75:4f:65 active android-66627f1e652e4864
For some time now i wanted to change my mobile phone “hostname”. Android uses a couple of different hostnames though. You have /etc/hosts, bluetooth hostname (which you can change with GUI), network hostname, etc. I wanted to alter the network/WiFi hostname. So my device gets a proper DDNS entry which i can remember;). And now the number of Android devices are growing in my household I can better keep up with who-is-who in logfiles/etc.
Continue reading »
Gloeiende Oliebollen. I wanted to DHCP relay discovers MSGs off only ‘one’ specific device in my home network somewhere to the DHCP server on the other side of a GRE tunnel. Off course this is not really logical but that’s besides this post.
I installed ISC DHCP “yum install dhcp-4.1.1″. This packages comes with the ISC dhcrelay client which I figured to do the relaying. The Idea was to block all broadcast traffic designed for port 67 on this machine, and only to allow the specific MAC address.
When this was setup, I noticed all the local DHCP discovers/MAC’s passing the filter and thought I made a mistake. I did some troubleshooting and started with blocking individual MAC’s. This is normally an easy task by doing:”-A INPUT -m mac –mac-source 00:02:02:41:d0:77 -j DROP” and checking the hit counter of IPtables.
Continue reading »