Search squid archive

Re: Squid DNS Issues

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

On Mon, 27 Jun 2011 08:05:59 +0300, Richard Zulu wrote:
I have squid version 3.1.9 working as a web forward proxy serving
close to 500 users with over 54000 requests every other day.
However, of recent, it is failing to communicate with the DNS Server
completely which leads to few requests being completed.
This has led to a long queue as to the requests supposed to be
completed which later causes squid to hang.
Shifting the very users to another squid cache causes similar
problems. What could be the issue here?
Some of the errors generated in the cache.log are here below:

getsockopt(SO_ORIGINAL_DST) failed on FD 128:

 NAT failure.

Could be a couple of things. Some seriously bad, and some only trivial.

* On Linux if you allow non-NAT clients to access a port marked "intercept" or "transparent". The ports for direct client->proxy and NAT connections need to be separate and the NAT one firewalled away so it cant be accessed directly. See the squid wiki config examples for DNAT or REDIRECT for the iptables "mangle" rules that protect against these security vulnerabilities.

* On OpenBSD 4.7 or later (may or may not need some patches) it can be the same as Linux. OR if they have partial but broken SO_ORIGINAL_DST support it shows up but means only that the OS is broken.

* On other non-Linux systems it is a Squid bug. Means nothing, but I want to get it fixed/silenced.

squidaio_queue_request: WARNING - Queue congestion

urlParse: URL too large (12404 bytes)

Exactly what it says. URL is too big for Squid to handle. There should be a 4xx status sent back to the client so it can retry or whatever.

statusIfComplete: Request not yet fully sent "POST[name]=ims:manage&action=bugreport&js_id=47&";

Server or client disconnected halfway through a POST request.

 WARNING: unparseable HTTP header field {Web Server}


[Linux Audio Users]     [Photo]     [Yosemite News]     [Samba]     [Video Projectors]     [Video Devices]     [Big List of Linux Books]     [LCD TVs]     [Webcams]     [Linux USB]

  Powered by Linux