Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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" ?
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.