Re: passwd file?

From: Dancer <>
Date: Wed, 31 Dec 1997 15:03:27 +1000

S Prabhakar wrote:

> Hi,
> >> nstalled squid 1.1.19 on linux box with the
> >> patch for acl_auth..
> >>
> >> 1. There seems to be a provision by which u can create
> >> a password file containing "user:password" and
> >> this password file name should be given to a group
> >> for them to access with the password...but
> >> this doesnt seem to work for me..
> >
> > You can use the htpasswd program which is distributed with apache web
> >server. That does the same purpose of creating the required password file.
> Thanks i have done this and created a password file. But i am facing another
> given in the doc i have given
> acl password proxy_auth /...../passwd
> http_access allow mygroup password
> http_access deny all
> miss_access allow mygroup password
> http_access deny all
> But it is not asking for password when people in this group start
> accessing it a bug? or i have done anything wrong?

Did you remember to define -DPROXY_AUTH=1 in the Makefile? (src/Makefile)

> >> 3. I also observered that there is a ftpget program. There is
> >> no clear explanation as to what this program does..
> >
> > ftpget is used to retrieve the ftp urls.
> Does squid support ftp proxy? [not ftp:// , but a ftp port
> which can serve as proxy for normal ftp, just like winproxy
> supports ftp proxy]

No, squid only supports HTTP proxying of ftp requests. (single request, single
response) and not the dual-port, multi-stage protocol of ftp. The 'ftpget'
program understands enough of the ftp protocol to allow squid to fetch a single
object with it. Using this as an external program prevents Squid's own internal
design getting cluttered with the protocol handling for a protocol that doesn't
conform to how it handles the majority of it's requests (http).


Note to evil sorcerers and mad scientists: don't ever, ever summon powerful
demons or rip holes in the fabric of space and time. It's never a good idea.
ICQ UIN: 3225440
Received on Tue Dec 30 1997 - 21:08:54 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:06 MST