Bug in Firewall Ip?

From: Rania Fakhoury <raniaf@dont-contact.us>
Date: Tue, 2 Sep 1997 11:21:45 +0300

Hi,

I am running 2 squid on Linux 2.0.30 like the following picture:

A---------------------B----------------C

A: squid 1.1.10 on Linux
B: squid 1.1.10 on Linux
C: proxy server on windows

I have the following configuration:

B is the main squid. It has 2 default parent A and C (C is prefered over A). B is sibling A for cached pages.

B configuration:
-----------------------------
cache_host C:195.112.195.49 parent 8082 7 default no-query weight=10
cache_host A:194.126.34.34 parent 8082 7 default no-query weight=5
cache_host A:194.126.34.34 sibling 8082 3134 proxy-only
-------------------------------

I do not want local ip eg 195.112.195.0, 194.126.34.0 and 194.126.43.0 to point to C as a parent but to A which I configured on squid running on B like this. Customers should fetch this IPs from A and not C.

----------------------

firewall_ip 194.126.34.0
firewall_ip 194.126.43.0
firewall_ip 195.112.195.0
---------------------------------------

Sometimes it does work (customers go to A), Sometimes not (customers go to C). I have the following messages on access.log.

rev.gif - FIREWALL_IP_DIRECT/web.cyberia.net.lb image/gif
873131729.965 152 194.126.43.15 TCP_MISS/200 962 GET http://web.cyberia.net.lb/cgi-bin/Count.
cgi?df=tourist.dat|st=2|ft=3|dd=C|srgb=00ff00|prgb=fff000 - FIREWALL_IP_DIRECT/web.cyberia.net.l
b image/gif
873131733.597 53 194.126.43.15 TCP_MISS/200 3176 GET http://web.cyberia.net.lb/tourist/class
es/DigClk.class - FIREWALL_IP_DIRECT/web.cyberia.net.lb application/octet-stream
873131733.604 117 194.126.43.15 TCP_MISS/200 7751 GET http://web.cyberia.net.lb/tourist/Image
Button.class - FIREWALL_IP_DIRECT/web.cyberia.net.lb application/octet-stream

This message is the CORRECT message.

--------------------------------

ntman.gif - DEFAULT_PARENT/194.126.34.34 image/gif
873186488.373 535 194.126.43.80 TCP_MISS/200 1941 GET http://www.cyberia.net.lb/images/1logo.
gif - DEFAULT_PARENT/194.126.34.34 image/gif
873186488.503 124 194.126.43.80 TCP_MISS/200 824 GET http://www.cyberia.net.lb/images/1direct
ories.gif - DEFAULT_PARENT/194.126.34.34 image/gif

This message is a WRONG message

------------------------------------------

Is there a bug in firewall_ip ? Is it fixed in 1.1.16 ?
Received on Tue Sep 02 1997 - 01:28:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:36:54 MST