RE: (PM) user specific web page

Phil Taylor (Phil@lansystems.co.uk)
Fri, 5 Jun 1998 16:55:59 +0100

On way would be to use a backend database on your radius accounting
(something like msql or postgres), there are readily available patches
for radius to log to msql.

Then use something like php/fi on your web server and you will be able
to see what user is connected on the IP address making the web request
with a simple script, then do another query to find out how much time
they have used.

I have done somthing similar in the past although you may need to use a
slightly better backend database as if you have a lot of users it may be
quite slow.

-----Original Message-----
From: Tim Hodges, Triangle Telephone Cooperative Assoc.
[mailto:7thodges@ttc-cmc.net]
Sent: Friday, June 05, 1998 03:38
To: portmaster-users@livingston.com
Subject: (PM) user specific web page

This is maybe off topic, apologies...

I am running PM-3's/Radius on solaris. I want a CGI to be able to
identify
a user by username.
Grabbing the IP address of the user loading the page is no problem, but
I
don't know of a good
fast efficient way to map that to the username. The reason for all this
is
that we offer
measured service, and I have a script where a user can put in their
username and find out
how much time they have used. I would like that to come up automatically
when they hit our
home page..

Any ideas?

Tim Hodges

-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>
-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>