freeradius.git
18 years ago Update with differences for 1.1.0 release_1_1_0_pre0
aland [Fri, 16 Dec 2005 19:56:10 +0000 (19:56 +0000)]
Update with differences for 1.1.0

18 years ago Update version numbers
aland [Fri, 16 Dec 2005 00:11:15 +0000 (00:11 +0000)]
Update version numbers

18 years ago Update for 1.1.0-pre0
nbk [Thu, 15 Dec 2005 19:34:45 +0000 (19:34 +0000)]
Update for 1.1.0-pre0

18 years ago Temporarily remove the old patches so that the CVS version can
nbk [Thu, 15 Dec 2005 19:34:32 +0000 (19:34 +0000)]
Temporarily remove the old patches so that the CVS version can
build with dpkg-buildpackage.

18 years ago Update Build-Depends:
nbk [Thu, 15 Dec 2005 15:22:03 +0000 (15:22 +0000)]
Update Build-Depends:
- add libperl-dev (since rlm_perl is stable)
- use libmysqlclient14-dev (MySQL 4.1 is currently the default in etch)

18 years agoGenerated by autoconf 2.13
bjordanov [Thu, 15 Dec 2005 13:27:01 +0000 (13:27 +0000)]
Generated by autoconf 2.13

18 years agoAdded additional flags to RLM_CFLAGS fix for bug # 301
bjordanov [Thu, 15 Dec 2005 13:25:56 +0000 (13:25 +0000)]
Added additional flags to RLM_CFLAGS fix for bug # 301

18 years agoFixed compile problem with perl 5.8.6 Bug # 301
bjordanov [Thu, 15 Dec 2005 12:54:24 +0000 (12:54 +0000)]
Fixed compile problem with perl 5.8.6 Bug # 301

18 years agoPull fixes for bug #267 from the head
bjordanov [Thu, 15 Dec 2005 12:42:42 +0000 (12:42 +0000)]
Pull fixes for bug #267 from the head

18 years agoPull fixes from bug # 267 from the head
bjordanov [Thu, 15 Dec 2005 12:39:50 +0000 (12:39 +0000)]
Pull fixes from bug # 267 from the head

18 years ago Document load balancing
aland [Thu, 15 Dec 2005 00:47:55 +0000 (00:47 +0000)]
Document load balancing

18 years ago Pulled from CVS head
aland [Thu, 15 Dec 2005 00:47:02 +0000 (00:47 +0000)]
Pulled from CVS head

18 years ago cvs diff -u -r1.29 -r1.33 | patch -p0
aland [Thu, 15 Dec 2005 00:44:34 +0000 (00:44 +0000)]
cvs diff -u -r1.29 -r1.33 | patch -p0

with edits: don't create virtual modules.  Add "const" from
revision 1.37.

We should be substantially caught up with the CVS head now

18 years ago cvs diff -u -r1.35 -r1.37 modcall.c | patch -p0
aland [Thu, 15 Dec 2005 00:33:16 +0000 (00:33 +0000)]
cvs diff -u -r1.35 -r1.37 modcall.c | patch -p0

with edits...

18 years ago cvs diff -u -r1.24 -r1.28 modcall.c | patch -p0
aland [Thu, 15 Dec 2005 00:26:34 +0000 (00:26 +0000)]
cvs diff -u -r1.24 -r1.28 modcall.c | patch -p0

with minor edits for $Id$ nonsense

18 years ago We're getting ready to go...
aland [Thu, 15 Dec 2005 00:08:44 +0000 (00:08 +0000)]
We're getting ready to go...

18 years ago cvs diff -u -r 1.22 -r 1.24 rlm_eap_tls.c | patch
aland [Thu, 15 Dec 2005 00:06:26 +0000 (00:06 +0000)]
cvs diff -u -r 1.22 -r 1.24 rlm_eap_tls.c | patch

Fixes bug #112, and other issues

18 years ago Added rlm_perl
aland [Wed, 14 Dec 2005 20:58:14 +0000 (20:58 +0000)]
Added rlm_perl

