It seems that the controversy surrounding the Google and Verizon proposal on managing Internet traffic has re-ignited the debate on Net Neutrality. The proposal claims to be in favor of open Internet, but with some exceptions like wireless services! It makes you wonder, isn’t wireless the future of the Internet? “GoRizon” have also suggested some on line services to be excluded from Net Neutrality principles, like health care monitoring, “advanced educational services, or new entertainment and gaming options.” With so much uncertainty as to which form of Internet traffic regulation would benefit society at large, it might help to brain storm on certain scenarios which could happen if we go ahead with one or other form of regulation.Sarah Kessler has compiled 7 such scenarios“Net Neutrality: 7 Worst Case Scenarios”.
Archive for August, 2010
Block a host
Author: danielAug 18
Normally if you want to block all requests to and from an IP address, iptables is an ideal solution. A rule similar to this one would be handy
/sbin/iptables -A INPUT -s 1.2.3.4 -j DROP
What if you want to block that IP without using iptables, route command would do the job
/sbin/route add -host 1.2.3.4 reject
Handy commands
Author: danielAug 6
-List files opened by a program listening on a certain port (lsof -i:port)
lsof -i:3306
-Benchmark the performance of a webserver
ab -n 100 -c 5 http://www.sample-mysite.com/test.php
Send 100 request with 5 concurrent connections.
-Search for a string/pattern in all subdirectories of the given path
find /my/path -exec grep 'hairy' {} /dev/null \;