吴海峰 | 26 Dec 2004 14:23
Picon

Is there a need to develop an radius api in GPL code

Hi all,
	Recently,I googled the radius api,but have nothing.Is it possible to develop a radius api in GPL form?

	
	
       
          2004-12-26
.+-w˛m˛mzmyv+?+-ׯzXm
Paul Hampson | 26 Dec 2004 15:31
Picon
Favicon

Re: Is there a need to develop an radius api in GPL code

On Sun, Dec 26, 2004 at 09:23:10PM +0800, 吴海峰 wrote:
> Hi all,
> 	Recently,I googled the radius api,but have nothing.Is it possible to develop a radius api in GPL form?

I'm not clear what you mean. If you want to send RADIUS
packets to a RADIUS server, you could feed them into
radclient. If you want something you can link directly
into your code, radclient is GPL'd, as is the libradius
in FreeRADIUS, so you can use that, but...

libradius doesn't really have a deliberately stable API
yet, but not a lot's changed in a fair while that I can
think of, so you can either dynamically link against it
and hope for the best, or statically link it to your
project, either against the FreeRADIUS tree or take a
copy and update it as FreeRADIUS changes, until we _do_
provide a stable API for libradius. (It's a TODO just now)

--

-- 
Paul "TBBle" Hampson, on an alternate email client.

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

Automatic cvs log generator | 27 Dec 2004 10:03

Automatic report from sources (radiusd) between 26.12.2004 - 27.12.2004 GMT

CVS log entries from 26.12.2004 (Sun) 09:00:01 - 27.12.2004 (Mon) 09:00:01 GMT
=====================================================
Summary by authors
=====================================================
Author: pnixon
	File: radiusd/src/billing/h323detail2db.pl; Revisions: 1.17

=====================================================
Log entries
=====================================================
Description:
Use Timestamp in Accttime field
Modified files:
	File: radiusd/src/billing/h323detail2db.pl; Revision: 1.17;
	Date: 2004/12/26 22:48:39; Author: pnixon; Lines:  (+7 -5)
=====================================================
Summary of modified files
=====================================================
File: radiusd/src/billing/h323detail2db.pl
Revisions: 1.17
Authors: pnixon (+7 -5)
--

-- 
Automatic cron job from /web/pages/us.freeradius.org/bin/new_makelog.pl

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

Automatic cvs log generator | 29 Dec 2004 10:03

Automatic report from sources (radiusd) between 28.12.2004 - 29.12.2004 GMT

CVS log entries from 28.12.2004 (Tue) 09:00:02 - 29.12.2004 (Wed) 09:00:01 GMT
=====================================================
Summary by authors
=====================================================
Author: phampson
	File: radiusd/src/modules/rlm_radutmp/config.h.in; Revisions: 1.2
	File: radiusd/src/modules/rlm_pam/config.h.in; Revisions: 1.3
	File: radiusd/src/modules/rlm_counter/acconfig.h; Revisions: 1.2
	File: radiusd/src/modules/rlm_smb/config.h.in; Revisions: 1.2
	File: radiusd/config.guess; Revisions: 1.7
	File: radiusd/src/modules/rlm_ippool/configure; Revisions: 1.6
	File: radiusd/config.sub; Revisions: 1.6
	File: radiusd/src/modules/rlm_sqlcounter/rlm_sqlcounter.c; Revisions: 1.12
	File: radiusd/src/modules/rlm_sqlcounter/config.h.in; Revisions: 1.2
	File: radiusd/src/modules/rlm_perl/config.h.in; Revisions: 1.2
	File: radiusd/autogen.sh; Revisions: 1.3
	File: radiusd/src/modules/rlm_exec/rlm_exec.c; Revisions: 1.13, 1.12
	File: radiusd/src/modules/rlm_checkval/configure.in; Revisions: 1.4
	File: radiusd/src/modules/rlm_attr_rewrite/config.h.in; Revisions: 1.2
	File: radiusd/src/modules/rlm_sql/drivers/rlm_sql_mysql/config.h.in; Revisions: 1.2
	File: radiusd/src/modules/rlm_counter/config.h.in; Revisions: 1.3
	File: radiusd/src/modules/rlm_sqlcounter/configure; Revisions: 1.9
	File: radiusd/src/modules/rlm_checkval/config.h.in; Revisions: 1.2
	File: radiusd/src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c; Revisions: 1.22
	File: radiusd/src/modules/rlm_mschap/rlm_mschap.c; Revisions: 1.63
	File: radiusd/src/modules/rlm_unix/config.h.in; Revisions: 1.3
	File: radiusd/doc/configurable_failover; Revisions: 1.7
	File: radiusd/src/modules/rlm_sqlcounter/configure.in; Revisions: 1.4
	File: radiusd/src/modules/rlm_ippool/configure.in; Revisions: 1.4
	File: radiusd/src/modules/rlm_example/config.h.in; Revisions: 1.2
(Continue reading)

Paul Hampson | 29 Dec 2004 11:05
Picon
Favicon

Re: proposed rlm_exec changes

On Fri, Dec 24, 2004 at 10:09:20AM -0500, Alan DeKok wrote:
> Paul.Hampson <at> PObox.com (Paul Hampson) wrote:
> > However, this is now invasive. So before I start passing the
> > patch around -users for people to tell me how bad an idea it
> > is, I'd like -devel to take the opportunity to tell me how
> > bad an idea it is.

>   Make it configurable, via a parameter in the "security" subsection
> of radiusd.conf.  The code it affects should only be ~20 lines in
> src/main/exec.c

Oh, drat. I only remembered the 'make it configurable' bit, and
made it an rlm_exec change. I figure people using Exec-Program-Wait
aren't really interested in me changing things out from under them.

^_^

> > Here's the patch in all its glory.

>   Make it configurable, so that people used to the old behavior don't
> get surprised by the new behavior.

This should do it then. Exec-Program{,-Wait} should work exactly as
it always has, and rlm_exec changes to have the return code effects
I described earlier and have now documented. rlm_exec has also been
given a new parameter, shell_escape, which when true (as default) gives
the current behaviour, and when false will supply unadulterated RADIUS
attribute names and values as per the dictionaries.

It also doesn't change the way we're passing things to the ntlm-auth
(Continue reading)

Alan DeKok | 29 Dec 2004 16:35

Re: proposed rlm_exec changes

Paul.Hampson <at> PObox.com (Paul Hampson) wrote:
> Oh, drat. I only remembered the 'make it configurable' bit, and
> made it an rlm_exec change. I figure people using Exec-Program-Wait
> aren't really interested in me changing things out from under them.

  Sure.

> It also doesn't change the way we're passing things to the ntlm-auth
> program, which is good and totally overlooked by me in the first cut.

  But rlm_mschap needs to be fixed, too.  See a post today to -users.

  Overall, the patch looks good.  Go for it.

  In other news, are we ready for 1.0.2?

  Alan DeKok.

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

Paul Hampson | 30 Dec 2004 00:19
Picon
Favicon

1.0.2 (Was: proposed rlm_exec changes)

On Wed, Dec 29, 2004 at 10:35:10AM -0500, Alan DeKok wrote:
> Paul.Hampson <at> PObox.com (Paul Hampson) wrote:
> > Oh, drat. I only remembered the 'make it configurable' bit, and
> > made it an rlm_exec change. I figure people using Exec-Program-Wait
> > aren't really interested in me changing things out from under them.

>   Sure.

> > It also doesn't change the way we're passing things to the ntlm-auth
> > program, which is good and totally overlooked by me in the first cut.

>   But rlm_mschap needs to be fixed, too.  See a post today to -users.

Hehe, oops. I forgot to exlude that one when comitting the other thing I
was working on, autoheader support. >_<

>   Overall, the patch looks good.  Go for it.

Done.

>   In other news, are we ready for 1.0.2?

Yes. I've just tagged the branches, and I seem to have done all the
number changes ealier. release_1_0_2 should be ready to ship. ^_^

--

-- 
Paul "TBBle" Hampson, on an alternate email client.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
(Continue reading)

Automatic cvs log generator | 30 Dec 2004 10:03

Automatic report from sources (radiusd) between 29.12.2004 - 30.12.2004 GMT

CVS log entries from 29.12.2004 (Wed) 09:00:01 - 30.12.2004 (Thu) 09:00:01 GMT
=====================================================
Summary by authors
=====================================================
Author: phampson
	File: radiusd/debian/copyright; Revisions: 1.4.4.1
	File: radiusd/src/include/radiusd.h; Revisions: 1.167, 1.156.2.3
	File: radiusd/doc/ChangeLog; Revisions: 1.57.2.11, 1.57.2.10, 1.57.2.9
	File: radiusd/src/main/auth.c; Revisions: 1.141, 1.136.2.1
	File: radiusd/debian/freeradius.postinst; Revisions: 1.5.2.1
	File: radiusd/debian/freeradius-krb5.postinst; Revisions: 1.1.4.1
	File: radiusd/debian/freeradius-postgresql.postinst; Revisions: 1.2.4.1
	File: radiusd/debian/freeradius.prerm; Revisions: 1.4.2.1
	File: radiusd/raddb/radiusd.conf.in; Revisions: 1.200
	File: radiusd/debian/freeradius-mysql.postinst; Revisions: 1.2.4.1
	File: radiusd/debian/control; Revisions: 1.39.2.1
	File: radiusd/src/main/acct.c; Revisions: 1.31
	File: radiusd/debian/changelog; Revisions: 1.60.2.9
	File: radiusd/debian/freeradius-iodbc.postinst; Revisions: 1.1.2.1
	File: radiusd/debian/freeradius-ldap.postinst; Revisions: 1.2.4.1
	File: radiusd/src/modules/rlm_exec/rlm_exec.c; Revisions: 1.14
	File: radiusd/debian/rules; Revisions: 1.54.2.7
	File: radiusd/debian/freeradius.init; Revisions: 1.1.2.1
	File: radiusd/src/main/exec.c; Revisions: 1.45

=====================================================
Combined list of identical log entries
=====================================================
Description:
Debian updates stolen from CVS HEAD
(Continue reading)


Gmane