18 years ago Pulled stable version from CVS 1.20 (1.19 + a 1-line change)
aland [Wed, 14 Dec 2005 19:31:59 +0000 (19:31 +0000)]
Pulled stable version from CVS 1.20 (1.19 + a 1-line change)

18 years agoPull from CVS head:
nbk [Wed, 14 Dec 2005 18:32:01 +0000 (18:32 +0000)]
Pull from CVS head:
Add the attribute "noreturn" to the functions that need it.

18 years ago Document rlm_digest changes
aland [Wed, 14 Dec 2005 17:27:15 +0000 (17:27 +0000)]
Document rlm_digest changes

18 years ago Pass option --with-large-files to ./configure because the log
nbk [Wed, 14 Dec 2005 17:11:44 +0000 (17:11 +0000)]
Pass option --with-large-files to ./configure because the log
files can grow beyond 2GB in a few hours on large sites.

18 years ago Latest set of changes.
nbk [Wed, 14 Dec 2005 13:39:59 +0000 (13:39 +0000)]
Latest set of changes.

18 years ago Pull fix from the head
aland [Tue, 13 Dec 2005 22:29:59 +0000 (22:29 +0000)]
Pull fix from the head

18 years ago Merge revision 1.33 of radrelay.c in branch 1.1
nbk [Tue, 13 Dec 2005 18:14:51 +0000 (18:14 +0000)]
Merge revision 1.33 of radrelay.c in branch 1.1

18 years agoPull from CVS head:
nbk [Tue, 13 Dec 2005 17:51:34 +0000 (17:51 +0000)]
Pull from CVS head:
Initialize allowed_chars before using sql_escape_func.

18 years ago Add rlm_sqlcounter to the list of stable modules.
nbk [Tue, 13 Dec 2005 16:37:31 +0000 (16:37 +0000)]
Add rlm_sqlcounter to the list of stable modules.

18 years agoPull from CVS head:
nbk [Tue, 13 Dec 2005 16:32:51 +0000 (16:32 +0000)]
Pull from CVS head:
Move the config examples of "rlm_sqlcounter" from experimental.conf
to radiusd.conf.

18 years agoPull from CVS head:
nbk [Tue, 13 Dec 2005 14:44:36 +0000 (14:44 +0000)]
Pull from CVS head:
Add a warning about "rlm_smb".

18 years agoPull from CVS head:
nbk [Tue, 13 Dec 2005 14:11:53 +0000 (14:11 +0000)]
Pull from CVS head:
Don't keep a pointer on freed memory after the module is detached.

18 years ago Functions needed for new rlm_digest
aland [Mon, 12 Dec 2005 23:28:29 +0000 (23:28 +0000)]
Functions needed for new rlm_digest

18 years ago Merged from the CVS head, with all relevant fixes
aland [Mon, 12 Dec 2005 23:28:02 +0000 (23:28 +0000)]
Merged from the CVS head, with all relevant fixes

18 years agofile digest-md5-sess was added on branch branch_1_1 on 2006-03-06 19:02:58 +0000
aland [Mon, 12 Dec 2005 23:10:24 +0000 (23:10 +0000)]
file digest-md5-sess was added on branch branch_1_1 on 2006-03-06 19:02:58 +0000

18 years agofile digest-auth-int was added on branch branch_1_1 on 2006-03-06 19:02:55 +0000
aland [Mon, 12 Dec 2005 21:52:27 +0000 (21:52 +0000)]
file digest-auth-int was added on branch branch_1_1 on 2006-03-06 19:02:55 +0000

18 years agoPull from CVS head:
nbk [Mon, 12 Dec 2005 17:44:35 +0000 (17:44 +0000)]
Pull from CVS head:
Don't keep a pointer on freed memory after the module is detached.

18 years agoPull from CVS head:
nbk [Mon, 12 Dec 2005 17:37:20 +0000 (17:37 +0000)]
Pull from CVS head:
Make the list of safe characters defined by user.

