freeradius.git
20 years ago If we don't have threads, don't use pthread functions
aland [Mon, 15 Sep 2003 17:12:45 +0000 (17:12 +0000)]
If we don't have threads, don't use pthread functions

20 years agoAdd LGPL boilerplate for files from which it is missing.
phampson [Fri, 12 Sep 2003 19:25:28 +0000 (19:25 +0000)]
Add LGPL boilerplate for files from which it is missing.
Patch from Nicolas Baradakis <nbk@sitadelle.com>.

20 years agoConsider the account locked either if Dialup-Access == FALSE or if it is not set...
kkalev [Fri, 12 Sep 2003 13:38:46 +0000 (13:38 +0000)]
Consider the account locked either if Dialup-Access == FALSE or if it is not set at all

20 years agoCorrect GPL boilerplate in files which had it wrong or with typos.
phampson [Thu, 11 Sep 2003 12:48:25 +0000 (12:48 +0000)]
Correct GPL boilerplate in files which had it wrong or with typos.
Patch from Nicolas Baradakis <nbk@sitadelle.com>

20 years agoAdd GNU GPLv2 boilerplate to the top of files which were missing from it.
phampson [Thu, 11 Sep 2003 00:53:59 +0000 (00:53 +0000)]
Add GNU GPLv2 boilerplate to the top of files which were missing from it.
Patch from Nicholas Baradakis [nbk@sitadelle.com]

20 years ago More RADIUS RFC's
aland [Wed, 10 Sep 2003 21:40:07 +0000 (21:40 +0000)]
More RADIUS RFC's

20 years ago New RFC's about RADIUS. 3579 and 3580 to follow when issued.
aland [Wed, 10 Sep 2003 21:39:01 +0000 (21:39 +0000)]
New RFC's about RADIUS.  3579 and 3580 to follow when issued.

20 years ago Minor updates
aland [Wed, 10 Sep 2003 18:57:10 +0000 (18:57 +0000)]
Minor updates

20 years ago attributes of type 'int' require a value
aland [Wed, 10 Sep 2003 14:20:58 +0000 (14:20 +0000)]
attributes of type 'int' require a value

Patch from Peter Stamfest

20 years ago Selected attributes are NEVER copied to the tunnel, by policy.
aland [Fri, 5 Sep 2003 21:51:07 +0000 (21:51 +0000)]
Selected attributes are NEVER copied to the tunnel, by policy.

20 years agoUpdate Changelog with 0.9.1 details.
phampson [Fri, 5 Sep 2003 18:56:23 +0000 (18:56 +0000)]
Update Changelog with 0.9.1 details.

20 years ago Be a little smarter
aland [Fri, 5 Sep 2003 18:54:40 +0000 (18:54 +0000)]
Be a little smarter

20 years ago More documentation for TTLS
aland [Thu, 4 Sep 2003 15:50:10 +0000 (15:50 +0000)]
More documentation for TTLS

20 years ago Added new configuration entry to copy some attributes from
aland [Thu, 4 Sep 2003 15:46:33 +0000 (15:46 +0000)]
Added new configuration entry to copy some attributes from
outside of the tunnel to inside of the tunnel.

20 years agoRegenerate after adding <stdio.h> to gethostby{addr,name}-style checks.
phampson [Wed, 3 Sep 2003 19:10:11 +0000 (19:10 +0000)]
Regenerate after adding <stdio.h> to gethostby{addr,name}-style checks.

20 years agoInclude <stdio.h> when we test for gethostby{addr,name}-style, so that NULL
phampson [Wed, 3 Sep 2003 19:06:50 +0000 (19:06 +0000)]
Include <stdio.h> when we test for gethostby{addr,name}-style, so that NULL
is acceptable both visually and for code-validators.
Thanks to Oliver Graf <ograf@rz-online.net>
Also, throw some comments in to explain what's going on in those tests.

20 years agoCorrectly skip subdirectories without a Makefile
phampson [Wed, 3 Sep 2003 18:40:50 +0000 (18:40 +0000)]
Correctly skip subdirectories without a Makefile

