(no subject)
freebsd at devnet.sk
freebsd at devnet.sk
Sat Jun 4 23:43:17 CEST 2005
Dobry den,
mam
gateway na ktorej bezi transparentny squid
IP GW: 192.168.15.1
ext_if = sk0
int_if = sk2
NAT mam urobene takto:
ipfw add 10000 divert natd all from any to any via sk0
Redirect mam urobeny takto:
ipfw add 50000 fwd 127.0.0.1,3128 tcp from any to any 80
stale mi squid vyhadzuje Access Denied
access.log:
1117914544.108 0 217.119.119.66 TCP_DENIED/403 1246 GET
http://www.debian.org/ - NONE/- text/html
1117914544.109 4 192.168.15.98 TCP_MISS/403 1281 GET http://www.debian.org/
- DIRECT/194.109.137.218 text/html
1117914544.777 668 192.168.15.98 TCP_NEGATIVE_HIT/403 1280 GET
http://www.debian.org/ - NONE/- text/html
cache.log:
2005/06/04 21:49:04| WARNING: Forwarding loop detected for:
GET / HTTP/1.0
Host: www.debian.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ; rv:1.7.8)
Gecko/20050511 Firefox/1.0.4
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: cs,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1250,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Via: 1.1 gw.local:3128 (squid/2.5.STABLE10)
X-Forwarded-For: 192.168.15.98
Cache-Control: max-age=259200
Connection: keep-alive
a squid.conf je tu: http://devnet.sk/proxy/squid.conf
v squid.conf mam nastavene v acl
acl all src 0.0.0.0/0.0.0.0
http_access allow all
Ako by to bolo mozne vyriesit???
More information about the Users-l
mailing list