18 years agoPull from CVS head:
nbk [Mon, 12 Dec 2005 17:02:11 +0000 (17:02 +0000)]
Pull from CVS head:
Check strings from options "key" and "sql-inst".

18 years ago Don't assume that vp->strvalue is the printed form of the IP,
nbk [Mon, 12 Dec 2005 10:52:01 +0000 (10:52 +0000)]
Don't assume that vp->strvalue is the printed form of the IP,
which is not always right.

18 years ago Keep IPv4 addresses in network byte order in vp->lvalue and put
nbk [Mon, 12 Dec 2005 10:19:09 +0000 (10:19 +0000)]
Keep IPv4 addresses in network byte order in vp->lvalue and put
ASCII IP address in standard dot notation into vp->strvalue.

18 years agoPull from CVS head:
nbk [Sun, 11 Dec 2005 15:17:34 +0000 (15:17 +0000)]
Pull from CVS head:
Include module "rlm_sql_log" in branch 1.1

18 years agoPull from CVS head:
nbk [Sat, 10 Dec 2005 17:26:33 +0000 (17:26 +0000)]
Pull from CVS head:
Include radsqlrelay (Perl version) in branch 1.1

18 years agoPull from CVS head:
nbk [Fri, 9 Dec 2005 16:10:08 +0000 (16:10 +0000)]
Pull from CVS head:
Tell the libmysqlclient to read the sections [freeradius]
and [client] from file "my.cnf".

18 years agoPull from CVS head:
nbk [Fri, 9 Dec 2005 14:47:03 +0000 (14:47 +0000)]
Pull from CVS head:
Fix the comments about MySQL case sensitive queries.

18 years ago Generated by autoheaders 2.13
nbk [Thu, 8 Dec 2005 19:40:22 +0000 (19:40 +0000)]
Generated by autoheaders 2.13

18 years ago Generated by autoheaders 2.13
nbk [Thu, 8 Dec 2005 19:33:26 +0000 (19:33 +0000)]
Generated by autoheaders 2.13

18 years ago Generated by autoconf 2.13
nbk [Thu, 8 Dec 2005 19:32:37 +0000 (19:32 +0000)]
Generated by autoconf 2.13

18 years agoPull from CVS head:
nbk [Thu, 8 Dec 2005 19:09:39 +0000 (19:09 +0000)]
Pull from CVS head:
Don't trust "mysql_config" output and test the libmysqlclient anyway.

18 years agoPull from CVS head:
nbk [Thu, 8 Dec 2005 18:54:09 +0000 (18:54 +0000)]
Pull from CVS head:
Always restore CFLAGS and LIBS after the tests.

18 years agoPull from CVS head:
nbk [Thu, 8 Dec 2005 13:46:39 +0000 (13:46 +0000)]
Pull from CVS head:
Apply latest fixes in this branch, too.

18 years agoPull from CVS head:
nbk [Thu, 8 Dec 2005 13:24:31 +0000 (13:24 +0000)]
Pull from CVS head:
Back-port support for {Pre,Post}-Proxy-Type stanzas.

18 years agoPull from CVS head:
nbk [Thu, 8 Dec 2005 12:47:56 +0000 (12:47 +0000)]
Pull from CVS head:
Back-port support for ${Cisco-AVPair[n]} syntax.

18 years agoPull from CVS head:
nbk [Thu, 8 Dec 2005 11:13:49 +0000 (11:13 +0000)]
Pull from CVS head:
Mark packets with invalid signature as "done".

18 years ago no longer in HEAD and shouldn't be in 1.1 (cvs wouldn't let me
fcusack [Thu, 8 Dec 2005 02:12:23 +0000 (02:12 +0000)]
no longer in HEAD and shouldn't be in 1.1 (cvs wouldn't let me
merge the deletion properly for these 3 files)

18 years ago backport from HEAD
fcusack [Thu, 8 Dec 2005 02:07:31 +0000 (02:07 +0000)]
backport from HEAD

18 years ago rlm_otp import from HEAD
fcusack [Thu, 8 Dec 2005 01:30:48 +0000 (01:30 +0000)]
rlm_otp import from HEAD
data structures (module_t and vp) still need to be modified for 1.1

