Re: [squid-users] anonymous ftp autorization request

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 15 Mar 2010 11:04:13 +1300

On Sun, 14 Mar 2010 18:37:48 +0200, Kruz Tom <kruztom_at_gmail.com> wrote:
> Hi, i have installed vsftpd. When somebody connect my ftp, browser or
> ftp-client send authorization request login and password for anonymous
> user. After installing squid, anonymous users connect my ftp without
> authorization request. How and where i can change this settings?

Not sure how people being able to login to FTP anonymously relates to
Squid. Perhapse you set ftp_user in squid.conf to a valid user account?
  Squid will pass on any FTP credentials given, and use it's own default
"Squid@" username for anonymous accesses through it. The authentication
allow/reject is fully up to the FTP server.

The solution depends on what type of traffic you want going through Squid.

The to completely block FTP access through Squid:
  acl FTP proto FTP
  http_access deny FTP

To allow authenticated FTP access through Squid set ftp_user in squid.conf
to an account that gets rejected (that is what Squid uses for anonymous
access).
  http://www.squid-cache.org/Doc/config/ftp_user/

Amos
Received on Sun Mar 14 2010 - 22:04:16 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 15 2010 - 12:00:04 MDT