freeradius.git
17 years ago port fix from branch_1_1
aland [Mon, 26 Mar 2007 09:49:19 +0000 (09:49 +0000)]
port fix from branch_1_1

17 years ago corrected typo
aland [Mon, 26 Mar 2007 09:46:28 +0000 (09:46 +0000)]
corrected typo

17 years ago close socket only if it's unconnected
aland [Mon, 26 Mar 2007 09:45:04 +0000 (09:45 +0000)]
close socket only if it's unconnected

17 years ago Compile the file sql_fbapi.c, too.
nbk [Sun, 25 Mar 2007 21:44:00 +0000 (21:44 +0000)]
Compile the file sql_fbapi.c, too.

17 years ago The libpq manpage says the PGconn pointer should not be used
nbk [Wed, 21 Mar 2007 13:02:59 +0000 (13:02 +0000)]
The libpq manpage says the PGconn pointer should not be used
after PQfinish() has been called.

Bug found by Alexander V. Klepikov <klepikov_a@up.ua>

17 years ago The libpq manpage says the PGconn pointer should not be used
nbk [Wed, 21 Mar 2007 13:02:18 +0000 (13:02 +0000)]
The libpq manpage says the PGconn pointer should not be used
after PQfinish() has been called.

Bug found by Alexander V. Klepikov <klepikov_a@up.ua>

17 years ago document removal of delete_blocked_requests
fcusack [Wed, 21 Mar 2007 07:44:56 +0000 (07:44 +0000)]
document removal of delete_blocked_requests

17 years ago regenerate
fcusack [Wed, 21 Mar 2007 07:22:38 +0000 (07:22 +0000)]
regenerate

17 years ago re-apply ltdl.c#1.8:
fcusack [Wed, 21 Mar 2007 07:08:52 +0000 (07:08 +0000)]
re-apply ltdl.c#1.8:
Do a better job of freeing allocated memory

17 years agoimport from branch_1_1:
fcusack [Wed, 21 Mar 2007 07:05:27 +0000 (07:05 +0000)]
import from branch_1_1:
try_dlopen() has a bug: it sometimes returns a handle if a dependency
library can't be loaded.  It also returns an error status, however
lt_dlopenext() doesn't handle this well and returns the invalid handle.
This causes a segfault instead of a graceful exit.  Update ltdl to
give an error telling the user to report the problem, so that we can
try to reproduce it and report to the libtool folks.  We could just
leave ltdl unpatched; FR will exit either way.

17 years ago Shoot. ltdl.h#1.4 was not unmodified libltdl-1.5.22. Now it is.
fcusack [Wed, 21 Mar 2007 07:04:11 +0000 (07:04 +0000)]
Shoot.  ltdl.h#1.4 was not unmodified libltdl-1.5.22.  Now it is.

17 years agoimport from branch_1_1:
fcusack [Wed, 21 Mar 2007 06:54:13 +0000 (06:54 +0000)]
import from branch_1_1:
update libtool and libltdl to 1.5.22, and improve the integration
by not requiring source modification (except for one change to
ltdl.c [for a bug] to follow)

Note that this reverses ltdl.c#1.8 but we will re-apply it.  The
reason not to simply include it in this commit is so that all
the files here serve as a baseline of unmodified libtool/libltdl
sources, making it easier to update it in the future.

17 years ago remove delete_blocked_requests option due to unsafe pthread_cancel()
fcusack [Tue, 20 Mar 2007 07:10:30 +0000 (07:10 +0000)]
remove delete_blocked_requests option due to unsafe pthread_cancel()

17 years ago lowercase URL
fcusack [Tue, 20 Mar 2007 06:59:36 +0000 (06:59 +0000)]
lowercase URL

17 years ago Add libtool-ltdl-devel as a prerequisite for building.
nbk [Mon, 19 Mar 2007 16:41:29 +0000 (16:41 +0000)]
Add libtool-ltdl-devel as a prerequisite for building.

17 years ago Add libtool-ltdl-devel as a prerequisite for building.
nbk [Mon, 19 Mar 2007 16:41:05 +0000 (16:41 +0000)]
Add libtool-ltdl-devel as a prerequisite for building.

17 years ago Use braces. This closes #429
aland [Fri, 16 Mar 2007 13:22:03 +0000 (13:22 +0000)]
Use braces.  This closes #429

17 years ago be a little more forgiving about format
aland [Fri, 16 Mar 2007 10:03:38 +0000 (10:03 +0000)]
be a little more forgiving about format

17 years ago pass filenames via argv
aland [Fri, 16 Mar 2007 09:58:11 +0000 (09:58 +0000)]
pass filenames via argv

17 years ago Hmm.. why was this patch added?
aland [Wed, 14 Mar 2007 13:59:30 +0000 (13:59 +0000)]
Hmm.. why was this patch added?

17 years ago With updates from the last release
aland [Wed, 14 Mar 2007 11:59:19 +0000 (11:59 +0000)]
With updates from the last release

17 years ago From Chillispot's web site
aland [Wed, 14 Mar 2007 11:54:09 +0000 (11:54 +0000)]
From Chillispot's web site

17 years ago We malloc(len + 1), so strlcpy(..., len + 1), rather than ... len
aland [Mon, 12 Mar 2007 15:17:34 +0000 (15:17 +0000)]
We malloc(len + 1), so strlcpy(..., len + 1), rather than ... len

17 years ago third argument to strlcpy is the size of the first argument, and
aland [Mon, 12 Mar 2007 15:15:24 +0000 (15:15 +0000)]
third argument to strlcpy is the size of the first argument, and
nevery anything else

17 years ago strcpy doesn't need a '-1' in the sizeof
aland [Mon, 12 Mar 2007 15:10:19 +0000 (15:10 +0000)]
strcpy doesn't need a '-1' in the sizeof

17 years ago Initialize pd. Return 0 on error, rather than -1
aland [Mon, 12 Mar 2007 12:40:20 +0000 (12:40 +0000)]
Initialize pd.  Return 0 on error, rather than -1

17 years ago port fix from cvs head
aland [Mon, 12 Mar 2007 12:28:38 +0000 (12:28 +0000)]
port fix from cvs head

17 years ago be a little more flexible in cf_section_parse_free
aland [Fri, 9 Mar 2007 14:14:57 +0000 (14:14 +0000)]
be a little more flexible in cf_section_parse_free

Print out more information when parsing sections with "name2"'s,
so that it's easier to tell what's going on.

17 years ago Newer version of rlm_sql_firebird, as posted to the list
nbk [Fri, 9 Mar 2007 13:34:37 +0000 (13:34 +0000)]
Newer version of rlm_sql_firebird, as posted to the list
by Vitaly Bodzhgua <vitaly@eastera.net>

17 years agoUpdate version number for 1.1.5 release.
nbk [Tue, 6 Mar 2007 23:30:33 +0000 (23:30 +0000)]
Update version number for 1.1.5 release.

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 agoEnable threaded mode again
pnixon [Thu, 1 Mar 2007 16:16:21 +0000 (16:16 +0000)]
Enable threaded mode again

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 ago remove the old attribute from the value tree, too
aland [Thu, 1 Mar 2007 12:58:01 +0000 (12:58 +0000)]
remove the old attribute from the value tree, too

17 years agoUse new find_module_instance interface
pnixon [Tue, 27 Feb 2007 13:50:12 +0000 (13:50 +0000)]
Use new find_module_instance interface

17 years agoFix the includes to work with new structure
pnixon [Tue, 27 Feb 2007 13:20:08 +0000 (13:20 +0000)]
Fix the includes to work with new structure

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 ago Pulled from branch_1_1, with formatting
aland [Mon, 26 Feb 2007 09:57:41 +0000 (09:57 +0000)]
Pulled from branch_1_1, with formatting

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 agoAdd rlm_sqlhpwippool (hierarchical, prioritized, weighted IP Pool module) with thanks...
pnixon [Sun, 25 Feb 2007 14:49:42 +0000 (14:49 +0000)]
Add rlm_sqlhpwippool (hierarchical, prioritized, weighted IP Pool module) with thanks to Pawel Foremski and ASN. (Module originally called rlm_netvim_pools)

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 ago Fix a typo in log message.
nbk [Sun, 25 Feb 2007 14:39:19 +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 Pull fix from branch_1_1
aland [Fri, 23 Feb 2007 10:07:09 +0000 (10:07 +0000)]
Pull fix from branch_1_1

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 Port "use_tunneled_reply" fix for MS-CHAP from branch_1_1
aland [Fri, 16 Feb 2007 09:49:23 +0000 (09:49 +0000)]
Port "use_tunneled_reply" fix for MS-CHAP from branch_1_1

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 Port fix for bug #419 from branch_1_1
aland [Thu, 15 Feb 2007 12:52:35 +0000 (12:52 +0000)]
Port fix for bug #419 from branch_1_1

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 Free allocated memory
aland [Wed, 14 Feb 2007 15:23:27 +0000 (15:23 +0000)]
Free allocated memory

17 years ago Removed all free(inst->foo) where "foo" comes from parsing
aland [Wed, 14 Feb 2007 15:11:24 +0000 (15:11 +0000)]
Removed all free(inst->foo) where "foo" comes from parsing
PW_TYPE_STRING_PTR

17 years ago Don't free the ID, it's allocated as part of a larger array
aland [Wed, 14 Feb 2007 09:41:14 +0000 (09:41 +0000)]
Don't free the ID, it's allocated as part of a larger array

17 years ago Added call to dict_free(). valgrind now shows no leaks
aland [Wed, 14 Feb 2007 09:40:16 +0000 (09:40 +0000)]
Added call to dict_free().  valgrind now shows no leaks

17 years ago Remove diameter hack. The new radext extended attribute format
aland [Tue, 13 Feb 2007 14:17:33 +0000 (14:17 +0000)]
Remove diameter hack.  The new radext extended attribute format
is different

17 years ago Casts to quiet the compiler
aland [Tue, 13 Feb 2007 14:11:17 +0000 (14:11 +0000)]
Casts to quiet the compiler

17 years ago Minor casts to quiet the compiler
aland [Tue, 13 Feb 2007 14:09:50 +0000 (14:09 +0000)]
Minor casts to quiet the compiler

17 years ago replace strncpy strlcpy `cat filelist`
aland [Tue, 13 Feb 2007 14:07:49 +0000 (14:07 +0000)]
replace strncpy strlcpy `cat filelist`

17 years ago replace local StrnCpy with strlcpy
aland [Tue, 13 Feb 2007 14:05:06 +0000 (14:05 +0000)]
replace local StrnCpy with strlcpy

17 years ago strNcpy is no longer used. Delete it
aland [Tue, 13 Feb 2007 14:02:21 +0000 (14:02 +0000)]
strNcpy is no longer used.  Delete it

17 years ago replace strNcpy strlcpy -- `cat file_list`
aland [Tue, 13 Feb 2007 14:01:52 +0000 (14:01 +0000)]
replace strNcpy strlcpy -- `cat file_list`

17 years ago un-register things
aland [Tue, 13 Feb 2007 13:43:09 +0000 (13:43 +0000)]
un-register things

17 years ago Free allocated memory
aland [Tue, 13 Feb 2007 13:42:48 +0000 (13:42 +0000)]
Free allocated memory

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:32:42 +0000 (13:32 +0000)]
Permissions are now 750 for directories, and 644 for files

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 Use definitions for Tunnel-Medium-Type from RFC 2868, rather
aland [Tue, 13 Feb 2007 13:28:17 +0000 (13:28 +0000)]
Use definitions for Tunnel-Medium-Type from RFC 2868, rather
than the draft.  This shouldn't affect anyone...

17 years ago New text for Status-Server, saying it's useful.
aland [Tue, 13 Feb 2007 13:26:02 +0000 (13:26 +0000)]
New text for Status-Server, saying it's useful.

Default is now to enable Status-Server

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 Message-Authenticator is required in Status-Server packets,
aland [Tue, 13 Feb 2007 09:34:26 +0000 (09:34 +0000)]
Message-Authenticator is required in Status-Server packets,
otherwise they can be trivially forged.

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