I've just installed the DansGuardian-2.4.5-2.RH72.i386.rpm from dansguardian.org contrib site. The default operation as you probably know is for DansGuardian to listen on port 8080 and connect to squid on port 3128.
E-Smith 5.1.2 (which I'm using) has transproxy enabled redirecting everything to 3128. In my environment using any of the 'auth' options in DansGuardian will not work because I have 20 general access (no specific login required) computers (college environment). Now I could just enable the proxy settings in the browsers, but students would disable this quickly and regularly.
So, I had a crazy idea. What if I created a custom template for 35transproxy and replaced the line:
my $proxyport = db_get_prop($confref, 'squid', 'TransparentPort') || "3128";
with :
my $proxyport = "8080";
Now, the question. Can this crude hack cause any problems?
This seems to be working and I just want to make sure that I haven't created any potential problems with my idea for redirecting all web connections to DansGuardian.
Thanks in advance for any replies.
Tim