Sorry for the cross post, just incase someone already did this here.

X-Forwarded-For is used to pass the ip address of the client from
squid to the parent cache (like dansguardian) for logs, acl, etc.,

---------- Forwarded message ----------
From: Junix Gaspar <[EMAIL PROTECTED]>
Date: Jun 8, 2005 2:05 PM
Subject: X-Forwarded-For Patch error in Squid Stable 5 and stable 10
To: [EMAIL PROTECTED]


Im currently having a problems here regarding patching squid with the
xforwarded-for that came from dans site.

Is it because Im trying to patch a Squid-2.5-Stable10 and or
Squid-2.5-Stable5 which is not yet supported and I may have not read
it in dans site?

Or im just making a big mistake somewhere?

Help is highly appreciated.

Below is the error output:

_____________________________V__________________________________

patching file configure.in
Hunk #1 FAILED at 1368.
1 out of 1 hunk FAILED -- saving rejects to file configure.in.rej
can't find file to patch at input line 38
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: squid3/src/ACLChecklist.cc
|diff -u squid3/src/ACLChecklist.cc:1.15 squid3/src/ACLChecklist.cc:1.6.2.3
|--- squid3/src/ACLChecklist.cc:1.15    Sun Sep 21 19:13:23 2003
|+++ squid3/src/ACLChecklist.cc Tue Dec 30 14:55:00 2003
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 63
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: squid3/src/DelayId.cc
|diff -u squid3/src/DelayId.cc:1.13 squid3/src/DelayId.cc:1.4.2.4
|--- squid3/src/DelayId.cc:1.13 Sat Sep 20 19:13:17 2003
|+++ squid3/src/DelayId.cc      Tue Dec 30 14:55:00 2003
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 79
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: squid3/src/HttpRequest.cc
|diff -u squid3/src/HttpRequest.cc:1.14 squid3/src/HttpRequest.cc:1.2.8.4
|--- squid3/src/HttpRequest.cc:1.14     Mon Sep  1 19:12:39 2003
|+++ squid3/src/HttpRequest.cc  Tue Dec 30 14:55:00 2003
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 94
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: squid3/src/HttpRequest.h
|diff -u squid3/src/HttpRequest.h:1.9 squid3/src/HttpRequest.h:1.1.12.3
|--- squid3/src/HttpRequest.h:1.9       Thu Oct 16 19:12:32 2003
|+++ squid3/src/HttpRequest.h   Tue Dec 30 14:55:00 2003
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 108
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: squid3/src/acl.cc
|diff -u squid3/src/acl.cc:1.23 squid3/src/acl.cc:1.3.4.7
|--- squid3/src/acl.cc:1.23     Mon Oct 20 19:12:44 2003
|+++ squid3/src/acl.cc  Tue Dec 30 14:55:00 2003
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
patching file src/cf.data.pre
Hunk #1 succeeded at 3573 (offset -376 lines).
can't find file to patch at input line 217
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: squid3/src/client_side.cc
|diff -u squid3/src/client_side.cc:1.58 squid3/src/client_side.cc:1.12.2.7
|--- squid3/src/client_side.cc:1.58     Tue Dec 23 19:13:00 2003
|+++ squid3/src/client_side.cc  Tue Dec 30 14:55:00 2003
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 270
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: squid3/src/client_side.h
|diff -u squid3/src/client_side.h:1.7 squid3/src/client_side.h:1.7.2.1
|--- squid3/src/client_side.h:1.7       Thu Aug 14 19:12:38 2003
|+++ squid3/src/client_side.h   Fri Aug 29 10:10:13 2003
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 282
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: squid3/src/client_side_request.cc
|diff -u squid3/src/client_side_request.cc:1.26
squid3/src/client_side_request.cc:1.4.6.11
|--- squid3/src/client_side_request.cc:1.26     Sat Sep  6 19:12:33 2003
|+++ squid3/src/client_side_request.cc  Tue Dec 30 14:55:01 2003
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
6 out of 6 hunks ignored
can't find file to patch at input line 541
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: squid3/src/redirect.cc
|diff -u squid3/src/redirect.cc:1.11 squid3/src/redirect.cc:1.1.12.5
|--- squid3/src/redirect.cc:1.11        Thu Nov  6 19:12:39 2003
|+++ squid3/src/redirect.cc     Tue Dec 30 14:55:01 2003
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
patching file src/structs.h
Hunk #1 FAILED at 117.
Hunk #2 FAILED at 570.
Hunk #3 FAILED at 606.
3 out of 3 hunks FAILED -- saving rejects to file src/structs.h.rej
______________________________________________________________
                                                  A
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to