Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Tim Cabana on August 08, 2002, 08:30:16 AM
-
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
-
Why not just change the squid TransparentPort|8080 property in the configuration database
-
jasper wrote:
>
> Why not just change the squid TransparentPort|8080 property
> in the configuration database
Don't mean to be a total dolt here, but to which database would you be
referring?
I looked around and couldn't find anything:-(
-
the e-smith configuration database (it's really a text file) where most of the system settings are kept
-
Tim Cabana wrote:
> I looked around and couldn't find anything:-(
You didn't find http://www.e-smith.org/custom/ then :-)
You want:
/sbin/e-smith/db configuration setprop squid TransparentPort 8080
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
Charlie
-
Charlie,
Thanks, and no I didn't find http://www.e-smith.org/custom/. sorry it took so long to get back but I've been focused elsewhere for a while.
Thanks again
Tim