LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2009, 06:30 AM   #1
mb.akturk
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
How can i make web content filter ?


I want to write a program to filter web content. I believe that i can write a filter program by usig java however problem is that how can i place this program like "internet -> filter -> web browser" ?

Does anybody have any idea ?

Thanks
 
Old 08-25-2009, 06:38 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by mb.akturk View Post
I want to write a program to filter web content. I believe that i can write a filter program by usig java however problem is that how can i place this program like "internet -> filter -> web browser" ?

Does anybody have any idea ?

Thanks
Isn't it just a matter of making it work like a proxy server? That's how filters like DansGuardian work.

Last edited by win32sux; 08-25-2009 at 06:39 AM.
 
Old 08-25-2009, 07:40 AM   #3
mb.akturk
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
yes it can work like proxy server. I have already written a simple proxy server. It can only connect google port 80 for now. In local I gave port 3398 to this proxy server. I configure firefox proxy server setting like "localhost, port 3398" and it is working correctly. My plan is that i want to configure network setting to all my web browser (firefox, opera, konqueror etc.) use my proxy server. I have tried to configure iptables to do that but i couldn't.

Thank you for reply
 
Old 08-25-2009, 11:52 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by mb.akturk View Post
yes it can work like proxy server. I have already written a simple proxy server. It can only connect google port 80 for now. In local I gave port 3398 to this proxy server. I configure firefox proxy server setting like "localhost, port 3398" and it is working correctly. My plan is that i want to configure network setting to all my web browser (firefox, opera, konqueror etc.) use my proxy server. I have tried to configure iptables to do that but i couldn't.

Thank you for reply
Could you post the iptables commands you've tried? Someone may be able to spot where you went wrong.
 
Old 08-25-2009, 02:31 PM   #5
ternarybit
Member
 
Registered: Jun 2009
Distribution: Debian, Arch, Mint
Posts: 51

Rep: Reputation: 15
You may want to try OpenDNS (opendns.org). Set your routers to use it (which speeds up Internet traffic to boot) and then enable content filters. You can block sites by category or make custom rules. Might be easier than making an app from scratch.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make Linux act as a internet router (NAT table) with Web content filtering Aleks` Linux - Server 3 03-19-2009 09:45 AM
how turn a linux server machine to a filter of web content? jasonx22 Linux - Newbie 9 03-12-2009 12:03 AM
LXer: Building a Mini-ITX Web Content Filter with Ubuntu LXer Syndicated Linux News 0 01-17-2009 05:20 PM
Web Content filter jocast Linux - Networking 2 03-20-2006 05:22 PM
Which Content Filter? jabird Linux - Networking 1 10-11-2004 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration