Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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 use Dansguardian, and SQUID as my proxy and web filter. I had to block a user ip from going to the internet and thought that all was well. I had a task that I had to take care of and when I was on my way to do it I passed by his desk and heard him using AIM. I looked at my logs and I could see that he was using AIM and TCP port 443. I though that if I blocked his ip via bannediplist in DANSGUARDIAN that it would stop all traffic. The user cannot use the internet but he can use AIM. I know that I can block at the firewall but why isnt DANSGUARDIAN doing its job?
Last edited by metallica1973; 12-31-2008 at 11:41 AM.
I believe that you are right. I thought that the whole intention of dansguardian was to control all access to the internet. I dont want to have to bounce back and forth between squid and dansguardian to control my users. What can I do? Is there a setting in dansguardian that I do not have setup correctly?
Are you sure DansGuardian works with HTTPS? I mean, obviously it won't do content filtering for HTTPS, so it would be limited to URL filtering - which is something you can do in Squid so it would be kinda redundant. Maybe it just forwards the HTTPS tunnels to Squid without making any considerations? I don't know. Maybe go through the documentation or do some tests.
Personally, I'd probably just make sure clients use Squid for HTTPS and DG for HTTP. For example, by making an ACL in Squid allowing access to port 80 only from localhost (or wherever your DG is). The ACL for port 443 would allow access from any client. Iptables would do transparent redirection to DG for port 80, and clients would need to specifically use Squid for port 443. Then blocking AIM would just be a matter of looking at the log file and performing an appropriate ACL ban.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.