Re: [gentoo-user] squid - allowing only one domain

2010-01-21 Thread Adam
On 01/21/10 00:49, Joseph wrote: On 01/20/10 21:24, Adam wrote: On 01/20/10 16:53, Joseph wrote: I'm testing squid and want to allow only one domain but it is not working (using iptable + squid) iptable: ACCEPT tcp -- anywhere anywheretcp dpt:http owner UID

Re: [gentoo-user] squid - allowing only one domain

2010-01-21 Thread Joseph
On 01/21/10 21:49, Adam wrote: http://www.linux.com/archive/articles/113733 Sorry my mistake, for the OUTPUT chain it makes sense as all those packets are from squid. The log should have a URL after the GET command, ie; 1264070023.044103 192.168.1.12 TCP_MISS/200 33140 GET

Re: [gentoo-user] squid - allowing only one domain

2010-01-21 Thread Stroller
On 21 Jan 2010, at 18:59, Joseph wrote: ... Yes, the squid is working OK. But I'm not sure if it is possible to accomplish what I want. iptable + squid are running on a single box: so I want: INCOMING access from Internet is OPEN - I don't need or want to block anything; as I have an

Re: [gentoo-user] squid - allowing only one domain

2010-01-20 Thread Adam
On 01/20/10 16:53, Joseph wrote: I'm testing squid and want to allow only one domain but it is not working (using iptable + squid) iptable: ACCEPT tcp -- anywhere anywheretcp dpt:http owner UID match squid ACCEPT tcp -- anywhere anywhere

Re: [gentoo-user] squid - allowing only one domain

2010-01-20 Thread Adam
On 01/20/10 16:53, Joseph wrote: I'm testing squid and want to allow only one domain but it is not working (using iptable + squid) iptable: ACCEPT tcp -- anywhere anywheretcp dpt:http owner UID match squid ACCEPT tcp -- anywhere anywhere

Re: [gentoo-user] squid - allowing only one domain

2010-01-20 Thread Joseph
On 01/20/10 21:24, Adam wrote: On 01/20/10 16:53, Joseph wrote: I'm testing squid and want to allow only one domain but it is not working (using iptable + squid) iptable: ACCEPT tcp -- anywhere anywheretcp dpt:http owner UID match squid ACCEPT tcp -- anywhere

[gentoo-user] squid - allowing only one domain

2010-01-19 Thread Joseph
I'm testing squid and want to allow only one domain but it is not working (using iptable + squid) iptable: ACCEPT tcp -- anywhere anywheretcp dpt:http owner UID match squid ACCEPT tcp -- anywhere anywheretcp dpt:3128 owner UID match