18 years agoPull from CVS head:
nbk [Wed, 7 Dec 2005 17:42:12 +0000 (17:42 +0000)]
Pull from CVS head:
Back-port the -n and -p options, as well as a few bugfixes, too.

18 years agoPull from CVS head:
nbk [Wed, 7 Dec 2005 15:27:17 +0000 (15:27 +0000)]
Pull from CVS head:
Add hash table functions into the branch 1.1.

18 years ago Update for 1.1.x
aland [Thu, 1 Dec 2005 00:02:56 +0000 (00:02 +0000)]
Update for 1.1.x

18 years ago Updated for 1.1.x
aland [Thu, 1 Dec 2005 00:01:12 +0000 (00:01 +0000)]
Updated for 1.1.x

18 years ago Pull rbtree.c from the CVS head, to get fixes for writing to "static"
aland [Wed, 30 Nov 2005 22:40:18 +0000 (22:40 +0000)]
Pull rbtree.c from the CVS head, to get fixes for writing to "static"
memory locations that should really be "const".

18 years ago Pull changes from the (now-2.0) head
aland [Wed, 30 Nov 2005 22:32:27 +0000 (22:32 +0000)]
Pull changes from the (now-2.0) head

18 years ago Made it 2.0.0, and removed the changes that are in 1.1.x, as
aland [Wed, 30 Nov 2005 22:32:02 +0000 (22:32 +0000)]
Made it 2.0.0, and removed the changes that are in 1.1.x, as
we don't need to mention them twice

18 years ago Remember the proxying IP address.
aland [Wed, 30 Nov 2005 22:21:43 +0000 (22:21 +0000)]
Remember the proxying IP address.

This makes udpfromto work again

18 years ago Updated for 1.1.0
aland [Wed, 30 Nov 2005 22:20:14 +0000 (22:20 +0000)]
Updated for 1.1.0

18 years ago Don't need this any more in the 1.1.x branch
aland [Wed, 30 Nov 2005 22:19:26 +0000 (22:19 +0000)]
Don't need this any more in the 1.1.x branch

18 years ago Document the new dictionary format
aland [Wed, 30 Nov 2005 22:18:52 +0000 (22:18 +0000)]
Document the new dictionary format

18 years ago First pass at adding work on the 1.1.x branch.
aland [Wed, 30 Nov 2005 22:17:17 +0000 (22:17 +0000)]
First pass at adding work on the 1.1.x branch.

