I'm trying to set up a shell script (well 2 actually) for disabling and re-enabling access to a particular domain. For switching it off/on I simply swap in a different /etc/hosts file with a particular entry commented out or active (0.0.0.0 youtube.com www.youtube.com). The thing is, if the site is already open, the browser already knows the route, so it doesn't immediately kill it.

I tried adding "ip -s -s neigh flush all", but that still doesn't clear it.
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
https://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         Vassar College *
 Dec  2 - File Systems From Simple To Distributed High Performance
 Jan  6 - Why We Can'T Have The Internet Of Nice Things: A Home Automation 
Primer
 Mar  2 - Consuming The Cloud: Shoot Out

Reply via email to