freeradius.git
17 years ago More updates release_1_1_5
aland [Mon, 5 Mar 2007 15:31:33 +0000 (15:31 +0000)]
More updates

17 years ago In preparation for 1.1.5
aland [Mon, 5 Mar 2007 15:29:47 +0000 (15:29 +0000)]
In preparation for 1.1.5

17 years ago This would be useful
aland [Mon, 5 Mar 2007 14:58:33 +0000 (14:58 +0000)]
This would be useful

17 years ago Don't de-reference packet->vps if there's no packet.
aland [Mon, 5 Mar 2007 14:43:31 +0000 (14:43 +0000)]
Don't de-reference packet->vps if there's no packet.
Mostly a theoretical bug, as this is already checked elsewhere

Bug found by Coverity

17 years ago Free packet on successful return, too.
aland [Mon, 5 Mar 2007 14:38:49 +0000 (14:38 +0000)]
Free packet on successful return, too.

Bug found by Coverity.

17 years ago Free packet if the contents are badly formatted. This looks like
aland [Mon, 5 Mar 2007 14:34:55 +0000 (14:34 +0000)]
Free packet if the contents are badly formatted.  This looks like
it only affects radeapclient.

Bug found by Coverity.

17 years ago Free resources when using Exec-Program && Exec-Program-Wait
aland [Mon, 5 Mar 2007 14:30:04 +0000 (14:30 +0000)]
Free resources when using Exec-Program && Exec-Program-Wait

Bug found by Coverity.

17 years ago Free clients on error. Mostly a theoretical bug, as the server
aland [Mon, 5 Mar 2007 14:27:47 +0000 (14:27 +0000)]
Free clients on error.  Mostly a theoretical bug, as the server
is exiting anyways...

Bug found by Coverity.

17 years ago Free packet on error.
aland [Mon, 5 Mar 2007 14:26:11 +0000 (14:26 +0000)]
Free packet on error.

Bug found by Coverity.

17 years ago Free packet if there was an allocation problem.
aland [Mon, 5 Mar 2007 14:24:21 +0000 (14:24 +0000)]
Free packet if there was an allocation problem.
Mostly a theoretical bug

Bug found by Coverity

17 years ago Catch a corner case where use of Exec-Program and Exec-Program-Wait
aland [Mon, 5 Mar 2007 14:22:04 +0000 (14:22 +0000)]
Catch a corner case where use of Exec-Program and Exec-Program-Wait
could cause memory leaks.

Bug found by Coverity

17 years ago Don't allow escapes (\\) if the input buffer is full
aland [Mon, 5 Mar 2007 14:20:38 +0000 (14:20 +0000)]
Don't allow escapes (\\) if the input buffer is full

Bug found by Coverity.

17 years ago Turned an assert into a run-time check, as it can happen
aland [Mon, 5 Mar 2007 14:15:32 +0000 (14:15 +0000)]
Turned an assert into a run-time check, as it can happen

17 years agorewrite, using latest python C api thanks to Paul P Komkoff Jr
pnixon [Mon, 5 Mar 2007 14:15:28 +0000 (14:15 +0000)]
rewrite, using latest python C api thanks to Paul P Komkoff Jr

17 years ago prev_eap_ds may be NULL. Don't dereference it.
aland [Mon, 5 Mar 2007 14:11:55 +0000 (14:11 +0000)]
prev_eap_ds may be NULL.  Don't dereference it.

Bug found by Coverity

17 years ago "randvp", not "rand".
aland [Mon, 5 Mar 2007 14:09:10 +0000 (14:09 +0000)]
"randvp", not "rand".

Bug found by Coverity.

17 years ago updated version to 1.1.5, and re-generated configure
aland [Mon, 5 Mar 2007 14:06:41 +0000 (14:06 +0000)]
updated version to 1.1.5, and re-generated configure

17 years ago Read for 1.1.5, I think
aland [Mon, 5 Mar 2007 13:13:43 +0000 (13:13 +0000)]
Read for 1.1.5, I think

17 years ago We're at 1.1.5
aland [Mon, 5 Mar 2007 13:12:58 +0000 (13:12 +0000)]
We're at 1.1.5

17 years ago Fix base64 decoding
aland [Mon, 5 Mar 2007 13:12:29 +0000 (13:12 +0000)]
Fix base64 decoding

17 years ago latest updates
aland [Thu, 1 Mar 2007 13:38:18 +0000 (13:38 +0000)]
latest updates

17 years ago Don't retransmit accounting packets. The NAS should do this.
aland [Thu, 1 Mar 2007 13:37:49 +0000 (13:37 +0000)]
Don't retransmit accounting packets.  The NAS should do this.

17 years agoadd rlm_sqlhpwippool from cvs head
pnixon [Tue, 27 Feb 2007 11:30:24 +0000 (11:30 +0000)]
add rlm_sqlhpwippool from cvs head

17 years agofile sqlhpwippool.sql was added on branch branch_1_1 on 2007-02-27 11:30:27 +0000
pnixon [Sun, 25 Feb 2007 14:49:43 +0000 (14:49 +0000)]
file sqlhpwippool.sql was added on branch branch_1_1 on 2007-02-27 11:30:27 +0000

17 years agofile rlm_sqlhpwippool.c was added on branch branch_1_1 on 2007-02-27 11:30:26 +0000
pnixon [Sun, 25 Feb 2007 14:49:43 +0000 (14:49 +0000)]
file rlm_sqlhpwippool.c was added on branch branch_1_1 on 2007-02-27 11:30:26 +0000

17 years agofile configure.in was added on branch branch_1_1 on 2007-02-27 11:30:26 +0000
pnixon [Sun, 25 Feb 2007 14:49:43 +0000 (14:49 +0000)]
file configure.in was added on branch branch_1_1 on 2007-02-27 11:30:26 +0000

17 years agofile configure was added on branch branch_1_1 on 2007-02-27 11:30:25 +0000
pnixon [Sun, 25 Feb 2007 14:49:42 +0000 (14:49 +0000)]
file configure was added on branch branch_1_1 on 2007-02-27 11:30:25 +0000

17 years agofile config.h.in was added on branch branch_1_1 on 2007-02-27 11:30:24 +0000
pnixon [Sun, 25 Feb 2007 14:49:42 +0000 (14:49 +0000)]
file config.h.in was added on branch branch_1_1 on 2007-02-27 11:30:24 +0000

17 years agofile Makefile.in was added on branch branch_1_1 on 2007-02-27 11:30:24 +0000
pnixon [Sun, 25 Feb 2007 14:49:42 +0000 (14:49 +0000)]
file Makefile.in was added on branch branch_1_1 on 2007-02-27 11:30:24 +0000

17 years ago Fix a typo in log message.
nbk [Sun, 25 Feb 2007 14:39:55 +0000 (14:39 +0000)]
Fix a typo in log message.
Thanks to Pawel Foremski <pjf@asn.pl>

17 years agoAdd additional attributes from http://www.voy.com/41165/3969.html
pnixon [Sat, 24 Feb 2007 18:31:43 +0000 (18:31 +0000)]
Add additional attributes from voy.com/41165/3969.html

17 years ago If we find Cleartext-Password but not User-Password, copy
aland [Fri, 23 Feb 2007 10:07:48 +0000 (10:07 +0000)]
If we find Cleartext-Password but not User-Password, copy
Cleartext-Password to User-Password just to be nice

17 years ago type.data is malloc'd by everyone BUT radeapclient, which
aland [Fri, 23 Feb 2007 10:06:48 +0000 (10:06 +0000)]
type.data is malloc'd by everyone BUT radeapclient, which
instead sets it to vp->strvalue.  Fix it.

17 years ago Cleaned up sample entries to remove most uses of Auth-Type,
aland [Wed, 21 Feb 2007 11:09:04 +0000 (11:09 +0000)]
Cleaned up sample entries to remove most uses of Auth-Type,
and replace User-Password with Cleartext-Password

17 years agoUpdate for 1.1.5 release
pnixon [Sat, 17 Feb 2007 08:08:37 +0000 (08:08 +0000)]
Update for 1.1.5 release

17 years ago When we have a tunneled MS-CHAP2-Success attribute, it goes
aland [Fri, 16 Feb 2007 09:31:34 +0000 (09:31 +0000)]
When we have a tunneled MS-CHAP2-Success attribute, it goes
into an Access-Challenge, so for "use_tunneled_reply" to work,
we have to remember the reply, and later grab it when sending
the final EAP-Success

17 years ago Handle Client-Error code. If the client sends us one, we stop
aland [Thu, 15 Feb 2007 12:51:37 +0000 (12:51 +0000)]
Handle Client-Error code.  If the client sends us one, we stop
talking EAP-SIM.

This closes #419

17 years ago Port OpenSSL locking mutexes from the CVS head
aland [Wed, 14 Feb 2007 15:44:22 +0000 (15:44 +0000)]
Port OpenSSL locking mutexes from the CVS head

17 years ago Note recent changes
aland [Tue, 13 Feb 2007 13:35:11 +0000 (13:35 +0000)]
Note recent changes

17 years ago Permissions are now 750 for directories, and 644 for files
aland [Tue, 13 Feb 2007 13:31:38 +0000 (13:31 +0000)]
Permissions are now 750 for directories, and 644 for files

17 years ago Pull fixes from the head
aland [Tue, 13 Feb 2007 13:28:39 +0000 (13:28 +0000)]
Pull fixes from the head

17 years ago Port Status-Server requirements for Message-Authenticator
aland [Tue, 13 Feb 2007 09:37:12 +0000 (09:37 +0000)]
Port Status-Server requirements for Message-Authenticator
from CVS head

17 years ago Free all REQUEST's on exit
aland [Tue, 13 Feb 2007 08:47:50 +0000 (08:47 +0000)]
Free all REQUEST's on exit

17 years ago Pull 1.7 -> 1.8 patch from CVS head
aland [Mon, 12 Feb 2007 16:01:10 +0000 (16:01 +0000)]
Pull 1.7 -> 1.8 patch from CVS head

17 years ago Added 'base' and 'variables' to a CONF_SECTION, which are added
aland [Mon, 12 Feb 2007 09:59:05 +0000 (09:59 +0000)]
Added 'base' and 'variables' to a CONF_SECTION, which are added
by cf_section_parse.  Now, when someone calls cf_section_free(),
the strings allocated from cf_section_parse() are automatically
free'd, too.

For now, we only do this for the base variables in mainconfig.
If we enable this for all of the modules, we first have to
update all of the modules to NOT explicitely call free() on
the strings allocated by cf_section_parse().

17 years ago Added undocumented '-m' so that for debugging, CTRL-C does
aland [Mon, 12 Feb 2007 09:55:24 +0000 (09:55 +0000)]
Added undocumented '-m' so that for debugging, CTRL-C does
a clean exit && clears up memory

17 years ago free another tree
aland [Mon, 12 Feb 2007 09:22:23 +0000 (09:22 +0000)]
free another tree

17 years ago Be more aggressive about freeing memory on clean exit.
aland [Fri, 9 Feb 2007 15:56:11 +0000 (15:56 +0000)]
Be more aggressive about freeing memory on clean exit.

This should help track down memory leaks, if any

17 years ago Free memory on detach
aland [Fri, 9 Feb 2007 15:42:03 +0000 (15:42 +0000)]
Free memory on detach

17 years ago Free more stuff on exit
aland [Fri, 9 Feb 2007 15:33:21 +0000 (15:33 +0000)]
Free more stuff on exit

17 years ago Define dict_free
aland [Fri, 9 Feb 2007 15:33:11 +0000 (15:33 +0000)]
Define dict_free

17 years ago When a duplicate attribute is found, delete the old one
aland [Fri, 9 Feb 2007 15:32:24 +0000 (15:32 +0000)]
When a duplicate attribute is found, delete the old one

17 years ago Fix lrad_hash_table_free()
aland [Fri, 9 Feb 2007 15:06:01 +0000 (15:06 +0000)]
Fix lrad_hash_table_free()

17 years ago Don't allow radius_dir to be globally writable
aland [Fri, 9 Feb 2007 13:01:40 +0000 (13:01 +0000)]
Don't allow radius_dir to be globally writable

Relax the checks on global readability

17 years ago Added new attributes from bug #417
aland [Fri, 9 Feb 2007 10:51:46 +0000 (10:51 +0000)]
Added new attributes from bug #417

17 years ago increase size of buffer to allow longer SQL qeuries
aland [Fri, 9 Feb 2007 10:43:52 +0000 (10:43 +0000)]
increase size of buffer to allow longer SQL qeuries

Thise closes bug #405

17 years ago use correct lineno
aland [Fri, 9 Feb 2007 10:39:11 +0000 (10:39 +0000)]
use correct lineno

We could really use a cf_item_lineo()

17 years ago Cleaned up exec stuff, to make it more like the CVS head,
aland [Fri, 9 Feb 2007 10:27:57 +0000 (10:27 +0000)]
Cleaned up exec stuff, to make it more like the CVS head,
and to fix other errors (sigh)

17 years ago If a packet is too long, truncate at the last good attribute
aland [Thu, 8 Feb 2007 14:05:52 +0000 (14:05 +0000)]
If a packet is too long, truncate at the last good attribute

17 years ago Don't leave 'vp' pointing to a deleted attribute
aland [Thu, 8 Feb 2007 10:24:35 +0000 (10:24 +0000)]
Don't leave 'vp' pointing to a deleted attribute

17 years agoApply SUSE's edir.patch to explicitly set edir_account_policy_check=no. Wont affect...
pnixon [Sun, 4 Feb 2007 15:28:46 +0000 (15:28 +0000)]
Apply SUSE's edir.patch to explicitly set edir_account_policy_check=no. Wont affect no edir users and saves a patch for SUSE

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)