freeradius.git
23 years ago updated with latest bug fixes
aland [Wed, 3 Jan 2001 19:57:21 +0000 (19:57 +0000)]
updated with latest bug fixes

23 years ago bug-fix for nesting
aland [Wed, 3 Jan 2001 19:36:21 +0000 (19:36 +0000)]
bug-fix for nesting

23 years ago if debugging, output a WARNING message when we see duplicate
aland [Wed, 3 Jan 2001 17:29:55 +0000 (17:29 +0000)]
if debugging, output a WARNING message when we see duplicate
configuration items.

As yet, we don't check for duplicate configuration sections.

23 years ago Patch from Kristina Pfaff-Harris <kristina@greatbasin.net>
aland [Wed, 3 Jan 2001 16:42:16 +0000 (16:42 +0000)]
Patch from Kristina Pfaff-Harris <kristina@greatbasin.net>

Use attribute number to look up value names.  If this isn't done,
then the named values returned MAY BE associated with another
attribute, and not the one we're interested in.

e.g. Rlogin has one name, but multiple values, which are
per-attribute.

23 years ago Added new valuepair function 'simplepaircmp()' to compare only two
cparker [Wed, 3 Jan 2001 00:43:19 +0000 (00:43 +0000)]
Added new valuepair function 'simplepaircmp()' to compare only two
attributes, as paircmp() tries to compare two lists of attributes.

23 years ago fixed regex examples in default attrs file to be correct.
cparker [Tue, 2 Jan 2001 17:17:51 +0000 (17:17 +0000)]
fixed regex examples in default attrs file to be correct.

23 years ago Shasta dictionary, as posted to the Cistron list by
aland [Tue, 2 Jan 2001 17:12:30 +0000 (17:12 +0000)]
Shasta dictionary, as posted to the Cistron list by
Andre Gustavo de Carvalho Albuquerque <gustavo@anita.visualnet.com.br>

23 years agoI was getting the "module name" from the wrong struct, causing default
pacman [Tue, 2 Jan 2001 05:44:23 +0000 (05:44 +0000)]
I was getting the "module name" from the wrong struct, causing default
authtype names to be screwed up.

23 years ago Corrected my email address to aland@ox.org
aland [Sat, 30 Dec 2000 17:07:13 +0000 (17:07 +0000)]
Corrected my email address to aland@ox.org

23 years ago comments about bugs to be fixed
aland [Sat, 30 Dec 2000 16:52:59 +0000 (16:52 +0000)]
comments about bugs to be fixed

23 years agofixed USR-Connect-Speed in dictionary.usr, courtesy Luiz Felipe Silva
miquels [Fri, 29 Dec 2000 16:10:50 +0000 (16:10 +0000)]
fixed USR-Connect-Speed in dictionary.usr, courtesy Luiz Felipe Silva

23 years ago preliminary entry of default 'attrs' file. see the newly added
cparker [Fri, 29 Dec 2000 01:53:34 +0000 (01:53 +0000)]
preliminary entry of default 'attrs' file.  see the newly added
doc/README.rlm_attr_filter for explanation of how it is used.

23 years ago updated README a tiny bit more
cparker [Fri, 29 Dec 2000 01:17:21 +0000 (01:17 +0000)]
updated README a tiny bit more

23 years ago added preliminary README for new module, rlm_attr_filter
cparker [Fri, 29 Dec 2000 01:16:06 +0000 (01:16 +0000)]
added preliminary README for new module, rlm_attr_filter

23 years ago removed old text
aland [Thu, 28 Dec 2000 17:01:18 +0000 (17:01 +0000)]
removed old text

23 years ago Added a copy of the GNU GPL version 2, which wasn't here before...
aland [Thu, 28 Dec 2000 16:31:03 +0000 (16:31 +0000)]
Added a copy of the GNU GPL version 2, which wasn't here before...

23 years ago * Update the dictionary to include more VSA's
hartwick [Thu, 28 Dec 2000 03:05:53 +0000 (03:05 +0000)]
* Update the dictionary to include more VSA's

23 years ago * Add an else to the if (p) block to catch the cases where we are
hartwick [Thu, 28 Dec 2000 01:55:04 +0000 (01:55 +0000)]
* Add an else to the if (p) block to catch the cases where we are
  left with a NULL pointer.

23 years ago * Update the documentation to reflect changes to the code.
hartwick [Thu, 28 Dec 2000 01:34:43 +0000 (01:34 +0000)]
* Update the documentation to reflect changes to the code.

23 years ago * Minor formatting change
hartwick [Thu, 28 Dec 2000 01:33:02 +0000 (01:33 +0000)]
* Minor formatting change
* Remove the const declarations from two char * defined in
  struct detail_instanace { ... }.
* Change the default detailfile to %A/%{Client-IP-Address}/detail to
  match the documentation and radiusd.conf
* Add a DEBUG2() call to show the expansion

23 years agoI think these are finally sufficient for upload to Debian.
cmiller [Wed, 27 Dec 2000 18:54:34 +0000 (18:54 +0000)]
I think these are finally sufficient for upload to Debian.

23 years agoLame hack to get the rc script to kill radiusd, and not just radwatcher.
cmiller [Wed, 27 Dec 2000 18:51:49 +0000 (18:51 +0000)]
Lame hack to get the rc script to kill radiusd, and not just radwatcher.
I'll fix the general case in a bit.  (radwatcher should kill its own child!)

23 years ago fixed bug in rad_process() that caused proxy access-reject
cparker [Wed, 27 Dec 2000 18:34:03 +0000 (18:34 +0000)]
fixed bug in rad_process() that caused proxy access-reject
replies to be handled as accounting-responses.

23 years ago Debian changes. Not quite ready for upload. Soon...
cmiller [Wed, 27 Dec 2000 03:53:56 +0000 (03:53 +0000)]
Debian changes.  Not quite ready for upload.  Soon...

23 years ago Added or cleaned up copyright and license info. Cross-check me!
cmiller [Wed, 27 Dec 2000 03:45:09 +0000 (03:45 +0000)]
Added or cleaned up copyright and license info.  Cross-check me!

23 years agocparker - cosmetic change to add the time of compilation to the radius
cparker [Tue, 26 Dec 2000 23:24:42 +0000 (23:24 +0000)]
cparker - cosmetic change to add the time of compilation to the radius
  version output in addition to the date ( to radiusd and radclient )

23 years ago updated for latest set of things to do. We're hopefully nearing
aland [Tue, 26 Dec 2000 16:58:38 +0000 (16:58 +0000)]
updated for latest set of things to do.  We're hopefully nearing
a beta release...

23 years agoUpdated startup descr from 'Cistron'.
cmiller [Tue, 26 Dec 2000 16:26:09 +0000 (16:26 +0000)]
Updated startup descr from 'Cistron'.

23 years agoCorrected the name of fastusers' 'hash_reload' variable. That the unknown
cmiller [Tue, 26 Dec 2000 16:22:22 +0000 (16:22 +0000)]
Corrected the name of fastusers' 'hash_reload' variable.  That the unknown
name was silently ignored is a bug, I think.

23 years ago Changed ${Client-IP-Address} to %{Client-IP-Address}
aland [Fri, 22 Dec 2000 16:56:21 +0000 (16:56 +0000)]
Changed ${Client-IP-Address} to %{Client-IP-Address}

23 years ago allow %{Client-IP-Address} to decode the attribute, in addition
aland [Fri, 22 Dec 2000 16:55:39 +0000 (16:55 +0000)]
allow %{Client-IP-Address} to decode the attribute, in addition
to ${Client-IP-Address}

23 years ago changed the cf_section_free && cf_pair_free to take **, instead of *.
aland [Fri, 22 Dec 2000 16:46:34 +0000 (16:46 +0000)]
changed the cf_section_free && cf_pair_free to take **, instead of *.
This allows the input pointers to be set to NULL.

Additional sanity checking of variable expansion, so it quits on
an error, instead of continuing.

cf_expand_variables() has no business freeing the configuration
section on an error.  This was causing core dumps.

23 years ago install each man page explicitely, due to bugs in the install-sh
aland [Fri, 22 Dec 2000 16:00:48 +0000 (16:00 +0000)]
install each man page explicitely, due to bugs in the install-sh
crap.

Patch by Gregory A Lundberg <lundberg+radius@vr.net>

23 years ago For the detail file, us ${Client-IP-Address} instead of %n,
aland [Thu, 21 Dec 2000 16:24:36 +0000 (16:24 +0000)]
For the detail file, us ${Client-IP-Address} instead of %n,
as NAS-IP-Address MAY BE the originating NAS, and NOT the proxy
which actually sent us the request.

23 years ago This is the "configurable failover" patch, providing a more flexible
pacman [Thu, 21 Dec 2000 06:31:21 +0000 (06:31 +0000)]
This is the "configurable failover" patch, providing a more flexible
module calling sequence.

23 years ago Fixed an error case that wasn't being handled properly, causing a
pacman [Thu, 21 Dec 2000 05:12:02 +0000 (05:12 +0000)]
Fixed an error case that wasn't being handled properly, causing a
segfault if there was a problem building the cache

23 years ago look up the NAS name by packet source IP address, NOT by
aland [Wed, 20 Dec 2000 16:26:38 +0000 (16:26 +0000)]
look up the NAS name by packet source IP address, NOT by
NAS-IP-Address attribute.  When proxying, they WILL be different,
and ONLY the packet source IP address will be correct.

Bug found by "Raimundo Alba" <raimon@alcavia.net>

23 years ago moved the pthread mutex locks into the module instance structure
aland [Tue, 19 Dec 2000 17:41:15 +0000 (17:41 +0000)]
moved the pthread mutex locks into the module instance structure

23 years ago Export cf_sectiontoitem and cf_pairtoitem - the other two
pacman [Tue, 19 Dec 2000 05:32:00 +0000 (05:32 +0000)]
Export cf_sectiontoitem and cf_pairtoitem - the other two
(cf_itemto*) were already exported, and there's no reason these
should be different.

23 years ago Dead code removal
pacman [Tue, 19 Dec 2000 05:28:56 +0000 (05:28 +0000)]
Dead code removal

23 years ago How'd that C++ comment slip in there? // -> /**/
pacman [Tue, 19 Dec 2000 05:27:03 +0000 (05:27 +0000)]
How'd that C++ comment slip in there? // -> /**/

23 years ago * Add xfree function to clear up some compile warnings.
hartwick [Mon, 18 Dec 2000 02:46:16 +0000 (02:46 +0000)]
* Add xfree function to clear up some compile warnings.

23 years ago * Add a couple of prototypes for rad_checkfilename() and xfree()
hartwick [Mon, 18 Dec 2000 02:45:08 +0000 (02:45 +0000)]
* Add a couple of prototypes for rad_checkfilename() and xfree()

23 years ago * Fix a FIXME. Replace a call to rad_log() with DEBUG()
hartwick [Sun, 17 Dec 2000 22:24:18 +0000 (22:24 +0000)]
* Fix a FIXME.  Replace a call to rad_log() with DEBUG()

23 years ago Undoing my earlier m4ification of module configuration. Ugh? Ugh.
cmiller [Sun, 17 Dec 2000 21:43:48 +0000 (21:43 +0000)]
Undoing my earlier m4ification of module configuration.  Ugh?  Ugh.

