Talk:Access Control and Access Control Operators
From Squid User's Guide
Hello Everyone.
My Apologies if this has been posted before, but I am new to Squid and need your help.
I am running SQUID 2.6.STABLE13 on a P111 desktop.
Im trying to access FTP sites through this proxy server. and I recieve an error message through my Browser IE7.
It seems to work for some ftp URL's like ftp://ftp.suse.com/
but not others.
The ftp URL's that dont work do work however if I use ftp://username:password@ftp.site.com Could some help me resolve this issue please.
This is my whole current conf file:
[root@localhost squid]# cat /etc/squid/squid.conf | sed '/ *#/d; /^ *$/d'
http_port 10.10.50.60:3128 hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? cache deny QUERY acl apache rep_header Server ^Apache broken_vary_encoding allow apache access_log /var/log/squid/access.log squid ftp_user Squid@mydomain.com refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 21 acl CONNECT method CONNECT acl ftp proto ftp acl ftpusers src 10.10.50.0/24 http_access deny CONNECT !SSL_ports http_access allow ftp http_access allow ftpusers http_reply_access allow ftp always_direct allow ftp http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports acl mydomain src 10.10.50.0/24 http_access allow localhost http_access allow mydomain http_access deny all http_reply_access allow all icp_access allow all visible_hostname SQUID coredump_dir /var/spool/squid [root@localhost squid]#
and this is the error I get when using a ftp that does not work:
ERROR The requested URL could not be retrieved
An FTP authentication failure occurred while trying to retrieve the URL: ftp://ftp.mydomain.com/
Squid sent the following FTP command:
PASS <yourpassword>and then received this reply Login incorrect.Your cache administrator is root.
Generated Fri, 22 Jun 2007 16:44:04 GMT by SQUID (squid/2.6.STABLE13)
Your help is greatly appreciated.
Sincerely Brett
Hi Brett - I think it's best to ask questions like this on the squid user's mailing list.
See http://www.squid-cache.org/Support/mailing-lists.dyn for a list Oskar 20:34, 22 June 2007 (UTC)
Under the "Access Classes and Operators" section, there are references to an example ("Let's work through the below example line-by-line.") but I do not see the example anywhere. Does it exist somewhere else? The implication is that it should be inline.
--ThinkOpenly 16:34, 14 October 2008 (UTC)