Commit report for v3.1.x branch

The git bot announce at freeradius.org
Thu Aug 6 00:00:03 CEST 2015


New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)

======
Should only emit bad packet errors when running in debug mode

Arran Cudbard-Bell at 2015-08-05T23:29:35Z
Files modified:
	* src/main/listen.c
	* src/main/tls_listen.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bf916d110b3aaf32d26fac2f79bfd6850e93cb1b
====== 
Redis connection errors go to the global error log...

Arran Cudbard-Bell at 2015-08-05T23:29:18Z
Files modified:
	* src/modules/rlm_redis/cluster.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e78d5d0c7acb4d77b8cf71569d1ba29f100ce23d
====== 
Just require the version of the support libraries, not the release

Arran Cudbard-Bell at 2015-08-05T23:00:10Z
Files modified:
	* redhat/freeradius.spec
	* src/include/build.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d4e6a5da1e52d144d8257faa097c3cbe919af952
====== 
Fix build system issues

Fix spec file for rlm_json
Correct spec file dependencies for rlm_rest
Correct spec file dependencies for rlm_redis

Arran Cudbard-Bell at 2015-08-05T22:57:02Z
Files modified:
	* redhat/freeradius.spec
	* src/include/build.h
	* src/modules/rlm_couchbase/all.mk.in
	* src/modules/rlm_json/jpath.c
	* src/modules/rlm_json/rlm_json.mk
	* src/modules/rlm_redis/cluster.c
	* src/modules/rlm_rediswho/all.mk
	* src/modules/rlm_rest/all.mk.in
	* src/modules/stable

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6d9b30ed9928233314f8d167d9f21e3ba44fd133
====== 
Renumber

Arran Cudbard-Bell at 2015-08-05T21:38:38Z
Files modified:
	* src/tests/modules/json/parser.unlang

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e1bdf136a54a15afdd4d4e9d5ad41af1877bb078
====== 
Implement brute force recursive descent

Arran Cudbard-Bell at 2015-08-05T21:38:38Z
Files modified:
	* raddb/mods-available/json
	* src/modules/rlm_json/jpath.c
	* src/tests/modules/json/eval.unlang
	* src/tests/modules/json/parser.unlang

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1fd2dfeb5e97a7e4e566cf5902ace4275b71e50f
====== 
Fix recursive descent syntax

Arran Cudbard-Bell at 2015-08-05T21:38:38Z
Files modified:
	* src/modules/rlm_json/jpath.c
	* src/tests/modules/json/parser.unlang

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fd3d4c6949638681b0d4638f7d30b2f69dcf63a1
====== 
Switch to using non deprecated json-c functions in rest.c #934

Arran Cudbard-Bell at 2015-08-04T23:27:14Z
Files modified:
	* src/modules/rlm_rest/rest.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/83e5b7b265a50efeefa566dfb52349e53744d6c4
====== 
Make rlm_rest and rlm_couchbase depend on libfreeradius-json for json functionality

Arran Cudbard-Bell at 2015-08-04T23:27:14Z
Files modified:
	* src/modules/rlm_couchbase/all.mk.in
	* src/modules/rlm_couchbase/config.h.in
	* src/modules/rlm_couchbase/configure
	* src/modules/rlm_couchbase/configure.ac
	* src/modules/rlm_couchbase/couchbase.c
	* src/modules/rlm_couchbase/couchbase.h
	* src/modules/rlm_couchbase/jsonc_missing.c
	* src/modules/rlm_couchbase/jsonc_missing.h
	* src/modules/rlm_couchbase/mod.c
	* src/modules/rlm_couchbase/mod.h
	* src/modules/rlm_couchbase/rlm_couchbase.c
	* src/modules/rlm_rest/config.h.in
	* src/modules/rlm_rest/configure
	* src/modules/rlm_rest/configure.ac
	* src/modules/rlm_rest/rest.c
	* src/modules/rlm_rest/rest.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9308ccd0f8138e45c0630d7d7f9fe63c41137dfd
====== 
rlm_json json -> attribute mapper

Arran Cudbard-Bell at 2015-08-04T23:27:14Z
Files modified:
	* raddb/mods-available/json
	* src/modules/rlm_json/.gitignore
	* src/modules/rlm_json/all.mk
	* src/modules/rlm_json/config.h.in
	* src/modules/rlm_json/configure
	* src/modules/rlm_json/configure.ac
	* src/modules/rlm_json/jpath.c
	* src/modules/rlm_json/json.c
	* src/modules/rlm_json/json.h
	* src/modules/rlm_json/json_missing.c
	* src/modules/rlm_json/json_missing.h
	* src/modules/rlm_json/libfreeradius-json.mk.in
	* src/modules/rlm_json/rlm_json.c
	* src/modules/rlm_json/rlm_json.mk
	* src/tests/modules/json/all.mk
	* src/tests/modules/json/eval.attrs
	* src/tests/modules/json/eval.unlang
	* src/tests/modules/json/module.conf
	* src/tests/modules/json/parser.attrs
	* src/tests/modules/json/parser.unlang

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/86cb5b045edbcdbded1496b99b91624c25b91f23
====== 
Allow casting from unsigned to signed as long as the unsigned value is <= INT_MAX

Arran Cudbard-Bell at 2015-08-04T19:25:45Z
Files modified:
	* src/lib/value.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/aacafdf8f19fc15eb0d1ca557429c16ecaae3289
====== 
Pass PRLIBS in ADD_RELINK_RULE.la too Closes #1176

Arran Cudbard-Bell at 2015-08-04T01:35:44Z
Files modified:
	* scripts/libtool.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6f779f827e0a3bfbf24f135ea5146b1c7a3a5c19
====== 
Add verbose mode to more boiler make files

Arran Cudbard-Bell at 2015-08-04T01:23:15Z
Files modified:
	* scripts/install.mk
	* scripts/libtool.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/239ab3b599a08698ee4214322d8435d41eeffbd3
====== 
Revert #1169 causes hang on make test on OSX

Arran Cudbard-Bell at 2015-08-03T23:33:04Z
Files modified:
	* src/lib/event.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/70ccdd1f7bd00c485258d125f791d60911fd6137
====== 
Append dlopen errors

Arran Cudbard-Bell at 2015-08-03T22:34:24Z
Files modified:
	* src/main/modules.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a2f272891b0523784c9f88bfc02dbb40a74fcf97
====== 
Misc fixes from @leprechau Closes #1174

Arran Cudbard-Bell at 2015-08-03T21:51:25Z
Files modified:
	* src/modules/rlm_couchbase/couchbase.c
	* src/modules/rlm_couchbase/couchbase.h
	* src/modules/rlm_couchbase/mod.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4785f70dd71225d09af1fa4fb2c13787364238dd
====== 
Always set in to zero in redis martialling functions

Arran Cudbard-Bell at 2015-08-03T17:53:59Z
Files modified:
	* src/modules/rlm_redis/redis.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/cc6dc9e3d17c4a0e1800cdf3daa1000085fb09a2
====== 
Better error message

Arran Cudbard-Bell at 2015-08-03T17:52:46Z
Files modified:
	* src/main/map.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f28a19069f2dc62eeb13ea7eeda3230abdf85525
====== 
Add support for doubles (decimals)

Arran Cudbard-Bell at 2015-08-03T17:52:41Z
Files modified:
	* src/include/libradius.h
	* src/include/radius.h
	* src/lib/radius.c
	* src/lib/value.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/20ff8c20f0e71deb941432da93305af542215880
====== 
Should use the unsigned max values for Redis -> FreeRADIUS martialling

Arran Cudbard-Bell at 2015-08-03T17:28:54Z
Files modified:
	* src/modules/rlm_redis/redis.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4f7eccb9a4121dc3ee0e2656f93279077b84c67a
====== 
Output the type of attribute we got

Arran Cudbard-Bell at 2015-08-03T17:28:54Z
Files modified:
	* src/main/modcall.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f86977f944e10fb0fc14c5d716780542d6a9220a
====== 
Add Tmp-Signed-*

Arran Cudbard-Bell at 2015-08-03T17:28:54Z
Files modified:
	* share/dictionary.freeradius.internal

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f1f9f180b9bd99ec82f355fa0ae56a11b086ed44
====== 
Allow linked lists of value_data_t

Arran Cudbard-Bell at 2015-08-02T00:06:13Z
Files modified:
	* src/include/libradius.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fcfcba2b1668722a83fa5b133f6fa96025941684
====== 
Formatting

Arran Cudbard-Bell at 2015-08-02T00:06:09Z
Files modified:
	* src/include/libradius.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c4b3dbe366a9a01aa9c8c345459e9bb5debbf8ed
====== 
fr_token_t enum should be fr_token

Arran Cudbard-Bell at 2015-08-02T00:06:05Z
Files modified:
	* src/include/token.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/44b3ea7a5b83d7fef4774851b010c540ec6a32d2
====== 
Prefix module test expressions with & to remove warnings

Arran Cudbard-Bell at 2015-08-02T00:06:01Z
Files modified:
	* src/tests/modules/radiusd.conf

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/64cfb92d1dc3aba2ab447569f95037bd69eeff2a
====== 
Fix kevent error message

Arran Cudbard-Bell at 2015-08-01T15:15:53Z
Files modified:
	* src/lib/event.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fd658d9f015047ef424efd774055c2bc5f14352a
====== 
fr_utf8_char should take a string length so that it can operate safely on none \0 terminated buffers

