freeradius.git
21 years ago Minor updates to check headers (includes)
aland [Wed, 10 Jul 2002 15:47:58 +0000 (15:47 +0000)]
Minor updates to check headers (includes)

21 years ago* If the same attribute appears more than once in the user edit page then show a...
kkalev [Wed, 10 Jul 2002 14:53:51 +0000 (14:53 +0000)]
* If the same attribute appears more than once in the user edit page then show a count of the number of
  occurences next to the attribute name
* Add a server argument to user_finger.php3. If it is set then the page will only show the logged in users
  in that access server instead of all of them. Update the README with documentation for that fact.

21 years agoSHA1 encryption in the pap module is now supported
kkalev [Wed, 10 Jul 2002 13:22:09 +0000 (13:22 +0000)]
SHA1 encryption in the pap module is now supported

21 years agoRemember to do ldap_release_conn and ldap_msgfree when we do paircmp and the result...
kkalev [Wed, 10 Jul 2002 12:55:01 +0000 (12:55 +0000)]
Remember to do ldap_release_conn and ldap_msgfree when we do paircmp and the result is reject

21 years ago add support for user-specified include and lib paths
fcusack [Wed, 10 Jul 2002 10:18:23 +0000 (10:18 +0000)]
add support for user-specified include and lib paths

21 years ago Add test for inttypes.h; fail if not found. This module is
fcusack [Wed, 10 Jul 2002 09:28:08 +0000 (09:28 +0000)]
Add test for inttypes.h; fail if not found.  This module is
rarely used so I don't care to support old systems.

21 years ago Don't include libradius' md5.h.
fcusack [Wed, 10 Jul 2002 08:25:59 +0000 (08:25 +0000)]
Don't include libradius' md5.h.

21 years agoAdded note about LDAPS connection mode to reflect recent commit to rlm_ldap module
pam [Wed, 10 Jul 2002 07:39:50 +0000 (07:39 +0000)]
Added note about LDAPS connection mode to reflect recent commit to rlm_ldap module
Changes in description of server directive

21 years agoFix of LDAPS support (LDAP over SSL without TLS negotiation).
pam [Wed, 10 Jul 2002 07:17:58 +0000 (07:17 +0000)]
Fix of LDAPS support (LDAP over SSL without TLS negotiation).
Now when LDAP server port is set to 636 (ldaps), SSL connection is enforced.
This feature is useful for LDAP servers which support SSL, but don't do TLS negotiation (like Novell eDirectory).

