On Fri, 23 Jul 2004, Gary McKinney wrote:
> Hi Kostas,
>
> It's nice to see Dialup_Admin can handle a large operation!
>
> I realize dialup_admin is in the radiusd CVS - I would have thought it would
> have been at least a separate CVS to make allowing others to work with it
> directly and not mess with the radiusd CVS - but I suppose it works the way
> it is...
dialupadmin is completely separate from the freeradius server source. It's on
it's own directory where users can play with it as much as they like (provided
they have write cvs access). I don't see a reason for a separate cvs.
>
> Changes or Features that would be nice?
>
> 1. You have the New Group section setup to allow both adding a new group to
> the system AND displaying and editing an existing group BUT you have to go
> to the Show Groups section to see the actual group names of existing groups.
> Would it not make more sense to have a display in the New Group section that
> displays existing groups so you don't have to bounce between the two
> sections to get the name correct??? If you are using just a few groups then
> most likely you will remember the group names but if you have a fair number
> of groups to handle different situations (IE: Pre-Paid users, PPP users,
> Wireless users, etc, etc) it would make life easier for the admin to work
> with the system.
The 'Show Group' button in the New Group page is intended as a path to move to
the Group Administration page after you 've added a new group. In other words:
Open 'New Group' -> Add Group details -> Press 'Create' -> Press 'Show Group' to
immediately go to the corresponding group administration page instead of having
to insert the group name in the left frame ('Edit Group'). It's only a shortcat,
nothing more. Though your idea of having a non editable drop down menu with the
existing groups in the 'New Group' page is quite nice. I 'll look into it.
>
> 2. There currently does not exist any method (other than for NAS Clients)
> to setup the system or make changes to the system other than using a CLI
> (command line interface) to make changes... IE: If you want to changes
> "Hints" because of some additional requirement you currently have to know
> how to do so and then use the CLI to perform the task - would it not be
> easier for someone to make changes to the system if there were a section
> that allowed configuration changes (or initial setups) to the system????
1. I personally require dialupadmin to be able to run on any server with just
php support and radclient, not only on the server where freeradius is running.
2. The language used in the text files is quite complicated (which means
corresponding pages will need a lot of development and will be equally
complicated) and user configurations are infinite. The pages would
probably be able to only support a small part of those configurations unless
they became even more complicated. If you follow the list archives there are
cases were per user patches for the server are required for specific setups.
Just imagine a similar scenario for dialupadmin!
3. An initial setup means configuring not only freeradius but also other
components (ldap or sql installations etc).
4. You don't require an administrator to run sql queries each time he wants to
go through the accounting of a user, but you DO require him to be able to setup
the system. This is server software, i assume a minimal user technical level.
>
> I would think things like Realm configurations, SQL configurations, LDAP
> configurations, SNMP configurations and so one would be a nice addition to
> the system. It is not hard to have PHP scripts that generate the required
> files and issue a "kill -HUP <radiusd PID> to activate the changes. This
> capability makes it a full featured front-end to the freeradius system
> instead of just a "works for specific application front-end" - and as you
> said you wrote it because you needed it. I suspect the basis for the system
> was for you specific purpose - nothing wrong with that but I think others
My specific purpose was, and is ldap. The fact that dialupadmin also supports
users in sql, should show something. I 've never used the group pages beyond
testing that they work :-)
> are using different configurations and it could make their administration of
> the system easier if it had a more flexible capability.
As i said before realm,sql,ldap configuration are more than plenty and i would
require freeradius users to be able to do such configurations.
>
> 3. I am curious - why have all of the settings for NAS attributes in the
> New User section AND in the New Group section - would it not make it cleaner
> overall to just have the NAS attributes contained in just the groups section
> and if there is a specific requirement for an individual user to have
> specfic NAS attribute requirements just have a group of their own??? It
> seems to me it is more confusing to someone new to the freeradius system to
> have both locations where NAS attributes can be set instead of just the
> requirement that the user have a unique group (the group name could be the
> username) for NAS attributes and all other users that have the same NAS
> attribute requirements be in the same group with thost NAS attributes
> identified?
First of all group support was a feature added on the road, not something
present from the start. Also ldap does not require such a configuration.
Finally, the current structure goes from general to specific:
You can change settings for a whole group, or you can change settings for a
specific user if that's what you require. I personally like that logic. It could
be only me though...
>
> You wanted to know some specifics [grin]...
>
> As for the warning message about variables not being defined - current
> thinking is if there is a variable that is checked within the body of a
> script but is not passed to the script you should at least test to see if
> the variable exists and if not define the varible with a default value - the
> reason is to preclude someone attempting to hack the script ( of course you
> should also test the variables passed to the script to make sure the values
> being passed are within the range you expect as well and take appropriate
> action if it is not - there is currently a buffer overflow in the maximum
> memory used section of PHP prior to the current release that can allow a
> hacker total access to the computer! - this was just released in the last
> few days in the security mailing lists I belong to... ).
I am aware of the security risks. I try to make sure that users cannot do
'clever' things with the system. I am currently going through the code and
fixing a few open issues when sessions are used. In general there are only very
few user supplied variables, the rest are unset before being created for the
first time (so that the user can't pass them through a variable in the url) and
these user supplied variables are checked that they are of a correct form. And i
will be going through all the code in the next days to do one more check.
>
> Now - having said all that I think you did a pretty good job on the
> dialup_admin overall!!!
That's good to hear.
>
> I read a posting here about modularizing the program to allow easier
> modification - that would be a nice thing but not totally a requirement...
As i answered to that posting, i think it's quite modular already. If you think
otherwise please explain.
> It does need better documentation but what program does not???
There is a readme and a howto and i try to keep the configuration files as
commented as i can. In any case that's an area were help is highly needed.
> More comments in the body of the scripts would be a nice addition just so
> someone can follow the thought-process as to why things are done the way
> they are...
I agree
>
> Please take this in the manner in which it is intended - I am not flaming
> the program at all!!!
I don't think you are.
>
> gm...
>
> ----- Original Message -----
> From: "Kostas Kalevras" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 23, 2004 6:36 PM
> Subject: Re: New Opensource project-AAAadmin
>
>
> > On Fri, 23 Jul 2004, Gary McKinney wrote:
> >
> > > Kostas,
> > >
> > > Are you also a user too??? [grin]...
> >
> > Yes, dialupadmin is used in both my university (ntua.gr/15000 users) and
> in the
> > greek school network (sch.gr/150000 users). In the latter there are around
> 100
> > people using it (delegated user administration) with no problems.
> >
> > I wrote dialupadmin cause i needed it.
> >
> > >
> > > Kidding aside - is there some place where the dialup_admin is being
> > > maintained (CVS) and where freatures can be added to the code (not to
> > > mention bringing the code up to current levels) ???
> >
> > Have you tried freeradius CVS? dialup_admin is RIGHT there.
> >
> > And please, when someone speaks about bringing the code to current
> levels,adding
> > features,making it stable,wearing dialupadmin a nice skirt can you please
> be
> > specific? I am quite tired of people criticizing dialupadmin or any other
> piece
> > of freeradius without specifying what they think is wrong or lacking.
> Obviously
> > the last one was not something personal, it's just that i am getting quite
> tired
> > of criticism without any suggestions.
> >
> > >
> > > BTW: I have not setup the database side completely yet but you can see
> the
> > > latest version of dialup_admin at the following url:
> > > http://www.ewcllc.net/dialup - like I said, I have not completely set
> this
> > > up yet but it is better than plain ole screen shots [grin]...
> >
> > That's quite nice.
> >
> > >
> > > gm...
> > >
> > > ----- Original Message -----
> > > From: "Kostas Kalevras" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, July 23, 2004 9:11 AM
> > > Subject: Re: New Opensource project-AAAadmin
> > >
> > >
> > > > On Fri, 23 Jul 2004, Amit Gupta wrote:
> > > >
> > > > > are you currently using dailupadmin
> > > >
> > > > Actually i am the writer.
> > > >
> > > > >
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Kostas Kalevras" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Friday, July 23, 2004 5:46 AM
> > > > > Subject: Re: New Opensource project-AAAadmin
> > > > >
> > > > >
> > > > > > On Fri, 23 Jul 2004, Amit Gupta wrote:
> > > > > >
> > > > > > > This solution will be avaible in perl and biferno too. Also more
> > > > > features
> > > > > > > that I will disclose soon. first let me know ur expectations.
> WIll
> > > you
> > > > > join
> > > > > > > me???
> > > > > >
> > > > > > I really don't see any point in reinventing the wheel. Why not
> just
> > > add
> > > > > the
> > > > > > extra features in dialupadmin instead of creating a new one?
> > > > > > expectations: dialup_admin/doc/TODO
> > > > > > Also see dialup_admin/doc/HELP_WANTED
> > > > > >
> > > > > > As for joining, sorry I 've already got an interface that suits my
> > > needs
> > > > > and is
> > > > > > in constant development. The question would be why abandon it for
> a
> > > new
> > > > > one?
> > > > > >
> > > > > >
> > > > > > > Amit
> > > > > > > ----- Original Message -----
> > > > > > > From: "Kostas Kalevras" <[EMAIL PROTECTED]>
> > > > > > > To: <[EMAIL PROTECTED]>
> > > > > > > Sent: Friday, July 23, 2004 5:01 AM
> > > > > > > Subject: Re: New Opensource project-AAAadmin
> > > > > > >
> > > > > > >
> > > > > > > > On Fri, 23 Jul 2004, Amit Gupta wrote:
> > > > > > > >
> > > > > > > > > Hi friends ,
> > > > > > > > > I have decided to develop opensource project-AAAadmin.
> Its
> > > URL
> > > > > is
> > > > > > > > > aaaadmin.sourceforge.net. I invite you to share your
> > > expectations
> > > > > from
> > > > > > > such
> > > > > > > > > solution. I also invite you to join development.
> > > > > > > >
> > > > > > > > What's wrong with dialupadmin?
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Amit Gupta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ---
> > > > > > > > > Outgoing mail is certified Virus Free.
> > > > > > > > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > > > > > > > Version: 6.0.725 / Virus Database: 480 - Release Date:
> 7/19/2004
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Kostas Kalevras Network Operations Center
> > > > > > > > [EMAIL PROTECTED] National Technical University of Athens,
> Greece
> > > > > > > > Work Phone: +30 210 7721861
> > > > > > > > 'Go back to the shadow' Gandalf
> > > > > > > >
> > > > > > > > -
> > > > > > > > List info/subscribe/unsubscribe? See
> > > > > > > http://www.freeradius.org/list/users.html
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ---
> > > > > > > Outgoing mail is certified Virus Free.
> > > > > > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > > > > > Version: 6.0.725 / Virus Database: 480 - Release Date: 7/19/2004
> > > > > > >
> > > > > > >
> > > > > > > -
> > > > > > > List info/subscribe/unsubscribe? See
> > > > > http://www.freeradius.org/list/users.html
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Kostas Kalevras Network Operations Center
> > > > > > [EMAIL PROTECTED] National Technical University of Athens, Greece
> > > > > > Work Phone: +30 210 7721861
> > > > > > 'Go back to the shadow' Gandalf
> > > > > >
> > > > > > -
> > > > > > List info/subscribe/unsubscribe? See
> > > > > http://www.freeradius.org/list/users.html
> > > > > >
> > > > >
> > > > >
> > > > > ---
> > > > > Outgoing mail is certified Virus Free.
> > > > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > > > Version: 6.0.725 / Virus Database: 480 - Release Date: 7/19/2004
> > > > >
> > > > >
> > > > > -
> > > > > List info/subscribe/unsubscribe? See
> > > http://www.freeradius.org/list/users.html
> > > > >
> > > >
> > > > --
> > > > Kostas Kalevras Network Operations Center
> > > > [EMAIL PROTECTED] National Technical University of Athens, Greece
> > > > Work Phone: +30 210 7721861
> > > > 'Go back to the shadow' Gandalf
> > > >
> > > > -
> > > > List info/subscribe/unsubscribe? See
> > > http://www.freeradius.org/list/users.html
> > > > ---
> > > > [This E-mail scanned for viruses by Declude Ant-Virus Scanner]
> > > >
> > > >
> > >
> > > ---
> > > [This E-mail scanned for viruses by Declude Ant-Virus Scanner]
> > >
> > >
> > > -
> > > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> > >
> >
> > --
> > Kostas Kalevras Network Operations Center
> > [EMAIL PROTECTED] National Technical University of Athens, Greece
> > Work Phone: +30 210 7721861
> > 'Go back to the shadow' Gandalf
> >
> > -
> > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> > ---
> > [This E-mail scanned for viruses by Declude Ant-Virus Scanner]
> >
> >
>
> ---
> [This E-mail scanned for viruses by Declude Ant-Virus Scanner]
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html