aland [Fri, 16 Dec 2005 19:56:10 +0000 (19:56 +0000)]
Update with differences for 1.1.0
aland [Fri, 16 Dec 2005 00:11:15 +0000 (00:11 +0000)]
Update version numbers
nbk [Thu, 15 Dec 2005 19:34:45 +0000 (19:34 +0000)]
Update for 1.1.0-pre0
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.
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)
bjordanov [Thu, 15 Dec 2005 13:27:01 +0000 (13:27 +0000)]
Generated by autoconf 2.13
bjordanov [Thu, 15 Dec 2005 13:25:56 +0000 (13:25 +0000)]
Added additional flags to RLM_CFLAGS fix for bug # 301
bjordanov [Thu, 15 Dec 2005 12:54:24 +0000 (12:54 +0000)]
Fixed compile problem with perl 5.8.6 Bug # 301
bjordanov [Thu, 15 Dec 2005 12:42:42 +0000 (12:42 +0000)]
Pull fixes for 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
aland [Thu, 15 Dec 2005 00:47:55 +0000 (00:47 +0000)]
Document load balancing
aland [Thu, 15 Dec 2005 00:47:02 +0000 (00:47 +0000)]
Pulled from CVS head
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
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...
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
aland [Thu, 15 Dec 2005 00:08:44 +0000 (00:08 +0000)]
We're getting ready to go...
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
aland [Wed, 14 Dec 2005 20:58:14 +0000 (20:58 +0000)]
Added rlm_perl
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)
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.
aland [Wed, 14 Dec 2005 17:27:15 +0000 (17:27 +0000)]
Document rlm_digest changes
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.
nbk [Wed, 14 Dec 2005 13:39:59 +0000 (13:39 +0000)]
Latest set of changes.
aland [Tue, 13 Dec 2005 22:29:59 +0000 (22:29 +0000)]
Pull fix from the head
nbk [Tue, 13 Dec 2005 18:14:51 +0000 (18:14 +0000)]
Merge revision 1.33 of radrelay.c in branch 1.1
nbk [Tue, 13 Dec 2005 17:51:34 +0000 (17:51 +0000)]
Pull from CVS head:
Initialize allowed_chars before using sql_escape_func.
nbk [Tue, 13 Dec 2005 16:37:31 +0000 (16:37 +0000)]
Add rlm_sqlcounter to the list of stable modules.
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.
nbk [Tue, 13 Dec 2005 14:44:36 +0000 (14:44 +0000)]
Pull from CVS head:
Add a warning about "rlm_smb".
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.
aland [Mon, 12 Dec 2005 23:28:29 +0000 (23:28 +0000)]
Functions needed for new rlm_digest
aland [Mon, 12 Dec 2005 23:28:02 +0000 (23:28 +0000)]
Merged from the CVS head, with all relevant fixes
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
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
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.
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.
nbk [Mon, 12 Dec 2005 17:02:11 +0000 (17:02 +0000)]
Pull from CVS head:
Check strings from options "key" and "sql-inst".
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.
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.
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
nbk [Sat, 10 Dec 2005 17:26:33 +0000 (17:26 +0000)]
Pull from CVS head:
Include radsqlrelay (Perl version) in branch 1.1
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".
nbk [Fri, 9 Dec 2005 14:47:03 +0000 (14:47 +0000)]
Pull from CVS head:
Fix the comments about MySQL case sensitive queries.
nbk [Thu, 8 Dec 2005 19:40:22 +0000 (19:40 +0000)]
Generated by autoheaders 2.13
nbk [Thu, 8 Dec 2005 19:33:26 +0000 (19:33 +0000)]
Generated by autoheaders 2.13
nbk [Thu, 8 Dec 2005 19:32:37 +0000 (19:32 +0000)]
Generated by autoconf 2.13
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.
nbk [Thu, 8 Dec 2005 18:54:09 +0000 (18:54 +0000)]
Pull from CVS head:
Always restore CFLAGS and LIBS after the tests.
nbk [Thu, 8 Dec 2005 13:46:39 +0000 (13:46 +0000)]
Pull from CVS head:
Apply latest fixes in this branch, too.
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.
nbk [Thu, 8 Dec 2005 12:47:56 +0000 (12:47 +0000)]
Pull from CVS head:
Back-port support for ${Cisco-AVPair[n]} syntax.
nbk [Thu, 8 Dec 2005 11:13:49 +0000 (11:13 +0000)]
Pull from CVS head:
Mark packets with invalid signature as "done".
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)
fcusack [Thu, 8 Dec 2005 02:07:31 +0000 (02:07 +0000)]
backport 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
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.
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.
aland [Thu, 1 Dec 2005 00:02:56 +0000 (00:02 +0000)]
Update for 1.1.x
aland [Thu, 1 Dec 2005 00:01:12 +0000 (00:01 +0000)]
Updated for 1.1.x
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".
aland [Wed, 30 Nov 2005 22:32:27 +0000 (22:32 +0000)]
Pull changes from the (now-2.0) head
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
aland [Wed, 30 Nov 2005 22:21:43 +0000 (22:21 +0000)]
Remember the proxying IP address.
This makes udpfromto work again
aland [Wed, 30 Nov 2005 22:20:14 +0000 (22:20 +0000)]
Updated for 1.1.0
aland [Wed, 30 Nov 2005 22:19:26 +0000 (22:19 +0000)]
Don't need this any more in the 1.1.x branch
aland [Wed, 30 Nov 2005 22:18:52 +0000 (22:18 +0000)]
Document the new dictionary format
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"
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
aland [Mon, 28 Nov 2005 21:39:44 +0000 (21:39 +0000)]
Clean up time passed calculation (again)
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.
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)
aland [Thu, 24 Nov 2005 22:55:42 +0000 (22:55 +0000)]
More definitions for systems that don't have them
aland [Wed, 23 Nov 2005 19:39:12 +0000 (19:39 +0000)]
If no digest algorithm, default to MD5.
Patch from Philippe Sultan
aland [Wed, 23 Nov 2005 19:26:43 +0000 (19:26 +0000)]
Sanity check lengths of hex string
Patch from Philippe Sultan
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
aland [Tue, 22 Nov 2005 23:03:24 +0000 (23:03 +0000)]
Motorola Canopy stuff
aland [Tue, 22 Nov 2005 19:35:40 +0000 (19:35 +0000)]
Allow tunnel passwords to be longer than 16 characters. Oops..
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)
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.
aland [Tue, 15 Nov 2005 22:14:38 +0000 (22:14 +0000)]
Remove stupid CVS log statement
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
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.
aland [Mon, 14 Nov 2005 21:30:25 +0000 (21:30 +0000)]
Be a little more careful when creating bad attributes
aland [Mon, 14 Nov 2005 20:28:54 +0000 (20:28 +0000)]
Look at the correct variable
nbk [Mon, 14 Nov 2005 19:55:09 +0000 (19:55 +0000)]
'exec.c' has been deleted.
nbk [Mon, 14 Nov 2005 19:54:45 +0000 (19:54 +0000)]
Compile again the file 'exec.c'
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
aland [Fri, 11 Nov 2005 01:44:42 +0000 (01:44 +0000)]
As found on the net
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
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.
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
fcusack [Tue, 8 Nov 2005 10:56:49 +0000 (10:56 +0000)]
combine another FR and PAM debug option (missed earlier)
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)
fcusack [Tue, 8 Nov 2005 10:43:20 +0000 (10:43 +0000)]
fix signed/unsigned comparison
fcusack [Tue, 8 Nov 2005 09:06:45 +0000 (09:06 +0000)]
combine FR and PAM debug options
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.
fcusack [Tue, 8 Nov 2005 04:02:20 +0000 (04:02 +0000)]
add sratch3 back to user_state, to hold csd offset
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
fcusack [Mon, 7 Nov 2005 09:28:33 +0000 (09:28 +0000)]
s/user_info/card_info/
fcusack [Mon, 7 Nov 2005 06:19:05 +0000 (06:19 +0000)]
remove extra scratch field from user_state