Mike Purnell wrote:
> Eduardo Ferreira wrote:
>> Mike Purnell wrote on 07/03/2008 16:35:11:
>>
>> I want to add a rule(s) (presumably a
>>> REDIRECT) so that web page requests automatically are forced through
>>> dansguardian --> squid --> web
>>>
>> REDIRECT        loc                8080        tcp        http,https
>>
>> did the trick here... with no additional configuration on dansguardian.
>>
<snip>
> That is equivalent to my rule:
> REDIRECT   loc   8080   tcp   www

Well not quite:  cat /etc/services | grep www
#       http://www.iana.org/assignments/port-numbers
http            80/tcp          www www-http    # WorldWideWeb HTTP
http            80/udp          www www-http    # HyperText Transfer 
Protocol
www-ldap-gw     1760/tcp                        # www-ldap-gw
www-ldap-gw     1760/udp                        # www-ldap-gw
www-dev         2784/tcp                        # world wide web - 
development
www-dev         2784/udp                        # world wide web - 
development
flirtmitmir     3840/tcp                        # www.FlirtMitMir.de
flirtmitmir     3840/udp                        # www.FlirtMitMir.de

So when the service "www" is resolved, it may fail, it's an alias in 
/etc/services, maybe you should use http here.

Jerry


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to