I've tried the following rules:
acl ftp_ports ports 20 21
acl ftp_users ident "/usr/local/squid/etc/ftpusers
http_access allow ftp_ports ftp_users
Poorly this doesn't work. :(
In the logfile I can see the ident name for http traffic but when I use ftp
traffic I don't see the username anymore in the logfile.
Instead of that I see the IP-address of the client.
So ftp traffic is forbidden cause the username is unknown by squid.
Sander Winkel
----- Original Message -----
From: "Henrik Nordstrom" <hno@squid-cache.org>
To: "Sander Winkel" <awinkel@gmx.net>
Cc: <squid-users@squid-cache.org>
Sent: Tuesday, March 04, 2003 6:07 PM
Subject: Re: [squid-users] FTP access by username
> Request for ftp:// objects is under the exact same access controls as
> requests for http:// objects.
>
> This assuming the user is using a browser configured to use Squid as
> proxy for FTP.
>
> Can you be a little more specific on what you have tried and what did
> not work?
>
> Regards
> Henrik
>
>
> tis 2003-03-04 klockan 14.45 skrev Sander Winkel:
> > Is't possible to control ftp access by username who logged in at the
cache?
> > I've tried it with an acl but this only worked for http traffic.
> > The only way I've found to control ftp traffic is by an ip acl.
> > Is it true that ftp traffic can't be controlled by username?
> >
> > Sander Winkel
> --
> Henrik Nordstrom <hno@squid-cache.org>
> MARA Systems AB, Sweden
>
-- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!Received on Wed Mar 05 2003 - 01:25:21 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:56 MST