Hi,
I'm trying to get the following to work:
- all requests must go to the redirect_program. after the request went
through the redirect program:
- all requests must be forwarder to proxy A
- UNLESS they are to 172.19.0.0/16 or listed in
/usr/local/etc/squid3-directurls.txt
- if they are in /usr/local/etc/squid3-directurls.txt they must be
forwarded to proxy B
- if they are to 172.19.0.0/16 they must go to directly to the
destination (172.19.0.1:8008 mostly)
I tried the following:
acl ir_ah dst 172.19.0.0/16
redirector_access deny ir_ah
redirect_program /usr/local/bin/ir
always_direct allow ir_ah
always_direct deny all
cache_peer A parent 8123 0 default
cache_peer B parent 8080 0
acl allowed_servers dstdomain "/usr/local/etc/squid3-directurls.txt"
cache_peer_access A deny allowed_servers
cache_peer_access A deny ir_ah
cache_peer_access A allow all
cache_peer_access B deny ir_ah
cache_peer_access B allow all
What works:
- all request initially go to the redirect_program, it then allows them
to be processed
- BUT: after the redirect_program acks them, it sends the user back to
the redirect_program!
What I see is that Squid sends requests to 172.19.0.1 via its redirector
while it should go straight through to 172.19.0.1.
How can I fix this?
Regards,
Folkert van Heusden
-- MultiTail ist eine flexible Applikation um Logfiles und Kommando Eingaben zu überprüfen. Inkl. Filter, Farben, Zusammenführen, Ansichten etc. http://www.vanheusden.com/multitail/ ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.comReceived on Wed Apr 10 2013 - 11:59:08 MDT
This archive was generated by hypermail 2.2.0 : Thu Apr 11 2013 - 12:00:03 MDT