Article delegate-en/1033 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] How to authenticate users?
23 Feb 2001 04:24:52 GMT Del <pbecabdyi-bfkmicanbc3r.ml@ml.delegate.org>
Wang New Zealand



Hi,

I am using delegate v7.1.0 as a HTTPS to HTTP gateway, as follows:

/usr/local/delegate/delegated \
        DGPATH=/usr/local/delegate \
        -P443 \
        SERVER=https \
        FCL=sslway \
        RELIABLE="*" \
        MOUNT="/* http://httpserver/*" \
        REACHABLE="*"

What I want to be able to do is authenticate users before their requests
are passed through to the HTTP server, preferably against a RADIUS server.

Now, I have written a perl script that can access the RADIUS server,
and determine whether a user name / password is valid, based on the
code here, and using it as a FFROMCL script:

http://www.delegate.org/mail-lists/delegate-en/00817

... however this only seems to work for NNTP where the server can respond
to the XECHO command.  How else do I get this code to work for HTTP/HTTPS?

Can I use both a FCL and a FFROMCL filter or will they interfere with
each other?

Failing that is there some other way I can get the users authenticated?
Because I have PAM available I can use pam_radius to set up an FTP or
HTTP server that allows/denies access via RADIUS, how do I get this going
for delegate?

I noticed some authenticate_by_HTTP code in access.c but this appears to
be commented out (line 1070?).  Is there any way of using this code to
authenticate?

Del

######################################################################
This e-mail message has been scanned and cleared by MailMarshal 
http://www.gen-i.co.nz
######################################################################

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V