Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
Compare cell phone plans using Wirefly's innovative plan comparison tool ×

Comment Re:In Germany, lights work that way (Score 1, Funny) 203

Except for the fact that Audi drivers are uniformly the worst, the biggest, most self-entitled, self-absorbed assholes on the road. So, when that light turns green, three Audi drivers on the cross-street will still be out in the middle of the intersection, waiting to turn left after THEIR light changes to red.

Pay attention -- the next time some asshole throws himself under your wheels, expecting you to brake hard so he can save a tenth of a second -- even though YOU have the right-of-way -- it'll be an Audi driver.

Comment Re:the solution is... (Score 1) 426

What if you're on Windows?

"Sorry, I can't help ya, Sundance."
Seriously, there IS the /etc/hosts file, which I also use, with a lot of :

127.0.0.1 www.fbcdn.net
127.0.0.1 fbcdn.net
127.0.0.1 www.fbcdn.com
127.0.0.1 fbcdn.com

sort of thing, which short-circuits much of the iptables stuff.


As for the "iptables -F" bit, which everyone seems to have their knickers in such a twist about: The Facebook bit was snipped from my script to set up firewalls. After having too many times said^Wscreamed "Who in the hippity-hopping fuck (interactively) put in a rule for "192.168.1.1 drop" (or some other ridiculous shit), I've instituted a policy where ALL iptable rules (even on my own personal machines) happen in a single script where it starts with a blank table, and you fucking DOCUMENT why you're blocking this address/range. When I snipped and posted, I didn't fully consider that I was posting to a site full of nitpickers. Mea culpa.

Comment Re:the solution is... (Score 1) 426

block in on from facebook.com to any

LOL. Massive fail. Write when you get a clue.

You're OK with SENDING to FB, (which is kinda the whole point), but you're also OK with sending and receiving (and loading and running any Javascript) from any of their other subdomains. Again, write when you get a clue.

Comment Re:the solution is... (Score 5, Informative) 426

Here's your "final solution" for Facebook:

#!/bin/bash

ACTION="DROP"
FACEBOOK_AS="AS32934"

# flush (clear) the tables and clear the counters
     iptables -F
     iptables -Z
     ip6tables -F
     ip6tables -Z

for AS in ${FACEBOOK_AS}
do

  IPs=`whois -h whois.radb.net \!g${AS} | grep /`
  for IP in ${IPs}
  do
    for TARGET in INPUT OUTPUT FORWARD
    do
           iptables  -A ${TARGET} -p all -d ${IP} -j ${ACTION}
    done
  done

  IPs=`whois -h whois.radb.net \!6${AS} | grep /`
  for IP in ${IPs}
  do
    for TARGET in INPUT OUTPUT FORWARD
    do
           ip6tables  -A ${TARGET} -p all -d ${IP} -j ${ACTION}
    done
  done

done

Comment Re:Not a strong enough tie (Score 1) 236

Actually, you're right. It was a "war of independence", not a "revolution" in the classical (i.e. French) sense. However, what the Founding Fathers (the "Revolutionaries" in common parlance) did was both treason and sedition.

And you're right on your second point as well, but it will involve the Second Amendment, not the First.

Slashdot Top Deals

A committee takes root and grows, it flowers, wilts and dies, scattering the seed from which other committees will bloom. -- Parkinson

Working...