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

Reply via email to