freeradius.git
17 years agoApplied radiusd-pamd.diff. thanks to SUSE
pnixon [Sun, 4 Feb 2007 15:10:11 +0000 (15:10 +0000)]
Applied radiusd-pamd.diff. thanks to SUSE

17 years agoAdd -pie patch thanks to SUSE
pnixon [Sun, 4 Feb 2007 14:39:50 +0000 (14:39 +0000)]
Add -pie patch thanks to SUSE

17 years ago Updated for latest changes
aland [Tue, 30 Jan 2007 13:11:54 +0000 (13:11 +0000)]
Updated for latest changes

17 years ago Don't start if the config files are globally readable or writable.
aland [Tue, 30 Jan 2007 13:04:40 +0000 (13:04 +0000)]
Don't start if the config files are globally readable or writable.

Writable means that anyone can execute programs as the server.

Readable means that anyone can read the shared secrets, and spoof
the server

17 years ago Die if we see globally writable dictionaries. That lets any
aland [Tue, 30 Jan 2007 13:00:44 +0000 (13:00 +0000)]
Die if we see globally writable dictionaries.  That lets any
user control the server

17 years ago Increase the size of the value buffer to allow parsing octet
aland [Tue, 30 Jan 2007 12:58:23 +0000 (12:58 +0000)]
Increase the size of the value buffer to allow parsing octet
strings of "0x" + (253 * 2) bytes

17 years ago Add ASN dictionary, and include it
aland [Tue, 30 Jan 2007 10:55:00 +0000 (10:55 +0000)]
Add ASN dictionary, and include it

17 years agofile dictionary.asn was added on branch branch_1_1 on 2007-01-30 10:54:59 +0000
aland [Sun, 28 Jan 2007 08:09:18 +0000 (08:09 +0000)]
file dictionary.asn was added on branch branch_1_1 on 2007-01-30 10:54:59 +0000

17 years ago use strNcpy, not strncpy, and use the size of the output buffer,
aland [Fri, 26 Jan 2007 09:38:38 +0000 (09:38 +0000)]
use strNcpy, not strncpy, and use the size of the output buffer,
rather than the size of the input buffer

17 years ago Fix longstanding bug where the session wasn't being properly
aland [Wed, 24 Jan 2007 12:24:49 +0000 (12:24 +0000)]
Fix longstanding bug where the session wasn't being properly
terminated on SSL error.  Instead, it continued, but set a bad
pointer, causing a server crash.

17 years ago Remove old text, and clarify other text
aland [Thu, 18 Jan 2007 14:01:19 +0000 (14:01 +0000)]
Remove old text, and clarify other text

17 years agoteach sqlippool to report if it allocated and IP or not via return code. Closed bug 414
pnixon [Wed, 10 Jan 2007 16:07:18 +0000 (16:07 +0000)]
teach sqlippool to report if it allocated and IP or not via return code. Closed bug 414

17 years agoAdd X-Ascend-Session-Svr-Key to table to allow Packet of Disconnects
pnixon [Fri, 5 Jan 2007 15:27:05 +0000 (15:27 +0000)]
Add X-Ascend-Session-Svr-Key to table to allow Packet of Disconnects

17 years ago notes about existing users release_1_1_4
aland [Fri, 5 Jan 2007 00:10:39 +0000 (00:10 +0000)]
notes about existing users

17 years ago Noted changes to rlm_pap
aland [Thu, 4 Jan 2007 23:48:53 +0000 (23:48 +0000)]
Noted changes to rlm_pap

17 years ago Updated version number
aland [Thu, 4 Jan 2007 23:42:11 +0000 (23:42 +0000)]
Updated version number

17 years ago Note changes to rlm_pap
aland [Tue, 19 Dec 2006 00:37:15 +0000 (00:37 +0000)]
Note changes to rlm_pap

17 years ago Updated functionality for rlm_pap
aland [Tue, 19 Dec 2006 00:35:57 +0000 (00:35 +0000)]
Updated functionality for rlm_pap

17 years agooops. invalid syntax.. Test things before you commit to cvs peter!
pnixon [Tue, 12 Dec 2006 12:10:30 +0000 (12:10 +0000)]
oops. invalid syntax.. Test things before you commit to cvs peter!

17 years ago Defined Cleartext-Password and Password-With-Header, taken
aland [Sat, 9 Dec 2006 00:17:36 +0000 (00:17 +0000)]
Defined Cleartext-Password and Password-With-Header, taken
from the CVS head

17 years ago Added recent notes
aland [Thu, 30 Nov 2006 00:33:08 +0000 (00:33 +0000)]
Added recent notes

17 years ago Vista workarounds
aland [Wed, 29 Nov 2006 22:59:48 +0000 (22:59 +0000)]
Vista workarounds

17 years ago Print out more information about bad packets
aland [Tue, 28 Nov 2006 18:59:50 +0000 (18:59 +0000)]
Print out more information about bad packets

17 years ago Updated names so that upper/lower case matches. Patch from
aland [Tue, 28 Nov 2006 18:24:24 +0000 (18:24 +0000)]
    Updated names so that upper/lower case matches.  Patch from
        Daniel Larsson

17 years ago Pull -r1.23 -> -r1.24 from CVS head
aland [Mon, 27 Nov 2006 20:44:19 +0000 (20:44 +0000)]
Pull -r1.23 -> -r1.24 from CVS head

17 years ago Parse a VALUE as an integer only if ALL of its characters
aland [Sun, 26 Nov 2006 19:54:00 +0000 (19:54 +0000)]
Parse a VALUE as an integer only if ALL of its characters
are decimal digits

17 years ago VALUEs can only be defined for 'string' and 'octets' type.
aland [Sun, 26 Nov 2006 19:50:14 +0000 (19:50 +0000)]
VALUEs can only be defined for 'string' and 'octets' type.

The 'octets' isn't really allowed, but is there until we support
BYTE and SHORT types, for dictionary.cablelabs

17 years ago ATTRIBUTEs of type STRING shouldn't have VALUEs
aland [Sun, 26 Nov 2006 19:48:10 +0000 (19:48 +0000)]
ATTRIBUTEs of type STRING shouldn't have VALUEs

17 years ago Correct definitions for stats, from
aland [Sun, 26 Nov 2006 19:44:55 +0000 (19:44 +0000)]
Correct definitions for stats, from
http://www.juniper.net/techpubs/software/erx/junose60/unisphere6-0.dct

17 years ago Include dictionary.sofaware
aland [Sun, 26 Nov 2006 19:29:19 +0000 (19:29 +0000)]
Include dictionary.sofaware

17 years ago As posted to the list by Jacques Bourdeau
aland [Sun, 26 Nov 2006 18:21:02 +0000 (18:21 +0000)]
As posted to the list by Jacques Bourdeau

17 years ago Permit EAP-Message and State from the home server, so that
aland [Wed, 22 Nov 2006 17:00:01 +0000 (17:00 +0000)]
Permit EAP-Message and State from the home server, so that
EAP works.  Bug noted by Stefan Winter

17 years ago Update the types that were mistakenly inversed. (closes: #401)
nbk [Mon, 20 Nov 2006 13:45:25 +0000 (13:45 +0000)]
Update the types that were mistakenly inversed. (closes: #401)
Thanks to Andrea Scharfe <schmedi@gmail.com>

17 years agoPull from CVS head:
nbk [Sun, 19 Nov 2006 18:46:31 +0000 (18:46 +0000)]
Pull from CVS head:
Patch to allow /var/run to be a tmpfs.

17 years ago Update for 1.1.4
nbk [Sun, 19 Nov 2006 18:25:40 +0000 (18:25 +0000)]
Update for 1.1.4

17 years ago Update for 1.1.4.
nbk [Sat, 18 Nov 2006 15:43:45 +0000 (15:43 +0000)]
Update for 1.1.4.

17 years ago Fix a corner case where the proxy port isn't set either in
nbk [Sat, 18 Nov 2006 15:03:39 +0000 (15:03 +0000)]
Fix a corner case where the proxy port isn't set either in
radiusd.conf or in proxy.conf.

Bug reported by Tomas Martisius <tomas@puga.vdu.lt>
See http://bugs.debian.org/388024

17 years agoPull from CVS head:
nbk [Sat, 18 Nov 2006 14:45:17 +0000 (14:45 +0000)]
Pull from CVS head:
Add a new "reply-name" directive to choose the attribute which will
contain the remaining value for the counter in the reply packet when
the user is successfully authorized. (closes: #403)

17 years agoPull from CVS head:
nbk [Sat, 18 Nov 2006 13:05:08 +0000 (13:05 +0000)]
Pull from CVS head:
Add a new "-f" option to read the password from a file,
instead of command line. (closes: #395)

17 years agoPull from CVS head:
nbk [Sat, 18 Nov 2006 12:58:34 +0000 (12:58 +0000)]
Pull from CVS head:
Add a new "-f" option to read the password from a file,
instead of command line. (closes: #395)

17 years ago Corrected typo
aland [Fri, 17 Nov 2006 00:01:18 +0000 (00:01 +0000)]
Corrected typo

17 years ago More attributes, from bug #408
aland [Thu, 16 Nov 2006 00:50:23 +0000 (00:50 +0000)]
More attributes, from bug #408

17 years ago Check return code of malloc
aland [Thu, 16 Nov 2006 00:47:36 +0000 (00:47 +0000)]
Check return code of malloc

17 years ago Check return code of malloc in testing code
aland [Thu, 16 Nov 2006 00:44:56 +0000 (00:44 +0000)]
Check return code of malloc in testing code

17 years ago Corrected typo
aland [Wed, 15 Nov 2006 17:35:20 +0000 (17:35 +0000)]
Corrected typo

17 years agoImplement draft-schulzrinne-sipping-radius-accounting-00.txt
pnixon [Tue, 14 Nov 2006 00:35:20 +0000 (00:35 +0000)]
Implement draft-schulzrinne-sipping-radius-accounting-00.txt

17 years agodictionary.digest should actually be dictionary.rfc4590
pnixon [Mon, 13 Nov 2006 23:57:31 +0000 (23:57 +0000)]
dictionary.digest should actually be dictionary.rfc4590

17 years agoIncorrect attribute name as reported by "Duane Cox"
pnixon [Mon, 13 Nov 2006 17:08:13 +0000 (17:08 +0000)]
Incorrect attribute name as reported by "Duane Cox"

17 years ago Removed double free. This fixes bug #404
aland [Thu, 26 Oct 2006 17:13:04 +0000 (17:13 +0000)]
Removed double free.  This fixes bug #404

17 years agoimport from HEAD
fcusack [Tue, 24 Oct 2006 05:36:08 +0000 (05:36 +0000)]
import from HEAD
add new header ident.h

17 years ago add new header ident.h
fcusack [Tue, 24 Oct 2006 05:33:01 +0000 (05:33 +0000)]
add new header ident.h

17 years agoimport from HEAD
fcusack [Tue, 24 Oct 2006 05:15:45 +0000 (05:15 +0000)]
import from HEAD
prevent rcsid from being optimized out

17 years agoimport from HEAD:
fcusack [Tue, 24 Oct 2006 04:45:13 +0000 (04:45 +0000)]
import from HEAD:
s/bad state/bad radstate/ to be clear that it's not token state

17 years agoimport from HEAD:
fcusack [Tue, 24 Oct 2006 04:40:58 +0000 (04:40 +0000)]
import from HEAD:
remove trailing "\n" from some radlog() calls

17 years agoimport from HEAD:
fcusack [Tue, 24 Oct 2006 04:38:04 +0000 (04:38 +0000)]
import from HEAD:
otp_putfd(): add disconnect arg, to allow just mutex release, avoiding
fd leak in radiusd and otpd
otp_verify(): otp_putfd(fdp, 0) on successful return, otp_putfd(fdp, 1)
on 2 error return cases that we missed

17 years ago typo
fcusack [Tue, 24 Oct 2006 04:34:24 +0000 (04:34 +0000)]
typo

17 years ago no longer used
fcusack [Tue, 24 Oct 2006 04:33:53 +0000 (04:33 +0000)]
no longer used

17 years ago document rlm_otp fd leak fix
fcusack [Tue, 24 Oct 2006 04:20:54 +0000 (04:20 +0000)]
document rlm_otp fd leak fix

17 years ago otp_putfd(): add disconnect arg, to allow just mutex release, avoiding
fcusack [Tue, 24 Oct 2006 04:02:37 +0000 (04:02 +0000)]
otp_putfd(): add disconnect arg, to allow just mutex release, avoiding
fd leak in radiusd and otpd
otp_verify(): otp_putfd(fdp, 0) on successful return, otp_putfd(fdp, 1)
on 2 error return cases that we missed

17 years ago remove trailing "\n"s from some radlog() calls
fcusack [Tue, 24 Oct 2006 03:19:06 +0000 (03:19 +0000)]
remove trailing "\n"s from some radlog() calls

17 years ago fix stdarg.h
aland [Fri, 20 Oct 2006 18:41:11 +0000 (18:41 +0000)]
fix stdarg.h

17 years agoCleanup
pnixon [Fri, 20 Oct 2006 15:14:03 +0000 (15:14 +0000)]
Cleanup

17 years agofile ident.h was added on branch branch_1_1 on 2006-10-24 05:15:45 +0000
fcusack [Fri, 20 Oct 2006 05:12:08 +0000 (05:12 +0000)]
file ident.h was added on branch branch_1_1 on 2006-10-24 05:15:45 +0000

17 years ago prevent rcsid from being optimized out
fcusack [Fri, 20 Oct 2006 05:12:07 +0000 (05:12 +0000)]
prevent rcsid from being optimized out

17 years ago no longer appropriate
fcusack [Thu, 19 Oct 2006 07:56:10 +0000 (07:56 +0000)]
no longer appropriate

17 years ago typo
fcusack [Thu, 19 Oct 2006 07:55:56 +0000 (07:55 +0000)]
typo

17 years ago Send MS-CHAP2-Success, which makes EAP-TTLS/MSCHAP work.
aland [Wed, 18 Oct 2006 21:51:16 +0000 (21:51 +0000)]
Send MS-CHAP2-Success, which makes EAP-TTLS/MSCHAP work.
This closes bug #402

17 years ago Send MS-CHAP2-Success, which makes EAP-TTLS/MSCHAP work
aland [Wed, 18 Oct 2006 21:49:47 +0000 (21:49 +0000)]
Send MS-CHAP2-Success, which makes EAP-TTLS/MSCHAP work

This closes bug #402

17 years ago Print ntlm_auth failure reason in Module-Failure-Message
aland [Wed, 18 Oct 2006 21:11:09 +0000 (21:11 +0000)]
Print ntlm_auth failure reason in Module-Failure-Message

This closes bug #398, in this branch

17 years ago Added preliminary code to support Firebird. Untested!
aland [Wed, 18 Oct 2006 21:03:11 +0000 (21:03 +0000)]
Added preliminary code to support Firebird.  Untested!

This closes bug #378

17 years ago Pull notes from CVS head
aland [Wed, 18 Oct 2006 19:15:14 +0000 (19:15 +0000)]
Pull notes from CVS head

17 years ago Check return codes. This fixes bug #394
aland [Wed, 18 Oct 2006 19:12:20 +0000 (19:12 +0000)]
Check return codes.  This fixes bug #394

17 years agoFurther cleanup of the config file
pnixon [Sat, 14 Oct 2006 16:02:53 +0000 (16:02 +0000)]
Further cleanup of the config file

17 years ago re-arrange the "apply priority" code so that it does so properly
aland [Mon, 9 Oct 2006 21:01:50 +0000 (21:01 +0000)]
re-arrange the "apply priority" code so that it does so properly

Update the debug printing so that it prints the childs name,
and not the parents name

17 years ago print out module return code, too. This appears to have been
aland [Mon, 9 Oct 2006 20:39:37 +0000 (20:39 +0000)]
print out module return code, too.  This appears to have been
accidentally deleted

17 years agospelling error
pnixon [Sun, 8 Oct 2006 18:02:42 +0000 (18:02 +0000)]
spelling error

17 years ago Pull code from CVS head to split argv BEFORE radius_xlat, not
aland [Fri, 6 Oct 2006 23:39:21 +0000 (23:39 +0000)]
Pull code from CVS head to split argv BEFORE radius_xlat, not
before

17 years ago use struct sockaddr_storage, not struct sockaddr.
aland [Thu, 5 Oct 2006 22:01:47 +0000 (22:01 +0000)]
use struct sockaddr_storage, not struct sockaddr.

17 years ago don't call librad_log
aland [Thu, 5 Oct 2006 21:35:18 +0000 (21:35 +0000)]
don't call librad_log

17 years agorename to radrelay
pnixon [Thu, 5 Oct 2006 13:19:08 +0000 (13:19 +0000)]
rename to radrelay

17 years ago ./scripts/min-includes +n <files listed here>
aland [Tue, 3 Oct 2006 21:46:43 +0000 (21:46 +0000)]
./scripts/min-includes +n <files listed here>

17 years ago margin notes on which tokens have what numbers
aland [Tue, 3 Oct 2006 18:34:14 +0000 (18:34 +0000)]
margin notes on which tokens have what numbers

17 years ago Removed references to Livingston
aland [Tue, 3 Oct 2006 18:33:20 +0000 (18:33 +0000)]
Removed references to Livingston

17 years agoMoved schema to main sql files
pnixon [Tue, 3 Oct 2006 18:24:30 +0000 (18:24 +0000)]
Moved schema to main sql files

17 years agoAdd some indexes for sqlippool
pnixon [Tue, 3 Oct 2006 18:19:59 +0000 (18:19 +0000)]
Add some indexes for sqlippool

17 years agoradiusd is currently crashing for us in threaded mode (especially with proxied reques...
pnixon [Tue, 3 Oct 2006 15:38:04 +0000 (15:38 +0000)]
radiusd is currently crashing for us in threaded mode (especially with proxied requests) so setting the startup scripts to single threaded until the problem is solved

17 years agoAdd acctlog config section
pnixon [Tue, 3 Oct 2006 15:21:58 +0000 (15:21 +0000)]
Add acctlog config section

17 years agoAdd new module to do configurable logging of accounting packets to radiusd.log
pnixon [Tue, 3 Oct 2006 14:03:08 +0000 (14:03 +0000)]
Add new module to do configurable logging of accounting packets to radiusd.log

17 years agoAdd config options for configurable logging
pnixon [Tue, 3 Oct 2006 13:04:13 +0000 (13:04 +0000)]
Add config options for configurable logging

17 years agoso that we dont leak on a HUP
pnixon [Tue, 3 Oct 2006 10:59:06 +0000 (10:59 +0000)]
so that we dont leak on a HUP

17 years agoNew patch for configurable logging
pnixon [Tue, 3 Oct 2006 07:26:37 +0000 (07:26 +0000)]
New patch for configurable logging

17 years agoRollback this patch.
pnixon [Tue, 3 Oct 2006 07:25:31 +0000 (07:25 +0000)]
Rollback this patch.

17 years agoLogging update
pnixon [Tue, 3 Oct 2006 06:48:20 +0000 (06:48 +0000)]
Logging update

17 years ago Perl script (hokey as heck) to minimize the number of includes
aland [Mon, 2 Oct 2006 23:53:38 +0000 (23:53 +0000)]
Perl script (hokey as heck) to minimize the number of includes
that we have in C files.

It finds duplicate includes, and prints them out for user verification.
It optionally will also go through & nuke the duplicates

17 years agoRFC 2865: The String field is one or more octets. The NAS may limit the maximum...
pnixon [Mon, 2 Oct 2006 09:45:00 +0000 (09:45 +0000)]
RFC 2865: The String field is one or more octets.  The NAS may limit the maximum length of the User-Name but the ability to handle at least 63 octets is recommended.

17 years agoSleep for 1 second if the child hasn't returned yet before starting the
mgriego [Sat, 30 Sep 2006 22:21:56 +0000 (22:21 +0000)]
Sleep for 1 second if the child hasn't returned yet before starting the
next iteration of the loop.

17 years ago another state->radstate fix
fcusack [Sat, 30 Sep 2006 01:38:56 +0000 (01:38 +0000)]
another state->radstate fix

17 years ago s/bad state/bad radstate/ to be clear that it's not token state
fcusack [Sat, 30 Sep 2006 01:36:54 +0000 (01:36 +0000)]
s/bad state/bad radstate/ to be clear that it's not token state

17 years agoRename to symlink to avoid problems with startproc
pnixon [Fri, 29 Sep 2006 16:12:11 +0000 (16:12 +0000)]
Rename to symlink to avoid problems with startproc

17 years ago Added a few more 16-bit vsa's
aland [Thu, 28 Sep 2006 16:32:19 +0000 (16:32 +0000)]
Added a few more 16-bit vsa's

Added note that 16-bit Ascend VSA's are really Lucent ones