Live data from Hacker News

Dont Worry Government, I Got This Porn Filter Sorted

sicksad.com

21–30 of 45 posts

Re: Dont Worry Government, I Got This Porn Filter Sorted

#22
post #10

Pretty comical video, one quick tip. If you typed a command on the terminal and you get the "Operation not permitted." You can run the last command prepending sudo like this: sudo !!

You just gave me 2 more years back.

Heh, no problem here are 2 more bang tricks. ! runs the last command you ran that starts with the characters you type.

  !gre      # will run the last command starting with gre (so probably grep)
If you type history, then !, the shell will execute that command.

  $ history # shows command history
  $ !200    # executes command 200

Re: Dont Worry Government, I Got This Porn Filter Sorted

#24
post #22

Earlier quoted context omitted.

You just gave me 2 more years back.

Heh, no problem here are 2 more bang tricks. ! runs the last command you ran that starts with the characters you type. !gre # will run the last command starting with gre (so probably grep) If you type history , then ! , the shell will execute that command. $ history # shows command history $ !200 # executes command 200

Keep them coming, imagine the manyears you're recovering!

Re: Dont Worry Government, I Got This Porn Filter Sorted

#25

Earlier quoted context omitted.

Another neat expansion: !$ is the last argument of the last command you entered. Useful when you mistype the command name.

Alt+. does the same and (at least in Zsh) allows you to cycle backwards.

More like Meta Up/Down, I tried for ten minutes on iTerm2 before remembering to use my Escape key.

Re: Dont Worry Government, I Got This Porn Filter Sorted

#26
post #6

> Any request that is denied by OpenDNS is then allowed by our DNS server, and any request allowed by OpenDNS is blocked by us. The most interesting part of this to me is using multiple DNS providers to determine which category the site is in. It's both simple and effective. If they actually go ahead with this plan in the UK and it's implemented similarly (eg. via DNS rather than IP blocking), somebody should make a…

> Bonus points if someone builds a way to crowd source the data so that it gets logged from multiple DNS servers round the world.

What you want is a website that answers: Does Country-C block Website-W? A user gives it a URL and it has VPNs surfacing in lots of different countries and it tries them all, and displays in which countries the URL is blocked.

The website also stores and records all blocked/unblocked websites, and allows this data to be downloaded.

Re: Dont Worry Government, I Got This Porn Filter Sorted

#27
post #6

> Any request that is denied by OpenDNS is then allowed by our DNS server, and any request allowed by OpenDNS is blocked by us. The most interesting part of this to me is using multiple DNS providers to determine which category the site is in. It's both simple and effective. If they actually go ahead with this plan in the UK and it's implemented similarly (eg. via DNS rather than IP blocking), somebody should make a…

The Danish Internet filtering works by messing with the DNS at the ISP level. If you don't want to get filtered, just switch to a non-ISP DNS, or run your own. Sadly it was implemented with little or no public debate, very very few got upset and most of us just switch DNS. I think the UK is in a much better position because they at least have the debate public and loud.

Re: Dont Worry Government, I Got This Porn Filter Sorted

#28
post #10

Pretty comical video, one quick tip. If you typed a command on the terminal and you get the "Operation not permitted." You can run the last command prepending sudo like this: sudo !!

You just gave me 2 more years back.

You can also press Up arrow, Ctrl-A to go back to the beginning of the line, add "sudo " and enter. This type of thing also works in most REPLs (Python, irb, Node, etc.)

Re: Dont Worry Government, I Got This Porn Filter Sorted

#29
post #6

> Any request that is denied by OpenDNS is then allowed by our DNS server, and any request allowed by OpenDNS is blocked by us. The most interesting part of this to me is using multiple DNS providers to determine which category the site is in. It's both simple and effective. If they actually go ahead with this plan in the UK and it's implemented similarly (eg. via DNS rather than IP blocking), somebody should make a…

> Bonus points if someone builds a way to crowd source the data so that it gets logged from multiple DNS servers round the world. What you want is a website that answers: Does Country-C block Website-W? A user gives it a URL and it has VPNs surfacing in lots of different countries and it tries them all, and displays in which countries the URL is blocked. The website also stores and records all blocked/unblocked websi…

There is something like that for the great wall of china: http://www.greatfirewallofchina.org/

Re: Dont Worry Government, I Got This Porn Filter Sorted

#30
post #17

Earlier quoted context omitted.

They CANNOT use HTTP filtering as that would break on HTTPS.

Nope, the domain is always visible on HTTPS, due to SNI. They can just block it.

Older Win XP machines doesn't support SNI, so you could get around it with an older machine. Of cause that's a problem that will go away over time.
Post reply on HN