freeradius.git
21 years agoDo a memset(0) on the key.nas before doing searches. Nusty bug
kkalev [Fri, 11 Oct 2002 13:26:20 +0000 (13:26 +0000)]
Do a memset(0) on the key.nas before doing searches. Nusty bug

21 years ago Turn off caching of the passwd files for the Unix module. Too many
aland [Thu, 10 Oct 2002 15:23:42 +0000 (15:23 +0000)]
Turn off caching of the passwd files for the Unix module.  Too many
people are totally confused as to what it's doing, and why.
Apparently reading the comments in the config file is too hard,
so turning off the caching will allow the module to work for most
people.

People willing to read the config files can still get it to do
what they want, so there's no loss for them.

21 years ago Make the installation directories BEFORE recursing over
aland [Wed, 9 Oct 2002 18:58:06 +0000 (18:58 +0000)]
Make the installation directories BEFORE recursing over
sub-directories.  This means that any module can safely install
something into $(R)$(bindir), or $(R)$(raddbdir), and it will
be installed in that directory.

If we don't make the directories before calling the modules,
then installing something into $(R)$(raddbdir) MAY create a normal
file named '$(R)$(raddbdir)', and a subsequent 'mkdir' will fail.

21 years ago Don't over-write pointers to allocated memory when handling
aland [Tue, 8 Oct 2002 21:48:27 +0000 (21:48 +0000)]
Don't over-write pointers to allocated memory when handling
a proxy reply.

21 years ago Deleted the freetds SQL sub-module, as it's nowhere near stable
aland [Mon, 7 Oct 2002 20:31:56 +0000 (20:31 +0000)]
Deleted the freetds SQL sub-module, as it's nowhere near stable

21 years ago Added the new expression module
aland [Mon, 7 Oct 2002 20:31:24 +0000 (20:31 +0000)]
Added the new expression module

21 years agoAllow for normal ldap user attributes to be utf8 encoded instead of ascii. Changing...
kkalev [Sat, 5 Oct 2002 09:04:52 +0000 (09:04 +0000)]
Allow for normal ldap user attributes to be utf8 encoded instead of ascii. Changing attribute values through
user_info will not work in that case.

21 years agoInserted names of stable "submodules" into stable list.
cmiller [Thu, 3 Oct 2002 20:09:28 +0000 (20:09 +0000)]
Inserted names of stable "submodules" into stable list.

debian: search new stable (sub-)module list at configure-time.

21 years agodebian: pidfile directory correction
cmiller [Thu, 3 Oct 2002 20:01:00 +0000 (20:01 +0000)]
debian: pidfile directory correction
debian: changelog comment

21 years ago Remember what the main module list is..
aland [Thu, 3 Oct 2002 14:46:06 +0000 (14:46 +0000)]
Remember what the main module list is..

21 years ago change some 'password' refs to 'passcode'
fcusack [Wed, 2 Oct 2002 18:49:23 +0000 (18:49 +0000)]
change some 'password' refs to 'passcode'