20 years agoDon't try to make in directories without a makefile.
phampson [Wed, 3 Sep 2003 16:42:01 +0000 (16:42 +0000)]
Don't try to make in directories without a makefile.
Poor man's substitute for a 'stable' file.

20 years agoGlob patch to change #if to #ifdef when checking variables, so that we
cparker [Wed, 3 Sep 2003 15:19:27 +0000 (15:19 +0000)]
Glob patch to change #if to #ifdef when checking variables, so that we
actually check if the variable is defined, rather than if it has a value.
This is more correct syntax, and will quiet compiler warnings on systems
that don't have the headers in questions and thus don't have the variable
defined.

20 years agoUpdate to remove documentation directory, now that this is 1.0.0-pre0
phampson [Wed, 3 Sep 2003 13:15:08 +0000 (13:15 +0000)]
Update to remove documentation directory, now that this is 1.0.0-pre0

20 years agoQuiet compiler warnings when #if was used in place of #ifdef and the
cparker [Tue, 2 Sep 2003 21:17:26 +0000 (21:17 +0000)]
Quiet compiler warnings when #if was used in place of #ifdef and the
variable was not defined.

20 years ago Removed unused parameters
aland [Tue, 2 Sep 2003 20:58:58 +0000 (20:58 +0000)]
Removed unused parameters

20 years ago Don't use warning flags which are too new, and thus not wide-spread
aland [Tue, 2 Sep 2003 20:51:30 +0000 (20:51 +0000)]
Don't use warning flags which are too new, and thus not wide-spread

20 years ago Allocate memory only if it wasn't already allocated
aland [Tue, 2 Sep 2003 18:38:52 +0000 (18:38 +0000)]
Allocate memory only if it wasn't already allocated

20 years ago Implemented sql_destroy_socket
aland [Tue, 2 Sep 2003 18:30:29 +0000 (18:30 +0000)]
Implemented sql_destroy_socket

20 years ago Even more warnings for developers, from Steve G.
aland [Tue, 2 Sep 2003 15:52:05 +0000 (15:52 +0000)]
Even more warnings for developers, from Steve G.

20 years ago Fix for ac_struct_foo_has_member_bar
aland [Tue, 2 Sep 2003 15:03:00 +0000 (15:03 +0000)]
Fix for ac_struct_foo_has_member_bar

Reported by Jan Berkel

20 years agoSkip ill-formed comparison operators correctly, which removes a warning
phampson [Mon, 1 Sep 2003 15:50:14 +0000 (15:50 +0000)]
Skip ill-formed comparison operators correctly, which removes a warning
about comparing unsigned values to >= 0.

Thanks to Steve Grubb <linux_4ever@yahoo.com>

20 years agoAdd prototypes to prevent compiler warnings.
phampson [Mon, 1 Sep 2003 03:34:02 +0000 (03:34 +0000)]
Add prototypes to prevent compiler warnings.

Patch from Steve Grubb <linux_4ever@yahoo.com>

20 years agoMake arrays const unsigned char.
phampson [Mon, 1 Sep 2003 03:29:38 +0000 (03:29 +0000)]
Make arrays const unsigned char.
Patch by Steve Grubb <linux_4ever@yahoo.com>

20 years agoFix redundant check for uint32_t >= 0.
phampson [Mon, 1 Sep 2003 03:00:28 +0000 (03:00 +0000)]
Fix redundant check for uint32_t >= 0.
Thanks to Steve Grubb <linux_4ever@yahoo.com>

20 years agoDeleted rad_assert_fail declaration: This should only be called from
phampson [Sun, 31 Aug 2003 16:10:41 +0000 (16:10 +0000)]
Deleted rad_assert_fail declaration: This should only be called from
the rad_assert macro in rad_assert.h

20 years agoFix a silly bug in get_radius_id(). Thanks to Paul Hampson.
kkalev [Sat, 30 Aug 2003 12:12:48 +0000 (12:12 +0000)]
Fix a silly bug in get_radius_id(). Thanks to Paul Hampson.

