Whitelist IP or IP range in/out using iptables

#Flush existing rules iptables -F # Set up default DROP rule for eth0 (Assuming eth0 is the Ethernet Port) iptables -P INPUT DROP # Allow existing connections to continue iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT # Accept everything from the 192.168.0.x network iptables -A INPUT -i eth0 -s 192.168.0.0/24 -j…

Continue reading

Download the favicon icon from any website

It is possible that you might like a favicon (yes the logo icon that is displayed in the browser tab) of a certain website. Now, normally most of the websites store it in the form of favicon.ico in the root directory of any website. So, you can just type in: http://domain.com/favicon.ico and download it when…

Continue reading