Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: colifato on October 11, 2006, 09:25:03 PM
-
How i can see the configuration of squid?
And more.. how i can modiffy the configuration of squid to change to transparent and how i can modify the amount of memory that can handle this?
-
colifato
Try these commands for starters and then search the forums for more specifics
config show squid
db
-
[root@servidor squid]# config show squid
squid=service
EnforceSafePorts=no
SafePorts=21,70,80,81,119,210,443,563,980,1024-65535
TCPPort=3128
TCPProxyPort=80:3128
TransparentPort=3128
access=private
status=enabled
But i don“t know if i have running the squid in transparent mode...
-
Reading the Forum i find one command
/sbin/e-smith/db configuration setprop squid Transparent yes
now i have running Squid in transparent mode
:)
[root@servidor ~]# /sbin/e-smith/config show squid
squid=service
EnforceSafePorts=no
SafePorts=21,70,80,81,119,210,443,563,980,1024-65535
TCPPort=3128
TCPProxyPort=80:3128
Transparent=yes
TransparentPort=3128
access=private
status=enabled
Thanxs all
-
colifato
> /sbin/e-smith/db configuration setprop squid Transparent yes
> now i have running Squid in transparent mode
Did that command make any difference, I thought squid was in Transparent mode by default.
-
colifato
> /sbin/e-smith/db configuration setprop squid Transparent yes
> now i have running Squid in transparent mode
Did that command make any difference, I thought squid was in Transparent mode by default.
You're correct Ray...
cat /etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustTransProxy
<SNIP>
}
my $transproxy = $squid{Transparent} || "yes";
my $status = $squid{status} || "disabled";
if ($transproxy eq "yes" && $status eq "enabled")
{
my $proxyport = $squid{TransparentPort} || "3128";
</SNIP>
so if Transparent isn't set it will return yes