20 years ago Stupid snprintf garbage
aland [Fri, 29 Aug 2003 13:57:51 +0000 (13:57 +0000)]
Stupid snprintf garbage

20 years agoIn case of a bad search filter, print out the corresponding filter
kkalev [Fri, 29 Aug 2003 12:11:51 +0000 (12:11 +0000)]
In case of a bad search filter, print out the corresponding filter

20 years ago Decode Packet-Type, too
aland [Thu, 28 Aug 2003 18:37:14 +0000 (18:37 +0000)]
Decode Packet-Type, too

Based on a patch from Nicolas Baradakis

20 years ago A step towards allowing static linking
aland [Thu, 28 Aug 2003 17:32:02 +0000 (17:32 +0000)]
A step towards allowing static linking

20 years ago List a few more things
aland [Thu, 28 Aug 2003 17:31:07 +0000 (17:31 +0000)]
List a few more things

20 years ago Added --with-openssl-includes=DIR
aland [Thu, 28 Aug 2003 16:58:42 +0000 (16:58 +0000)]
Added --with-openssl-includes=DIR
      --with-openssl-libraries=DIR

20 years ago Minor re-arrangement
aland [Thu, 28 Aug 2003 16:16:37 +0000 (16:16 +0000)]
Minor re-arrangement

20 years ago Added sample entry for TTLS
aland [Thu, 28 Aug 2003 15:48:22 +0000 (15:48 +0000)]
Added sample entry for TTLS

20 years ago New TTLS module. Verified to work with tunneled PAP, CHAP, MS-CHAP,
aland [Thu, 28 Aug 2003 15:46:14 +0000 (15:46 +0000)]
New TTLS module.  Verified to work with tunneled PAP, CHAP, MS-CHAP,
EAP-MD5.

20 years agoUse the new syntax (-v2c -c <comm>) in snmpwalk and snmpget. Net-SNMP >5.xx
kkalev [Thu, 28 Aug 2003 15:28:47 +0000 (15:28 +0000)]
Use the new syntax (-v2c -c <comm>) in snmpwalk and snmpget. Net-SNMP >5.xx
only supports this syntax

20 years agoWhen we get to a broken attribute do an fseek to fpos + strlen(buf) not just fpos
kkalev [Thu, 28 Aug 2003 13:26:12 +0000 (13:26 +0000)]
When we get to a broken attribute do an fseek to fpos + strlen(buf) not just fpos
Add a few debug statements
Rewrite get_radius_id() so that now it works correctly
Free the radius packet id when we drop a packet with Client-IP == Dest-IP

Now radrelay should work ok. These changes should probably also go in 0.9.1
TODO: Make the time we sleep between sending radius requests user configurable.

20 years agoAlso check for $server != '' in stats.php3. Bug noted by Ulrich Walcher <uwalcher...
kkalev [Thu, 28 Aug 2003 13:01:59 +0000 (13:01 +0000)]
Also check for $server != '' in stats.php3. Bug noted by Ulrich Walcher <uwalcher@bcore.de>

20 years agoSync with 0.9 branch
pnixon [Thu, 28 Aug 2003 10:16:52 +0000 (10:16 +0000)]
Sync with 0.9 branch

20 years agoPull from CVS branch_0_9: Don't look for threading functions if it's built without...
phampson [Thu, 28 Aug 2003 01:27:36 +0000 (01:27 +0000)]
Pull from CVS branch_0_9: Don't look for threading functions if it's built without threads

20 years agoPull from CVS branch_0_9: Added missing post-0.9.0 changes to changelog.
phampson [Thu, 28 Aug 2003 00:48:39 +0000 (00:48 +0000)]
Pull from CVS branch_0_9: Added missing post-0.9.0 changes to changelog.

20 years agoOnly -HUP the parent process on reload.
phampson [Thu, 28 Aug 2003 00:44:58 +0000 (00:44 +0000)]
Only -HUP the parent process on reload.
Thanks to Simon Allard <simon.allard@staff.ihug.co.nz>.

