WCCP and SQUID?

From: atit_ldce <atit_ldce@dont-contact.us>
Date: Mon, 17 Mar 2003 20:32:35 +0530 (GMT+05:30)

when ICP_PKT_DUMP is defined?

in which case squid send ICP_MISS_NOFETCH reply.
code says in following case..
         if (store_dirs_rebuilding && opt_reload_hit_only) {
            reply = icpCreateMessage(ICP_MISS_NOFETCH, flags, url, header.reqnum, src_rtt);
            icpUdpSend(fd, &from, reply, LOG_UDP_MISS_NOFETCH, 0);
        } else if (hit_only_mode_until > squid_curtime) {
            reply = icpCreateMessage(ICP_MISS_NOFETCH, flags, url, header.reqnum, src_rtt);
            icpUdpSend(fd, &from, reply, LOG_UDP_MISS_NOFETCH, 0);
        } else if (Config.onoff.test_reachability && rtt == 0) {
            reply = icpCreateMessage(ICP_MISS_NOFETCH, flags, url, header.reqnum, src_rtt);
            icpUdpSend(fd, &from, reply, LOG_UDP_MISS_NOFETCH, 0);
        }
but things are not clear

I want to use WCCP protocol for transparent proxy setup of squid.
i have enabled ip_wccp module on Red hat Linux 7.1 running on Kernel 2.4.18+
i have made necessary conf in my cisco router.
i have addred redirect chain using IPtables chain.

my n/w diagram is as follow
                _________
                | |
                | cache |
clients ------->| Box | WCCP
                | |<-----------------> Cisco router
clients-------> | | p.q.r.s
                |a.b.c.d|
                |_______|

all clients have cache box as their defualt gateway

first http pkts for 80 dst port are forwarded to Cisco router
then from cicso router it comes back to squid box
then redirection
then post routing to perform SNAT ing

my router R sends http packets to my SQuid S which i think is encapsulated in GRE?

but packets are not coming to squid but being routed between squid and router
does i need to creaete gre interface in my squid kernel?
or is there any other conf requiered?

regards
        ---atit

_____________________________________________________________________
Get your internet connection from the fastest growing digital network.
ICENET
visit our site www.icenet.net
Received on Mon Mar 17 2003 - 02:37:11 MST

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