aland [Mon, 21 Oct 2002 16:12:35 +0000 (16:12 +0000)]
After installing the server, ensure that the naspasswd file
is readable ONLY by the owner, to minimize security issues...
aland [Mon, 21 Oct 2002 16:07:59 +0000 (16:07 +0000)]
If asked to exit, ALWAYS exit, even if there are packets waiting
to be processed.
aland [Mon, 21 Oct 2002 15:58:23 +0000 (15:58 +0000)]
Removed use of 'radwatch'
Removed debian-specific 'start-stop-daemon' stuff, and replaced
it with simple & stupid code which should work most places...
aland [Mon, 21 Oct 2002 15:41:05 +0000 (15:41 +0000)]
Enable SIGTERM to shut down the server a little more cleanly.
The child threads have SIGTERM blocked. When the parent gets
a SIGTERM, it sends a SIGKILL to all associated processes and
threads. When it returns from the signal handler, the main
loop frees the modules and exits.
kkalev [Sun, 20 Oct 2002 09:15:19 +0000 (09:15 +0000)]
Add an snmpwalk() function. Add snmp timeout and retries in calls to snmpget
and snmpwalk. Defaults are 5 secs and 1 retry.
kkalev [Sat, 19 Oct 2002 09:18:31 +0000 (09:18 +0000)]
Use the MAX_FAILED_CONNS_* in ldap_authenticate() when calling ldap_connect()
aland [Fri, 18 Oct 2002 21:24:15 +0000 (21:24 +0000)]
Added text describing what else has changed.
aland [Fri, 18 Oct 2002 18:44:30 +0000 (18:44 +0000)]
Deleted unused functions.
Removed calls to nas_find, now that we no longer need it, as the
RADCLIENT structure contains what we need, and the NAS information
is always pulled over from the 'naslist' file.
aland [Fri, 18 Oct 2002 18:42:22 +0000 (18:42 +0000)]
Got rid of the call to nas_find(), and replaced it with client_find(),
now that the clients file reader pulls in the shortname from the
naslist file.
aland [Fri, 18 Oct 2002 18:40:41 +0000 (18:40 +0000)]
Now that the 'naslist' is read in before the 'clients' file, we
can pull the nastype && shortname information into the RADCLIENT
data structure, from the NAS data structure.
This is one more step in getting rid of the 'naslist' file, and
the NAS data structure
aland [Fri, 18 Oct 2002 18:36:03 +0000 (18:36 +0000)]
Read the old-style 'naslist' file, before reading the old-style
'clients' file.
This is in preparation for having the old-style 'clients' update
the 'shortname' and 'nastype' fields, so that we can get rid of
the 'naslist' file, and the whole NAS data structure
aland [Thu, 17 Oct 2002 16:27:29 +0000 (16:27 +0000)]
Added Status-Server support, stolen shamelessly from Cistron.
kkalev [Thu, 17 Oct 2002 13:01:22 +0000 (13:01 +0000)]
Add an append control in attr_rewrite.
Patch from Alessandro Maioli <amaioli@intelcom.sm>
aland [Tue, 15 Oct 2002 20:50:48 +0000 (20:50 +0000)]
Added more notes to NOT use '%a' and friends.
aland [Tue, 15 Oct 2002 20:43:05 +0000 (20:43 +0000)]
Add a missing 'p++'
Bug found by Franklin Trumpy
aland [Tue, 15 Oct 2002 20:25:00 +0000 (20:25 +0000)]
Don't do sub-modules from the top-level directory.
Patch from Kevin Bonner
aland [Tue, 15 Oct 2002 18:02:54 +0000 (18:02 +0000)]
Removed all knowledge of the pre-processor define CHECKRAD,
and went to using the new configuration file entry.
aland [Tue, 15 Oct 2002 17:52:43 +0000 (17:52 +0000)]
Made the call to checkrad use the new thread-safe version of fork(),
which should be a bit better than before...
aland [Tue, 15 Oct 2002 17:41:20 +0000 (17:41 +0000)]
Read the location of 'checkrad' from the configuration file.
Patch from Andrea Gabellini
aland [Tue, 15 Oct 2002 17:38:22 +0000 (17:38 +0000)]
Use Session-Id values in max40xx finger routine.
Patch from Aleksandr Kuzminsky <ingoth@nbi.com.ua>
aland [Tue, 15 Oct 2002 17:33:31 +0000 (17:33 +0000)]
Fix USR-Hiper SNMP code to match the cisco snmp bit.
aland [Tue, 15 Oct 2002 15:06:11 +0000 (15:06 +0000)]
Minor reformatting.
Don't do minor buffer overflow: 'array[size] = 0' is out of bounds.
aland [Tue, 15 Oct 2002 15:04:06 +0000 (15:04 +0000)]
Define a 'last' token, so we know how many tokens exist.
When decoding a packet, set the operator for the VALUE_PAIR to T_OP_EQ
Update vp_prints() to print out the real operators, instead of
always '='. This makes it easier to see what's going on, as the
correct operators are printed...
aland [Tue, 15 Oct 2002 14:51:18 +0000 (14:51 +0000)]
Removed duplicate function 'sm_prints', and replaced it with
call to library function 'vp_prints'
kkalev [Sun, 13 Oct 2002 20:18:17 +0000 (20:18 +0000)]
* Add a string encoder for greek
* If general_decode_normal_attributes is set then encode attributes in lib/ldap/change_info. In the near future
language specific user attributes will be added in the change info and new user pages. Remove comments from
admin.conf about the change info page not working if this directive is used.
* When spliting cn in lib/ldap/create_user.php3 limit the split to 2 new elements not 3.
kkalev [Sun, 13 Oct 2002 18:46:48 +0000 (18:46 +0000)]
Map a specific username to the directory manager if we are using ldap and http authentication
kkalev [Sun, 13 Oct 2002 18:29:16 +0000 (18:29 +0000)]
Add a comment in admin.conf about ldap server failover
kkalev [Sun, 13 Oct 2002 06:48:55 +0000 (06:48 +0000)]
Disable cache after searching for the default profile
kkalev [Sat, 12 Oct 2002 11:45:31 +0000 (11:45 +0000)]
Fix a small bug in lib/ldap/defaults.php3. We should not be using $i in a for() loop but a new variable
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
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.
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.
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.
aland [Mon, 7 Oct 2002 20:31:56 +0000 (20:31 +0000)]
Deleted the freetds SQL sub-module, as it's nowhere near stable
aland [Mon, 7 Oct 2002 20:31:24 +0000 (20:31 +0000)]
Added the new expression module
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.
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.
cmiller [Thu, 3 Oct 2002 20:01:00 +0000 (20:01 +0000)]
debian: pidfile directory correction
debian: changelog comment
aland [Thu, 3 Oct 2002 14:46:06 +0000 (14:46 +0000)]
Remember what the main module list is..
fcusack [Wed, 2 Oct 2002 18:49:23 +0000 (18:49 +0000)]
change some 'password' refs to 'passcode'
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)
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.
aland [Wed, 2 Oct 2002 14:27:22 +0000 (14:27 +0000)]
Fix simple mistake in checking return value from userparse()
kkalev [Wed, 2 Oct 2002 09:15:11 +0000 (09:15 +0000)]
Allow for multiple regular profile attributes in a user entry.
cparker [Tue, 1 Oct 2002 22:39:55 +0000 (22:39 +0000)]
Updated to include a few more names of developers.
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.
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>
kkalev [Tue, 1 Oct 2002 19:16:06 +0000 (19:16 +0000)]
Fix a problem in failed_logins when NASIPAddress is not set.
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...
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.
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
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.
aland [Mon, 30 Sep 2002 18:10:13 +0000 (18:10 +0000)]
Minor additions for HPUX support
aland [Mon, 30 Sep 2002 16:34:49 +0000 (16:34 +0000)]
Save the radiusd PID
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
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.
kkalev [Mon, 30 Sep 2002 08:12:07 +0000 (08:12 +0000)]
Fix a small issue with the general_accounting_info_order
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.
kkalev [Sat, 28 Sep 2002 09:48:29 +0000 (09:48 +0000)]
Update documentation for the counter module
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
cmiller [Fri, 27 Sep 2002 15:17:46 +0000 (15:17 +0000)]
*** empty log message ***
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.
cmiller [Fri, 27 Sep 2002 15:13:27 +0000 (15:13 +0000)]
Write config.h file at configure-time.
cmiller [Fri, 27 Sep 2002 15:12:57 +0000 (15:12 +0000)]
Correctly detect locally preinstalled libltdl.
kkalev [Fri, 27 Sep 2002 09:00:45 +0000 (09:00 +0000)]
Allow multiple regular profiles for an entry
kkalev [Thu, 26 Sep 2002 21:42:21 +0000 (21:42 +0000)]
Use CISCO-AAA-SESSION-MIB in checkrad
kkalev [Thu, 26 Sep 2002 21:37:11 +0000 (21:37 +0000)]
Use CISCO-AAA-SESSION-MIB in snmpfinger
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.
kkalev [Thu, 26 Sep 2002 10:01:23 +0000 (10:01 +0000)]
Fix a problem in user_accounting when NASIPAddress is not set.
aland [Wed, 25 Sep 2002 14:11:22 +0000 (14:11 +0000)]
Added 'op' fields to oracle DB
aland [Wed, 25 Sep 2002 14:07:33 +0000 (14:07 +0000)]
WEP is now supported.
kkalev [Wed, 25 Sep 2002 13:23:58 +0000 (13:23 +0000)]
html fixes in accounting.php3
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.
aland [Tue, 24 Sep 2002 14:24:31 +0000 (14:24 +0000)]
Added '%H' in xlat, for request hour.
Patch from Kevin Bonner.
aland [Tue, 24 Sep 2002 14:07:23 +0000 (14:07 +0000)]
Work around more stupid autoconf "helpfulness"
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
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).
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.
aland [Mon, 23 Sep 2002 15:57:11 +0000 (15:57 +0000)]
Look for <security/pam_appl.h> and <pam/pam_appl.h>
kkalev [Mon, 23 Sep 2002 12:38:18 +0000 (12:38 +0000)]
Allow the user to add extra attributes in the test user page
kkalev [Sun, 22 Sep 2002 08:26:42 +0000 (08:26 +0000)]
Update the FAQ with an entry about sessions.
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.
kkalev [Sat, 21 Sep 2002 13:51:38 +0000 (13:51 +0000)]
Add a few more comments in the admin.conf
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
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.
aland [Wed, 18 Sep 2002 19:43:41 +0000 (19:43 +0000)]
Added tabs and white space
aland [Wed, 18 Sep 2002 19:42:14 +0000 (19:42 +0000)]
Cisco VPN 3000 dictionary, as posted to the list by Deramus, Chris
kkalev [Wed, 18 Sep 2002 12:38:17 +0000 (12:38 +0000)]
In snmpfinger also consider '-' as a valid character for a username
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
aland [Tue, 17 Sep 2002 17:16:34 +0000 (17:16 +0000)]
Added a bunch of missing 'p++'
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.
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.
kkalev [Tue, 17 Sep 2002 12:33:17 +0000 (12:33 +0000)]
In the buttons toolbar Edit User should not be clickable.
kkalev [Tue, 17 Sep 2002 12:25:05 +0000 (12:25 +0000)]
Use require_once when including lib/functions.php3 in lib/sql
fcusack [Tue, 17 Sep 2002 02:34:08 +0000 (02:34 +0000)]
typo
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>
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>
fcusack [Fri, 13 Sep 2002 23:13:58 +0000 (23:13 +0000)]
move symlink "magic" into init script, where it actually works.
fcusack [Fri, 13 Sep 2002 22:36:55 +0000 (22:36 +0000)]
Add a symlink so 'service radiusd restart' isn't noisy
aland [Fri, 13 Sep 2002 16:18:46 +0000 (16:18 +0000)]
Added configuration for log_file