20 years agoMention that autoconf must be 2.1x, not 2.5x.
phampson [Wed, 27 Aug 2003 16:17:16 +0000 (16:17 +0000)]
Mention that autoconf must be 2.1x, not 2.5x.

20 years agoPull from CVS branch_0_9: single-column ls output for safety in sed.
phampson [Wed, 27 Aug 2003 16:12:28 +0000 (16:12 +0000)]
Pull from CVS branch_0_9: single-column ls output for safety in sed.

20 years ago as posted to the list
aland [Wed, 27 Aug 2003 16:10:46 +0000 (16:10 +0000)]
as posted to the list

20 years agoRemove autogenerated index.html
phampson [Wed, 27 Aug 2003 16:08:08 +0000 (16:08 +0000)]
Remove autogenerated index.html

20 years agoAdd Debian packaging files to list of files to edit for version number change
phampson [Wed, 27 Aug 2003 15:53:13 +0000 (15:53 +0000)]
Add Debian packaging files to list of files to edit for version number change

20 years agoCorrected typo in the example, and listed all the *-Type attributes
phampson [Wed, 27 Aug 2003 15:13:14 +0000 (15:13 +0000)]
Corrected typo in the example, and listed all the *-Type attributes
available.

20 years ago Dictionary type over-rides what the caller asks for
aland [Tue, 26 Aug 2003 15:51:26 +0000 (15:51 +0000)]
Dictionary type over-rides what the caller asks for

20 years agoAdd a few more attribute help pages from Ulrich Walcher <uwalcher@bcore.de>
kkalev [Tue, 26 Aug 2003 14:38:26 +0000 (14:38 +0000)]
Add a few more attribute help pages from Ulrich Walcher <uwalcher@bcore.de>

20 years ago Correct return code from userparse()
aland [Mon, 25 Aug 2003 19:06:28 +0000 (19:06 +0000)]
Correct return code from userparse()

Patch from Erno Kuusela

20 years agoPull from branch_0_9: Widen call{ed,ing}stationid from 30 to 50
phampson [Mon, 25 Aug 2003 18:54:50 +0000 (18:54 +0000)]
Pull from branch_0_9: Widen call{ed,ing}stationid from 30 to 50
Pull from branch_0_9: Add naslocation column and some comments to nas table

20 years agoRemove bonus whitespace.
phampson [Mon, 25 Aug 2003 18:24:23 +0000 (18:24 +0000)]
Remove bonus whitespace.

20 years agoPull from CVS branch_0_9: Add more attributes for Nomadix dictionary
phampson [Mon, 25 Aug 2003 18:22:11 +0000 (18:22 +0000)]
Pull from CVS branch_0_9: Add more attributes for Nomadix dictionary

20 years agoPull from CVS head: Build-dependancies due to new libtool 1.5
phampson [Mon, 25 Aug 2003 18:04:18 +0000 (18:04 +0000)]
Pull from CVS head: Build-dependancies due to new libtool 1.5
Pull from CVS head: Merge sed statements into single sed statement
Pull from CVS head: Renamed binary manpage to match freeradius binary
Pull from CVS head: Install SQL database examples into examples directory

20 years agoPull from CVS head: Add missing prototypes to silence warnings about externs becoming...
phampson [Mon, 25 Aug 2003 17:52:34 +0000 (17:52 +0000)]
Pull from CVS head: Add missing prototypes to silence warnings about externs becoming static.
Also, pull documentation of PQExec from CVS head.

20 years agoPull from CVS head: Pull in openssl/md5.h for MD5_DIGEST_LENGTH
phampson [Mon, 25 Aug 2003 17:49:34 +0000 (17:49 +0000)]
Pull from CVS head: Pull in openssl/md5.h for MD5_DIGEST_LENGTH

20 years agoAdd missing prototypes to silence warnings about externs becoming static.
phampson [Fri, 22 Aug 2003 17:27:14 +0000 (17:27 +0000)]
Add missing prototypes to silence warnings about externs becoming static.
 - sql_store_result
 - sql_num_fields

20 years agoChange build-dependancies so that we don't try to apply libtool 1.5 by
phampson [Fri, 22 Aug 2003 17:08:56 +0000 (17:08 +0000)]
Change build-dependancies so that we don't try to apply libtool 1.5 by
accident.

Thanks to Nicolas Baradakis <nbk@sitadelle.com>

20 years agoRegenerate from configure.in: Fix (again) gethostby{addr,name}{,_r}.
phampson [Fri, 22 Aug 2003 16:46:08 +0000 (16:46 +0000)]
Regenerate from configure.in: Fix (again) gethostby{addr,name}{,_r}.

20 years agoAllow systems without recognisable gethostby{addr,name}_r to fail the tests
phampson [Fri, 22 Aug 2003 16:42:31 +0000 (16:42 +0000)]
Allow systems without recognisable gethostby{addr,name}_r to fail the tests
and select gethostby{addr,name}, rather than passing GNU-style tests with
warnings, and then failing to link.

Thanks to Oliver Graf <ograf@rz-online.net>.

20 years agoPull in openssl/md5.h for MD5_DIGEST_LENGTH
phampson [Fri, 22 Aug 2003 14:59:48 +0000 (14:59 +0000)]
Pull in openssl/md5.h for MD5_DIGEST_LENGTH

20 years agoRegenerated from configure.in after reinstatement of configure.in
phampson [Thu, 21 Aug 2003 03:10:32 +0000 (03:10 +0000)]
Regenerated from configure.in after reinstatement of configure.in

