--- /dev/null
+Index: squid/lib/rfc2617.c
+diff -c squid/lib/rfc2617.c:1.5 squid/lib/rfc2617.c:1.5.2.1
+*** squid/lib/rfc2617.c:1.5 Wed Oct 17 07:30:50 2001
+--- squid/lib/rfc2617.c Tue Sep 23 10:05:41 2003
+***************
+*** 79,89 ****
+ unsigned char j;
+
+ for (i = 0; i < HASHHEXLEN; i++) {
+ j = Hex[i];
+ if (('0' <= j) && (j <= '9'))
+! Bin[i / 2] |= ((j - '0') << ((i % 2 == 0) ? 4 : 0));
+ else
+! Bin[i / 2] |= ((j - 'a' + 10) << ((i % 2 == 0) ? 4 : 0));
+ }
+ Bin[HASHLEN] = '\0';
+ }
+--- 79,94 ----
+ unsigned char j;
+
+ for (i = 0; i < HASHHEXLEN; i++) {
++ unsigned char n;
+ j = Hex[i];
+ if (('0' <= j) && (j <= '9'))
+! n = j - '0';
+ else
+! n = j - 'a' + 10;
+! if (i % 2 == 0)
+! Bin[i / 2] = n << 4;
+! else
+! Bin[i / 2] |= n;
+ }
+ Bin[HASHLEN] = '\0';
+ }
+Index: squid/src/auth/digest/auth_digest.c
+diff -c squid/src/auth/digest/auth_digest.c:1.10.2.7 squid/src/auth/digest/auth_digest.c:1.10.2.8
+*** squid/src/auth/digest/auth_digest.c:1.10.2.7 Sun Aug 10 01:31:33 2003
+--- squid/src/auth/digest/auth_digest.c Tue Sep 23 10:05:41 2003
+***************
+*** 695,701 ****
+ debug(29, 9) ("\nResponse = '%s'\n"
+ "squid is = '%s'\n", digest_request->response, Response);
+
+! if (strcasecmp(digest_request->response, Response)) {
+ if (digestConfig->PostWorkaround && request->method != METHOD_GET) {
+ /* Ugly workaround for certain very broken browsers using the
+ * wrong method to calculate the request-digest on POST request.
+--- 695,707 ----
+ debug(29, 9) ("\nResponse = '%s'\n"
+ "squid is = '%s'\n", digest_request->response, Response);
+
+! if (strcasecmp(digest_request->response, Response) != 0) {
+! if (!digest_request->flags.helper_queried) {
+! /* Query the helper in case the password has changed */
+! digest_request->flags.helper_queried = 1;
+! digest_request->flags.credentials_ok = 2;
+! return;
+! }
+ if (digestConfig->PostWorkaround && request->method != METHOD_GET) {
+ /* Ugly workaround for certain very broken browsers using the
+ * wrong method to calculate the request-digest on POST request.
+Index: squid/src/auth/digest/auth_digest.h
+diff -c squid/src/auth/digest/auth_digest.h:1.5.2.3 squid/src/auth/digest/auth_digest.h:1.5.2.4
+*** squid/src/auth/digest/auth_digest.h:1.5.2.3 Sun May 18 15:49:20 2003
+--- squid/src/auth/digest/auth_digest.h Tue Sep 23 10:05:42 2003
+***************
+*** 44,49 ****
+--- 44,50 ----
+ unsigned int authinfo_sent:1;
+ unsigned int credentials_ok:2; /*0=unchecked,1=ok,2=helper,3=failed */
+ unsigned int nonce_stale:1;
++ unsigned int helper_queried:1;
+ } flags;
+ digest_nonce_h *nonce;
+ };
--- /dev/null
+Index: squid/src/fqdncache.c
+diff -c squid/src/fqdncache.c:1.149 squid/src/fqdncache.c:1.149.2.1
+*** squid/src/fqdncache.c:1.149 Wed Oct 24 00:16:16 2001
+--- squid/src/fqdncache.c Sat Oct 11 16:32:31 2003
+***************
+*** 278,284 ****
+ int k;
+ int na = 0;
+ memset(&f, '\0', sizeof(f));
+! f.expires = squid_curtime;
+ f.flags.negcached = 1;
+ if (nr < 0) {
+ debug(35, 3) ("fqdncacheParse: Lookup failed (error %d)\n",
+--- 278,284 ----
+ int k;
+ int na = 0;
+ memset(&f, '\0', sizeof(f));
+! f.expires = squid_curtime + Config.negativeDnsTtl;
+ f.flags.negcached = 1;
+ if (nr < 0) {
+ debug(35, 3) ("fqdncacheParse: Lookup failed (error %d)\n",
--- /dev/null
+Index: squid/src/main.c
+diff -c squid/src/main.c:1.345.2.11 squid/src/main.c:1.345.2.12
+*** squid/src/main.c:1.345.2.11 Sun Jun 8 17:28:46 2003
+--- squid/src/main.c Fri Sep 19 00:36:59 2003
+***************
+*** 329,335 ****
+ static void
+ mainReconfigure(void)
+ {
+! debug(1, 1) ("Restarting Squid Cache (version %s)...\n", version_string);
+ reconfiguring = 1;
+ /* Already called serverConnectionsClose and ipcacheShutdownServers() */
+ serverConnectionsClose();
+--- 329,335 ----
+ static void
+ mainReconfigure(void)
+ {
+! debug(1, 1) ("Reconfiguring Squid Cache (version %s)...\n", version_string);
+ reconfiguring = 1;
+ /* Already called serverConnectionsClose and ipcacheShutdownServers() */
+ serverConnectionsClose();
--- /dev/null
+Index: squid/src/redirect.c
+diff -c squid/src/redirect.c:1.88.2.1 squid/src/redirect.c:1.88.2.2
+*** squid/src/redirect.c:1.88.2.1 Sat Jul 20 18:30:02 2002
+--- squid/src/redirect.c Tue Sep 23 19:03:36 2003
+***************
+*** 143,149 ****
+ r->orig_url,
+ inet_ntoa(r->client_addr),
+ fqdn,
+! r->client_ident,
+ r->method_s);
+ helperSubmit(redirectors, buf, redirectHandleReply, r);
+ }
+--- 143,149 ----
+ r->orig_url,
+ inet_ntoa(r->client_addr),
+ fqdn,
+! r->client_ident[0] ? rfc1738_escape(r->client_ident) : dash_str,
+ r->method_s);
+ helperSubmit(redirectors, buf, redirectHandleReply, r);
+ }
-diff -urN squid-2.5.STABLE2.org/QUICKSTART squid-2.5.STABLE2/QUICKSTART
---- squid-2.5.STABLE2.org/QUICKSTART Sat Apr 12 12:06:45 2003
-+++ squid-2.5.STABLE2/QUICKSTART Sat Apr 12 12:18:58 2003
+diff -urN squid-2.5.STABLE4.org/QUICKSTART squid-2.5.STABLE4/QUICKSTART
+--- squid-2.5.STABLE4.org/QUICKSTART 2003-10-26 14:34:44.000000000 +0100
++++ squid-2.5.STABLE4/QUICKSTART 2003-10-26 14:35:42.000000000 +0100
@@ -12,10 +12,9 @@
INSTALL in the same directory), you have to configure the squid.conf
file. This is the list of the values you *need* to change, because no
==============================================================================
-@@ -31,7 +30,7 @@
- Warning: Squid uses much more than this value. Rule of thumb: if
- you have N megabytes free for Squid, put N/3 here.
+@@ -26,7 +25,7 @@
+ always ask permission before adding a parent cache. See also the
+ never_direct/always_direct directives.
-cache_dir /usr/local/squid/var/cache 100 16 256
+cache_dir /var/cache/squid 100 16 256
Add here (first number, here 100) the amount of hard disk space
(in megabytes) to devote to caching.
-@@ -77,10 +76,10 @@
+@@ -69,10 +68,10 @@
After editing squid.conf to your liking, run Squid from the command
line TWICE:
-Check in the cache.log (/usr/local/squid/var/logs/cache.log) that
+Check in the cache.log (/var/log/squid/cache.log) that
- everything is all right. Note that "WARNING: Cannot write to swap
- directory" is normal the first time you run Squid.
+ everything is all right.
+ Once Squid created all its files (it can take several minutes on some