Commit report for v4.0.x branch
announce at freeradius.org
announce at freeradius.org
Tue Jan 24 01:00:02 CET 2017
New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJYhnGMAAoJEH0Oec13Yh7Nh1sH/2qPFBd1RhyDloLQLzTp8reo
sil9iZkUV88oQ45YZJWtR1rOGvPk1KrK67fmVeQSaP2JkY/wpbL0BFfwnMpls1t1
r5puk8uVkdspcLsiNvhjTz9Ky//RlYCcdo31ylRQA5mWZ4BMPak8AdTrR7IQO8TO
aIrdwZ9xhe8nqGyPBpJUMHDe9mWRqAWkUZcncEQmuM/w72IovjHntjfey+RMkkAC
c1RLOzL6DhTwfkkda0Z8NOBoTSOErF3LgZinK6E3G0K/4mln/KDU5nenvOjpdYgR
xan39Micp4TESG+x41QZ6IaI9EiZYHmgvZnJjmI9jQl/lFibq//PaIkGC5SNS6I=
=nVzU
-----END PGP SIGNATURE-----
tmpl_from_attr_substr is now private
Alan T. DeKok at 2017-01-23T21:11:36Z
Files modified:
* src/include/tmpl.h
* src/main/tmpl.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5e0d7b48dffa5341ba9498aace7daabf9cf6fd16
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJYhnFMAAoJEH0Oec13Yh7NULcH/3gYZ7+UZY+3LLPUf6HMwomw
i56ScE0mLkzhaVY6BGD5sXoZ+Cao3TyRjKehIAencen4DQyighO16BmcbC2HM209
LpSMf8QL/aEx0KMlWtLP0g9m1vmxcHQuXqio9SCyaaFxawWsvhVF4TzkMUgL/Qzu
rFRFrkjNdAG2xgvbrwRGdtHpCpd/xcWdggi4V1+Sed/nHBra7RiyJe2PLoLVnoMD
PK0oNdoFGic+w+Lx/TyRVMgVfyC4265FRR1MKwHK4Jz/HsfV7+ARoRVooCBEU1nx
kyMIAtBgyzDvbKyXmVq5pZeEW32Neiv11IyJya6I9KsdOgI7z/PXKNTF4Z2oFdE=
=XqXz
-----END PGP SIGNATURE-----
use tmpl_afrom_attr_substr() here, too
Alan T. DeKok at 2017-01-23T21:10:26Z
Files modified:
* src/modules/rlm_cache/rlm_cache.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7b7f347f3b33aef83def373ab8e1dbc63f83f1fa
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJYhnDbAAoJEH0Oec13Yh7NvywH/imU0930uDGSSsPW/Orms2u4
Lf4WYUFN0rHALrT8OJ8Hq2DdRBi2SuO0kxR+ThFq7NG+OVx/OOTWULqxiVwnFMuh
YDYIuP8BoJx05LYJdVH6dKhyAhBBaC6Tx70s72oRp00jwoUyILuZA+BnGhwPXxox
J5bAF1Jnmg22kma7msw1R7b3wrVrmpipWu0LN9MTPJObM6kh2wJiwqs8S1UVRv8a
tWNg5VaSWoQtFF+hIlcyS8AjuywgjqSfS0kI6gZuQPlKnQbwTVMmtwrQoXlZFHum
DpXAqXYOXYYDZREpqf4jybs3vQohL4qU3UgWw3VajSA/Eum+fw+NEPqsrairFLA=
=RfeK
-----END PGP SIGNATURE-----
arg. missed in previous commit. Stupid git
Alan T. DeKok at 2017-01-23T21:08:34Z
Files modified:
* src/main/xlat_eval.c
* src/main/xlat_tokenize.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/20eb985f99841621c408872248e0e1cc9a232563
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJYhmu1AAoJEH0Oec13Yh7NaI8H/0rZpghznOQ70TmeXtBIXJcO
714xyMyyzHPmj4zZ4G15yrQXh/gDVpOqZ1CxqL3iU1IfCTJR49svXpQ1O6hBCmDb
Vpq1Wk8hM4Fqlxm35k/s7EPdJ/jcmSLX+kz51FOqx/tCCxOsTZ4b2qT5t1/fmL9c
zUYUOo/LKoZtHm/jOpINRBudWKctiN2T/bdAr6Mo4x+6J/cLrP7F2o/N7rpTfERF
7k5AFPR2JIL8V3tr0mI8oCnwkTPi8SV2TNHHgg/OhhLSnaIDeE913/+zvK/LCLNt
9oSyUPhJx57h9+M8yEveXYCCsdUdBVXwneKPsaU3JfFUgKr39Mw15EhoD18BSx0=
=25ha
-----END PGP SIGNATURE-----
make node->attr a talloc'd pointer
And move alternate into a "union" with attr.
And add a "regex_index" field to the union, because we can't
just steal node->attr->tmpl_num. Which was always a hack.
Alan T. DeKok at 2017-01-23T20:45:58Z
Files modified:
* src/main/xlat.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dfd7ad9ecefa456ccb42f1baf2a783d142f339b9
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJYhmkrAAoJEH0Oec13Yh7NwK0H/1trPIUerhtTo4FPmyahsMJK
ytCMJeKxb5VGTlKzU9+5W59T0+jY/YHb+F4RIB0aayFxyMc4jj2ZJkPOf5+Af7Ae
CwKksZPH9FdZOj28ebO7lunozcBfw3zt71HesbkaWqhy5lJr7VASqIxh1ki63xly
U4s75VzjO1jCxQTF+D/8dt0Gjvpm3EzdVOglGqsGWhz/1BQcanxyg1DbajL+ynso
If/7xs3GW979XUK4aTKH8FWFjIY6DI+G8tyr4VO2wJokvc3cKlfAGDgcYlYqjQyJ
lHaDZGVSpkIeW/nGXWNXZiXDKpycn95TF7nfzsF/Ha9O9/ix8hPsqqxgC2RC6jI=
=fqNW
-----END PGP SIGNATURE-----
use tmpl_afrom_attr_substr, not the stack-based version
Alan T. DeKok at 2017-01-23T20:35:24Z
Files modified:
* src/modules/rlm_expr/rlm_expr.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/846de16c50c23afbe81356aee6be093ac8e3ca15
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJYhmLzAAoJEH0Oec13Yh7NU2QH/j/y+AnoTAcggUtOTm8CE+Ni
JcO47xIP7f0jKBhSshWGZES2qzzVb5GzEB+1BoFvEQBee6NX7HTbCTYJLY3cTXrM
cyTdkzaMwVAFEwlVYn6zzw3f/IgozvxYQzHaOUGfVhmLRndl0MTp6rtLZj1ZWI0a
+MUZE1JOE0YCxF7LyheH0MqvRfgOssR32LL8VZ2Vl6JGJwmVpz7nAl7nRePy6tWU
Y1US/fAFIW9ChNw+BGRcyj72qp/3ZuzZzkCieXUxqvvz/Spcw9ijfX2QyjRXEfSD
BzMnJSuouyqoNS5Gke/496gH+/cBt7UnZD5IZLHjq40lxXV4g8xaybxBTur8sC4=
=BaGW
-----END PGP SIGNATURE-----
s/new/n/ "new" is a bad name for a debugger which knows about C++
Alan T. DeKok at 2017-01-23T20:09:09Z
Files modified:
* src/main/map.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1543069f20e03d9e941c417f7ead891f1fddf22d
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJYhl0jAAoJEH0Oec13Yh7NCBsH/jHyc/+gEbsLYgxMG2v1v37m
o6vJ1+vetxq8NRnxBFDe3hoTcguKMSz0xaLzxJId7ZU4tZcytz+jFOdxpqPy7bwZ
gP3jEIcM/gGUz6W8DbPo7SRUdmkaPZ/w5YhKQ5iUppKlhwk/4nKBKQVGBa1zUZqm
msBt7j2gJ1wjcThqVB96UVXznM44pRVxG/QArloJOsrASwQGMpOTrHqNC0bDpDkQ
27LvTLEmSz2T+8xchA3bwuqSm+xHBUkJwyMYjf+qy5IvcFxggA2o2RiLRLJkfCXc
YjPu3clLs6mwhuiQjsTMByZHs2rRY3RrEFcHWAc1Ek/JekkKjG8FLtVbJNyJS+s=
=cTBB
-----END PGP SIGNATURE-----
da may be NULL
Alan T. DeKok at 2017-01-23T19:44:31Z
Files modified:
* src/lib/dict.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d01c42e2428dbb85a28477c1fdae8027f8a701ce
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJYhlEaAAoJEH0Oec13Yh7NIC4IAIA8wJGytr8uxFsbVCGsAd2J
1S9eJbjRWguNguVc5piNfMYL0jdNcjpb56h0siB33A5Nfjxv8YciC+Xutk6ZmeI7
pegu6duDv+6nNPYefCg2u245IoAx1w/Tf4xVdxeP08yqbkf+0rY08xpHSHFQwyxQ
KHIJmsNHrlto2yS4BnNpMNMaQ80xCKJ/RZwwmXp3Z5N4W4EJXF1sjIPHcyU6y5bJ
bvnhLghur14jHnEzeiq7SKFfHkrP2kXv59H8D5KitFebzF/WsZmA/BZ2Tw+kkij2
DOByRW0T4jL3lERMQBwyXfl++8Qlcvqbh5VyL60pVDDLq5Kd99s6UDdpzE9otDk=
=9A7m
-----END PGP SIGNATURE-----
Remove "Vendor-%d-Attr-%d" and "Cisco-Attr-%d" syntax.
v3 never produced those formats, but did parse them. it's better
to just disallow them entirely. That makes parsing much simpler
Alan T. DeKok at 2017-01-23T18:52:32Z
Files modified:
* raddb/README.rst
* src/lib/dict.c
* src/lib/pair.c
* src/tests/keywords/unknown
* src/tests/unit/condition.txt
* src/tests/unit/errors.txt
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ee55be5499a53d0266abd5c710e5195b23bb2621
======
gpgsig -----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org
iQIcBAABCgAGBQJYhkOrAAoJEP+k1YKfttfKcUUQAInvz9qtGGmhhscNZXVp8Vj2
tzqesFJ+YfTVxgSmT1rODYzypa4SO4wv6tsfPf/ApN41PswhC1r1cDepiap+XVvO
dr4Ll968Xua/vJijkEp2okU53XsIrC6gE0txO936JgtoF9XN1ZT+vptgzikUM5Yd
XxscUOvvHXuQ2HmEh77TMaEGIw9GF/SLv7sphm1+uAiAJ9cQZIpRUygvRdlgcxTH
3WwT3SYV+L0T8TExmcftA6YAAAGh9IsKF8Yjrf2aVHCakyfa6k/mvdmZH1RFCVk5
98h5YyS0kk8Xlgn7pUdRKaG6YONsvkqk8lOw4Yg6HSkTLIB1LbYxnTuG8Dzyin3J
T5dIDiMFOxGgsoxfwx1zRENfT7E8VoJwFFXa31JE70DPLYdWiZKJUaOitvbbtbVQ
MkenorYP35Qb07cvuds9oBTIAkQi+7g9svOGOXm/ucFPtMAL4dOISDX9y+1Uxcez
ubRvQAWsFjQZNbzgG+VRCv7PKcS3jMdjcZWOEj4BsdzrvRHnt0Lso4jmoRe4ubax
8TYROlyvTvvXJlxnzGUH29l5lzRAD6YW4RZAwgWQ5cTior370GcI2vYQpafXHlrF
XwkUvA0lfM+S6Qn0KHjeClJQa86hr8iTsR6qUDR/2vApfS0QQLm5ihRFh/j7T6hJ
fDT/ZscRhuh2sUlOwEAR
=58RJ
-----END PGP SIGNATURE-----
Fix assert
Arran Cudbard-Bell at 2017-01-23T17:55:55Z
Files modified:
* src/main/map.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e2cb766fe4e91b014d69ab5b3fd9567e2e760b0c
======
gpgsig -----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org
iQIcBAABCgAGBQJYhj4jAAoJEP+k1YKfttfKEHIQAKovGJIKu5KzV+NoXZIKsY1r
1qJ8QhmKKmAgHQiL6OJkUf4I67D7Q8KKtmQqgIJr2MZln33PqLOjicy+P5Yqh0vz
PBgZS8k9vVrJQgWEZ2EDoaVWA+9EG74oXX9c6SfI05GK0lLisU2rJthv7zaH4kIF
kVgWsYU7EOy74rXUD/o/QJQ5MYmFiH7Br+yRXXNJEClUZ4oorKq1dagVqwO+4FcM
I2jQoMYDn+Hpz4RufHKoEj5oBlZUq+3PUhcX4OvYgYq9WDNWY7CTD23C4s6BJE1m
+O2UpOc/7AxS8TG8UDIBXClXLLCpQxSIKCrU5jXmEipGmIu7nbLyOWYHpT2H8+Yr
cA71H8FjNKWIq37nnzr8bZDXFyCT9VXfeTduN+u5woneK7EAiBkQJR8l21jZfGEy
TXyGC9Yo7rqp5scbW/j3EorpWEhrOb1Kmhyr5tAiVgu7cQjoZDnkRrnGcBzs0hji
x/UGigNP6suU4FIIJ7aFU2Z8LSJXq4EUlIBEW+PsbM02ga5zzI+DCQeo+yYtG0eQ
sAvIb8xTFUKDb7Aebf1L9AF0+Xu921CsA6J+7IPKstG6SnuUv1kZxT0jSnVgagGO
WSdqJEx/IjfqSyyVvPrq58zGpYN636n9rO4aRcq8teigtyzuD01I5IFLlS6pu23j
LyKKIyQpt+1NWPObcFEc
=m2bL
-----END PGP SIGNATURE-----
Doxygen doesn't like @fixme
Arran Cudbard-Bell at 2017-01-23T17:32:19Z
Files modified:
* src/lib/value.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dbfc2a0bc497de11f167e2b11c89a8d1972a22ca
======
gpgsig -----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org
iQIcBAABCgAGBQJYhj4ZAAoJEP+k1YKfttfKSVsQAICafGSvEtlcwe/f6yKqWygn
vRp8fo/o+Og8QTUUIy3sFSZDNeyzl8htkwEjv0DWKsKDeVzxXBEq5SPs90pJZqOu
HuqCk0dEkY4G0XzxeZYUTksH3iJEM/M9kLPSqXs39/byAvyF9gsycwMaPAbKT2lo
3SFgWD3TQnfHMYBRF8tMLtQJQ3IaAR1LjwOiSYjbWLqdYEweJJEQ0Y8vk6CN5fee
bRd3VDINGmq6OPr7sZpLhU9jNlhyq6eQep+B5XC6B8ZbIucb9kYH/zI9Do7RMpB7
EhyW57XIcRQBBFOHWtNic0KRp8pAIz69gCzppTAbjTWHcDpHcKzSHUWkCDtIcI1+
8NW2biDu1XYyoDLmL30dD7r7e0tB5MbpgGypamYPq4pAwwv0QZC7k1ei6oU4/Ajj
iw0yf5Br0nlfdWibFRFnEgFCYDVMAtyGo/x6eG5IpqOEr/gaghuHHHkfex316uOT
D8ivunyj6cTRhRDxPeja6Lx0fQmkWncPbi/5ip2yjKTSDGNuvIHCr74qcxHUgtJB
ILxAeftp55wucvV1ZvuhwgfPWvjNlrkWbLZh5KxLUImwJ7QOBvBxq2/luVkA1spF
7xMNFQ2bE/YiZBfyfoKdas00g8beJMrUB8wd3Aai0Sa+as9fVdvhISJZTuAZhkZV
/DqvkrQgzvjIG+qORcev
=KzrR
-----END PGP SIGNATURE-----
Fix call to value_box_asprint
Arran Cudbard-Bell at 2017-01-23T17:32:08Z
Files modified:
* src/modules/rlm_cache/serialize.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0dfd9c11e97706e511aad6cfb886efc13c8fa229
======
gpgsig -----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org
iQIcBAABCgAGBQJYhjskAAoJEP+k1YKfttfKb0gP/0cb5uIjSevwmkFKordDDSBB
ZiLzBT84tI+uitcw4Q13OyOMhKpt2hDQ4WQ0ueklQDXfWTFzda7lEmPTSdk7qwaK
x9Qz1Ceb5inxTAysnWWGVnMY+aHvuBu7OrkdVGHho4PJJUCi6USyexZC4OgkNS6c
ukF32nth3DtiWz9G71lCH9VT4Lz5/2qqifHDHK3ArTSbCSLE7Lh3Mlf1MNTlPecP
3VZKTP18JziSG8JnAJfs7mwHigNhMft2CLvwbRVgarQGljCLxvXOqhG0aGlPDDfq
qoWRCOk/ktdK6asn7c+528SCzVbxeKCOURvLavnob90wTFiMuKZbisHdqUNTKftm
/hV6hCn6Y1qd3MzEZR25w8XLzRyu3iwrntrEc1xE4CXollDX7ps2xiNBxZaOn4Yg
mjCKiJPnAy8kUlR6lEQFIvgm1e5epimyt8Rua5AXh0r4N7v+SKOiZRAUsrPZ9ecK
0UCW8YQXX07AdVaYWakeh1Q3CqonG2WoOZZ9UGvF6DoBWA2ipjhWg2VJzvWpzya6
ysU8UG/1cgn6p3xgkeBPZKRZqMnMqOU4DRfy4/OfYZqjRYGe+imHhWu12BsMNOt5
eOKII3RLWeJxMUOjtGESfzNlciYYqQp0+YBOZSpqLkZp1C/n6QddKQ7healrM86W
ZHH5+NcDQPKs5CGCpO/d
=HLT2
-----END PGP SIGNATURE-----
Add type field to value_box_t
... and modify all the hundres of places which get pair type from vp->da->type, to get it from the boxed value instead.
Add additional validation functions to check for places where the box type isn't set correctly.
References #1883
Closes #1012
Arran Cudbard-Bell at 2017-01-23T17:18:51Z
Files modified:
* src/include/libradius.h
* src/include/pair.h
* src/include/tmpl.h
* src/lib/pair.c
* src/lib/print.c
* src/lib/radius_decode.c
* src/lib/radius_encode.c
* src/lib/value.c
* src/main/client.c
* src/main/cond_eval.c
* src/main/cond_tokenize.c
* src/main/files.c
* src/main/map.c
* src/main/pair.c
* src/main/radclient.c
* src/main/radsnmp.c
* src/main/realms.c
* src/main/snmp.c
* src/main/stats.c
* src/main/tmpl.c
* src/main/unit_test_module.c
* src/main/unlang_compile.c
* src/main/xlat_func.c
* src/modules/proto_dhcp/dhcp.c
* src/modules/proto_vmps/vqp.c
* src/modules/rlm_cache/drivers/rlm_cache_redis/rlm_cache_redis.c
* src/modules/rlm_cache/rlm_cache.c
* src/modules/rlm_cache/serialize.c
* src/modules/rlm_couchbase/mod.c
* src/modules/rlm_date/rlm_date.c
* src/modules/rlm_eap/lib/sim/sim_proto.c
* src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c
* src/modules/rlm_example/rlm_example.c
* src/modules/rlm_expr/paircmp.c
* src/modules/rlm_expr/rlm_expr.c
* src/modules/rlm_json/json.c
* src/modules/rlm_json/json.h
* src/modules/rlm_json/rlm_json.c
* src/modules/rlm_linelog/rlm_linelog.c
* src/modules/rlm_lua/lua.c
* src/modules/rlm_mschap/rlm_mschap.c
* src/modules/rlm_perl/rlm_perl.c
* src/modules/rlm_preprocess/rlm_preprocess.c
* src/modules/rlm_python/rlm_python.c
* src/modules/rlm_realm/rlm_realm.c
* src/modules/rlm_redis/redis.c
* src/modules/rlm_redis/redis.h
* src/modules/rlm_redis_ippool/rlm_redis_ippool.c
* src/modules/rlm_rest/rest.c
* src/modules/rlm_rest/rlm_rest.c
* src/modules/rlm_test/rlm_test.c
* src/modules/rlm_unpack/rlm_unpack.c
* src/modules/rlm_utf8/rlm_utf8.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/eb5dce0fc86a11ea0294a5467f3cd01c1dd50859
======
gpgsig -----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org
iQIcBAABCgAGBQJYhjZAAAoJEP+k1YKfttfKug4P/jGHCw4Lf1Pp53SsoJutatbP
SBgZYxsqwZmFaLLJU5DCdcnX3wr1YrFqQzLMw9pwhFdXLg7w2GEMYKyGHPAjQn3W
BnRwU93AAr2Ym6PhIwvCYx0XFtySx8CQ1zfNrG74XZrbndrWIOCSDD5G8KtTgDxc
cQR5FXrh8reUxSTiHudbXwmLdgpjdDzaiQ/l/Cb/IImKF4ZUbJc34TwP8jQSEuEn
e/OulK6zBqSnwuG4pbTJzCcOrwjFnS46u8mrCfVJpMjHeJxTsjXR0j+WJMgKxyfN
u2mrKZ6Jpxf4X9F6s9rOEUzPHqfwRTF1U95setIGJ2c9C1/3oy5F2/dgyD4cP+vK
QYoZSTKQVtaftTJAcSsBHaJLFu7+ENDQsozITV59zwdLntMwERKY40UaI4n7NixL
h0ft4MxStE4cxV/+BnBlXRXAL8ONDi73GHz0GZDRoPtDAOtSjQLPOgzLY9fiDqN1
dzY+AGU3plwR8whIa1QfjH7q2NZwwrb0EBdEVTIF7gKF0O6rz3KefnumONv2eFvX
pLZx9Ry1OnYfnWqhaCjNT0bUJFctxAy+4Z6ZZ+502nBxekqZtZ0nNmQW95zCZk1U
0Hpc9B71Fz8ceX9gymrFcyDaSqF9GH/OVXKSOe+zJi/LbWCrCLzP26zWcC27PSCU
3cYa5+1Q664zuIuKQtd6
=evaP
-----END PGP SIGNATURE-----
Const to the left
Arran Cudbard-Bell at 2017-01-23T16:58:39Z
Files modified:
* src/include/dict.h
* src/lib/dict.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/56522f445f0e86f138056f157e37554e9d336160
======
--
This commit summary was generated @2017-01-24T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).
More information about the Freeradius-Devel
mailing list