21 years ago! Commited patch from Jorge Boncompte [DTI2] <jorge@dti2.net> (typo in
3APA3A [Wed, 2 Oct 2002 14:37:08 +0000 (14:37 +0000)]
! Commited patch from Jorge Boncompte [DTI2] <jorge@dti2.net> (typo in
  MS-MPPE-Encryption-Types causing assert if require_strong is disabled)

21 years ago Simplify the 'add to end of list' code
aland [Wed, 2 Oct 2002 14:34:41 +0000 (14:34 +0000)]
Simplify the 'add to end of list' code

For unknown attributes, make them type 'octets', and not 'string'.
This means that there will be less mangling of them as the server
reads/writes them.

21 years ago Fix simple mistake in checking return value from userparse()
aland [Wed, 2 Oct 2002 14:27:22 +0000 (14:27 +0000)]
Fix simple mistake in checking return value from userparse()

21 years agoAllow for multiple regular profile attributes in a user entry.
kkalev [Wed, 2 Oct 2002 09:15:11 +0000 (09:15 +0000)]
Allow for multiple regular profile attributes in a user entry.

21 years agoUpdated to include a few more names of developers.
cparker [Tue, 1 Oct 2002 22:39:55 +0000 (22:39 +0000)]
Updated to include a few more names of developers.

21 years agoUpdated config to have same default value for servers_per_realm as the
cparker [Tue, 1 Oct 2002 22:32:50 +0000 (22:32 +0000)]
Updated config to have same default value for servers_per_realm as the
default for a blank config item.

21 years agoPatch to add support for a 'round_robin' load balancing distribution of
cparker [Tue, 1 Oct 2002 22:18:50 +0000 (22:18 +0000)]
Patch to add support for a 'round_robin' load balancing distribution of
radius requests to realms with multiple entries.  Configureable number
of 'max servers' per realm.  Default behaviour maintains backwards
compatability of simple 'fail-over'.

Contributed by <cbrotsos@starnetusa.net>

21 years agoFix a problem in failed_logins when NASIPAddress is not set.
kkalev [Tue, 1 Oct 2002 19:16:06 +0000 (19:16 +0000)]
Fix a problem in failed_logins when NASIPAddress is not set.

21 years ago Implemented pre-proxy callbacks. The proxy_send() function now
aland [Tue, 1 Oct 2002 16:59:30 +0000 (16:59 +0000)]
Implemented pre-proxy callbacks.  The proxy_send() function now
returns:

RLM_MODULE_FAIL: error
RLM_MODULE_NOOP: didn't do anything: no proxying was done
RLM_MODULE_HANDLED: request was proxied.

The 'preproxy_users' file should now work...

21 years ago Added configuration and documentation for the expression module,
aland [Tue, 1 Oct 2002 15:27:02 +0000 (15:27 +0000)]
Added configuration and documentation for the expression module,
and added more math support.

21 years ago Use the numeric NAS-Port attribute, and not the string NAS-Port-Id
aland [Mon, 30 Sep 2002 19:05:02 +0000 (19:05 +0000)]
Use the numeric NAS-Port attribute, and not the string NAS-Port-Id

21 years ago Re-arranged the documentation, to make it easier to follow for
aland [Mon, 30 Sep 2002 18:43:47 +0000 (18:43 +0000)]
Re-arranged the documentation, to make it easier to follow for
people who've never done this before.

21 years ago Minor additions for HPUX support
aland [Mon, 30 Sep 2002 18:10:13 +0000 (18:10 +0000)]
Minor additions for HPUX support

21 years ago Save the radiusd PID
aland [Mon, 30 Sep 2002 16:34:49 +0000 (16:34 +0000)]
Save the radiusd PID

21 years ago New modules get put into the START of the list, so that when
aland [Mon, 30 Sep 2002 16:24:44 +0000 (16:24 +0000)]
New modules get put into the START of the list, so that when
we unlink them, we do FILO, instead of FIFO.  This change appears
to make some platforms work better, and enable C++ modules.

Patch from Andrey Kotrekhov

21 years ago Empty target, with note that hand-editing is required to get
aland [Mon, 30 Sep 2002 16:21:05 +0000 (16:21 +0000)]
Empty target, with note that hand-editing is required to get
this module to work.

21 years agoFix a small issue with the general_accounting_info_order
kkalev [Mon, 30 Sep 2002 08:12:07 +0000 (08:12 +0000)]
Fix a small issue with the general_accounting_info_order

21 years ago* In lib/ldap/functions.php3 only ask for the cn attribute in ldap_search not the...
kkalev [Sun, 29 Sep 2002 11:39:42 +0000 (11:39 +0000)]
* In lib/ldap/functions.php3 only ask for the cn attribute in ldap_search not the whole entry. That should make
  user_finger a lot faster when the user database is in ldap
* In lib/functions.php3 pass a second argument to date2timediv with the current time. user_finger calls that
  function for each online user so we now don't need to do a lot of calls to time() but only one. That should make
  user_finger somewhat faster.

21 years agoUpdate documentation for the counter module
kkalev [Sat, 28 Sep 2002 09:48:29 +0000 (09:48 +0000)]
Update documentation for the counter module

21 years ago Deleted the 'configure' script, so nothing will try to build this
aland [Fri, 27 Sep 2002 20:21:51 +0000 (20:21 +0000)]
Deleted the 'configure' script, so nothing will try to build this
module, as the freetds library API is under development.

Made a note to that effect in the README

21 years ago*** empty log message ***
cmiller [Fri, 27 Sep 2002 15:17:46 +0000 (15:17 +0000)]
*** empty log message ***

21 years agodebian: check for exec failure in init script.
cmiller [Fri, 27 Sep 2002 15:17:17 +0000 (15:17 +0000)]
debian: check for exec failure in init script.
debian: exclude modules not listed in stable list.
debian: prepare for 0.7.2.

21 years agoWrite config.h file at configure-time.
cmiller [Fri, 27 Sep 2002 15:13:27 +0000 (15:13 +0000)]
Write config.h file at configure-time.

21 years agoCorrectly detect locally preinstalled libltdl.
cmiller [Fri, 27 Sep 2002 15:12:57 +0000 (15:12 +0000)]
Correctly detect locally preinstalled libltdl.

21 years agoAllow multiple regular profiles for an entry
kkalev [Fri, 27 Sep 2002 09:00:45 +0000 (09:00 +0000)]
Allow multiple regular profiles for an entry

21 years agoUse CISCO-AAA-SESSION-MIB in checkrad
kkalev [Thu, 26 Sep 2002 21:42:21 +0000 (21:42 +0000)]
Use CISCO-AAA-SESSION-MIB in checkrad

21 years agoUse CISCO-AAA-SESSION-MIB in snmpfinger
kkalev [Thu, 26 Sep 2002 21:37:11 +0000 (21:37 +0000)]
Use CISCO-AAA-SESSION-MIB in snmpfinger

21 years agoIn simul_verify_query use CallingStationId and *NOT* CalledStationId.
kkalev [Thu, 26 Sep 2002 20:24:11 +0000 (20:24 +0000)]
In simul_verify_query use CallingStationId and *NOT* CalledStationId.
Quite serious bug. Now Simultaneous-Use check with sql should work much
better.

21 years agoFix a problem in user_accounting when NASIPAddress is not set.
kkalev [Thu, 26 Sep 2002 10:01:23 +0000 (10:01 +0000)]
Fix a problem in user_accounting when NASIPAddress is not set.

21 years ago Added 'op' fields to oracle DB
aland [Wed, 25 Sep 2002 14:11:22 +0000 (14:11 +0000)]
Added 'op' fields to oracle DB

21 years ago WEP is now supported.
aland [Wed, 25 Sep 2002 14:07:33 +0000 (14:07 +0000)]
WEP is now supported.

21 years agohtml fixes in accounting.php3
kkalev [Wed, 25 Sep 2002 13:23:58 +0000 (13:23 +0000)]
html fixes in accounting.php3

21 years ago Auto-rotate the detail file every day. Add comments describing
aland [Tue, 24 Sep 2002 14:32:19 +0000 (14:32 +0000)]
Auto-rotate the detail file every day.  Add comments describing
how to do more.

21 years ago Added '%H' in xlat, for request hour.
aland [Tue, 24 Sep 2002 14:24:31 +0000 (14:24 +0000)]
Added '%H' in xlat, for request hour.

Patch from Kevin Bonner.

21 years ago Work around more stupid autoconf "helpfulness"
aland [Tue, 24 Sep 2002 14:07:23 +0000 (14:07 +0000)]
Work around more stupid autoconf "helpfulness"

21 years agoOnly do an xlat on the replace string if we really need to
kkalev [Tue, 24 Sep 2002 11:02:38 +0000 (11:02 +0000)]
Only do an xlat on the replace string if we really need to

21 years agoAdd a few comments in log_badlogins, support auth logs containing the password, work...
kkalev [Tue, 24 Sep 2002 09:02:42 +0000 (09:02 +0000)]
Add a few comments in log_badlogins, support auth logs containing the password, work nice when the client
is localhost, add an option to scan the whole radius.log and add failed logins in the sql database (can be
used for initialization).

21 years ago Use newly configured header files, so MacOS X will be able to
aland [Mon, 23 Sep 2002 15:57:50 +0000 (15:57 +0000)]
Use newly configured header files, so MacOS X will be able to
build, without source code modifications.

21 years ago Look for <security/pam_appl.h> and <pam/pam_appl.h>
aland [Mon, 23 Sep 2002 15:57:11 +0000 (15:57 +0000)]
Look for <security/pam_appl.h> and <pam/pam_appl.h>

21 years agoAllow the user to add extra attributes in the test user page
kkalev [Mon, 23 Sep 2002 12:38:18 +0000 (12:38 +0000)]
Allow the user to add extra attributes in the test user page

21 years agoUpdate the FAQ with an entry about sessions.
kkalev [Sun, 22 Sep 2002 08:26:42 +0000 (08:26 +0000)]
Update the FAQ with an entry about sessions.

21 years agoUpdate the FAQ with an entry about the Online Users page not showing anything.
kkalev [Sat, 21 Sep 2002 16:04:25 +0000 (16:04 +0000)]
Update the FAQ with an entry about the Online Users page not showing anything.

21 years agoAdd a few more comments in the admin.conf
kkalev [Sat, 21 Sep 2002 13:51:38 +0000 (13:51 +0000)]
Add a few more comments in the admin.conf

21 years agoAdd support for realm in username and allow for realm striping in the web pages and...
kkalev [Sat, 21 Sep 2002 13:38:23 +0000 (13:38 +0000)]
Add support for realm in username and allow for realm striping in the web pages and in log_badlogins

21 years agoUpdated patch from Rainer Weikusat <weikusat@students.uni-mainz.de> to
cparker [Wed, 18 Sep 2002 21:07:42 +0000 (21:07 +0000)]
Updated patch from Rainer Weikusat <weikusat@students.uni-mainz.de> to
only increment ID in cases where code is not EAP_SUCCESS or EAP_FAILURE.

21 years ago Added tabs and white space
aland [Wed, 18 Sep 2002 19:43:41 +0000 (19:43 +0000)]
Added tabs and white space

21 years ago Cisco VPN 3000 dictionary, as posted to the list by Deramus, Chris
aland [Wed, 18 Sep 2002 19:42:14 +0000 (19:42 +0000)]
Cisco VPN 3000 dictionary, as posted to the list by Deramus, Chris

21 years agoIn snmpfinger also consider '-' as a valid character for a username
kkalev [Wed, 18 Sep 2002 12:38:17 +0000 (12:38 +0000)]
In snmpfinger also consider '-' as a valid character for a username

21 years agoAdd an arrow gif in htdocs/images to be used in the buttons page when adding multiple...
kkalev [Tue, 17 Sep 2002 21:41:37 +0000 (21:41 +0000)]
Add an arrow gif in htdocs/images to be used in the buttons page when adding multiple finger pages

21 years ago Added a bunch of missing 'p++'
aland [Tue, 17 Sep 2002 17:16:34 +0000 (17:16 +0000)]
Added a bunch of missing 'p++'

21 years agoEAP TLS patch from Rainer Weikusat <weikusat@students.uni-mainz.de> to fix
cparker [Tue, 17 Sep 2002 13:33:50 +0000 (13:33 +0000)]
EAP TLS patch from Rainer Weikusat <weikusat@students.uni-mainz.de> to fix
problems with EAP packet IDs and retransmission.

21 years ago Use 'sizeof' to pass buffer sizes, as it's better than using a
aland [Tue, 17 Sep 2002 13:04:52 +0000 (13:04 +0000)]
Use 'sizeof' to pass buffer sizes, as it's better than using a
macro definition.

21 years agoIn the buttons toolbar Edit User should not be clickable.
kkalev [Tue, 17 Sep 2002 12:33:17 +0000 (12:33 +0000)]
In the buttons toolbar Edit User should not be clickable.

21 years agoUse require_once when including lib/functions.php3 in lib/sql
kkalev [Tue, 17 Sep 2002 12:25:05 +0000 (12:25 +0000)]
Use require_once when including lib/functions.php3 in lib/sql

21 years ago typo
fcusack [Tue, 17 Sep 2002 02:34:08 +0000 (02:34 +0000)]
typo

21 years agoCheck that mysql_sock is not NULL in sql_close. Patch from Kevin Bonner <keb@pa.net>
kkalev [Mon, 16 Sep 2002 12:33:23 +0000 (12:33 +0000)]
Check that mysql_sock is not NULL in sql_close. Patch from Kevin Bonner <keb@pa.net>

21 years agoAdd a missing WHERE UserName = '$login' in the UPDATE statement in lib/sql/change_inf...
kkalev [Mon, 16 Sep 2002 10:31:51 +0000 (10:31 +0000)]
Add a missing WHERE UserName = '$login' in the UPDATE statement in lib/sql/change_info.php3. Patch by
Eddie Bindt <eddieb@users.sourceforge.net>

21 years ago move symlink "magic" into init script, where it actually works.
fcusack [Fri, 13 Sep 2002 23:13:58 +0000 (23:13 +0000)]
move symlink "magic" into init script, where it actually works.

21 years ago Add a symlink so 'service radiusd restart' isn't noisy
fcusack [Fri, 13 Sep 2002 22:36:55 +0000 (22:36 +0000)]
Add a symlink so 'service radiusd restart' isn't noisy

21 years ago Added configuration for log_file
aland [Fri, 13 Sep 2002 16:18:46 +0000 (16:18 +0000)]
Added configuration for log_file

21 years ago Corrected typo in last commit
aland [Fri, 13 Sep 2002 16:16:30 +0000 (16:16 +0000)]
Corrected typo in last commit

21 years ago Deleted compile-time definition for 'radius.log', and changed it
aland [Fri, 13 Sep 2002 16:15:00 +0000 (16:15 +0000)]
Deleted compile-time definition for 'radius.log', and changed it
to a run-time configurable directive.

21 years ago fix failcount-double-increment bug introduced with ewindow2
fcusack [Fri, 13 Sep 2002 06:49:34 +0000 (06:49 +0000)]
fix failcount-double-increment bug introduced with ewindow2

21 years ago Sample file which isn't currently used.
aland [Thu, 12 Sep 2002 15:19:50 +0000 (15:19 +0000)]
Sample file which isn't currently used.

21 years ago- Only add a failure message for bind as user failed in ldap_authenticate if the...
kkalev [Thu, 12 Sep 2002 13:38:14 +0000 (13:38 +0000)]
- Only add a failure message for bind as user failed in ldap_authenticate if the result of ldap_connect was
  RLM_MODULE_REJECT
- Make tls_mode a configurable option. Patch from John <jhogenmiller@pennswoods.net>

21 years agoReplace the groupmembership_attribute value in the docs and in radiusd.conf with
kkalev [Thu, 12 Sep 2002 08:45:49 +0000 (08:45 +0000)]
Replace the groupmembership_attribute value in the docs and in radiusd.conf with
radiusGroupName

21 years ago Unix timestamps are unsigned ints.
aland [Wed, 11 Sep 2002 18:28:00 +0000 (18:28 +0000)]
Unix timestamps are unsigned ints.

Ensure there's enough free space to put unknown variables.

Patch from rick@fdd.com

21 years ago The PAM libraries aren't thread-safe, so make rlm_pam unsafe for
aland [Wed, 11 Sep 2002 18:25:31 +0000 (18:25 +0000)]
The PAM libraries aren't thread-safe, so make rlm_pam unsafe for
threading, too.

21 years ago Re-arrange the functions so that they are defined before they
aland [Wed, 11 Sep 2002 18:20:27 +0000 (18:20 +0000)]
Re-arrange the functions so that they are defined before they
are used.

Patch from Andrea Gabellini

21 years ago Fix an error in the sql_fetch_row function where it returned NULL
aland [Wed, 11 Sep 2002 18:19:08 +0000 (18:19 +0000)]
Fix an error in the sql_fetch_row function where it returned NULL
instead of -1.

Patch from Andrea Gabellini

21 years ago Add reconnect to the Oracle module.
aland [Wed, 11 Sep 2002 18:17:57 +0000 (18:17 +0000)]
Add reconnect to the Oracle module.

Patch from Andrea Gabellini

21 years agoAdd the failed logins page in the buttons page
kkalev [Tue, 10 Sep 2002 07:57:13 +0000 (07:57 +0000)]
Add the failed logins page in the buttons page

21 years agoFix a bug with failed logins in user_admin.
kkalev [Tue, 10 Sep 2002 07:47:05 +0000 (07:47 +0000)]
Fix a bug with failed logins in user_admin.

21 years agoChange use of AcctStartTime with AcctStopTime in failed_logins.php3 to match that...
kkalev [Tue, 10 Sep 2002 07:46:01 +0000 (07:46 +0000)]
Change use of AcctStartTime with AcctStopTime in failed_logins.php3 to match that in user_admin

21 years agoFix a bug in the failed logins page
kkalev [Tue, 10 Sep 2002 07:41:54 +0000 (07:41 +0000)]
Fix a bug in the failed logins page

21 years agoAdd a failed logins page, to show the most recent failed logins.
kkalev [Tue, 10 Sep 2002 07:35:56 +0000 (07:35 +0000)]
Add a failed logins page, to show the most recent failed logins.

21 years agoKerberos fixes: don't grant access to a user whose Kerberos ticket can't
vorlon [Mon, 9 Sep 2002 18:28:22 +0000 (18:28 +0000)]
Kerberos fixes: don't grant access to a user whose Kerberos ticket can't
be verified against our server principal.

21 years ago If we DO find pthread_create() in -lpthread, then add -lpthread
aland [Mon, 9 Sep 2002 17:13:12 +0000 (17:13 +0000)]
If we DO find pthread_create() in -lpthread, then add -lpthread
to the LIBS.

21 years agoFix a stupid bug in accounting.php3. We should not use the show_attrs array.
kkalev [Mon, 9 Sep 2002 14:28:52 +0000 (14:28 +0000)]
Fix a stupid bug in accounting.php3. We should not use the show_attrs array.

21 years agoFix a few more bugs in the ldap library
kkalev [Mon, 9 Sep 2002 13:59:15 +0000 (13:59 +0000)]
Fix a few more bugs in the ldap library

21 years agoAdd a new config directive, ldap_write_server. If it is set then when we update the...
kkalev [Mon, 9 Sep 2002 13:27:48 +0000 (13:27 +0000)]
Add a new config directive, ldap_write_server. If it is set then when we update the directory we try to
connect to that one instead of the ldap_server. That way we can read from the fast read-only replicas and
write to a slower master.

21 years agoIn the user test page ignore comments from the auth.request file
kkalev [Mon, 9 Sep 2002 10:22:23 +0000 (10:22 +0000)]
In the user test page ignore comments from the auth.request file

21 years agoIf we add a check item then use the == operator. Based on an idea by Allister Maguire...
kkalev [Mon, 9 Sep 2002 09:21:05 +0000 (09:21 +0000)]
If we add a check item then use the == operator. Based on an idea by Allister Maguire <amaguire@gnc.net.nz>

21 years agoRemove previous change. It was causing problems
kkalev [Mon, 9 Sep 2002 08:06:31 +0000 (08:06 +0000)]
Remove previous change. It was causing problems

21 years agoOnly connect and bind to the ldap server if we haven't done that before.
kkalev [Mon, 9 Sep 2002 07:57:01 +0000 (07:57 +0000)]
Only connect and bind to the ldap server if we haven't done that before.

21 years agoUpdate documentation
kkalev [Sun, 8 Sep 2002 23:16:21 +0000 (23:16 +0000)]
Update documentation

21 years agoAllocate more room for the sql queries. Remove a wrong copyright
kkalev [Sun, 8 Sep 2002 14:47:09 +0000 (14:47 +0000)]
Allocate more room for the sql queries. Remove a wrong copyright

21 years agoAlso cache the default.vals file.
kkalev [Sun, 8 Sep 2002 14:36:58 +0000 (14:36 +0000)]
Also cache the default.vals file.

21 years agoIn lib/sql/defaults.php3 instead of doing a select for each group the user
kkalev [Sun, 8 Sep 2002 13:24:19 +0000 (13:24 +0000)]
In lib/sql/defaults.php3 instead of doing a select for each group the user
belongs to, do one select with a where in () caluse.