Denis Shaposhnikov wrote:
> or comment redirector_access, I see, what redirector is using.
>
> What's wrong with myport?
myport isn't yet implemented for redirector_access.
Please try the attached patch.
-- Henrik Nordstrom Squid hacker
* squid-2.3.STABLE1.myport_redirector_access.patch *
Wed Jan 19 19:52:22 CET 2000
Modified Files in squid/src
redirect.c
Added support for myport ACL to redirector_access
Index: squid/src/redirect.c
diff -u squid/src/redirect.c:1.1.1.24 squid/src/redirect.c:1.1.1.24.8.1
--- squid/src/redirect.c:1.1.1.24 Sat Oct 30 13:25:14 1999
+++ squid/src/redirect.c Wed Jan 19 19:52:22 2000
@@ -108,6 +108,7 @@
memset(&ch, '\0', sizeof(ch));
ch.src_addr = http->conn->peer.sin_addr;
ch.my_addr = http->conn->me.sin_addr;
+ ch.my_port = ntohs(http->conn->me.sin_port);
ch.request = http->request;
if (!aclCheckFast(Config.accessList.redirector, &ch)) {
/* denied -- bypass redirector */
Received on Wed Jan 19 2000 - 12:41:09 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:30 MST