[squid-users] SQUID + SSL GATEWAYING + OutlookWebAccess REVERSE PROXY

From: Ratti Michele <Michele.Ratti@dont-contact.us>
Date: Thu, 30 Dec 2004 15:20:24 +0100

I don't know if I have patched it correctly but now squid starts up.

Could you tell me the right configuration for SQUID to ACT as an SSL
REVERSE PROXY?
Reading some posts I have put these values:
redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
https_port 443 cert=/etc/squid/key.crt key=/etc/squid/key.key
httpd_accel_host owamail.cim-italia.it
httpd_accel_port 0
httpd_accel_uses_host_header on
never_direct allow all
acl owa dstdomain owamail.cim-italia.it
cache_peer_access owamail.cim-italia.it allow owa
cache_peer_access owamail.cim-italia.it deny all
visible_hostname owamail.cim-italia.it

But squid tells me:
2004/12/30 15:09:56| squid.conf line 140: never_direct allow all
2004/12/30 15:09:56| aclParseAccessLine: ACL name 'all' not found.
2004/12/30 15:09:56| squid.conf line 140: never_direct allow all
2004/12/30 15:09:56| aclParseAccessLine: Access line contains no ACL's,
skipping
2004/12/30 15:09:56| squid.conf, line 142: No cache_peer
'owamail.cim-italia.it'
2004/12/30 15:09:56| squid.conf, line 143: No cache_peer
'owamail.cim-italia.it'

Please help me
Thanks a lot
Regards
Michele

-----Original Message-----
From: Ratti Michele [mailto:Michele.Ratti@cim-italia.it]
Sent: Thursday, December 30, 2004 2:25 PM
To: squid-users@squid-cache.org
Cc: Henrik Nordstrom
Subject: [squid-users] SSL GATEWAYING PATCH

Is ok if I apply SSL GATEWAYING PATCH to SQUID2.5-STABLE6 in this way?
Is it ok using "patch -p0" ot I have to use "patch -p1"?

I'm recompiling all starting from an rpm.src packet.