Copied share/* from the CVS head to this branch.

Updated src/lib/dict.c && src/lib/radius.c to handle (encode and
decode) VSA's with weird formats, with code copied from the CVS
head.

Updated "configure.in" to look for sys/stat.h, which is now needed
by src/lib/dict.c.

Updated "configure.in" with the new version number (1.1.0-pre0),
but did NOT re-run "configure"

18 years ago Re-implemented Exec-Program && Exec-Program-Wait in rlm_exec,
aland [Mon, 28 Nov 2005 21:47:01 +0000 (21:47 +0000)]
Re-implemented Exec-Program && Exec-Program-Wait in rlm_exec,
in the post-auth section.

We may want to add this in the "accounting" section, too

18 years ago Clean up time passed calculation (again)
aland [Mon, 28 Nov 2005 21:39:44 +0000 (21:39 +0000)]
Clean up time passed calculation (again)

18 years ago Pull a few downstream fixes:
nbk [Sun, 27 Nov 2005 15:14:51 +0000 (15:14 +0000)]
Pull a few downstream fixes:
- don't rerun configure during the build.
- don't install CVS files.
- add phony targets.

18 years ago Don't trust "mysql_config" output and test the libmysqlclient
nbk [Fri, 25 Nov 2005 20:31:54 +0000 (20:31 +0000)]
Don't trust "mysql_config" output and test the libmysqlclient
anyway. Broken MySQL packages from Redhat provide the script
"mysql_config" without the libmysqlclient headers. (closes: #297)

18 years ago More definitions for systems that don't have them
aland [Thu, 24 Nov 2005 22:55:42 +0000 (22:55 +0000)]
More definitions for systems that don't have them

18 years ago If no digest algorithm, default to MD5.
aland [Wed, 23 Nov 2005 19:39:12 +0000 (19:39 +0000)]
If no digest algorithm, default to MD5.

Patch from Philippe Sultan

18 years ago Sanity check lengths of hex string
aland [Wed, 23 Nov 2005 19:26:43 +0000 (19:26 +0000)]
Sanity check lengths of hex string

Patch from Philippe Sultan

18 years ago A little more generic way of truncating tunnel-password-encrypted
aland [Wed, 23 Nov 2005 18:30:57 +0000 (18:30 +0000)]
A little more generic way of truncating tunnel-password-encrypted
attributes.

Hmm... much of these checks should also be added to pairmake()
and friends, so that the admin can find limits earlier in the
process

18 years ago Motorola Canopy stuff
aland [Tue, 22 Nov 2005 23:03:24 +0000 (23:03 +0000)]
Motorola Canopy stuff

18 years ago Allow tunnel passwords to be longer than 16 characters. Oops..
aland [Tue, 22 Nov 2005 19:35:40 +0000 (19:35 +0000)]
Allow tunnel passwords to be longer than 16 characters.  Oops..

18 years ago - allocate all responses, not just the ones we fill in; the prior
fcusack [Thu, 17 Nov 2005 17:53:11 +0000 (17:53 +0000)]
- allocate all responses, not just the ones we fill in; the prior
  behavior would probably segfault if >1 prompt
- fill in responses in the same order as prompts
- correctly free memory on error (we were leaking reply[*].resp)
- zero out response memory on error (pointless, but considered SOP)

18 years ago Moved TLS code from rlm_eap_tls to libeap. Updated Make files
aland [Tue, 15 Nov 2005 22:29:49 +0000 (22:29 +0000)]
Moved TLS code from rlm_eap_tls to libeap.  Updated Make files
to use the new defs.

It appears to work.

18 years ago Remove stupid CVS log statement
aland [Tue, 15 Nov 2005 22:14:38 +0000 (22:14 +0000)]
Remove stupid CVS log statement

18 years ago Cleaned up the code so it has one code base for all functions.
aland [Mon, 14 Nov 2005 23:38:09 +0000 (23:38 +0000)]
Cleaned up the code so it has one code base for all functions.

Added authenticate, postproxy, and postauth sections, too

18 years ago Have the thread queue handler use fifos, rather than the hash
aland [Mon, 14 Nov 2005 21:55:13 +0000 (21:55 +0000)]
Have the thread queue handler use fifos, rather than the hash
table.

This makes it easier to add more logic around request handling,
i.e. prefer ongoing conversations over new ones.

18 years ago Be a little more careful when creating bad attributes
aland [Mon, 14 Nov 2005 21:30:25 +0000 (21:30 +0000)]
Be a little more careful when creating bad attributes

18 years ago Look at the correct variable
aland [Mon, 14 Nov 2005 20:28:54 +0000 (20:28 +0000)]
Look at the correct variable

18 years ago 'exec.c' has been deleted.
nbk [Mon, 14 Nov 2005 19:55:09 +0000 (19:55 +0000)]
'exec.c' has been deleted.

18 years ago Compile again the file 'exec.c'
nbk [Mon, 14 Nov 2005 19:54:45 +0000 (19:54 +0000)]
Compile again the file 'exec.c'

18 years ago Move back the file 'exec.c' from src/modules/rlm_exec to src/main
nbk [Mon, 14 Nov 2005 19:53:52 +0000 (19:53 +0000)]
Move back the file 'exec.c' from src/modules/rlm_exec to src/main

18 years ago As found on the net
aland [Fri, 11 Nov 2005 01:44:42 +0000 (01:44 +0000)]
As found on the net

18 years agofile rlm_sqlippool.c was added on branch branch_1_1 on 2006-04-07 15:49:48 +0000
pnixon [Fri, 11 Nov 2005 00:33:07 +0000 (00:33 +0000)]
file rlm_sqlippool.c was added on branch branch_1_1 on 2006-04-07 15:49:48 +0000

18 years ago Include files used to build the server are now <freeradius-devel/*.h>
aland [Fri, 11 Nov 2005 00:32:48 +0000 (00:32 +0000)]
Include files used to build the server are now <freeradius-devel/*.h>
If this is bad, we can easily change it in the future to something
like <freeradius/*.h>.

Also, updated rlm_sqlippool to build with the recent cleanups.

The work was done via a Perl script, and the server rebuilt &
tested to be sure it works.

18 years ago s/otp_get_challenge/otp_async_challenge/ to avoid confusion with
fcusack [Tue, 8 Nov 2005 11:00:34 +0000 (11:00 +0000)]
s/otp_get_challenge/otp_async_challenge/ to avoid confusion with
sync challenge

18 years ago combine another FR and PAM debug option (missed earlier)
fcusack [Tue, 8 Nov 2005 10:56:49 +0000 (10:56 +0000)]
combine another FR and PAM debug option (missed earlier)

18 years ago fix logging:
fcusack [Tue, 8 Nov 2005 10:51:43 +0000 (10:51 +0000)]
fix logging:
- add __func__ to otp_log(), where missing
- don't prepend MODULE_NAME in otp_log(), instead make it part of
  log_prefix (as appropriate)

18 years ago fix signed/unsigned comparison
fcusack [Tue, 8 Nov 2005 10:43:20 +0000 (10:43 +0000)]
fix signed/unsigned comparison

18 years ago combine FR and PAM debug options
fcusack [Tue, 8 Nov 2005 09:06:45 +0000 (09:06 +0000)]
combine FR and PAM debug options

18 years ago Change user_state 'challenge' field from string to uchar, which
fcusack [Tue, 8 Nov 2005 08:56:21 +0000 (08:56 +0000)]
Change user_state 'challenge' field from string to uchar, which
makes more sense for crypto and other manipulation.  Unfortunately,
it is a huge change for such a small gain (basically avoiding
sprintf() and sscanf() conversions.)

Notable changes:
- otp.h: add 'clen' field to user_state; update it wherever the
  'challenge' field is set
- otp_cardops.h: add printchallenge() method, OTP_CF_C8 and OTP_CF_C4
  Card Feature macros
- cardops keystring2keyblock() method and otp_keystring2keyblock()
  now return keylen (instead of 0) on success
- otp_keyblock2keystring() now takes a length arg and returns char *
  for easy printing
- remove [unused] 'card_info' and 'log_prefix' args to cardops
  updatecsd() method
- otp_gen_challenge() noted as cryptocard-specific with quirky behavior
- otp_challenge_transform() explicitly returns new challenge length
        - cryptocard.c:cryptocard_challenge(): Remove hardcoded challenge
  length of 8.  Yes, *sync* challenge length must be 8 but challenge
  might be a different size due to resync with an async challenge.
  This worked before but became a bug when we changed the user_state
  'challenge' field to be the previous (instead of the next) challenge.

18 years ago add sratch3 back to user_state, to hold csd offset
fcusack [Tue, 8 Nov 2005 04:02:20 +0000 (04:02 +0000)]
add sratch3 back to user_state, to hold csd offset

18 years ago On deleting the request list, kill any live threads that are
aland [Mon, 7 Nov 2005 19:46:30 +0000 (19:46 +0000)]
On deleting the request list, kill any live threads that are
processing the request, and mark the request has having no
child pid.

We should fix up the thread pool, too, to catch the case of
"disappeared" child threads

18 years ago s/user_info/card_info/
fcusack [Mon, 7 Nov 2005 09:28:33 +0000 (09:28 +0000)]
s/user_info/card_info/

18 years ago remove extra scratch field from user_state
fcusack [Mon, 7 Nov 2005 06:19:05 +0000 (06:19 +0000)]
    remove extra scratch field from user_state