Feed on
Posts
Comments

Tag Archive 'linux'

Edit: This code has an updated version, here! This simple C program lists all of the “up” network interfaces on a linux system, along with their IP address and MAC address. It prints off the bound IP address as well as the MAC address of the interface. A older version of this program can be [...]

Read Full Post »

So, you noticed that there is someone out there doing something nasty to your computer. Block their IP! Pulled directly from my .bashrc, I give you the most useful alias I have ever written: alias blockip=’sudo iptables -A INPUT -j DROP -s ‘ alias blockmac=’sudo iptables -A INPUT -m mac -j DROP –mac-source ‘ Also [...]

Read Full Post »