Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Well sushant,
Your questions seems very logical. Before answering this can u pls share with has
exactly how u have block the websites in squid. I taking in terms what configuration
have u done in squid.conf file.
Yes u can unblock this site as well just u have to define a new acl for it.
Before exaclty giving the answer pls share ur lines by which u have block.
You need to create a whilist file congaing list of all sites need to be white listed. eg. www.sensex.com. Also need to careful that your block.acl file should contain domain names(eg. pornhub.com). If you filter the sites by words it won't help you, it will block some other good sites also. Black-listed sites names are available from squidguard.org. Hopes this will help you..
You need to create a whilist file congaing list of all sites need to be white listed. eg. www.sensex.com. Also need to careful that your block.acl file should contain domain names(eg. pornhub.com). If you filter the sites by words it won't help you, it will block some other good sites also. Black-listed sites names are available from squidguard.org. Hopes this will help you..
Hi
Thanks for the help & its working fine now but one more thing how should I use these blacklists as these lists are huge in size & many.
Thanks for the help & its working fine now but one more thing how should I use these blacklists as these lists are huge in size & many.
One file will support more than two hundred thousand lines. More over if you wand more than that create one more file like block1.acl and add the
domain names.
Hi Susant, i am fine . Well come to ur question its so simple just make other allow files and put the entry of sites that u want to allow like this.
You should beware that by blocking sites containing the word “sex”, you will also block sites such as Middlesex University, Sussex University, etc. To resolve this problem, you can put those sites in a special file called squid-noblock.acl:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.