[squid-users] Re: squid port

2010-07-26 Thread squidACL

thanks

in squid file I have :
cl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port  # TCP


# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports

so if I want just This Three port HTTP , HTTPS and FTP and to close the
others , if you have the idea how can I do  will be thankful

Thank you 
-- 
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-port-tp2300195p2302377.html
Sent from the Squid - Users mailing list archive at Nabble.com.


Re: [squid-users] Re: squid port

2010-07-26 Thread Marcello Romani

squidACL ha scritto:

thanks

in squid file I have :
cl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port  # TCP


# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports

so if I want just This Three port HTTP , HTTPS and FTP and to close the
others , if you have the idea how can I do  will be thankful

Thank you 


As I said in previous post, delete the lines that have a port number 
different from what you want.


--
Marcello Romani