Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I block web based chat.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Randy R
n00b
n00b


Joined: 09 Jan 2004
Posts: 63

PostPosted: Sun Mar 05, 2006 3:32 pm    Post subject: How do I block web based chat. Reply with quote

I know, I know GNU, Feedom etc.

I have a small network at home that my small children play games on some of which are web based. Some of the sites hosting these games also have chat on thier web sites. What I want to know is do I have to block the entire site, or is there some way to block the chat?

My current setup:

gateway server (gentoo obviously):
-Squid - transparent proxy
-Dans guardian
-Shorewall

Computers:
-mix of windows and linux machines
-any one of the internal machines may be used by the children

Thanks in advance for any ideas
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55015
Location: 56N 3W

PostPosted: Sun Mar 05, 2006 4:47 pm    Post subject: Reply with quote

Randy R,

It may be suffcient to block the port that the chat runs on, as long as its not port 80.
That would block browsing too.

Run tcpdump while connected to the chat, it will show what port is in use. If its all port 80, its everything or nothing.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Taladar
Guru
Guru


Joined: 09 Oct 2004
Posts: 458
Location: Bielefeld, Germany

PostPosted: Sun Mar 05, 2006 5:07 pm    Post subject: Reply with quote

If you want to limit them to certain sites you can just use a (transparent or not) proxy and filter out all urls they shouldn't visit (or even better, list all allowed ones if they are not too many). You can then stop all direct connections (around the proxy) with some iptables rules.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20589

PostPosted: Sun Mar 05, 2006 6:26 pm    Post subject: Reply with quote

Moved from Gentoo Chat
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
nunogt
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2004
Posts: 134
Location: Lisbon, Portugal

PostPosted: Mon Mar 06, 2006 11:01 am    Post subject: Reply with quote

Disabling javascript and other scripts for that specific address on your browser will do the trick. There are firefox extensions that do just that. Check http://www.noscript.net
Back to top
View user's profile Send private message
Randy R
n00b
n00b


Joined: 09 Jan 2004
Posts: 63

PostPosted: Sat Mar 11, 2006 12:40 pm    Post subject: Reply with quote

Thanks all for your replies. Blocking with the browser will probably bet cumbersom after a while. I am just going to block the entire site each time I think.
Back to top
View user's profile Send private message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Sat Mar 11, 2006 2:05 pm    Post subject: Reply with quote

add a phrase to dansguardian eg 'chat login' and stop it that way
_________________
join the optout - http://nhsconfidentiality.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum