freeradius.git
21 years ago Branch is now 0.8.1 origin/release_0_8_0 release_0_8_1
aland [Wed, 11 Dec 2002 19:23:26 +0000 (19:23 +0000)]
Branch is now 0.8.1

21 years ago Updates before 0.8.1 is released
aland [Wed, 11 Dec 2002 19:22:08 +0000 (19:22 +0000)]
Updates before 0.8.1 is released

21 years ago Pull doc fixes from the head
aland [Tue, 10 Dec 2002 14:53:31 +0000 (14:53 +0000)]
Pull doc fixes from the head

21 years ago If the password we get from the database exists, but is of zero
aland [Mon, 9 Dec 2002 18:50:05 +0000 (18:50 +0000)]
If the password we get from the database exists, but is of zero
length, then don't use it for comparison.

Patch pulled from the head.

21 years ago Use the proper variable for error messages.
aland [Mon, 9 Dec 2002 18:47:06 +0000 (18:47 +0000)]
Use the proper variable for error messages.

Pulled from the head.

21 years ago Perform an 'sql close' on sockets before trying reconnects.
aland [Fri, 6 Dec 2002 18:00:25 +0000 (18:00 +0000)]
Perform an 'sql close' on sockets before trying reconnects.

Patch pulled from the head.

21 years ago If there's no query, don't annoy the driver with empty strings.
aland [Wed, 4 Dec 2002 16:59:29 +0000 (16:59 +0000)]
If there's no query, don't annoy the driver with empty strings.

Patches pulled from the head.

21 years ago Updates for the 0.8.1 release
aland [Tue, 3 Dec 2002 16:51:26 +0000 (16:51 +0000)]
Updates for the 0.8.1 release

21 years ago New types conditionally compiled
aland [Tue, 3 Dec 2002 16:50:16 +0000 (16:50 +0000)]
New types conditionally compiled

21 years ago Deleted unnecessary code.
aland [Tue, 3 Dec 2002 15:26:53 +0000 (15:26 +0000)]
Deleted unnecessary code.

21 years ago Pull fixes from the head.
aland [Fri, 29 Nov 2002 16:50:29 +0000 (16:50 +0000)]
Pull fixes from the head.

21 years ago Pull fixes for crypt() linking from the head.
aland [Fri, 29 Nov 2002 16:47:34 +0000 (16:47 +0000)]
Pull fixes for crypt() linking from the head.

21 years ago Pull dictionary parsing fixes from revision 1.31 of dict.c
aland [Fri, 29 Nov 2002 16:46:37 +0000 (16:46 +0000)]
Pull dictionary parsing fixes from revision 1.31 of dict.c
into the stable branch

21 years ago Pull new dictionary into the stable branch
aland [Fri, 29 Nov 2002 16:44:40 +0000 (16:44 +0000)]
Pull new dictionary into the stable branch

21 years ago Pull fixes into the 0.8 branch, in cast we want a point release
aland [Fri, 29 Nov 2002 16:40:48 +0000 (16:40 +0000)]
Pull fixes into the 0.8 branch, in cast we want a point release
of the stable branch.

21 years ago Final touches for 0.8
aland [Mon, 18 Nov 2002 15:46:24 +0000 (15:46 +0000)]
Final touches for 0.8

21 years ago Last set of updates before 0.8
aland [Mon, 18 Nov 2002 15:37:24 +0000 (15:37 +0000)]
Last set of updates before 0.8

21 years ago Added Oracle queries
aland [Mon, 18 Nov 2002 15:32:03 +0000 (15:32 +0000)]
Added Oracle queries

21 years ago Put detail rotation back in with comments about daily detail files.
fcusack [Fri, 15 Nov 2002 10:20:41 +0000 (10:20 +0000)]
Put detail rotation back in with comments about daily detail files.

21 years agoAdded ucdsnmp dependency to the SuSE spec file
pnixon [Thu, 14 Nov 2002 17:38:44 +0000 (17:38 +0000)]
Added ucdsnmp dependency to the SuSE spec file

21 years ago AIX weirdness patch, from Mark E. Jezioro
aland [Thu, 14 Nov 2002 17:08:35 +0000 (17:08 +0000)]
AIX weirdness patch, from Mark E. Jezioro

21 years ago Added note that LEAP is not supported.
aland [Thu, 14 Nov 2002 16:32:11 +0000 (16:32 +0000)]
Added note that LEAP is not supported.

21 years agodebian: Added Wichert's suggested build-deps: snmp, autoconf.
cmiller [Wed, 13 Nov 2002 22:22:27 +0000 (22:22 +0000)]
debian: Added Wichert's suggested build-deps: snmp, autoconf.

21 years agoUse new config.guess.
cmiller [Wed, 13 Nov 2002 22:05:44 +0000 (22:05 +0000)]
Use new config.guess.

21 years agodebian: uncomment pesky user & group in default radiusd.conf
cmiller [Wed, 13 Nov 2002 22:03:50 +0000 (22:03 +0000)]
debian: uncomment pesky user & group in default radiusd.conf

21 years ago* Now the create user page should work with sql
kkalev [Wed, 13 Nov 2002 20:57:52 +0000 (20:57 +0000)]
* Now the create user page should work with sql
* Make the default general_lib_type sql instead of ldap

21 years ago Added notes as to where to find the new configuration.
aland [Wed, 13 Nov 2002 18:19:32 +0000 (18:19 +0000)]
Added notes as to where to find the new configuration.

21 years ago Initial nonsense documentation to get around most of the
aland [Wed, 13 Nov 2002 16:07:51 +0000 (16:07 +0000)]
Initial nonsense documentation to get around most of the
repeated questions.

21 years agoAlso show server:port in the user test page (so that it shows when used for server...
kkalev [Wed, 13 Nov 2002 13:12:21 +0000 (13:12 +0000)]
Also show server:port in the user test page (so that it shows when used for server checks)

21 years agoChange sql configuration files to correctly honour the radacct table
pnixon [Wed, 13 Nov 2002 10:55:01 +0000 (10:55 +0000)]
Change sql configuration files to correctly honour the radacct table
variables

21 years ago authorize module handling doesn't work the way I thought.
fcusack [Wed, 13 Nov 2002 04:21:59 +0000 (04:21 +0000)]
authorize module handling doesn't work the way I thought.
Fix multiple instance support to accomodate the way it REALLY works.

21 years ago In authorize(), support any Auth-Type that *starts* with
fcusack [Wed, 13 Nov 2002 03:23:51 +0000 (03:23 +0000)]
In authorize(), support any Auth-Type that *starts* with
"x99_token", rather than just exactly "x99_token"; to support
multiple instances.

21 years ago* Allow selecting a specific access server in the failed logins page
kkalev [Tue, 12 Nov 2002 21:55:12 +0000 (21:55 +0000)]
* Allow selecting a specific access server in the failed logins page
* In the user admin page use AcctStartTime not AcctStopTime when calculating usage for the last 7 days

21 years ago Trying to fix permissions...
aland [Tue, 12 Nov 2002 21:13:00 +0000 (21:13 +0000)]
Trying to fix permissions...

21 years ago trying to fix perms...
aland [Tue, 12 Nov 2002 21:12:38 +0000 (21:12 +0000)]
trying to fix perms...

21 years ago Removed unused file
aland [Tue, 12 Nov 2002 21:11:33 +0000 (21:11 +0000)]
Removed unused file

21 years ago Made Status-Server support configurable, so that people can enable
aland [Tue, 12 Nov 2002 20:22:46 +0000 (20:22 +0000)]
Made Status-Server support configurable, so that people can enable
or disable it as they require.

21 years ago reconnect patch from Peter Nixon
aland [Tue, 12 Nov 2002 20:15:25 +0000 (20:15 +0000)]
reconnect patch from Peter Nixon

21 years ago If we call do_xlat(), then we HAVE found an xlat for that string,
aland [Tue, 12 Nov 2002 17:29:03 +0000 (17:29 +0000)]
If we call do_xlat(), then we HAVE found an xlat for that string,
so we mark 'found', too.

21 years ago Added rlm_always documentation, with examples
aland [Tue, 12 Nov 2002 17:09:50 +0000 (17:09 +0000)]
Added rlm_always documentation, with examples

21 years ago Added pre/post-proxy, and post-auth handlers.
aland [Tue, 12 Nov 2002 17:09:14 +0000 (17:09 +0000)]
Added pre/post-proxy, and post-auth handlers.

21 years agoWhen searching a user in ldap through the find page only try to find the users which...
kkalev [Tue, 12 Nov 2002 09:04:12 +0000 (09:04 +0000)]
When searching a user in ldap through the find page only try to find the users which have a uid attribute (username)

21 years ago Add information on MACOSX, until we support it without any extra
aland [Mon, 11 Nov 2002 21:21:48 +0000 (21:21 +0000)]
Add information on MACOSX, until we support it without any extra
magic.

21 years ago Added CVS 'Id', so we know which version this file is.
aland [Mon, 11 Nov 2002 20:22:08 +0000 (20:22 +0000)]
Added CVS 'Id', so we know which version this file is.

21 years ago Added a CVS 'Id' line, so we can know which version this file is.
aland [Mon, 11 Nov 2002 20:21:19 +0000 (20:21 +0000)]
Added a CVS 'Id' line, so we can know which version this file is.

21 years ago Changed NAS-Port to NAS-Port-Id, to match the schema, and the
aland [Mon, 11 Nov 2002 20:20:52 +0000 (20:20 +0000)]
Changed NAS-Port to NAS-Port-Id, to match the schema, and the
other DB's.

21 years ago Moved finish query in sql_xlat, so that the rows aren't freed
aland [Mon, 11 Nov 2002 20:09:07 +0000 (20:09 +0000)]
Moved finish query in sql_xlat, so that the rows aren't freed
until after we've accessed them.  Based on a patch from
Malcolm Caldwell

Added 'default' to switch over Acct-Status-Type, so unknown
status types are ignored.  Patch from Takahiro Wagatsuma

21 years agoInclude password.php3 in lib/ldap/password_check.php3
kkalev [Mon, 11 Nov 2002 16:02:49 +0000 (16:02 +0000)]
Include password.php3 in lib/ldap/password_check.php3

21 years agoFix a bug in lib/defaults.php3 which did not allow the default.vals file to be used...
kkalev [Sat, 9 Nov 2002 19:43:13 +0000 (19:43 +0000)]
Fix a bug in lib/defaults.php3 which did not allow the default.vals file to be used correctly

21 years agoMove 'op' column to between Attribue and Value columns and set it to
cparker [Fri, 8 Nov 2002 21:48:09 +0000 (21:48 +0000)]
Move 'op' column to between Attribue and Value columns and set it to
be 'NOT NULL' to prevent silly problems with users who don't set an
operator.

21 years agoMove 'op' column to between Attribue and Value columns and set it to
cparker [Fri, 8 Nov 2002 21:42:16 +0000 (21:42 +0000)]
Move 'op' column to between Attribue and Value columns and set it to
be 'NOT NULL' to prevent silly problems with users who don't set an
operator.

21 years ago Added big evil annoying stupid error message if the 'op' field
aland [Fri, 8 Nov 2002 20:45:10 +0000 (20:45 +0000)]
Added big evil annoying stupid error message if the 'op' field
is NULL.

2 lines of text get dumped to 'radius.log' for every such broken
entry in the SQL database, so some admins might even notice, and
fix the problem.

21 years ago Updated queries and schema, based on a patch sent to the list.
aland [Fri, 8 Nov 2002 18:37:33 +0000 (18:37 +0000)]
Updated queries and schema, based on a patch sent to the list.

21 years agoRemove mention of radwatch except to say that it should not be used.
pnixon [Fri, 8 Nov 2002 16:08:52 +0000 (16:08 +0000)]
Remove mention of radwatch except to say that it should not be used.

21 years ago Link against the python library
aland [Fri, 8 Nov 2002 16:05:17 +0000 (16:05 +0000)]
Link against the python library

21 years agoFix a parse error in failed_logins.php3
kkalev [Fri, 8 Nov 2002 15:07:09 +0000 (15:07 +0000)]
Fix a parse error in failed_logins.php3

21 years agoPatch from Wichert Akkerman to fix a NULL pointer in error logging.
pnixon [Fri, 8 Nov 2002 14:58:30 +0000 (14:58 +0000)]
Patch from Wichert Akkerman to fix a NULL pointer in error logging.

21 years agoFix a few bugs in log_badlogins
kkalev [Fri, 8 Nov 2002 07:18:13 +0000 (07:18 +0000)]
Fix a few bugs in log_badlogins

21 years agoRemove the section for detail files as they should not be rotated here.
pnixon [Thu, 7 Nov 2002 19:53:22 +0000 (19:53 +0000)]
Remove the section for detail files as they should not be rotated here.

21 years agoClean up the spec file ready for FreeRadius 0.8 release
pnixon [Thu, 7 Nov 2002 19:37:10 +0000 (19:37 +0000)]
Clean up the spec file ready for FreeRadius 0.8 release

21 years agoThis makes the logrotation a bit more sane (as per the discussion started by
pnixon [Thu, 7 Nov 2002 18:06:18 +0000 (18:06 +0000)]
This makes the logrotation a bit more sane (as per the discussion started by
Frank Cusack on Nov 4 titles "logrotation") as well as adding some extra "nice"
options.

21 years agodebian: added libtool as a build-dep (at Wichert's behest)
cmiller [Thu, 7 Nov 2002 17:04:33 +0000 (17:04 +0000)]
debian: added libtool as a build-dep  (at Wichert's behest)
debian: changed section to "net"  (at Wichert's behest)

21 years ago Updated use of autoconf cache
aland [Thu, 7 Nov 2002 16:18:48 +0000 (16:18 +0000)]
Updated use of autoconf cache

patch from Wichert Akkerman <wichert@wiggy.net>

21 years ago Updated dictionaries from Marko Myllynen
aland [Thu, 7 Nov 2002 15:56:43 +0000 (15:56 +0000)]
Updated dictionaries from Marko Myllynen

21 years ago Updated from Peter Nixon
aland [Wed, 6 Nov 2002 16:36:14 +0000 (16:36 +0000)]
Updated from Peter Nixon

21 years agodebian: set version number for upcoming release.
cmiller [Wed, 6 Nov 2002 16:11:57 +0000 (16:11 +0000)]
debian: set version number for upcoming release.
debian: removed "conflicts" entry with other radiusd.  (Thanks to Toni
   Mueller <support@oeko.net> for arguing convincingly.)

21 years ago Re-arranged functions to get rid of compiler warnings.
aland [Tue, 5 Nov 2002 18:24:54 +0000 (18:24 +0000)]
Re-arranged functions to get rid of compiler warnings.

21 years ago Normalized error messages
aland [Tue, 5 Nov 2002 18:14:55 +0000 (18:14 +0000)]
Normalized error messages

21 years ago Normalized error messages
aland [Tue, 5 Nov 2002 18:00:45 +0000 (18:00 +0000)]
Normalized error messages

21 years ago Normalized error messages
aland [Tue, 5 Nov 2002 17:42:07 +0000 (17:42 +0000)]
Normalized error messages

21 years ago Removed radwatch, it's not used any longer. Removed radiusd restart,
fcusack [Tue, 5 Nov 2002 10:11:59 +0000 (10:11 +0000)]
Removed radwatch, it's not used any longer.  Removed radiusd restart,
this is unnecessary (log files are always reopened for each entry).
Thanks to Karageorgioy Aggelos for some tips.

21 years ago Added /usr/include/pgsql, which works for Suse.
aland [Mon, 4 Nov 2002 19:36:02 +0000 (19:36 +0000)]
Added /usr/include/pgsql, which works for Suse.

Patch from Peter Nixon

21 years ago Added files from 'suse', to shorten the chain of patches.
aland [Mon, 4 Nov 2002 17:29:33 +0000 (17:29 +0000)]
Added files from 'suse', to shorten the chain of patches.

21 years ago Don't encode MS-CHAP-MPPE-Keys; handled in library.
fcusack [Mon, 4 Nov 2002 04:02:02 +0000 (04:02 +0000)]
Don't encode MS-CHAP-MPPE-Keys; handled in library.

21 years agoSet LDAP version to V3 before binding. Now freeradius should work with openldap21
kkalev [Fri, 1 Nov 2002 21:36:43 +0000 (21:36 +0000)]
Set LDAP version to V3 before binding. Now freeradius should work with openldap21

21 years ago Include netinet/in.h before radius specific stuff
aland [Fri, 1 Nov 2002 16:35:11 +0000 (16:35 +0000)]
Include netinet/in.h before radius specific stuff

21 years ago Moved core dump handling back to radiusd.c
aland [Fri, 1 Nov 2002 16:32:41 +0000 (16:32 +0000)]
Moved core dump handling back to radiusd.c

21 years ago Delete submodules from the list. The modules which DO have
aland [Fri, 1 Nov 2002 16:16:51 +0000 (16:16 +0000)]
Delete submodules from the list.  The modules which DO have
sub-modules should have their own 'stable' list, and process it
themselves.  Putting them here just confuses the build rules.

21 years ago Added notes from the list.
aland [Fri, 1 Nov 2002 15:59:14 +0000 (15:59 +0000)]
Added notes from the list.

21 years ago Added note about SQL configuration
aland [Fri, 1 Nov 2002 15:36:58 +0000 (15:36 +0000)]
Added note about SQL configuration

21 years ago Updated with latest set of changes.
aland [Thu, 31 Oct 2002 17:16:54 +0000 (17:16 +0000)]
Updated with latest set of changes.

21 years ago Use the new mainconfig.clients, instead of the old 'clients'
aland [Thu, 31 Oct 2002 16:23:32 +0000 (16:23 +0000)]
Use the new mainconfig.clients, instead of the old 'clients'

21 years ago only log unknown user events once instead of 4x.
fcusack [Thu, 31 Oct 2002 10:01:23 +0000 (10:01 +0000)]
only log unknown user events once instead of 4x.

21 years ago Clear the main config, before reading radiusd.conf
aland [Wed, 30 Oct 2002 20:38:18 +0000 (20:38 +0000)]
Clear the main config, before reading radiusd.conf

21 years ago Made read_radius_conf_file() return the actual CONF_SECTION*
aland [Wed, 30 Oct 2002 20:17:36 +0000 (20:17 +0000)]
Made read_radius_conf_file() return the actual CONF_SECTION*
which was read.  This makes it easier to do HUP later, and
removes the need for radrelay, radwho, and radzap, to have
access to the radius daemons 'mainconfig' stuff.

21 years ago Made read_radius_conf_file() return the actual CONF_SECTION*
aland [Wed, 30 Oct 2002 20:02:39 +0000 (20:02 +0000)]
Made read_radius_conf_file() return the actual CONF_SECTION*
which was read.  This makes it easier to do HUP later, and
removes the need for radrelay, radwho, and radzap, to have
access to the radius daemons 'mainconfig' stuff.

21 years ago Delayed commit from yesterday, as part of cleaning up the configuration
aland [Wed, 30 Oct 2002 19:52:55 +0000 (19:52 +0000)]
Delayed commit from yesterday, as part of cleaning up the configuration
handling.

21 years ago After installation, make 'clients' and 'clients.conf' r/w only
aland [Wed, 30 Oct 2002 18:15:43 +0000 (18:15 +0000)]
After installation, make 'clients' and 'clients.conf' r/w only
by the owner, and non-readable by everyone else.

21 years ago SQL fail-over patch, based on one supplied by
aland [Wed, 30 Oct 2002 18:01:17 +0000 (18:01 +0000)]
SQL fail-over patch, based on one supplied by
Thomas Jalsovsky.

If we have an error on the SQL select, then do NOT return
RLM_MODULE_OK.  Instead, when we log an error, ALSO set the
return code to RLM_MODULE_FAIL, and return that.

This allows one SQL module to fail-over to another, if the DB for
the first one goes down.

21 years ago Don't go into all of the SQL sub-directories. Instead, only go
aland [Wed, 30 Oct 2002 17:50:47 +0000 (17:50 +0000)]
Don't go into all of the SQL sub-directories.  Instead, only go
into the ones with Makefiles.

21 years ago New 'free mainconfig' function, to remove more code from radiusd.c
aland [Wed, 30 Oct 2002 16:05:53 +0000 (16:05 +0000)]
New 'free mainconfig' function, to remove more code from radiusd.c

21 years agoAdd radiusCheckItem and radiusReplyItem in the ldap schema
kkalev [Wed, 30 Oct 2002 08:50:21 +0000 (08:50 +0000)]
Add radiusCheckItem and radiusReplyItem in the ldap schema

21 years ago Change ewindow2 logic so that a repeat of the same
fcusack [Wed, 30 Oct 2002 04:35:58 +0000 (04:35 +0000)]
Change ewindow2 logic so that a repeat of the same
password doesn't reset the sequence to the initial state;
instead it just resets the timer.  So now, a sequence like
2,2,3 will count as an ewindow2 override.  This should help
Windows users, since the failed login dialog is confusing
and encourages sequences like (1,1,2,2,3,3).  Previously,
the repeat (1,1) would reset the sequence and the following
2 would not count as an override.

21 years agoUpdate rlm_krb5 configure script to use AC_SMART_CHECK_LIB, needed in
vorlon [Wed, 30 Oct 2002 04:02:08 +0000 (04:02 +0000)]
Update rlm_krb5 configure script to use AC_SMART_CHECK_LIB, needed in
order to build on Red Hat.

21 years ago Massive changes to configuration handling (re-arranging, mostly)
aland [Tue, 29 Oct 2002 22:55:25 +0000 (22:55 +0000)]
Massive changes to configuration handling (re-arranging, mostly)

Moved the configuration items and parsing to mainconfig.c

conffile.c now does ONLY handling of CONF_ITEM, CONF_SECTION,
and CONF_PAIR.  No more radius config stuff for it.

Ripped the configuration-related code out of radiusd.c, and log.c,
and moved it into mainconfig.c.  This should allow us to better
control configuration changes, as they're all together in one
file now.

Moved many 'static' or global variables from radiusd.c into the
mainconfig data structure.  This will allow us to better handle HUP
signals in the future, as we can simply allocate a NEW configuration,
without deleting the old one.  We can then clean up the old one
later, once the threads/modules/whatever have finished processing
them.

Added 'mainconfig.o' to the list of dependencies for radwho, radzap,
and radrelay.  We might have to do some additional sanity checking,
but it appears to work for now.

21 years ago Removed unused variable.
aland [Tue, 29 Oct 2002 21:05:22 +0000 (21:05 +0000)]
Removed unused variable.

21 years ago Be a little more selective about RADIUS replies. If we get a reply
aland [Mon, 28 Oct 2002 21:11:29 +0000 (21:11 +0000)]
Be a little more selective about RADIUS replies.  If we get a reply
from an IP:port which wasn't sent the request, then complain
loudly, and exit.

21 years ago Whitespace changes, grammar changes, and additional explanations.
aland [Mon, 28 Oct 2002 20:38:39 +0000 (20:38 +0000)]
Whitespace changes, grammar changes, and additional explanations.

21 years ago Changed default caching of /etc/passwd files to 'no'.
aland [Mon, 28 Oct 2002 20:14:03 +0000 (20:14 +0000)]
Changed default caching of /etc/passwd files to 'no'.

Changed default for radwtmp to NULL (no radwtmp)

Updated handling of radwtmp config, to ignore wtmp if inst->radwtmp
is set to NULL.

21 years ago Moved the 'clients', 'realms', and 'config' variables into the
aland [Mon, 28 Oct 2002 19:13:31 +0000 (19:13 +0000)]
Moved the 'clients', 'realms', and 'config' variables into the
'mainfconfig' data structure, so everyone can see them.

Moved the signal handling code to be a bit better (yet again)

When receiving a SIGTERM, (or any other fatal signal), try
our best to clean up and exit.