[root@galileo BUILD]# patch -p0 < ssl-2_5.patch patching file
squid/configure.in Hunk #1 succeeded at 1224 (offset -2 lines).
patching file squid/src/HttpHeader.c
Hunk #1 succeeded at 129 (offset -1 lines).
patching file squid/src/access_log.c
patching file squid/src/acl.c
Hunk #1 succeeded at 101 (offset -2 lines).
Hunk #2 succeeded at 188 (offset -6 lines).
Hunk #3 succeeded at 270 (offset -10 lines).
Hunk #4 succeeded at 699 (offset -96 lines).
Hunk #5 succeeded at 925 (offset -100 lines).
Hunk #6 succeeded at 1807 (offset -108 lines).
Hunk #7 succeeded at 2302 (offset -112 lines).
Hunk #8 succeeded at 2722 (offset -115 lines).
patching file squid/src/cache_cf.c
Hunk #2 succeeded at 1480 (offset -55 lines).
Hunk #3 succeeded at 1546 (offset -55 lines).
Hunk #4 succeeded at 2408 (offset -55 lines).
Hunk #5 succeeded at 2445 (offset -55 lines).
patching file squid/src/cf.data.pre
Hunk #4 succeeded at 407 with fuzz 2.
Hunk #5 FAILED at 511.
Hunk #6 succeeded at 1744 (offset -9 lines).
Hunk #7 succeeded at 2290 (offset -23 lines).
1 out of 7 hunks FAILED -- saving rejects to file
squid/src/cf.data.pre.rej patching file squid/src/client_side.c Hunk #1
succeeded at 859 (offset -10 lines).
Hunk #2 succeeded at 3445 (offset -56 lines).
Hunk #3 succeeded at 3551 (offset -56 lines).
Hunk #4 succeeded at 3776 (offset -56 lines).
patching file squid/src/comm.c
Hunk #1 succeeded at 589 (offset -1 lines).
Hunk #2 succeeded at 629 (offset -1 lines).
Hunk #3 succeeded at 659 (offset -1 lines).
Hunk #4 succeeded at 673 (offset -1 lines).
Hunk #5 succeeded at 693 (offset -1 lines).
patching file squid/src/comm_select.c
patching file squid/src/defines.h
patching file squid/src/enums.h
Hunk #1 succeeded at 137 (offset -2 lines).
Hunk #2 succeeded at 244 (offset -3 lines).
Hunk #3 succeeded at 290 (offset -3 lines).
Hunk #4 succeeded at 607 (offset -4 lines).
Hunk #5 succeeded at 739 (offset -4 lines).
patching file squid/src/external_acl.c
Hunk #1 succeeded at 93 (offset -4 lines).
Hunk #2 succeeded at 106 (offset -4 lines).
Hunk #3 succeeded at 261 (offset -13 lines).
Hunk #4 succeeded at 336 (offset -13 lines).
Hunk #5 succeeded at 589 (offset -13 lines).
patching file squid/src/forward.c
patching file squid/src/globals.h
patching file squid/src/http.c
Hunk #1 succeeded at 867 (offset -54 lines).
Hunk #2 succeeded at 957 (offset -54 lines).
Hunk #3 succeeded at 1032 (offset -54 lines).
Hunk #4 succeeded at 1067 (offset -54 lines).
patching file squid/src/mem.c
patching file squid/src/peer_select.c
patching file squid/src/ssl_support.c
patching file squid/src/ssl_support.h
patching file squid/src/structs.h
Hunk #2 succeeded at 347 (offset -10 lines).
Hunk #3 succeeded at 497 (offset -11 lines).
Hunk #4 succeeded at 701 (offset -12 lines).
Hunk #5 succeeded at 713 (offset -12 lines).
Hunk #6 succeeded at 808 (offset -12 lines).
Hunk #7 succeeded at 837 (offset -12 lines).
Hunk #8 succeeded at 1003 (offset -12 lines).
Hunk #9 succeeded at 1076 (offset -11 lines).
Hunk #10 succeeded at 1347 (offset -11 lines).
patching file squid/src/typedefs.h
Hunk #1 succeeded at 68 with fuzz 1 (offset -1 lines).
Hunk #2 succeeded at 346 (offset -2 lines).

After this executing the Mandrake squid.spec other patches will pe
applied:
Patch0: %{name}-2.5.STABLE2-make.patch.bz2
Patch1: %{name}-2.5-config.patch.bz2
Patch2: %{name}-2.5.STABLE3-user_group.patch.bz2
Patch3: %{name}-2.5.STABLE2-ssl.patch.bz2
Patch4: %{name}-2.5.STABLE5-pipe.patch.bz2
Patch5: follow_xff-2.5.patch.bz2
Patch6:
http://dansguardian.org/downloads/squid-xforward_logging.patch.bz2
Patch7: squid-2.5.STABLE5-ntlm_fetch_string.patch.bz2

Patch100:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-ufs_no
_valid_dir.patch.bz2
Patch101:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-ldap_h
elpers.patch.bz2
Patch102:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-concur
rent_dns_lookups.patch.bz2
Patch103:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-reques
t_header_max_size.patch.bz2
Patch104:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-partia
l_hit_is_miss.patch.bz2
Patch105:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-HEAD.p
atch.bz2
Patch106:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-ufs_cr
eate_error.patch.bz2
Patch107:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-basic_
auth_caseinsensitive.patch.bz2
Patch108:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-active
_requests_delaypool.patch.bz2
Patch109:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-client
_db_gc.patch.bz2
Patch110:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-ntlmtr
uncated.patch.bz2
Patch111:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-gramma
r.patch.bz2
Patch112:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-errorp
age_quote.patch.bz2
Patch113:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-heap_s
egfault.patch.bz2
Patch114:
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-extern
al_acl_newlines.patch.bz2

Is it right?

Thanks
Regards
Michele
Received on Thu Dec 30 2004 - 07:19:41 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:03 MST