Search squid archive

Re: Squid configuration sanity check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



And..

If there are objects you don’t want to be served from the proxy directly you can try to edit the templates.

 

Eliezer

 

----

Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer@xxxxxxxxxxxx

 

From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Alex K
Sent: Wednesday, May 16, 2018 21:08
To: Amos Jeffries <squid3@xxxxxxxxxxxxx>
Cc: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: Squid configuration sanity check

 

Ok, clear.

Thank you Amos.

Alex

 

On Wed, May 16, 2018 at 3:33 PM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:

On 16/05/18 18:17, Alex K wrote:
> Hi again,
>
> With this config I get:
>
> ERROR: No forward-proxy ports configured.
>
> I am wondering if I could just add a dummy entry:
>
> http_port 3130
>
> to suppress this error.
>
> But not sure how this is useful when reading:
>
> https://wiki.squid-cache.org/KnowledgeBase/NoForwardProxyPorts
>

As the wiki page says Squid generates URLs sometimes which require the
client to contact the proxy directly for something(s). That cannot be
done through a port used for TPROXY or NAT interception traffic.

The port 3130 (if you choose that over the well-known 3128 port) should
not be a "dummy" that does nothing. Squid *will* open and listen for
traffic there. Clients will at times be told to fetch URLs from the
Squid machines public hostname at that port.

You can firewall the port off from all access if you really want to.
Just be aware that will add error messages about the proxy port not
being accessible to whatever problem the client is having that required
direct contact with Squid in the first place (usually trying to display
an error page).

Amos

 

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux