diff options
author | adrianp <adrianp@pkgsrc.org> | 2006-02-05 15:34:08 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2006-02-05 15:34:08 +0000 |
commit | e9103962d4b572ad0edcd32510cf4412111af56c (patch) | |
tree | 2305c478f6ba03771f8dab1bcf2dba2982047856 /net/freeradius/patches | |
parent | 68ae1c167c003e3a73532a4b94d92fc05bc0e6b4 (diff) | |
download | pkgsrc-e9103962d4b572ad0edcd32510cf4412111af56c.tar.gz |
Update to 1.1.0
> FreeRADIUS 1.1.0 ; $Date: 2006/01/04 05:55:19 $, urgency=low
> Feature improvements
> * rlm_ldap has "set_auth_type" configuration option, which should
> address some configuration problems when using it.
> * Fix MIT Kerberos bug
> * Modules can be load balanced, both in isolation and redundantly.
> See doc/load-balance.txt for more information.
> * rlm_perl is now marked "stable"
> * N-tier certificate patch from Mohammed Petiwala.
> * Copied dictionaries from the CVS head (many, many, more vendors)
> * Enabled support for weird VSA formats, like Lucent and Starent.
> * Support encrypted IP address and integers, for Juniper clients.
> * Add PEAP machine authentication support in module "rlm_mschap".
> * Support User-Password field encryption in digest mode.
> * rlm_x99_token has become rlm_otp (with lots of changes).
> * Add rlm_sqlcounter to the list of stable modules.
> * Read MySQL specific options in sections [freeradius] and [client]
> from file "my.cnf".
> * Support the ${Cisco-AVPair[n]} syntax.
> * Execute modules in {Pre,Post}-Proxy-Type stanzas.
> * Add new options to radclient to run stress tests on the server.
> * New module "rlm_sql_log" to postpone the storage of accounting data
> in a SQL database. See rlm_sql_log(5) manpage.
> * New program "radsqlrelay" which sends the SQL logfile according to
> the SQL server's capabilities.
>
> Bug fixes
> * 306 (HUP when built with threads, but executed with -s)
> * 285 (more attributes in dictionary.cisco.vpn3000)
> * rlm_digest has a number of bug fixes to authentication types.
> * Don't leak memory in module "rlm_sql".
> * Update the dictionaries, so that VALUEs with the same name,
> but different numbers, aren't allowed.
> * Queue the request before looking for available threads.
> * Don't free the check items after we received the proxy reply.
> * Expand config variables in included files, too.
> * Check the return value of accounting modules and don't proxy
> invalid requests.
> * In rlm_passwd, don't close a file stream more than once.
> * Fix format string errors in rlm_sql.c, spotted by Primoz Bratanic.
> * Walk the whole string in when escaping strings in rlm_ldap.
> * Include crypt.h if it is available so we get a prototype for crypt(),
> spotted by Konstantin Kubatkin.
> * Removed (for almost all uses) length restrictions on vendor names
> and VALUE names.
> * Don't leak memory when proxying an Access-Challenge response.
> * Make the sleep time user-defined, so radrelay can send more than
> 7 requests/s.
> * Fix a memory leak in rlm_checkval.
> * radclient doesn't resend countless times packets with invalid
> signature.
> * Fix segfault and mem leak in rlm_pam.
Diffstat (limited to 'net/freeradius/patches')
-rw-r--r-- | net/freeradius/patches/patch-aa | 13 | ||||
-rw-r--r-- | net/freeradius/patches/patch-ab | 9 | ||||
-rw-r--r-- | net/freeradius/patches/patch-ak | 35 |
3 files changed, 22 insertions, 35 deletions
diff --git a/net/freeradius/patches/patch-aa b/net/freeradius/patches/patch-aa new file mode 100644 index 00000000000..691a9eae2bc --- /dev/null +++ b/net/freeradius/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.3 2006/02/05 15:34:09 adrianp Exp $ + +--- src/modules/rlm_otp/otp_state.c.orig 2006-01-10 14:33:16.000000000 +0000 ++++ src/modules/rlm_otp/otp_state.c +@@ -35,7 +35,7 @@ + #include <fcntl.h> + #include <unistd.h> + #include <sys/socket.h> +-#if defined(__linux__) || defined(__APPLE__) ++#if defined(__linux__) || defined(__APPLE__) || defined(__NetBSD__) + #include <sys/un.h> + #endif + diff --git a/net/freeradius/patches/patch-ab b/net/freeradius/patches/patch-ab new file mode 100644 index 00000000000..5bc9d5b6e1e --- /dev/null +++ b/net/freeradius/patches/patch-ab @@ -0,0 +1,9 @@ +$NetBSD: patch-ab,v 1.4 2006/02/05 15:34:09 adrianp Exp $ + +--- src/modules/rlm_perl/Makefile.in.orig 2003-03-18 19:08:40.000000000 +0000 ++++ src/modules/rlm_perl/Makefile.in +@@ -13,4 +13,3 @@ $(STATIC_OBJS): $(HEADERS) + $(DYNAMIC_OBJS): $(HEADERS) + + install-scripts: +- $(INSTALL) -m 755 example.pl $(R)$(raddbdir) diff --git a/net/freeradius/patches/patch-ak b/net/freeradius/patches/patch-ak deleted file mode 100644 index 91b8c241265..00000000000 --- a/net/freeradius/patches/patch-ak +++ /dev/null @@ -1,35 +0,0 @@ -$NetBSD: patch-ak,v 1.5 2005/09/20 18:46:32 adrianp Exp $ - ---- src/modules/rlm_sql/rlm_sql.c.orig 2005/08/31 12:49:52 1.131.2.4 -+++ src/modules/rlm_sql/rlm_sql.c 2005/09/17 13:03:31 1.131.2.5 -@@ -910,8 +910,9 @@ static int rlm_sql_accounting(void *inst - if ((pair = pairfind(request->packet->vps, PW_ACCT_STATUS_TYPE)) != NULL) { - acctstatustype = pair->lvalue; - } else { -- radius_xlat(logstr, sizeof(logstr), "rlm_sql: packet has no account status type. [user '%{User-Name}', nas '%{NAS-IP-Address}']", request, sql_escape_func); -- radlog(L_ERR, logstr); -+ radius_xlat(logstr, sizeof(logstr), "packet has no accounting status type. [user '%{User-Name}', nas '%{NAS-IP-Address}']", request, NULL); -+ radlog(L_ERR, "rlm_sql (%s) in sql_accounting: %s", -+ inst->config->xlat_name, logstr); - return RLM_MODULE_INVALID; - } - -@@ -1077,12 +1078,12 @@ static int rlm_sql_accounting(void *inst - if ((pair = pairfind(request->packet->vps, PW_ACCT_SESSION_TIME)) != NULL) - acctsessiontime = pair->lvalue; - -- if (acctsessiontime <= 0) { -- radius_xlat(logstr, sizeof(logstr), "rlm_sql: Stop packet with zero session length. (user '%{User-Name}', nas '%{NAS-IP-Address}')", request, sql_escape_func); -- radlog(L_ERR, logstr); -- sql_release_socket(inst, sqlsocket); -- ret = RLM_MODULE_NOOP; -- } -+ if (acctsessiontime <= 0) { -+ radius_xlat(logstr, sizeof(logstr), "stop packet with zero session length. [user '%{User-Name}', nas '%{NAS-IP-Address}']", request, NULL); -+ radlog(L_ERR, "rlm_sql (%s) in sql_accounting: %s", inst->config->xlat_name, logstr); -+ sql_release_socket(inst, sqlsocket); -+ ret = RLM_MODULE_NOOP; -+ } - #endif - - radius_xlat(querystr, sizeof(querystr), inst->config->accounting_stop_query_alt, request, sql_escape_func); |