Arran Cudbard-Bell at 2015-08-01T15:10:41Z
Files modified:
	* src/include/libradius.h
	* src/lib/misc.c
	* src/lib/print.c
	* src/main/auth.c
	* src/main/log.c
	* src/main/util.c
	* src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c
	* src/modules/rlm_sql/rlm_sql.c
	* src/modules/rlm_utf8/rlm_utf8.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/43a96f52d8bb770da3641804e6e09f2dd89d9dcb
====== 
better handle of errors returned by kevent() in FreeBSD

Jorge Pereira (via Alan T. DeKok)@2015-08-01T09:34:51Z
Files modified:
	* src/lib/event.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e7ba95d180ef68550d7a5609341c9e6b8c24cdec
====== 
HAVE_JSON set in config.h

Arran Cudbard-Bell at 2015-07-31T22:12:16Z
Files modified:
	* src/modules/rlm_rest/rest.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/92465421aa59ea376f18cf4ef2804c8c35e2bc9d
====== 
Search for json headers in multiple locations Closes #794

Arran Cudbard-Bell at 2015-07-31T22:00:23Z
Files modified:
	* src/modules/rlm_rest/config.h.in
	* src/modules/rlm_rest/configure
	* src/modules/rlm_rest/configure.ac
	* src/modules/rlm_rest/rest.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0acb468eae0987e3720f37cc3a2f18244ef33c3e
====== 
Build crc16.c too!

Arran Cudbard-Bell at 2015-07-31T19:58:21Z
Files modified:
	* src/modules/rlm_redis/libfreeradius-redis.mk.in

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/607bcde0503ec7d025f9166c1e12192b902ef634
====== 
Grammar

Arran Cudbard-Bell at 2015-07-31T17:17:53Z
Files modified:
	* src/modules/rlm_sql/drivers/rlm_sql_postgresql/rlm_sql_postgresql.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/68b57d3a36576687e6436b03998d6554768c64bc
====== 
Be more careful about appending duplicate options to the pg connection string Closes #1172

Arran Cudbard-Bell at 2015-07-31T17:16:54Z
Files modified:
	* src/modules/rlm_sql/drivers/rlm_sql_postgresql/rlm_sql_postgresql.c
	* src/modules/rlm_sql/rlm_sql.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4ad8881d7572f1b1b6fafd24889cb108bc14d241
====== 
Lower wait for synchronisation

Arran Cudbard-Bell at 2015-07-31T16:40:55Z
Files modified:
	* src/tests/modules/redis/cluster_node_fail.unlang

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0742c5e51e8965e24f77808efbf46fea0307a0d4
====== 
Merge pull request #1170 from arr2036/v3.1.x_redis_cluster

Add native support for Redis 3.0 cluster

Arran Cudbard-Bell at 2015-07-31T16:35:02Z
Files modified:
	* raddb/mods-available/cache
	* raddb/mods-available/redis
	* raddb/mods-available/rediswho
	* scripts/travis/build.sh
	* scripts/travis/redis-setup.sh
	* src/modules/rlm_cache/drivers/rlm_cache_redis/rlm_cache_redis.c
	* src/modules/rlm_redis/cluster.c
	* src/modules/rlm_redis/cluster.h
	* src/modules/rlm_redis/crc16.c
	* src/modules/rlm_redis/crc16.h
	* src/modules/rlm_redis/libfreeradius-redis.mk.in
	* src/modules/rlm_redis/redis.c
	* src/modules/rlm_redis/redis.h
	* src/modules/rlm_redis/rlm_redis.c
	* src/modules/rlm_rediswho/rlm_rediswho.c
	* src/tests/modules/redis/all.mk
	* src/tests/modules/redis/cluster_key.attrs
	* src/tests/modules/redis/cluster_key.unlang
	* src/tests/modules/redis/cluster_node_fail.attrs
	* src/tests/modules/redis/cluster_node_fail.unlang
	* src/tests/modules/redis/cluster_reset.inc
	* src/tests/modules/redis/module.conf

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/08e834eeaed1cf1636fa3288183adb076a8f3d86
====== 
Add native support for Redis 3.0 cluster

Hopefully maintaining support for Redis < 3.0

Arran Cudbard-Bell at 2015-07-31T16:06:16Z
Files modified:
	* raddb/mods-available/cache
	* raddb/mods-available/redis
	* raddb/mods-available/rediswho
	* scripts/travis/build.sh
	* scripts/travis/redis-setup.sh
	* src/modules/rlm_cache/drivers/rlm_cache_redis/rlm_cache_redis.c
	* src/modules/rlm_redis/cluster.c
	* src/modules/rlm_redis/cluster.h
	* src/modules/rlm_redis/crc16.c
	* src/modules/rlm_redis/crc16.h
	* src/modules/rlm_redis/libfreeradius-redis.mk.in
	* src/modules/rlm_redis/redis.c
	* src/modules/rlm_redis/redis.h
	* src/modules/rlm_redis/rlm_redis.c
	* src/modules/rlm_rediswho/rlm_rediswho.c
	* src/tests/modules/redis/all.mk
	* src/tests/modules/redis/cluster_key.attrs
	* src/tests/modules/redis/cluster_key.unlang
	* src/tests/modules/redis/cluster_node_fail.attrs
	* src/tests/modules/redis/cluster_node_fail.unlang
	* src/tests/modules/redis/cluster_reset.inc
	* src/tests/modules/redis/module.conf

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0a5bbf4986598f439b554f76fed7684f7c005739
====== 
const for variables