21 years ago Add rfc2548 (Microsoft VSA's) to the list
aland [Tue, 9 Jul 2002 20:50:48 +0000 (20:50 +0000)]
Add rfc2548 (Microsoft VSA's) to the list

21 years ago Add perl scripts to auto-magically convert the RADIUS RFC's
aland [Tue, 9 Jul 2002 20:48:49 +0000 (20:48 +0000)]
Add perl scripts to auto-magically convert the RADIUS RFC's
to cross-indexed HTML.

21 years ago Added draft for digest authentication. It's expired, and not a
aland [Tue, 9 Jul 2002 20:26:03 +0000 (20:26 +0000)]
Added draft for digest authentication.  It's expired, and not a
standard, but Cisco has implemented it, so it should be documented.

21 years ago Added the IETF RADIUS RFC's to the documentation
aland [Tue, 9 Jul 2002 20:22:48 +0000 (20:22 +0000)]
Added the IETF RADIUS RFC's to the documentation

21 years ago Added example configuration and documentation of rlm_dbm, from
aland [Tue, 9 Jul 2002 20:07:32 +0000 (20:07 +0000)]
Added example configuration and documentation of rlm_dbm, from
the list archives, because it's too much bother to tell people
where to look themselves.

Plus, having documentation for the module is a Good Thing.

21 years ago Updates to the python module, from migs paraz
aland [Tue, 9 Jul 2002 19:16:23 +0000 (19:16 +0000)]
Updates to the python module, from migs paraz

21 years ago Experimental code (commented out by default) to allow xlat to be
aland [Tue, 9 Jul 2002 17:15:39 +0000 (17:15 +0000)]
Experimental code (commented out by default) to allow xlat to be
done on string check items BEFORE they're compared.  e.g.:

DEFAULT Auth-Type := Accept, Calling-Station-Id == "%{reply:Callback-Number}"

which would accept the user if a previously-configured
Callback-Number in the reply was the same as the Calling-Station-Id
in the request.

21 years ago Corrected typo
aland [Tue, 9 Jul 2002 17:00:17 +0000 (17:00 +0000)]
Corrected typo

21 years ago When decoding IP addresses, put their string representation into
aland [Tue, 9 Jul 2002 16:33:48 +0000 (16:33 +0000)]
When decoding IP addresses, put their string representation into
vp->strvalue, so that regex comparisons on IP addresses can work.

Based on issue noted by David C. Troy

21 years ago Put the string representation (nnn.nnn.nnn.nnn) of the IP address
aland [Tue, 9 Jul 2002 16:30:03 +0000 (16:30 +0000)]
Put the string representation (nnn.nnn.nnn.nnn) of the IP address
into vp->strvalue, so that we can do regex comparisons on it later

Based on report from David C. Troy

21 years ago Make the functions specific to libradius, so they don't conflict
aland [Tue, 9 Jul 2002 15:32:53 +0000 (15:32 +0000)]
Make the functions specific to libradius, so they don't conflict
with others.

21 years ago Added 'install' target, so libradius.so gets installed, too
aland [Tue, 9 Jul 2002 15:13:50 +0000 (15:13 +0000)]
Added 'install' target, so libradius.so gets installed, too

21 years ago Add a config file check, fix memory leaks that could occur in
fcusack [Tue, 9 Jul 2002 09:59:09 +0000 (09:59 +0000)]
Add a config file check, fix memory leaks that could occur in
failure or rare conditions.

21 years ago Add back headers mandated by SUSv2
fcusack [Tue, 9 Jul 2002 09:34:10 +0000 (09:34 +0000)]
Add back headers mandated by SUSv2

21 years agoEAP documentation
raghu [Mon, 8 Jul 2002 21:12:04 +0000 (21:12 +0000)]
EAP documentation

21 years ago When rejecting authentication due to external Exec-Program,
aland [Mon, 8 Jul 2002 18:46:07 +0000 (18:46 +0000)]
When rejecting authentication due to external Exec-Program,
do NOT free the reply pairs, as the server core will take care
of doing that.

Bug noted by Thomas Jalsovsky

21 years ago Make Exec-Program and Exec-Program-Wait work in debugging mode.
aland [Mon, 8 Jul 2002 18:34:57 +0000 (18:34 +0000)]
Make Exec-Program and Exec-Program-Wait work in debugging mode.

21 years ago Move definitions outside of ifdef
aland [Mon, 8 Jul 2002 18:34:17 +0000 (18:34 +0000)]
Move definitions outside of ifdef

21 years ago Finalize the radrelay additions, based on Cistron RADIUS
aland [Mon, 8 Jul 2002 18:23:42 +0000 (18:23 +0000)]
Finalize the radrelay additions, based on Cistron RADIUS

Patches from  Simon <lists@routemeister.net>

21 years ago+ rlm_cram is EXPEREMENTAL module for Challenge-Response authentication.
3APA3A [Mon, 8 Jul 2002 17:59:24 +0000 (17:59 +0000)]
+ rlm_cram is EXPEREMENTAL module for Challenge-Response authentication.
  It supports APOP, CRAM-MD5, CRAM-MD4, CRAM-SHA1 with it's own
  standard. This module may be used for SMTP/POP3/IMAP4 server
  authentication.
  Read included documentation on how to use this module.

21 years agoTake advantage of Configure
raghu [Mon, 8 Jul 2002 17:45:46 +0000 (17:45 +0000)]
Take advantage of Configure

21 years agoEAP can now take advantage of configure scripts
raghu [Mon, 8 Jul 2002 17:44:22 +0000 (17:44 +0000)]
EAP can now take advantage of configure scripts

21 years ago Re-write to use libtool, which allows us to build dynamic libraries
aland [Mon, 8 Jul 2002 15:59:45 +0000 (15:59 +0000)]
Re-write to use libtool, which allows us to build dynamic libraries

The structure of the make file is now more like ../modules/rules.mak,
which makes things clearer

21 years ago Added Cisco SSG VSA's, from
aland [Mon, 8 Jul 2002 15:18:59 +0000 (15:18 +0000)]
Added Cisco SSG VSA's, from

http://www.cisco.com/univercd/cc/td/doc/solution/sesm/sesm_311/instcnfg/appd.htm

21 years agoBacking out removal of "modules.h".
pam [Mon, 8 Jul 2002 12:29:17 +0000 (12:29 +0000)]
Backing out removal of "modules.h".
Been overzealous, sorry

21 years agoemoved superficial #include statements
pam [Mon, 8 Jul 2002 12:07:59 +0000 (12:07 +0000)]
emoved superficial #include statements
malloc.h is deprecated, using stdlib.h instead
Moved standard includes before ours - fixed warning about redefinition of INADDR_ constants

21 years agoRemoved superficial #include statements
pam [Mon, 8 Jul 2002 12:05:08 +0000 (12:05 +0000)]
Removed superficial #include statements
malloc.h is deprecated, using stdlib.h instead

21 years ago avoid multiple inclusion of md4 and sha1 headers
fcusack [Sat, 6 Jul 2002 06:24:33 +0000 (06:24 +0000)]
avoid multiple inclusion of md4 and sha1 headers

21 years ago remove extraneous includes per Alan
fcusack [Sat, 6 Jul 2002 06:10:40 +0000 (06:10 +0000)]
remove extraneous includes per Alan

21 years ago my autoconf appears to be broken. this looks a little better.
fcusack [Sat, 6 Jul 2002 04:38:38 +0000 (04:38 +0000)]
my autoconf appears to be broken.  this looks a little better.

21 years ago update for configure.in#1.158
fcusack [Sat, 6 Jul 2002 02:19:36 +0000 (02:19 +0000)]
update for configure.in#1.158

21 years ago Make libradius-specific MD4 functions and structures
aland [Fri, 5 Jul 2002 16:16:48 +0000 (16:16 +0000)]
Make libradius-specific MD4 functions and structures

21 years ago Don't include the '\0' in the number of characters put into the
aland [Thu, 4 Jul 2002 15:02:10 +0000 (15:02 +0000)]
Don't include the '\0' in the number of characters put into the
string.

Patch from Michael Bailey

21 years ago If there's an error reading the configuration files, tell the user
aland [Thu, 4 Jul 2002 14:40:08 +0000 (14:40 +0000)]
If there's an error reading the configuration files, tell the user
where the log file is, so they can find the errors.

21 years ago Added '/', and most importantly, '=' to the list of non-escaped
aland [Thu, 4 Jul 2002 14:30:58 +0000 (14:30 +0000)]
Added '/', and most importantly, '=' to the list of non-escaped
characters.

The '=' prevents double escaping from occuring.

21 years ago Add proper pre-processor magic to get them to play nicely.
aland [Thu, 4 Jul 2002 14:26:55 +0000 (14:26 +0000)]
Add proper pre-processor magic to get them to play nicely.

21 years ago Removed GNU specific commands, which broke 'configure' on Linux, too.
aland [Thu, 4 Jul 2002 14:21:51 +0000 (14:21 +0000)]
Removed GNU specific commands, which broke 'configure' on Linux, too.

21 years ago Now that sha1 and md4 are in 'lib', their header files should be
aland [Thu, 4 Jul 2002 14:03:25 +0000 (14:03 +0000)]
Now that sha1 and md4 are in 'lib', their header files should be
included, so they will link.

21 years ago Link all of libradius.a, not just referenced symbols.
fcusack [Thu, 4 Jul 2002 13:37:43 +0000 (13:37 +0000)]
Link all of libradius.a, not just referenced symbols.

21 years agoCheck if the last logged in server and client ip are valid before calling gethostbyaddr
kkalev [Thu, 4 Jul 2002 08:06:36 +0000 (08:06 +0000)]
Check if the last logged in server and client ip are valid before calling gethostbyaddr

21 years ago- Try to minimize the penalty of having the ldap server go down. The comments before
kkalev [Wed, 3 Jul 2002 23:05:23 +0000 (23:05 +0000)]
- Try to minimize the penalty of having the ldap server go down. The comments before
  MAX_FAILED_CONNS_* definitions should explain things.
- Check for a number of error codes from ldap_search and log corresponding error messages
  We should only reconnect when that can help things.
- In ldap_groupcmp instead of first searching for the group object and then checking user
  group membership combine them in one ldap search operation. That should make group
  membership checks a lot faster.

21 years agoRefresh the online users page every 50 secs. Patch by Alexandre Strube <surak@barroco...
kkalev [Wed, 3 Jul 2002 22:05:50 +0000 (22:05 +0000)]
Refresh the online users page every 50 secs. Patch by Alexandre Strube <surak@barroco.com.br>

21 years ago change version to 0.7-pre
aland [Wed, 3 Jul 2002 14:38:57 +0000 (14:38 +0000)]
change version to 0.7-pre

21 years ago Last set of updates before 0.6 release_0_6_0
aland [Wed, 3 Jul 2002 14:16:33 +0000 (14:16 +0000)]
Last set of updates before 0.6

21 years ago it's nice when it actually compiles
fcusack [Wed, 3 Jul 2002 09:03:47 +0000 (09:03 +0000)]
it's nice when it actually compiles

21 years ago PAM portability changes
fcusack [Wed, 3 Jul 2002 08:42:04 +0000 (08:42 +0000)]
PAM portability changes

21 years agoFix the logic when we get an LDAP_SERVER_DOWN or we have conn->ld == NULL in perform_...
kkalev [Mon, 1 Jul 2002 08:50:22 +0000 (08:50 +0000)]
Fix the logic when we get an LDAP_SERVER_DOWN or we have conn->ld == NULL in perform_search

21 years ago update for new user/group defaults
fcusack [Wed, 26 Jun 2002 03:37:04 +0000 (03:37 +0000)]
update for new user/group defaults

21 years agoPass the whole password as salt in da_encrypt() in password_check.php3
kkalev [Wed, 26 Jun 2002 00:36:41 +0000 (00:36 +0000)]
Pass the whole password as salt in da_encrypt() in password_check.php3

21 years ago Updated with recent changes to the server.
cparker [Tue, 25 Jun 2002 21:08:50 +0000 (21:08 +0000)]
Updated with recent changes to the server.

21 years ago Change behaviour so that if user/group are specified in config, the
cparker [Tue, 25 Jun 2002 20:45:13 +0000 (20:45 +0000)]
Change behaviour so that if user/group are specified in config, the
server will switch to that user/group in all operation modes ( both
debug and daemon ).  The config file is updated to have user/group
commented by default, with an updated explanation of this behaviour.

21 years agoDeclare rlm_pap thread safe
kkalev [Tue, 25 Jun 2002 17:32:41 +0000 (17:32 +0000)]
Declare rlm_pap thread safe

21 years agoAdd a mutex around crypt so that we can make rlm_pap thread safe
kkalev [Tue, 25 Jun 2002 17:32:17 +0000 (17:32 +0000)]
Add a mutex around crypt so that we can make rlm_pap thread safe

21 years ago- Add a variable locked in the LDAP_CONN structure. We use this to avoid deadlocks...
kkalev [Mon, 24 Jun 2002 14:55:10 +0000 (14:55 +0000)]
- Add a variable locked in the LDAP_CONN structure. We use this to avoid deadlocks. The mutex
  we are using is of type fast and can deadlock if the same thread tries to relock it. That
  could happen in case of calls to xlat.
- When ldap_search returns NO_SUCH_OBJECT don't return fail but notfound

21 years ago updates from Marko Myllynen
fcusack [Mon, 24 Jun 2002 10:33:05 +0000 (10:33 +0000)]
updates from Marko Myllynen

21 years ago don't start radiusd by default
fcusack [Mon, 24 Jun 2002 10:27:07 +0000 (10:27 +0000)]
don't start radiusd by default

21 years ago lib/radius.c:tunnel_pwencode() now does salting and encoding
fcusack [Mon, 24 Jun 2002 10:13:58 +0000 (10:13 +0000)]
lib/radius.c:tunnel_pwencode() now does salting and encoding

21 years ago make saltoffset static and comment it
fcusack [Mon, 24 Jun 2002 09:41:14 +0000 (09:41 +0000)]
make saltoffset static and comment it

21 years ago remove a reference
fcusack [Mon, 24 Jun 2002 08:57:05 +0000 (08:57 +0000)]
remove a reference

21 years ago format for 80 cols
fcusack [Mon, 24 Jun 2002 08:55:33 +0000 (08:55 +0000)]
format for 80 cols

21 years agoAdd a forgotten ldap_free_urldesc in ldap_xlat()
kkalev [Mon, 24 Jun 2002 08:31:12 +0000 (08:31 +0000)]
Add a forgotten ldap_free_urldesc in ldap_xlat()

21 years ago* Correct a few typos in Autz-Type
kkalev [Sat, 22 Jun 2002 17:41:46 +0000 (17:41 +0000)]
* Correct a few typos in Autz-Type
* Remember to free inst->atts in ldap_detach() in rlm_ldap.c

21 years ago Added config line for variable 'connect_failure_retry_delay' in
cparker [Fri, 21 Jun 2002 20:20:28 +0000 (20:20 +0000)]
Added config line for variable 'connect_failure_retry_delay' in
sql module.  Noted by Todd T. Fries.

21 years ago Jumbo fix to quiet compiler warnings by adding (int) cast to
cparker [Fri, 21 Jun 2002 19:57:24 +0000 (19:57 +0000)]
Jumbo fix to quiet compiler warnings by adding (int) cast to
chars for comparison.  Submitted by Jason Ornstein.

21 years ago Added pthread_mutex_destroy to module clean-up.
cparker [Fri, 21 Jun 2002 19:07:03 +0000 (19:07 +0000)]
Added pthread_mutex_destroy to module clean-up.

21 years ago Incorporated patch from Todd T. Fries to rotate through all SQL
cparker [Fri, 21 Jun 2002 18:45:29 +0000 (18:45 +0000)]
Incorporated patch from Todd T. Fries to rotate through all SQL
sockets.

21 years agoAdd Autz-Type file with a few examples and words about Autz-Type
kkalev [Thu, 20 Jun 2002 23:02:36 +0000 (23:02 +0000)]
Add Autz-Type file with a few examples and words about Autz-Type

21 years ago If we receive a duplicate reply from the home server while we're
aland [Thu, 20 Jun 2002 16:19:56 +0000 (16:19 +0000)]
If we receive a duplicate reply from the home server while we're
processing a previous reply, discard the new reply.

21 years agoAdd SHA1 support. Declare the module thread unsafe since it uses crypt()
kkalev [Thu, 20 Jun 2002 14:40:56 +0000 (14:40 +0000)]
Add SHA1 support. Declare the module thread unsafe since it uses crypt()

21 years agoFix a small bug in user_admin.php3
kkalev [Thu, 20 Jun 2002 11:13:56 +0000 (11:13 +0000)]
Fix a small bug in user_admin.php3

21 years ago move sha1 and md4 code into lib
fcusack [Thu, 20 Jun 2002 10:10:42 +0000 (10:10 +0000)]
move sha1 and md4 code into lib

21 years agoAdd another configuration directive: access_attr_used_for_allow. If it is set to
kkalev [Wed, 19 Jun 2002 13:57:17 +0000 (13:57 +0000)]
Add another configuration directive: access_attr_used_for_allow. If it is set to
yes then the access_attr is used to allow access. Else it is used to deny access.
Update the configuration file and the documentation.

21 years agoRemove authtype in the ldap section of radiusd.conf since it should not be included
kkalev [Wed, 19 Jun 2002 13:26:34 +0000 (13:26 +0000)]
Remove authtype in the ldap section of radiusd.conf since it should not be included
in the first place.
Update a few things in the documentation.

21 years ago! should include md4.h rather than md5.h
3APA3A [Wed, 19 Jun 2002 11:49:09 +0000 (11:49 +0000)]
! should include md4.h rather than md5.h

21 years ago One more stab at working around autoconf stupidities
aland [Tue, 18 Jun 2002 21:51:26 +0000 (21:51 +0000)]
One more stab at working around autoconf stupidities

21 years agoAdd the ability to do a paircmp on the check items. Add a compare_check_items boolean
kkalev [Tue, 18 Jun 2002 17:56:57 +0000 (17:56 +0000)]
Add the ability to do a paircmp on the check items. Add a compare_check_items boolean
configuration directive which defaults to no. If it is set then we will do a compare
Update doc/rlm_ldap

21 years ago Fix use of 'test'
aland [Tue, 18 Jun 2002 17:41:01 +0000 (17:41 +0000)]
Fix use of 'test'

21 years ago! netinet/in.h moved after sys/types.h in sha1.c to avoid compilation
3APA3A [Tue, 18 Jun 2002 16:17:32 +0000 (16:17 +0000)]
! netinet/in.h moved after sys/types.h in sha1.c to avoid compilation
  errors under *BSD
+ smbencrypt utility added for LM-Password/NT-Password generation

21 years ago! Fixed rad_tunnel_pwdecode for passwords longer than 16 characters
3APA3A [Tue, 18 Jun 2002 15:22:14 +0000 (15:22 +0000)]
! Fixed rad_tunnel_pwdecode for passwords longer than 16 characters

21 years ago Define top_srcdir, too, for new libtool.
aland [Tue, 18 Jun 2002 14:56:35 +0000 (14:56 +0000)]
Define top_srcdir, too, for new libtool.

Make perl/snmpget/snmpwalk optional, as they may not be necessary.

21 years ago Removed checks for unused programs
aland [Mon, 17 Jun 2002 18:46:40 +0000 (18:46 +0000)]
Removed checks for unused programs

21 years ago Allow lines without \n, when at the end of the file.
aland [Mon, 17 Jun 2002 15:34:32 +0000 (15:34 +0000)]
Allow lines without \n, when at the end of the file.

21 years ago valid type is actually 2, not 1.
fcusack [Mon, 17 Jun 2002 08:28:25 +0000 (08:28 +0000)]
valid type is actually 2, not 1.

21 years ago Make a soft link in two steps.
aland [Fri, 14 Jun 2002 15:19:10 +0000 (15:19 +0000)]
Make a soft link in two steps.

Bug noted by bj@zuto.de (Rainer Clasen)

21 years ago Added initial handlers for pre-proxy, post-proxy, and post-auth.
aland [Fri, 14 Jun 2002 15:17:38 +0000 (15:17 +0000)]
Added initial handlers for pre-proxy, post-proxy, and post-auth.

The idea is to allow even more configuration of the server.

Right now, the new functions aren't called from anywhere, and no
modules have been updated to include them.  But it's a step.

21 years ago Include more header files.
aland [Fri, 14 Jun 2002 14:54:29 +0000 (14:54 +0000)]
Include more header files.

21 years ago Minor changes to follow the RFC's. If we receive 256 bytes of
aland [Wed, 12 Jun 2002 16:17:17 +0000 (16:17 +0000)]
Minor changes to follow the RFC's.  If we receive 256 bytes of
data, and the RADIUS 'length' field syas that there are 128 bytes,
then the RFC says that the extra octets MUST be ignored.

21 years ago Add Freeradius-Proxied-To attribute as a VSA in the dictionary,
aland [Tue, 11 Jun 2002 18:09:48 +0000 (18:09 +0000)]
Add Freeradius-Proxied-To attribute as a VSA in the dictionary,
and in the header files.

21 years ago Minor changes to simplify the rules
aland [Tue, 11 Jun 2002 18:06:36 +0000 (18:06 +0000)]
Minor changes to simplify the rules

21 years ago Patch to add radrelay (from the Cistron server) to FreeRADIUS
aland [Tue, 11 Jun 2002 17:48:11 +0000 (17:48 +0000)]
Patch to add radrelay (from the Cistron server) to FreeRADIUS

Originally by Miquel van Smoorenburg, ported to FreeRADIUS
by Simon <lists@routemeister.net>

21 years ago Preliminary driver for sybase database, from mattias@nogui.se
aland [Tue, 11 Jun 2002 17:41:54 +0000 (17:41 +0000)]
Preliminary driver for sybase database, from mattias@nogui.se