> Note my problem is with a TRANSPARENT proxy. I do not explicitly
> set up use of a proxy, it just sits there on my ISP's network and
> intercepts anything going out on port 80 (using a non-standard port does
> cut it out of the loop).

Don'tcha just love the ntl: proxies?

A little patch to freshclam/manager.c that defeats them is attached.

Ant

-- 
Ant La Porte - Dvere Network Services



--- freshclam/manager.c Mon Oct 28 07:53:53 2002
+++ freshclam/manager.c.no-cache        Mon Oct 28 08:00:41 2002
@@ -400,12 +400,14 @@
     sprintf(cmd, "GET %s/database/%s HTTP/1.1\r\n"
        "Host: %s\r\n"
        "User-Agent: "PACKAGE"/"VERSION"\r\n"
+       "Cache-Control: no-cache\r\n"
        "Connection: close\r\n"
        "\r\n", remotename, file, hostname);
 #else
     snprintf(cmd, sizeof(cmd), "GET %s/database/%s HTTP/1.1\r\n"
             "Host: %s\r\n"
             "User-Agent: "PACKAGE"/"VERSION"\r\n"
+             "Cache-Control: no-cache\r\n"
             "Connection: close\r\n"
             "\r\n", remotename, file, hostname);
 #endif
@@ -476,12 +478,14 @@
     sprintf(cmd, "GET %s/database/%s HTTP/1.1\r\n"
             "Host: %s\r\n"
             "User-Agent: "PACKAGE"/"VERSION"\r\n"
+            "Cache-Control: no-cache\r\n"
             "Connection: close\r\n"
             "\r\n", remotename, dbfile, hostname);
 #else
     snprintf(cmd, sizeof(cmd), "GET %s/database/%s HTTP/1.1\r\n"
             "Host: %s\r\n"
             "User-Agent: "PACKAGE"/"VERSION"\r\n"
+            "Cache-Control: no-cache\r\n"
             "Connection: close\r\n"
             "\r\n", remotename, dbfile, hostname);
 #endif



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to