Alan T. DeKok at 2015-07-31T09:22:33Z
Files modified:
	* src/main/radattr.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/72ea30edba9e2a264537e6de8ad447476a3012d9
====== 
Tests for Tunnel-Password

And a fix for when it would encode passwords with the
wrong length

Alan T. DeKok at 2015-07-31T09:22:32Z
Files modified:
	* src/lib/radius.c
	* src/tests/unit/rfc.txt
	* src/tests/unit/tunnel.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/073a348bc90b49495b8496060e2f4b3c1319abc9
====== 
Added packet / original for encode / decode attrs

Alan T. DeKok at 2015-07-31T09:22:31Z
Files modified:
	* src/main/radattr.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bb6e8b936ac898d34e9d9bd814a2f8dc26f84650
====== 
Pool triggers should be in their own section

Arran Cudbard-Bell at 2015-07-31T00:07:04Z
Files modified:
	* src/main/connection.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/022082ec8af040cbcf6677eca825e779f002e877
====== 
Fix potential buffer overflow in value_data_prints

Arran Cudbard-Bell at 2015-07-30T18:25:12Z
Files modified:
	* src/lib/value.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/13b7e01c3dd77a81e702669ab44cccc70c393966
====== 
Document exec_trigger

Arran Cudbard-Bell at 2015-07-30T04:36:14Z
Files modified:
	* src/include/radiusd.h
	* src/main/threads.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f19ce4e711762f21364d96d50074b823c591f8b4
====== 
Fifo code should use unsigned ints

Arran Cudbard-Bell at 2015-07-30T01:21:54Z
Files modified:
	* src/include/libradius.h
	* src/lib/fifo.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7bdb462c220914effcb90cca3f5a634dcfe4a398
====== 
s/find_module_sibling_section/module_sibling_section_find

Arran Cudbard-Bell at 2015-07-29T21:27:36Z
Files modified:
	* src/include/modpriv.h
	* src/main/connection.c
	* src/main/modules.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/13567a58d476c7a14180e8ad92efc682a5528a88
====== 
Don't always insert

If we've been told to expire, and we're doing an insert, mark the entry as non existent and overwrite it.

We should still not allow overwriting entries that have not been expired.

Arran Cudbard-Bell at 2015-07-29T20:56:27Z
Files modified:
	* src/modules/rlm_cache/rlm_cache.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7ee30e4928a7c8f366ffc0fefe88277ec7330091
====== 
Fix FR_TIMEVAL_TO_MS

Arran Cudbard-Bell at 2015-07-29T20:56:14Z
Files modified:
	* src/include/conffile.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/730794f64d2f7b7e1a53f4845236e45c51805300
====== 
Do dedup for CoA packets, too

Alan T. DeKok at 2015-07-27T13:13:42Z
Files modified:
	* src/main/process.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ad2ae0c1a787e925183e181cdceec29b3b64b24d
====== 
Use correct VP for port information

Alan T. DeKok at 2015-07-26T14:05:10Z
Files modified:
	* src/main/process.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/06d6e44c2b0f1749481c18a34a2f68e34a6dd925
====== 
Remove "eap stage", and just rely on handler->process

Alan T. DeKok at 2015-07-26T03:00:41Z
Files modified:
	* src/modules/rlm_eap/eap.c
	* src/modules/rlm_eap/eap.h
	* src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c
	* src/modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.c
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/rlm_eap_mschapv2.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c4fc8e0d94231e69b2124a5ba6c56fe8408e9e5d
====== 
session_init returns 0/1

Alan T. DeKok at 2015-07-26T02:52:18Z
Files modified:
	* src/modules/rlm_eap/types/rlm_eap_pwd/rlm_eap_pwd.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a8d1c2ace31c50183f58ab111a16b3b8253d8b07
====== 
Set handler->process in the EAP modules

Alan T. DeKok at 2015-07-26T02:51:51Z
Files modified:
	* src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c
	* src/modules/rlm_eap/types/rlm_eap_ikev2/rlm_eap_ikev2.c
	* src/modules/rlm_eap/types/rlm_eap_leap/rlm_eap_leap.c
	* src/modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.c
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/rlm_eap_mschapv2.c
	* src/modules/rlm_eap/types/rlm_eap_peap/rlm_eap_peap.c
	* src/modules/rlm_eap/types/rlm_eap_pwd/rlm_eap_pwd.c
	* src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c
	* src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/rlm_eap_ttls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dd7cd92960068e239efcebfeca5e848569a68ab2
====== 
Indentation

Alan T. DeKok at 2015-07-25T22:58:39Z
Files modified:
	* src/modules/rlm_eap/eap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7339ea07502c592ebbd85a2ca514918b4c5ba53d
====== 
Add handler->process

so that the sub-methods can just update that, instead of using
other hacks to track where they are in the process...

Alan T. DeKok at 2015-07-25T22:57:30Z
Files modified:
	* src/modules/rlm_eap/eap.c
	* src/modules/rlm_eap/eap.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/77bd13142ae19dac260a4f0c2b02de2aef63bc51
====== 
Use typedefs for session_init / process functions.

This is the start of moving the EAP methods to a state machine.

Alan T. DeKok at 2015-07-25T22:44:03Z
Files modified:
	* src/modules/rlm_eap/eap.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bd3c73a1969c20d5dd4a86a57f9a190f68202d5b
====== 
set "handler->stage = PROCESS" in main code, not sub-types

Alan T. DeKok at 2015-07-25T22:41:14Z
Files modified:
	* src/modules/rlm_eap/eap.c
	* src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c
	* src/modules/rlm_eap/types/rlm_eap_ikev2/rlm_eap_ikev2.c
	* src/modules/rlm_eap/types/rlm_eap_leap/rlm_eap_leap.c
	* src/modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.c
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/rlm_eap_mschapv2.c
	* src/modules/rlm_eap/types/rlm_eap_peap/rlm_eap_peap.c
	* src/modules/rlm_eap/types/rlm_eap_pwd/rlm_eap_pwd.c
	* src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c
	* src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c
	* src/modules/rlm_eap/types/rlm_eap_tnc/rlm_eap_tnc.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/rlm_eap_ttls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/466289c698b57070b695cb493bf6e72e88f33ace
====== 
Use typedefs for eap stage

Alan T. DeKok at 2015-07-25T22:37:10Z
Files modified:
	* src/modules/rlm_eap/eap.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c534c98bb7c59079e560e97357315d90304f84c4
====== 
Merge pull request #1166 from herwinw/gcc-4.8-compile

Fix compile error with GCC 4.8 and higher

Alan DeKok at 2015-07-25T13:56:11Z
Files modified:
	* src/modules/rlm_yubikey/validate.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b58e1190ecb9fd1de3043e3a4033133abb06d43d
====== 
Fix compile error with GCC 4.8 and higher

```
src/modules/rlm_yubikey/validate.c:37:77: error: expected ‘{’ before ‘const’
 static void *mod_conn_create(TALLOC_CTX *ctx, void *instance, UNUSED struct const timeval *timeout)
                                                                             ^
src/modules/rlm_yubikey/validate.c: In function ‘rlm_yubikey_ykclient_init’:
src/modules/rlm_yubikey/validate.c:135:58: error: ‘mod_conn_create’ undeclared (first use in this function)
  inst->pool = fr_connection_pool_module_init(conf, inst, mod_conn_create, NULL, prefix);
                                                          ^
src/modules/rlm_yubikey/validate.c:135:58: note: each undeclared identifier is reported only once for each function it appears in
src/modules/rlm_yubikey/validate.c: At top level:
src/modules/rlm_yubikey/validate.c:20:12: warning: ‘_mod_conn_free’ defined but not used [-Wunused-function]
 static int _mod_conn_free(ykclient_handle_t **yandle)
            ^
scripts/boiler.mk:630: recipe for target 'build/objs/src/modules/rlm_yubikey/validate.lo' failed
make: *** [build/objs/src/modules/rlm_yubikey/validate.lo] Error 1
```

Herwin Weststrate at 2015-07-25T10:46:22Z
Files modified:
	* src/modules/rlm_yubikey/validate.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c4b2151f8d2014b70290efceff8359562293dc33
====== 
Re-arrange some cache logic

Arran Cudbard-Bell at 2015-07-24T18:16:52Z
Files modified:
	* src/modules/rlm_cache/drivers/rlm_cache_rbtree/rlm_cache_rbtree.c
	* src/modules/rlm_cache/rlm_cache.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c98b1b45283336a8d1e98b3961063af1661e8dac
====== 
Switch cache inserts to upserts to prevent periods where entries do not exist in the cache

Arran Cudbard-Bell at 2015-07-24T17:24:37Z
Files modified:
	* src/modules/rlm_cache/drivers/rlm_cache_rbtree/rlm_cache_rbtree.c
	* src/modules/rlm_cache/rlm_cache.c
	* src/tests/modules/cache_rbtree/cache-logic.unlang

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f712a1d0351971d2686fbaea79297cb20f5b3568
====== 
Formatting

Arran Cudbard-Bell at 2015-07-24T14:33:36Z
Files modified:
	* src/main/modules.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3de33e34cb0d66ad3ddcee303486d1bd8f7ad552
====== 
Pass error codes back through cf_section_parse

Arran Cudbard-Bell at 2015-07-24T14:32:37Z
Files modified:
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d53d52fd62ae63b3c83a5fa78d12170714b371c3
====== 
Emit message for cache entry expiry

Arran Cudbard-Bell at 2015-07-24T14:32:37Z
Files modified:
	* src/modules/rlm_cache/rlm_cache.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/04f8854fdb26e9a273bed33d8cead2af42413fcf
====== 
Fix comment in cache config

Arran Cudbard-Bell at 2015-07-24T14:32:37Z
Files modified:
	* raddb/mods-available/cache
	* src/modules/rlm_cache/rlm_cache.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/977a38c3913e11360afd7db60eff51f284786e35
====== 
Revert "Don't complain on deprecated.  Closes #1131"

DO complain on -C, because we refuse to start without -C, and having different behaviour between daemon mode and -C is worse than some mildly confusing message, as it's the thing that init and salt scripts use to prevent accidental destruction of radius clusters.

Arran Cudbard-Bell at 2015-07-24T14:32:37Z
Files modified:
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a0cb9664f6e5a5b88a27d6fa1ad18170d8995d1b
====== 
Specify hiredis version range

Arran Cudbard-Bell at 2015-07-24T14:32:37Z
Files modified:
	* redhat/freeradius.spec

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fd18a5362ac19fbc5dde6f4b6d5c52696d0bad73
====== 
Fix missing %{Packet-Src-IPv6-Address} in the linelog

Jorge Pereira (via Arran Cudbard-Bell)@2015-07-24T14:32:37Z
Files modified:
	* raddb/mods-available/linelog

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7153a96a913319c5bc4efd9a42e914541bb5a7e7
====== 
Correct ldap config note

Arran Cudbard-Bell at 2015-07-24T14:32:37Z
Files modified:
	* raddb/mods-available/ldap

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d8e64c7dc1260ed9d47aff29b56dca5164068975
====== 
Update ldap

Alan Buxey (via Arran Cudbard-Bell)@2015-07-24T14:32:36Z
Files modified:
	* raddb/mods-available/ldap

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/28b1b66db6bfd623cc7e2771c6e56d574faed21e
====== 
Add 'Alc-Ascend-Data-Filter-Host-Spec' for Alcatel7750

Jorge Pereira (via Arran Cudbard-Bell)@2015-07-22T23:38:38Z
Files modified:
	* share/dictionary.alcatel.sr

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/58e43fd9a4901184ed2d7ecaf74e7515fa375903
====== 
Fix missing %{Packet-Src-IPv6-Address} in the policy insert_acct_class

Jorge Pereira (via Arran Cudbard-Bell)@2015-07-22T23:36:41Z
Files modified:
	* raddb/policy.d/accounting

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f04d231362532c6c031d3df2ef69dcf3b5241fd7
====== 
Add Alc-Nas-Filter-Rule-Shared

Arran Cudbard-Bell at 2015-07-22T23:24:34Z
Files modified:
	* share/dictionary.alcatel.sr

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/018c42ad4de43ff6a7ceed79c2ff69ae37003750
====== 
Fix warning

Arran Cudbard-Bell at 2015-07-22T22:57:13Z
Files modified:
	* src/modules/rlm_cache/drivers/rlm_cache_rbtree/rlm_cache_rbtree.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/831c79fbd8605cd70781f03c7c9276acf946644d
====== 
Package cassandra

Arran Cudbard-Bell at 2015-07-22T22:48:44Z
Files modified:
	* redhat/freeradius.spec

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a1150eb81e41957b88f327ec90d1e09cef7e65b2
====== 
Don't check pointer in FR_TIMEVAL_TO_MS

Arran Cudbard-Bell at 2015-07-22T22:48:44Z
Files modified:
	* src/include/conffile.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f1b8978bc814475d29c6a1d4b7dc59390c3f6726
====== 
Grammar

Arran Cudbard-Bell at 2015-07-22T22:16:28Z
Files modified:
	* CONTRIBUTING

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/db0eaafaaa0a31c8b73c8dfc5bd806b4d69e9103
====== 
Add NULL check in originate-coa

This prevents segfaults that may occur when the COA list could not be created, either by a lack of memory, or a request that is not an Access-Request/Accounting-Request

Herwin Weststrate (via Alan T. DeKok)@2015-07-22T22:09:17Z
Files modified:
	* src/main/map.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3226b13c96bca29967830d67e2188d8256112347
====== 
Use define for Service-Type value check

The value 17 (Authorize-Only) has been added in RFC3576, the other values were already present in RFC 2865, most likely that's the reason the symbolic name was missing.

Herwin Weststrate (via Arran Cudbard-Bell)@2015-07-22T14:02:44Z
Files modified:
	* src/include/radius.h
	* src/main/listen.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/653749d317aba8c0e4b3617d9f01ef2222e0b682
====== 
Add fr_timeval_subtract

Arran Cudbard-Bell at 2015-07-22T04:52:48Z
Files modified:
	* src/include/libradius.h
	* src/lib/misc.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5786460cc3bae8a9403c2506a9c70f36ea83211e
====== 
Expose connection pool state as a separate const'd struct

Writing getters and setters is dumb

Arran Cudbard-Bell at 2015-07-22T04:52:48Z
Files modified:
	* src/include/connection.h
	* src/main/connection.c
	* src/modules/rlm_ldap/ldap.c
	* src/modules/rlm_linelog/rlm_linelog.c
	* src/modules/rlm_rest/rest.c
	* src/modules/rlm_sql/sql.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a3fdb8d7007ca3f3e19c4b3e4802426fc23078a9
====== 
Avoid modifying dst until we're sure unescaping has succeeded in value_data_from_str.  Closes #1157

Arran Cudbard-Bell at 2015-07-21T17:02:15Z
Files modified:
	* src/lib/value.c
	* src/main/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/295e72cfdfdf325b9a167eafcab274e48049c603
====== 
Always set error messages in ip_hton

Arran Cudbard-Bell at 2015-07-20T20:51:56Z
Files modified:
	* src/lib/misc.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5bf3da60170e073f10e2b637ef3e569c40fb8588
====== 
Move radclient to use fr_pton_port for its host and port parsing

fr_pton_port seems to work, whereas what was there before didn't...

Arran Cudbard-Bell at 2015-07-20T20:23:35Z
Files modified:
	* src/main/radclient.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5e205a8b185bb88d46ef0040385b3f756d3d6369
====== 
Fix v6 address printing in from/to messages

Arran Cudbard-Bell at 2015-07-20T20:23:04Z
Files modified:
	* src/lib/packet.c
	* src/main/process.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3ca06cdbf291d5a6e07a7b4a92c1ee67ffd64d39
====== 
Allow an af to be specified for fr_pton

This controls which record we use if the address doesn't look like a v4 or v6 address.

Additionally inet_pton doesn't like addresses being wrapped in [], so strip them off in fr_pton_port.

Arran Cudbard-Bell at 2015-07-20T20:03:44Z
Files modified:
	* src/include/libradius.h
	* src/lib/misc.c
	* src/main/client.c
	* src/main/conffile.c
	* src/main/mainconfig.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b5d7954652ad08be3d17abfdba2b496361a05d83
====== 
Add fr_pton_port which parses a v4/v6 ipaddress or host and port

Arran Cudbard-Bell at 2015-07-20T18:08:01Z
Files modified:
	* src/include/libradius.h
	* src/lib/misc.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f1f2b24fdc51f5abbf41380d5eeed5f414f80fd3
====== 
Use temporary value buffer in fr_pton4/6

Arran Cudbard-Bell at 2015-07-20T17:39:16Z
Files modified:
	* src/lib/misc.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4d323ca4b0f7ec8ceae0769e83aa4e44d45a9bf7
====== 
Rename json_fr_pair_make back to json_pair_make

Arran Cudbard-Bell at 2015-07-20T16:58:50Z
Files modified:
	* src/modules/rlm_rest/rest.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2bf9e89bf161e9655f47b979bda1d74af259e013
====== 
Need libsasl to build SASL capable rlm_ldap

Arran Cudbard-Bell at 2015-07-20T16:53:02Z
Files modified:
	* debian/control

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1ffe766b4d00448adb6a0dc5baae82cea8813534
====== 
Check for sasl/sasl.h too

Arran Cudbard-Bell at 2015-07-20T16:48:08Z
Files modified:
	* src/modules/rlm_ldap/config.h.in
	* src/modules/rlm_ldap/configure
	* src/modules/rlm_ldap/configure.ac
	* src/modules/rlm_ldap/ldap.c
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/45eaefbdb83882f43df1769c8ec16f7e3480b411
====== 
Document timeout for fr_redis_conn_create

Arran Cudbard-Bell at 2015-07-20T15:47:53Z
Files modified:
	* src/modules/rlm_redis/redis.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7539e7e8f15b69b2dd9c2d0b7600fa123d917f01
====== 
Formatting

Arran Cudbard-Bell at 2015-07-19T19:14:56Z
Files modified:
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e244401d041f2e6c66d55641494872040157abf5
====== 
Only check if config items are deprecated if they exist

Arran Cudbard-Bell at 2015-07-19T19:14:49Z
Files modified:
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b841f3070c0bb2499ee893e8c4faa9fa0b9c3180
====== 
Add connect_timeout option to connection pools

This is passed to the create callback, which should then pass it to the library used by the module

Arran Cudbard-Bell at 2015-07-19T08:01:07Z
Files modified:
	* raddb/mods-available/couchbase
	* raddb/mods-available/ldap
	* raddb/mods-available/redis
	* raddb/mods-available/rest
	* raddb/mods-available/smsotp
	* raddb/mods-available/sql
	* src/main/connection.c
	* src/modules/rlm_cache/drivers/rlm_cache_memcached/rlm_cache_memcached.c
	* src/modules/rlm_couchbase/couchbase.c
	* src/modules/rlm_couchbase/couchbase.h
	* src/modules/rlm_couchbase/mod.c
	* src/modules/rlm_couchbase/mod.h
	* src/modules/rlm_krb5/krb5.c
	* src/modules/rlm_krb5/krb5.h
	* src/modules/rlm_krb5/rlm_krb5.c
	* src/modules/rlm_ldap/ldap.c
	* src/modules/rlm_ldap/ldap.h
	* src/modules/rlm_ldap/rlm_ldap.c
	* src/modules/rlm_linelog/rlm_linelog.c
	* src/modules/rlm_mschap/rlm_mschap.c
	* src/modules/rlm_redis/redis.c
	* src/modules/rlm_redis/redis.h
	* src/modules/rlm_rest/rest.c
	* src/modules/rlm_rest/rest.h
	* src/modules/rlm_rest/rlm_rest.c
	* src/modules/rlm_smsotp/rlm_smsotp.c
	* src/modules/rlm_sql/drivers/rlm_sql_cassandra/rlm_sql_cassandra.c
	* src/modules/rlm_sql/drivers/rlm_sql_db2/rlm_sql_db2.c
	* src/modules/rlm_sql/drivers/rlm_sql_firebird/rlm_sql_firebird.c
	* src/modules/rlm_sql/drivers/rlm_sql_firebird/sql_fbapi.c
	* src/modules/rlm_sql/drivers/rlm_sql_freetds/rlm_sql_freetds.c
	* src/modules/rlm_sql/drivers/rlm_sql_iodbc/rlm_sql_iodbc.c
	* src/modules/rlm_sql/drivers/rlm_sql_mysql/rlm_sql_mysql.c
	* src/modules/rlm_sql/drivers/rlm_sql_null/rlm_sql_null.c
	* src/modules/rlm_sql/drivers/rlm_sql_oracle/rlm_sql_oracle.c
	* src/modules/rlm_sql/drivers/rlm_sql_postgresql/rlm_sql_postgresql.c
	* src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c
	* src/modules/rlm_sql/drivers/rlm_sql_unixodbc/rlm_sql_unixodbc.c
	* src/modules/rlm_sql/rlm_sql.h
	* src/modules/rlm_sql/sql.c
	* src/modules/rlm_yubikey/rlm_yubikey.h
	* src/modules/rlm_yubikey/validate.c
	* src/tests/modules/ldap/module.conf

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/49345f78678fb6b3e7710f2d18d09099e00c64aa
====== 
Use inst->pool not inst->conn_pool

Arran Cudbard-Bell at 2015-07-19T08:01:07Z
Files modified:
	* src/modules/rlm_rest/rest.h
	* src/modules/rlm_rest/rlm_rest.c
	* src/modules/rlm_yubikey/validate.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ec04d0b329ca73b15a6433273e0deda942458d9c
====== 
Normalise conn field names in iodbc

Arran Cudbard-Bell at 2015-07-19T08:01:07Z
Files modified:
	* src/modules/rlm_sql/drivers/rlm_sql_db2/rlm_sql_db2.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d6976f8e2eb67c33c1d2148dceba2f9ae4adc200
====== 
Support setting connection timeouts via the connection pool

Arran Cudbard-Bell at 2015-07-19T08:01:07Z
Files modified:
	* src/include/connection.h
	* src/main/connection.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/728740415bd0ad6f681f8951ae802d21a11ebe30
====== 
Additional macros to simplify timeval to ms conversions, and marking things as deprecated whilst removing the fields from the struct

Arran Cudbard-Bell at 2015-07-19T08:01:07Z
Files modified:
	* src/include/conffile.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/861adb92aca2e81cd1f34a7f2c411bd6924dc1d1
====== 
Timeout value for fr_socket_wait_for_connect should be const

Arran Cudbard-Bell at 2015-07-19T08:01:07Z
Files modified:
	* src/include/libradius.h
	* src/lib/socket.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6a5f847459ead0f9b9d03531d6dd1da576c36fe9
====== 
-- 
This commit summary was generated @2015-08-06T00:00:03Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list