23 years agoAdded message for folks who might try to 'make' without 'configure'ing (me,
cmiller [Sat, 16 Dec 2000 23:10:16 +0000 (23:10 +0000)]
Added message for folks who might try to 'make' without 'configure'ing (me,
too much), and add to clean in raddb.

23 years agoPut comments in front of 'always' example, to help radiusd run sanely right
cmiller [Sat, 16 Dec 2000 22:31:25 +0000 (22:31 +0000)]
Put comments in front of 'always' example, to help radiusd run sanely right
out of the tarball.  It is debug-code, after all.

23 years agoAdded example for rlm_always.
cmiller [Sat, 16 Dec 2000 22:27:38 +0000 (22:27 +0000)]
Added example for rlm_always.

23 years agoAck! Forgot the most important and obvious file.
cmiller [Sat, 16 Dec 2000 17:27:02 +0000 (17:27 +0000)]
Ack!  Forgot the most important and obvious file.

23 years ago*sigh* These are the changes to the way radiusd.conf is created. I'm not
cmiller [Sat, 16 Dec 2000 17:26:05 +0000 (17:26 +0000)]
*sigh*  These are the changes to the way radiusd.conf is created.  I'm not
certain they're all good ideas.  At best, whitespace needs to be cleaned up
in the resultant file.

23 years agoJavi's suggested changes, largely. New maintainer address.
cmiller [Sat, 16 Dec 2000 17:23:34 +0000 (17:23 +0000)]
Javi's suggested changes, largely.  New maintainer address.

23 years agoCosmetic changes (spaces to tabs, removal of noop compiler warning, etc).
cmiller [Sat, 16 Dec 2000 17:20:13 +0000 (17:20 +0000)]
Cosmetic changes (spaces to tabs, removal of noop compiler warning, etc).

23 years agoCosmetic nonchange to radiusd.c and updates to request_tree walk.
cmiller [Sat, 16 Dec 2000 17:06:10 +0000 (17:06 +0000)]
Cosmetic nonchange to radiusd.c and updates to request_tree walk.

23 years agoFixed a Unixism in log.c (NULL == 0) and a typo in a make rule.
cmiller [Sat, 16 Dec 2000 17:04:27 +0000 (17:04 +0000)]
Fixed a Unixism in log.c (NULL == 0) and a typo in a make rule.

23 years agocparker - Fixed a problem in which proxied requests were being sent
cparker [Fri, 15 Dec 2000 22:59:48 +0000 (22:59 +0000)]
cparker - Fixed a problem in which proxied requests were being sent
  without having the password encrypted.

23 years ago this file is no longer needed.
aland [Thu, 14 Dec 2000 23:58:54 +0000 (23:58 +0000)]
this file is no longer needed.

23 years ago more text, with simple installation details
aland [Thu, 14 Dec 2000 21:49:47 +0000 (21:49 +0000)]
more text, with simple installation details

23 years ago removed old configure options. Added more text on installation.
aland [Thu, 14 Dec 2000 21:46:26 +0000 (21:46 +0000)]
removed old configure options.  Added more text on installation.

23 years ago only install one binary per instance of $INSTALL.
aland [Thu, 14 Dec 2000 06:25:17 +0000 (06:25 +0000)]
only install one binary per instance of $INSTALL.

23 years agoHere's authtype{} again, and I hope it's seen as cleaner this time.
pacman [Wed, 13 Dec 2000 08:38:09 +0000 (08:38 +0000)]
Here's authtype{} again, and I hope it's seen as cleaner this time.

23 years agoBreaking up a large function - cosmetic change only.
pacman [Wed, 13 Dec 2000 08:27:47 +0000 (08:27 +0000)]
Breaking up a large function - cosmetic change only.

23 years agoThe rlm_always module is meant for use in tests of the module calling
pacman [Wed, 13 Dec 2000 07:53:13 +0000 (07:53 +0000)]
The rlm_always module is meant for use in tests of the module calling
sequence.

23 years agoMinor tweak on usercollide. User wasn't matching when auth-type was
jcarneal [Sat, 9 Dec 2000 16:38:33 +0000 (16:38 +0000)]
Minor tweak on usercollide.  User wasn't matching when auth-type was
reject, but it should.

23 years agocparker - Fixed bug that caused proxy replies to be unable to find
cparker [Wed, 6 Dec 2000 02:37:11 +0000 (02:37 +0000)]
cparker -  Fixed bug that caused proxy replies to be unable to find
           the original request.

           Changed related error message to be more descriptive.

23 years agoFixed teensy memory leaks on char *compat_mode.
jcarneal [Sat, 2 Dec 2000 21:01:58 +0000 (21:01 +0000)]
Fixed teensy memory leaks on char *compat_mode.

23 years agoIntroduced memory leak when I put in preacct stuff. Fixed.
jcarneal [Sat, 2 Dec 2000 21:01:32 +0000 (21:01 +0000)]
Introduced memory leak when I put in preacct stuff.  Fixed.

23 years agoAdded BINARY_FILTERS ifdef from ICRADIUS for not clobbering abinary types on multiple...
mmachado [Sat, 2 Dec 2000 01:09:04 +0000 (01:09 +0000)]
Added BINARY_FILTERS ifdef from ICRADIUS for not clobbering abinary types on multiple attributes.

23 years agoOnly log multiple auth-types if debugging. This was causing me grief
jcarneal [Fri, 1 Dec 2000 21:13:38 +0000 (21:13 +0000)]
Only log multiple auth-types if debugging.  This was causing me grief
due to auth_type_fixup adding auth-types I didn't want.

23 years ago added smux_failures && smux_max_failures to 'rad_snmp'
aland [Fri, 1 Dec 2000 18:58:10 +0000 (18:58 +0000)]
added smux_failures && smux_max_failures to 'rad_snmp'
data structure.

On HUP, re-set the number of failures, so that it tries the SNMP
server again.

23 years ago oops... pass a pointer, not an int
aland [Fri, 1 Dec 2000 18:48:33 +0000 (18:48 +0000)]
oops... pass a pointer, not an int

23 years ago documentation on how to submit patches to the server, and what
aland [Fri, 1 Dec 2000 18:41:54 +0000 (18:41 +0000)]
documentation on how to submit patches to the server, and what
sort of coding methods/styles to follow

23 years ago removed the definition of INCLTDL. It's defined properly in the
aland [Fri, 1 Dec 2000 18:11:49 +0000 (18:11 +0000)]
removed the definition of INCLTDL.  It's defined properly in the
top-level 'Make.inc'

23 years ago minor updates (alignment, etc), based on warnings from Solaris build
aland [Thu, 30 Nov 2000 22:00:20 +0000 (22:00 +0000)]
minor updates (alignment, etc), based on warnings from Solaris build

23 years agoRemoving some debugging stuff I left in.
jcarneal [Thu, 30 Nov 2000 21:57:23 +0000 (21:57 +0000)]
Removing some debugging stuff I left in.

23 years agoAdded INCLTDL so modules.c will compile on Solaris.
jcarneal [Thu, 30 Nov 2000 20:57:00 +0000 (20:57 +0000)]
Added INCLTDL so modules.c will compile on Solaris.

23 years agoSeveral changes:
jcarneal [Thu, 30 Nov 2000 20:53:05 +0000 (20:53 +0000)]
Several changes:

1.  Cleaned up auth / user find code
2.  Added functionality for multiple users with same check items
3.  Put all users at end of hash bucket linked list
4.  Add preacct and acctusersfile capability from rlm_files

Tried to change the module to rlm_users in the repository, but
'cvs remove' / 'cvs add' and I aren't getting along well.

The functionality now *should* exactly mimic rlm_files.

23 years agoBugfix. Don't want to overwrite 'i' when updating
jcarneal [Thu, 30 Nov 2000 20:06:46 +0000 (20:06 +0000)]
Bugfix.  Don't want to overwrite 'i' when updating
tailto after pairdelete.

23 years agoFixed a buglet in the add() code and finished the next() code.
cmiller [Thu, 30 Nov 2000 18:31:00 +0000 (18:31 +0000)]
Fixed a buglet in the add() code and finished the next() code.

23 years agoAdded explicit rules for request_{tree,list}.o , for consistency.
cmiller [Thu, 30 Nov 2000 18:29:38 +0000 (18:29 +0000)]
Added explicit rules for request_{tree,list}.o , for consistency.

23 years ago * Remove all references to %y which was removed from the code.
hartwick [Thu, 30 Nov 2000 16:56:26 +0000 (16:56 +0000)]
* Remove all references to %y which was removed from the code.

23 years ago massive changes to enable smarter configure script, so that it
aland [Thu, 30 Nov 2000 15:55:29 +0000 (15:55 +0000)]
massive changes to enable smarter configure script, so that it
auto-discovers SNMP.  (most times, I hope...)

Updates to various SNMP header and source files, to make sure it
builds, and use massively paranoid 'const' everywhere.

23 years ago made more variables 'const'
aland [Thu, 30 Nov 2000 15:49:20 +0000 (15:49 +0000)]
made more variables 'const'

23 years ago added 'const'
aland [Thu, 30 Nov 2000 15:45:01 +0000 (15:45 +0000)]
added 'const'

23 years ago corrected typo in SNMP data structure
aland [Thu, 30 Nov 2000 15:23:25 +0000 (15:23 +0000)]
corrected typo in SNMP data structure

23 years ago Added some more comments.
aland [Thu, 30 Nov 2000 14:40:32 +0000 (14:40 +0000)]
Added some more comments.

Removed 'radutmp' from the 'session' section, as it isn't finished

23 years ago Added a next() routine to the request_tree schtick.
cmiller [Wed, 29 Nov 2000 21:41:30 +0000 (21:41 +0000)]
Added a next() routine to the request_tree schtick.

23 years ago The VP pointed to by 'tailto' may have been deleted in pairdelete().
aland [Wed, 29 Nov 2000 19:23:09 +0000 (19:23 +0000)]
The VP pointed to by 'tailto' may have been deleted in pairdelete().
After calling pairdelete(), update 'tailto' again.

23 years ago If we're NOT using developer C flags, then define -DNDEBUG, so
aland [Wed, 29 Nov 2000 17:15:27 +0000 (17:15 +0000)]
If we're NOT using developer C flags, then define -DNDEBUG, so
that the assert's go away.

23 years ago Found another possible NULL deref point. Alan's(=efficient) coding
cmiller [Wed, 29 Nov 2000 14:07:34 +0000 (14:07 +0000)]
Found another possible NULL deref point.  Alan's(=efficient) coding
style is slightly different than mine(=pedantic).

23 years agoFixed NULL deref. Sorry, Jeff!
cmiller [Wed, 29 Nov 2000 13:57:00 +0000 (13:57 +0000)]
Fixed NULL deref.  Sorry, Jeff!

23 years ago corrected minor typo
aland [Tue, 28 Nov 2000 20:11:26 +0000 (20:11 +0000)]
corrected minor typo

23 years ago single-threaded ldap code from Weston Bustraan <weston@itdonline.net>
aland [Tue, 28 Nov 2000 15:37:37 +0000 (15:37 +0000)]
single-threaded ldap code from Weston Bustraan <weston@itdonline.net>

23 years ago initial implementation of mschap, from patch supplied for Cistron.
aland [Mon, 27 Nov 2000 23:47:09 +0000 (23:47 +0000)]
initial implementation of mschap, from patch supplied for Cistron.

it builds, but I have no idea if it works or not...

23 years agoRemoved REQUEST struct's reference to next and prev -- these are now hidden.
cmiller [Mon, 27 Nov 2000 23:24:16 +0000 (23:24 +0000)]
Removed REQUEST struct's reference to next and prev -- these are now hidden.

23 years ago Added my as-yet lame tree storage method. Need to add next() and
cmiller [Mon, 27 Nov 2000 23:21:14 +0000 (23:21 +0000)]
Added my as-yet lame tree storage method.  Need to add next() and
find_proxy() methods.

23 years ago Generalized REQUEST structure so that core code really doesn't know
cmiller [Mon, 27 Nov 2000 23:19:40 +0000 (23:19 +0000)]
Generalized REQUEST structure so that core code really doesn't know
anything about the storage.

23 years ago rlm_preprocess uses auth_name(), so it can't be static.
cmiller [Mon, 27 Nov 2000 23:15:59 +0000 (23:15 +0000)]
rlm_preprocess uses auth_name(), so it can't be static.

23 years ago made one more function 'static' to the only source file that
aland [Mon, 27 Nov 2000 17:07:42 +0000 (17:07 +0000)]
made one more function 'static' to the only source file that
uses it.

23 years ago Completed debian changes. (Built first package.)
cmiller [Sun, 26 Nov 2000 23:40:22 +0000 (23:40 +0000)]
Completed debian changes.  (Built first package.)

autoconf'd on top level.  Maybe this should be in the Makefile.

23 years ago Fixed misplaced space in CFLAGS generation.
cmiller [Sun, 26 Nov 2000 14:46:29 +0000 (14:46 +0000)]
Fixed misplaced space in CFLAGS generation.