20 years agoSource for configure script. (Copied from rlm_counter, as the configure
phampson [Thu, 21 Aug 2003 03:09:17 +0000 (03:09 +0000)]
Source for configure script. (Copied from rlm_counter, as the configure
script itself appears to have been)

20 years agoRegenerate from configure.in after: Fix detection of libgdbm_compat (GNU DBM >= 1...
phampson [Thu, 21 Aug 2003 01:00:35 +0000 (01:00 +0000)]
Regenerate from configure.in after: Fix detection of libgdbm_compat (GNU DBM >= 1.8.1)

20 years agoBackport from CVS head: Fix detection of libgdbm_compat (GNU DBM >= 1.8.1)
phampson [Thu, 21 Aug 2003 00:59:32 +0000 (00:59 +0000)]
Backport from CVS head: Fix detection of libgdbm_compat (GNU DBM >= 1.8.1)

20 years agoRegenerate from configure.in after: Fix detection of libgdbm_compat (GNU DBM >= 1...
phampson [Thu, 21 Aug 2003 00:51:43 +0000 (00:51 +0000)]
Regenerate from configure.in after: Fix detection of libgdbm_compat (GNU DBM >= 1.8.1)

20 years agoFix detection of libgdbm_compat (GNU DBM >= 1.8.1)
phampson [Thu, 21 Aug 2003 00:50:52 +0000 (00:50 +0000)]
Fix detection of libgdbm_compat (GNU DBM >= 1.8.1)

20 years ago Moved UINT4 stuff in md4 & md5 to uint32_t, which is more portable.
aland [Wed, 20 Aug 2003 19:22:06 +0000 (19:22 +0000)]
Moved UINT4 stuff in md4 & md5 to uint32_t, which is more portable.

20 years agoUpdate version for latest CVS debian/ change.
phampson [Wed, 20 Aug 2003 17:37:14 +0000 (17:37 +0000)]
Update version for latest CVS debian/ change.

20 years agoMake the manpage for freeradius be freeradius(8), not radiusd(8), to match
phampson [Tue, 19 Aug 2003 13:02:44 +0000 (13:02 +0000)]
Make the manpage for freeradius be freeradius(8), not radiusd(8), to match
the binary name.

20 years ago Don't get excited if there's no user name
aland [Mon, 18 Aug 2003 18:37:02 +0000 (18:37 +0000)]
Don't get excited if there's no user name

20 years ago Don't get excited if there's no user name
aland [Mon, 18 Aug 2003 18:34:28 +0000 (18:34 +0000)]
Don't get excited if there's no user name

20 years ago Added 'None' value for EAP-Type
aland [Thu, 14 Aug 2003 17:50:35 +0000 (17:50 +0000)]
Added 'None' value for EAP-Type

20 years ago EAP-Type = None means that we don't do EAP for this user.
aland [Thu, 14 Aug 2003 17:50:18 +0000 (17:50 +0000)]
EAP-Type = None means that we don't do EAP for this user.

20 years ago Control whether or not a client certificate is required.
aland [Thu, 14 Aug 2003 17:25:12 +0000 (17:25 +0000)]
Control whether or not a client certificate is required.

Updates to error codes for SSL

20 years ago Added attribute to control behaviour of TLS
aland [Thu, 14 Aug 2003 17:24:11 +0000 (17:24 +0000)]
Added attribute to control behaviour of TLS

20 years ago Added note about memory leaks in pam libraries
aland [Thu, 14 Aug 2003 16:36:42 +0000 (16:36 +0000)]
Added note about memory leaks in pam libraries

20 years ago Allow only some old names. Bug noted by Samuel Degrande
aland [Thu, 14 Aug 2003 16:33:16 +0000 (16:33 +0000)]
Allow only some old names.  Bug noted by Samuel Degrande

20 years ago Another stab at statically linking rlm_eap
aland [Wed, 13 Aug 2003 18:27:28 +0000 (18:27 +0000)]
Another stab at statically linking rlm_eap

20 years ago This is needed for CA.all
aland [Wed, 13 Aug 2003 18:20:05 +0000 (18:20 +0000)]
This is needed for CA.all

20 years ago updated docs
aland [Wed, 13 Aug 2003 16:54:40 +0000 (16:54 +0000)]
updated docs

20 years ago This may work...
aland [Tue, 12 Aug 2003 13:50:03 +0000 (13:50 +0000)]
This may work...

20 years ago Added pre/post-proxy sections to detail module
aland [Mon, 11 Aug 2003 17:06:51 +0000 (17:06 +0000)]
Added pre/post-proxy sections to detail module

Added comments in 'radiusd.conf', to show how all stages of
packet processing can be logged with the 'detail' module.

20 years agoChange AcctStopTime = '0' with AcctStopTime IS NULL
kkalev [Mon, 11 Aug 2003 14:15:16 +0000 (14:15 +0000)]
Change AcctStopTime = '0' with AcctStopTime IS NULL

20 years ago Push the requirement for a User-Name attribute down to the
aland [Fri, 8 Aug 2003 19:20:40 +0000 (19:20 +0000)]
Push the requirement for a User-Name attribute down to the
individual EAP modules.

20 years ago LEAP requires a User-Name attribute
aland [Fri, 8 Aug 2003 19:06:00 +0000 (19:06 +0000)]
LEAP requires a User-Name attribute

20 years ago Check for, and use, Framed-MTU
aland [Fri, 8 Aug 2003 17:14:46 +0000 (17:14 +0000)]
Check for, and use, Framed-MTU

20 years ago Added a massively helpful script
aland [Fri, 8 Aug 2003 14:17:09 +0000 (14:17 +0000)]
Added a massively helpful script

20 years ago slight changes to debug messages
aland [Fri, 8 Aug 2003 14:06:36 +0000 (14:06 +0000)]
slight changes to debug messages

20 years ago Try to handle the case where we get an ACK after sending the
aland [Fri, 8 Aug 2003 14:03:47 +0000 (14:03 +0000)]
Try to handle the case where we get an ACK after sending the
last fragment

20 years ago new TLS header file
aland [Thu, 7 Aug 2003 17:14:47 +0000 (17:14 +0000)]
new TLS header file

20 years ago Use appropriate pointer
aland [Thu, 7 Aug 2003 14:39:19 +0000 (14:39 +0000)]
Use appropriate pointer