Re: Dialup admin Display users online (suggestion)

2006-12-21 Thread Kostas Kalevras

Cory Robson wrote:


I am slowly getting around this interface and notice many things that could
be improved upon but I'm lacking in the coding department.

For example the user_finger.php page, this does a nice job once you have
manually entered all of the pops into the separate naslist file but can
become a royal pain to maintain.

If someone could rewrite the code to extract the users online from the
raddact table and simply group them by the independent nas's this would be a
far simpler method. As you added additional pops to your range nothing to
add/remove in the code, it simply regenerates as people log in from that
pool.
 

If you are using sql to keep radius client info then you don't need to 
do any extra work, since you already have your clients added in the 
table for freeradius to function correctly. What you are suggesting 
isn't a lot of work. The idea was to have more information than just the 
ip of the nas server though (like description, ports available). In any 
case it could be added as a configuration option



I have done a very similar thing with the failed logins page. Have the sql
query dumping failed logins into the postauth table from the radius process
and then have dialup admin failed logins script running an sql query against
that table instead. Alas my coding is not that good so I'm not getting all
records just the last one. Again help would be needed for me to finish this.
 


It's a nice thought.


Anyone up to the task to assist in this matter



Regards

Cory Robson

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
 



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Dialup admin Display users online (suggestion)

2006-12-20 Thread Cory Robson

I am slowly getting around this interface and notice many things that could
be improved upon but I'm lacking in the coding department.

For example the user_finger.php page, this does a nice job once you have
manually entered all of the pops into the separate naslist file but can
become a royal pain to maintain.

If someone could rewrite the code to extract the users online from the
raddact table and simply group them by the independent nas's this would be a
far simpler method. As you added additional pops to your range nothing to
add/remove in the code, it simply regenerates as people log in from that
pool.

I have done a very similar thing with the failed logins page. Have the sql
query dumping failed logins into the postauth table from the radius process
and then have dialup admin failed logins script running an sql query against
that table instead. Alas my coding is not that good so I'm not getting all
records just the last one. Again help would be needed for me to finish this.

Anyone up to the task to assist in this matter



Regards

Cory Robson

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Dialup admin Display users online (suggestion)

2006-12-20 Thread Gaddis, Jeremy L.

On 12/21/06, Cory Robson [EMAIL PROTECTED] wrote:

I am slowly getting around this interface and notice many things that could
be improved upon but I'm lacking in the coding department.


[snip]


Anyone up to the task to assist in this matter


Looks like commercial support is available for FreeRADIUS[1].  I'm
sure you could find someone willing to make these modifications for
you at a small fee (including me).

Otherwise, you're basically stuck until such time as someone gets
around to it on their own.

--
Jeremy L. Gaddis, MCP, GCWN
http://www.linuxwiz.net/
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html