squid cache missing TCP
i have configured squid configuration file to cache the websites using these commands
and i have reconfigured my ip tables by these commands
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
iptables -A INPUT -i eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables --append FORWARD --in-interface eth0 -j ACCEPT
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -A INPUT -i eth0 -j ACCEPT
iptables -A OUTPUT -o eth0 -j ACCEPT
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 192.168.3.1:8080
iptables -A INPUT -j LOG
iptables -A INPUT -j DROP
echo 1 > /proc/sys/net/ipv4/ip_forward
and the squid is working because the access.log file record every thing i searched but the problem that in every line of access.log i get this error
and i have tried many things but i still losing TCP so can anybody help me!??
I dont understand what you mean by 'losing TCP'.
I could be wrong here, but doesn't 'miss' in this context mean that the file requested wasn't in the proxy cache, so squid had to go out to the real internet for it?
yeah sure, but even if i search any page for multiple times im always getting the TCP_miss for every sites i have searched >>?