On Wed, Jan 5, 2011 at 23:07, John Hunter <jdh2...@gmail.com> wrote: > On Wed, Jan 5, 2011 at 4:04 PM, Sandro Tosi <mo...@debian.org> wrote: > >> it's not exactly monitory, but I disable all the requests to >> matplotlib.svn.sourceforge.net via iptables: >> >> sudo iptables -A OUTPUT -d matplotlib.svn.sourceforge.net -j DROP >> >> and you're sure nothing passes towards that address :) and in fact, >> the moment you reach an example with get_sample_data() it stops. > > That's helpful. I used to be an iptables guru, but it has been a long > time. How do you reverse the command when you are done testing?
if you have only those rule, then just issue a sudo iptables -F to flus the whole iptables chains list rules; else, you have to: sudo iptables -nL OUTPUT --line-numbers take notes of the line number of those for MPL SF (the ip addresses are those in $ host matplotlib.svn.sourceforge.net matplotlib.svn.sourceforge.net has address 216.34.181.177 matplotlib.svn.sourceforge.net has address 216.34.181.65 ) and then remove them: sudo iptables -D OUTPUT <line number above> (note that if you delete a rules, the following ones have linenumber changed...) Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel