You are not logged in.

#1 2010-07-26 15:07:44

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 909
Website

Porn list to block

I have a 12-year old cousin using Kubuntu and he startet to watch bad movies...

There is a very nice feature in KDE which blocks these bad pages

[KDE URL Restrictions]
rule_count=1
rule_1=open,,,,http,put-your-url-here.com,,false

but isn´t there something like a list which i can just cut/echo with a for-loop in Bash? would be 1-line of code if i would had a list or something like that.

Offline

#2 2010-07-26 15:13:16

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Porn list to block

Wouldn't it be easier to use something like OpenDNS and let them do the blocking for you?  I wouldn't want to try and keep an updated list of the (possible) billions of p0rn sites out there.  It's pretty easy to setup, and free.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#3 2010-07-26 15:20:16

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 909
Website

Re: Porn list to block

with a script its quite easy

export COUNT=1
for i in $( cat ppl ); do
        echo "rule_$COUNT=open,,,,http,*$i,,false" >> filter
        let COUNT=COUNT+1
done

ppl is a text file with links^^

but maybe your right

i´ll try the thing with OpenDNS im just afrait if it have a decrease of surf comfort for example speed or aviability of pages

Offline

#4 2010-07-26 15:26:36

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: Porn list to block

How about you give him his own user and for that user you do those changes and for your own not, so that you won't have to suffer reduced speed. (Although ofc something like opendns would be sstem-wide..)

Ogion


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

#5 2010-07-26 15:43:14

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Porn list to block

Vamp898 wrote:

with a script its quite easy

export COUNT=1
for i in $( cat ppl ); do
        echo "rule_$COUNT=open,,,,http,*$i,,false" >> filter
        let COUNT=COUNT+1
done

ppl is a text file with links^^

but maybe your right

i´ll try the thing with OpenDNS im just afrait if it have a decrease of surf comfort for example speed or aviability of pages

My point isnt that the script is hard, but keeping an updated list to put in ppl.  Kids are smart, and where there is a will (in this case being the billion porn sites) there is a way.  tongue

I've been using OpenDNS for quite a while, and suffer NO decreased speed at all.  It is actually much faster than my internet providers DNS servers.  It is also very cusomizable.  Check it out, maybe it will work for you.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#6 2010-07-26 15:58:48

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 909
Website

Re: Porn list to block

Ok i will test it for sure. But first when i have time. Until then my list with over 4500 links (i found via Google wink) is put into /home/his_user_name/.kde4/share/config/kdeglobals

the best is. He have write rights and everything, he could just change or delete the blocks

but he neither knows which config file it is nor does he even know what a terminal is or how to use it xDD

Offline

#7 2010-07-26 16:05:42

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Porn list to block

Vamp898 wrote:

Ok i will test it for sure. But first when i have time. Until then my list with over 4500 links (i found via Google wink) is put into /home/his_user_name/.kde4/share/config/kdeglobals

the best is. He have write rights and everything, he could just change or delete the blocks

but he neither knows which config file it is nor does he even know what a terminal is or how to use it xDD

lol, famous last words!  lol  wink

I guess thats another thing thats nice, is that OpenDNS he can't change unless he has your username and password. 

Let us know how it goes!


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#8 2010-07-26 16:06:57

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 909
Website

Re: Porn list to block

Yes. But one last thing. Doesnt he have the ability to change the NetworkManager back to not use OpenDNS anymore? afaik it doesn´t need root password to change things like that

Offline

#9 2010-07-26 16:07:38

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Porn list to block

/etc/hosts

127.0.0.1 some.bad.site.com
127.0.0.1 some.other.bad.site.com
...

Offline

#10 2010-07-26 16:14:20

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Porn list to block

Vamp898 wrote:

Yes. But one last thing. Doesnt he have the ability to change the NetworkManager back to not use OpenDNS anymore? afaik it doesn´t need root password to change things like that

I have mine set on the router, since I manage 6 computers.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#11 2010-07-26 16:31:15

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 909
Website

Re: Porn list to block

oh right on the router... i didnt thought on that wink thx for the tipp smile

Offline

#12 2010-07-26 20:45:34

xenobrain
Member
From: Lodi, CA
Registered: 2006-05-31
Posts: 91

Re: Porn list to block

DansGuardian in [extra] may also be the right tool for the job.

Offline

#13 2010-07-26 21:07:17

valium97582
Member
Registered: 2010-06-19
Posts: 126

Re: Porn list to block

<unresponsibleparent><crazy><tequilla>Let him (hiccup) watch (hiccup) his (hiccup) pr0n (hiccup) (hiccup)</tequila></crazy></unresponsibleparent>
Or move him onto Archlinux without Xorg. LOL.

Seriously, OpenDNS is, IMHO, the safest and easier way to do it [the blocking].


I'm also known as zmv on IRC.

Offline

#14 2010-07-26 21:10:51

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Porn list to block

There is no technical solution to social problems. Period.

If you really want to annoy him give him web access only through a proxy which only you control and block any other traffic.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#15 2010-07-26 22:10:11

