im doing a transparent proxy, dg+squid+smoofwall+iptables
1076331310.726 1020 127.0.0.1 TCP_MISS/200 33064 GET
http://www.msn.com/ - DIRECT/207.68.173.254 text/html
^is a selection of the access.log for squid...
anyway the clients are using squid to make the request (ie: transparent proxy) but i need to show where the request is coming from, i have configured squid with the --enable-linux-netfilter option, and both squid and dg are running correctly, i have created an iptable redirect, such as this:
iptables -t nat -A PREROUTING -m tcp -p tcp --dport 80 -j REDIRECT
--to-port 8080
using prerouting to route the traffic accordingly... any ideas?