George.Harmony
Member
From: Off The Wire
Registered: 2010-04-30
Posts: 97

Re: Porn list to block

Or set the system up so it copies his internet history to a file that only you have access to every five or ten minutes. Then look at it every couple of days. If he was watching porn take the computer away for a week, ground him or some form of punishment, and keep doing it until he learns he has to respect the responsibility that comes with being allowed to have a computer of his own. He will also learn to respect rules and authority and that there are privileges that come from being a responsible person.


Desktop:  Compiz Stand Alone w/ Cairo Dock.
Laptop:    Pekwm w/ Tint2
Jukebox:   MPD w/ cli
Gateway: Vuurmuur w/dialog

Offline

#16 2010-07-26 23:17:24

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: Porn list to block

George.Harmony wrote:

Or set the system up so it copies his internet history to a file that only you have access to every five or ten minutes. Then look at it every couple of days. If he was watching porn take the computer away for a week, ground him or some form of punishment, and keep doing it until he learns he has to respect the responsibility that comes with being allowed to have a computer of his own. He will also learn to respect rules and authority and that there are privileges that come from being a responsible person.

Definitely the right way to go.  Its fool proof, as no matter what, a filter won't find every single porn site.  This way, there is no way he won't be caught, and its very likely he'll stop doing it rather quickly.

Offline

#17 2010-07-26 23:59:43

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Porn list to block

kmason wrote:
George.Harmony wrote:

Or set the system up so it copies his internet history to a file that only you have access to every five or ten minutes. Then look at it every couple of days. If he was watching porn take the computer away for a week, ground him or some form of punishment, and keep doing it until he learns he has to respect the responsibility that comes with being allowed to have a computer of his own. He will also learn to respect rules and authority and that there are privileges that come from being a responsible person.

Definitely the right way to go.  Its fool proof, as no matter what, a filter won't find every single porn site.  This way, there is no way he won't be caught, and its very likely he'll stop doing it rather quickly.

Yeah, there's apps that do things like this on windows (monitor all websites connected to and send a list to an email). I've heard of DansGuardian, no idea if it does the same.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#18 2010-07-27 00:28:51

dunz0r
Member
From: Sweden
Registered: 2009-03-30
Posts: 258
Website

Re: Porn list to block

You could quite easily write some iptables-rules that sends all traffic going to port 80 to a log file.


RTFM or GTFO
hax0r.se

Offline

#19 2010-07-27 01:23:01

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Porn list to block

George.Harmony wrote:

Or set the system up so it copies his internet history to a file that only you have access to every five or ten minutes. Then look at it every couple of days. If he was watching porn take the computer away for a week, ground him or some form of punishment, and keep doing it until he learns he has to respect the responsibility that comes with being allowed to have a computer of his own. He will also learn to respect rules and authority and that there are privileges that come from being a responsible person.

I'm sorry for your children...


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#20 2010-07-27 02:16:29

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Porn list to block

Cdh wrote:
George.Harmony wrote:

Or set the system up so it copies his internet history to a file that only you have access to every five or ten minutes. Then look at it every couple of days. If he was watching porn take the computer away for a week, ground him or some form of punishment, and keep doing it until he learns he has to respect the responsibility that comes with being allowed to have a computer of his own. He will also learn to respect rules and authority and that there are privileges that come from being a responsible person.

I'm sorry for your children...

Parenthood isn't all pop corn and icecream smile


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#21 2010-07-27 04:22:41

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Porn list to block

Do not forget to send me the file with bad urls when you are done. I need to check them out.

Offline

#22 2010-07-27 05:28:47

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Porn list to block

dmz wrote:

Do not forget to send me the file with bad urls when you are done. I need to check them out.

Yes I would be happy to review any questionable content...:|


neutral

Offline

#23 2010-07-27 06:13:04

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Porn list to block

sand_man wrote:
dmz wrote:

Do not forget to send me the file with bad urls when you are done. I need to check them out.

Yes I would be happy to review any questionable content...:|

In-depth and repeated review? Including indefinite storage? =p


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#24 2010-07-27 07:18:13

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 909
Website

Re: Porn list to block

So the KDE Variant works well but i choosen the OpenDNS in the end. Its just more comfortable, faster and easier (to setup).

Thx for the tipp smile

Offline

#25 2010-07-28 14:26:00

valium97582
Member
Registered: 2010-06-19
Posts: 126

Re: Porn list to block

Or be a BOFH with him! MWAHAHAHAHAHA! Like disabling some privileges... redirecting search engines to 127.0.0.1... or remove X! Or erase all graphical browsers... Or controlling his traffic through a proxy and running a fork bomb via the ssh daemon that you left running when he goes to sites that he couldn't go to...

$ :(){:|: &};:

Or writing a script that puts off a scary face and extremely high sounds when he goes to where he shouldn't... Making a script that posts what sites are he visiting on Twitter... MWAHAHAHAHAHA!!!

And, yes, how unluckly will be my child (if I have one)...

Last edited by valium97582 (2010-07-28 14:26:25)


I'm also known as zmv on IRC.

Offline

Board footer

Powered by FluxBB