Commit report for v4.0.x branch

announce at freeradius.org announce at freeradius.org
Sun Nov 20 01:00:01 CET 2016


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJYMKEdAAoJEP+k1YKfttfK9MwP/28FIYi/Na6piP4GhoL/4EpI
 SOJDXgQ/YovyF44vqW86UbBwVF5wakNeSC3T539e8FUr7HK9h6tUrGYHttABVZgX
 tobS4+q4yiCzvM5Ws/pdMOLoM2X0bC32JdBp7TY5YLRzBGRtYX5oTQ6OyveHXVJQ
 /Am3UlQtgghrCFVtXzkS+4qsWf8+mH0dAQroZKICjGcSJtWcGXdmUNhPncCsHVBE
 veWaWsbawVN8e2+7Eg6qVgOJcKwvHXpEv/0WDVy+JC0QTCUErCdMZcz8LYckeQF9
 uaSh9js0LSoBpO4MtLyVBTx2LGpEy/L7yNRSzqoepra22QuQBfOhK49z0L3xUQeX
 Q4bOI0afmYFV0XytS2FrcK6HPlqwBwrtuCqbOgZeAMtq8Dbz7cLYTVhbJ5KQIJfN
 qm4r3WBjv1tPIAJwBtEdGZ9CkOkhLIia/eoztgH4VcVlz7M2JEi6Rh/SO3BSmrSX
 cK32Ys+0IQPJuvxpAbak4PdQyoWDd0rks8TPrzOtlhNYACiCAIEr5YVmhO/grlM8
 976QD2A1ONw3L5rnOyOZ0dTJqQ/CpsiPpnFEx7f772diJ1r8vnHY/Q8MJgpNeZ4p
 rzql7JZkTo5kzN0316tJhPuiX8CfCNHlL3jfAjDZ1sUk6CGiSVKDnanalN+fImNs
 Kwp6/UwPMOJJWy8WgRV2
 =pTnf
 -----END PGP SIGNATURE-----

Assignment to tmp not used

Arran Cudbard-Bell at 2016-11-19T18:59:41Z
Files modified:
	* src/lib/print.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1d243531e23580b04c2ba5ad36645824fe575cf0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYMG9zAAoJEH0Oec13Yh7NF44H/jpqabpEeaiB+soMgNTxVH0F
 71YEZbCCaxEd99e6HOAKWx4aWxr5kFH/mclOOtf9rk1d1u700LJHgHkUTrFl4bx0
 Wlwr9rXc2gInH6M8LGW5WIYyTgn0Y9n1wDKVYcDgoFXBUohdt5fL5N/QkwORUUxF
 25JJ2v+zgeN8y+r+YsYF50Kw/B//7TmFBPgnsTN22hx+BYsKxkoKdjzY58TTpeUu
 4uugWZnPZGumYun3f0lzPHb9or2xvM+u9eUcrySMW0fxivgE4swAk1qnP21Dk+FP
 y85eMcAZBfnHXO2scBwdxeBAK3IPxuc5ExMem6s0J0qr+RQf0SjVzEYDHe0ZDWM=
 =Qog4
 -----END PGP SIGNATURE-----

Add fr_message_alloc_reserve()

For protocols like TCP, where we reserve a large chunk of memory,
and then read multiple packets into it.  If we want to have a
unique messages for each unique packet, we need to be able to
allocate a message, while reserving the rest of the buffer.

Alan T. DeKok at 2016-11-19T15:27:47Z
Files modified:
	* src/util/message.c
	* src/util/message.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8181eb8bc6568d503a376becedff855165f7f34c
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYMG9zAAoJEH0Oec13Yh7NFD8H/16J0k5keFierw16ys315z7x
 x+NioMnI/60edAGl0ROQ8rxsnZ1KojOGjM49/mDqoZTRELH6I2fwxbFjRi7xxa78
 g12DUMTOE8gjpaMkJXGI+l/AWrejR8MSsP70aUzTBP97W9SBtPIeQmqcQJmpC0Gf
 rMSKcDQb0Pl46HLSu2bmUnshQMx4QArU8q9l41tklDrzkOV8LjjIlfrLGaI1sf/T
 9KDBtdF+BgTbn3AO5BVflDiOxBadsVBg9yodE7Dl8Rv1I5bqtbAAVQOBjdH3zT2m
 XUWk8WNV7BZnXxIUe1Lm6HH3Bjg8WntqXJrvqlqMkwrEmu8Z6CzYUPLpw+seu6w=
 =cONf
 -----END PGP SIGNATURE-----

%zd -> %zu

Alan T. DeKok at 2016-11-19T15:27:47Z
Files modified:
	* src/tests/util/message_set_test.c
	* src/tests/util/ring_buffer_test.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2625cf461c092af8941f7d0e972b3c33c1b70f69
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYMG9zAAoJEH0Oec13Yh7N4QYH/RD2M+Y9Kyd6IsAv8Jw7lQ7h
 w86ihUWpEVoJ4C2ztYydc/lfE9bUmQxWrQB5xxCDVyTM8npuKoV1dWU/tkJEz+Nv
 B5iNpf6fDbQb57pmYEgdWbPtmXTcnk77dFeOqktPWERr77NhwUUTK4SodYg0X9wr
 DB6tazaj0xSZDLNc6lErsiSklFnPz4AekvrVbprebBqm1O7M4vIXNYaVuqbyH0ox
 eQDwcdtHr0dmkZCR7Acq9GqqjKo0OEbOTXewt8DMdxfkMZe2eRsCDa3LT1kSMUge
 tjSFOvyh1MxQ6LSRj70TpvQqVXoKR3B+mmoJu4GGUnZ2oTLK8EwAenVLqysHMAU=
 =qcLU
 -----END PGP SIGNATURE-----

use src_type.  src->type isn't (yet) used everywhere.

clang complains about this, and src_type is used everywhere else
in this function, so we should probably use it here

Alan T. DeKok at 2016-11-19T15:27:47Z
Files modified:
	* src/lib/value.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b57a294f324d8597c296885cfd6d83a5c27a4259
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYMG9zAAoJEH0Oec13Yh7NR6gH/jMfB+clhDKFIECGS9XHUHZj
 yLocf6IZ40VPhaJwrxOpbnywdkyi91I4Sd+anp4Sg/PjCOmU7OBEwkhoBInaCjOe
 qQ1xtPUMlbnVC6kWFdpVvnWRDl3q3C7yVsmnLjiuFKGCM2DdJwC0NkoN3MF64a5Y
 NzDn6ysowDO0kdyX1W0ODK9ywM5NvJ86WfpwOdvmd1g2SqsLAyFQRXDES7jj0a8N
 02oYa/LzN4/mSQhsyKtRHJxidX0j0J6Kch0N+kUzNY1WrgV7Q+jDUfDhtTDMlHoU
 F1JnBFz7B/XUuoNBq4kZ2kxyb88+Uex9CdUiPF37c+Q1x+yYXzwqGvBR41hMB4Y=
 =PVwi
 -----END PGP SIGNATURE-----

remove unused variable

Alan T. DeKok at 2016-11-19T15:27:47Z
Files modified:
	* src/lib/print.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/01f4f6ee6cfe87c6b0bab08bcd609a03718b572d
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYMG9yAAoJEH0Oec13Yh7Nc8cH/3swz8t7kSIIGjhIuk6ku8YX
 ruRkjtN7hSn4f9idzHRZA0ati+AG2b3zibrV3baBX2KvKer5IF9RSXfADT6CKTVR
 Qx1Hxs757fOWBZbLE6wBwFwypWJ45OBuDz+UT98u2rcQd6+3LWFFUToH8GYy+U0A
 lLXx5g02IzBRWCjLN7OMrDosdPnq0HUYbB8oB6U5pKXTS0R7TQFixVBf2AlH7x7i
 zxfFKthzrBO0NKdzGKi3vao2V9LJfFZxqWuld1fpFKpQ5CQ16wALn/NPFaqnWmXh
 3Q9/u3j5O1ARy5S8MHZ+du9jThLC4emiXKMix1pJJz3KR/U4q7frs1RDE4vGcCA=
 =sycN
 -----END PGP SIGNATURE-----

Fix typo

Alan T. DeKok at 2016-11-19T15:27:46Z
Files modified:
	* src/util/message.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4e525e99c197037dd3d30448cad7f04e06ad80b1
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJYMGAZAAoJEP+k1YKfttfKxxQP/iwnf+sArAiDzTvFdfQgbg7k
 bYQiNCqhFJFUBULHT4GGctRsyMH4qRUcz5gis+SEwv8jUVueHdB3Zgz7rF5n3cYq
 KT52Ou19BHygm835G6BVxOqhAa2lnq5EQFDdO42rVOe1jHxneKMgae9Ce6kZT1uF
 bihU8GkgXR82R5vCBCigFkOKaWMdZXunyXPl7nxY6knCqio9MaE6lxnXkD3mJPl1
 xJKahmZbvGT0gxBBCwoQYRU781yD1gYNvBhhyU9fR+Chl8CXZOPqs1cxkTwdFStI
 nznaG+9eMux6CFtKleyA0v2AwOxV9AoOCX/Q2KO3PqO+0elcacUqkWA9HOaEn3sl
 7RKyUGtw36uOKYFr3/Kfd7K4mer8IiXOmTQytACcjhv1QDWVpe/j3SjyICZ3JUhU
 cSs2hACzFMFzDEsIKGzIaFHHso9vQhoXntvVhyH68JWDXnDWjWdWoRpcEZkep33o
 ecnLNihclDa9vh9vY1PNTu/UCfhwzJVZEezroD0wc2N1OdMXiWbWmaMWhjMdMdHW
 rz5N20k4og/Zh0fS3177y6LWztMt2isO5vbO0m7EORoTD1H8y8l2CEDCyEiQg5dQ
 IGtG/VGObMtiMz8tq3Vtse0tOJNaU4BOH5h9SFBcpa0hr3DBmofifI7cxQqG9ZVW
 re74bEoC7MwZN5TmwLii
 =622m
 -----END PGP SIGNATURE-----

Reduce scope of custom in fr_vasprintf

Arran Cudbard-Bell at 2016-11-19T14:22:12Z
Files modified:
	* src/lib/print.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3f35c72a593c32035b72656610e069a2a71b3dbd
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYL8e5AAoJEH0Oec13Yh7N91gH/jmNJvhelo52nqsmcBM3Y9QL
 2xUd2aNykgej0K2ASjU9SLYJ0CzFpMzh40v1N6CyGmyNKlcDmt2qknlTDmN7/tJH
 nAF/v5SbFj4w50dFmKQCRT4HyMz6I0BThkcGfvAwNDRhDbFIAjsY81aFFJ0CukNz
 Q+GKAFyTjVifOns9wx47YjdXnYgIgzi+2+6+P1417dUDjGJaNp0nJL1mJzmcF4WS
 /XBUf42veI2M+yDhPVL35SsUKOhZvXXqla9M3wm0FGGLCMwmWbj7zaYTtsFNQ2rG
 cQfbGa/d8SoTVfAlYS0CM7I9c+GIcVzqE8yv69ne6M2OffcRyW3N54Q9PlPfCbs=
 =usgV
 -----END PGP SIGNATURE-----

travis warnings

Alan T. DeKok at 2016-11-19T03:32:00Z
Files modified:
	* src/lib/print.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ba7b99ecc614f758f1a0969524b04c710aedb8d2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYL7QoAAoJEH0Oec13Yh7Na1QH/j+CmbUkHYzD3OqJe4Z5J9K/
 ZpgOF18cWQLWmUGkXn8Hwo+dJdoiVyEi1s4e++tLs5KXE5GesOaQY4WTfHkEreGI
 oj5ekufrjRLnS2BBC9yKGUpGZfOYFeFdfjaE6jgqIsuq16uf5N7DYNwnHHRPLeRp
 mJ/Ie5sSHmRb15pzqJjbIV17nCgA5U8rDPK0J0q3t8vZ4mOP5tGBZaMC6XPl4egg
 V9HzW9O22IC9ED8uZRajy/EXmrZww+gLUtoFnZIzo0VIxL5MK0hihB3eI3fb9dwA
 doaX7eFpSSLpoPimmFyZzfJ8riHvu/0rPXPmOPHTS0BRlH53y1nSEeMNkiolmEE=
 =JZVJ
 -----END PGP SIGNATURE-----

split out allocate message from allocate ring buffer

Alan T. DeKok at 2016-11-19T02:08:30Z
Files modified:
	* src/util/message.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/aa2e5b9fbab6b33d7a193ba57d67d5d9d89d408e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYL7HGAAoJEH0Oec13Yh7NSqMIAIwPDEpi3aC8nkVZ0EWYSX48
 QZF/TDv3A1KYcNUFkX9YKLCpGP/cC+OrZTcgnbVJamBNfJsvf/JzOeXiMXl7rnnD
 hpnCsUIY7x45PwyTbn5LwAFRRVUzJiFm8j9ZiOmHZSlnI1WribvPDqnvrxknWLwi
 TuZ4XLnHxJZoTX1ZQmxhm9Ug+ji7crZOG5mhDpWVVbjQ3s/SXngYH0pcA05eW19Z
 W5nyWNrwKeqimcYAPwIPRxs9X+JDd5OSuL8GKvwRaktepeTLpuA/PDs3w3abZUVD
 6IZjr9K8DtfI5YoKaJDE3jqiVDcPcHa0rC3NAIkebUYfWTakaw3YXwOmz+iUIk0=
 =HE7M
 -----END PGP SIGNATURE-----

fix comparison checks.  Fixes #1851

Alan T. DeKok at 2016-11-19T01:58:19Z
Files modified:
	* src/lib/pair.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7571f779a397b5dcf0037c552ee08e804b2a984f
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYL7EiAAoJEH0Oec13Yh7NJXgH/15eu0XltcRtJ7E6quqJF+TO
 IYHnGTJ90pygAyMurO6UklWYyG0G9d6y7r7vwh/ZuRVNFi/PHS6k95XqMcnmK+We
 LzlRfIisw1imvn5iMSd14k4NWxZNYnc8wksVcm/naZ3m5hwo6cr/DO95uA5n0qEY
 cKzYDRubK3NS714hv1xDqW9Pu7XW9B/mE92llKNs3uFPNCiKHeTZ3giSGRnIUBBm
 zgmNGz4uL3cM8hskW1mjAdGirAYkOWCaIMoiZjQvMsa7P/Urd8NMes1QOz2GA0lY
 AfjA1CjKiVoBHfraJletLXhHf2au6nLjTmyamUPGTZhGffXh8mxsgJicokYHd5E=
 =3JDw
 -----END PGP SIGNATURE-----

Fix initialization errors

Alan T. DeKok at 2016-11-19T01:55:36Z
Files modified:
	* src/lib/print.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3ab83f60bfe9ad635716961457b5c55730675cd2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYL55MAAoJEH0Oec13Yh7NnhYH/2sdtlR0DxUcswaPTCROKC6s
 +XqLchV8pD77epwGP62chS9KusRGvJ21nCCIBQ2xRB8xwcwqqTEYsmalO5zs6jhr
 3yKlnL0qAicdsJM3B9LyRqE7W1t7B/XHT1ZMDnEAwnejCM5SQxPgPsafVX89gHrP
 Kx/2BLbZxpwo035t4MI8PPM3r4bS+om4dOpy5WQKbIsPui6MwOkym9/mxMnUyl25
 Z7hN+11KI2wDYtU/FcrFgaFFW+c1pXlLKZtLzO2TlQIPyOUzVX3Rszwcbawpa7Et
 51jA3LcJ9sAgQ/W6Mv4yhPqkMk1VQPRsC5GZ/fD/EEk5rVHvsj31RymWT7KVOMY=
 =YKhk
 -----END PGP SIGNATURE-----

fix inner-tunnel policy

This policy replaces "use_tunneled_reply".  It's better to use
if (0) { ...} to disable blocks of code, instead of commenting it out.

Also, update the local reply before copying it to the outer
session-state list.  That makes a lot more sense.

Alan T. DeKok at 2016-11-19T00:35:13Z
Files modified:
	* raddb/sites-available/inner-tunnel

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/72b1b420075e757fb092908bbc5e8f75a141ff80
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYL5rQAAoJEH0Oec13Yh7N1HYH/R0K0Co181jzMQyfmPyJKNl4
 H8xU13hgLNRJ9uzlrE3FUvPpgJzn0qVU4IMErwaFUqhHDfiU+ix0w1ycF/t/PtpZ
 QhU0dTccZTPXRonddQgNSt6QhqKkBUSUk8zx5GO1BK8QhY8PQ+9AIoluHmtm/+ld
 FpDfQAsp/4Ul9gkHFgvW1O9q2X5p+YcI3+dn4hgmaNPu7x279C53jOPw/cW2Ou0t
 HBicBymniJrUqxHu930dhxS8ANy9lsRBvEzFd6AeD1Wrj6W5NJvscyP27CcwL3vS
 ult8c6rM9GNZpg+2q2uY68e2N22vXnhFGv7vbt/M73kdwvIHfX54wlb+cl8CJFw=
 =FHAz
 -----END PGP SIGNATURE-----

set reserved

Alan T. DeKok at 2016-11-19T00:20:28Z
Files modified:
	* src/util/ring_buffer.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/981ca1e20667227dd350121960aa2593ee2a25fe
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYL5pfAAoJEH0Oec13Yh7NbEMIAJJK/BeLcv4rIpfD6kP8dh4b
 1LijYXzyKRjEqLZBEYte8Pcthjp2coiVyFa+bn6+HRx9MjuWSc5oTpcytFzFyGsS
 zTELiOOyMfHBuOd1oJqQ5h6KFkVbF06hM+3Jh7tzyiNHp+/qJlQwIAo94FGUFKsq
 uVwH5NHeyNPI4tw+67AXWMpAwk4Eu2TddxC+2qInUFG2ddvcp4MMxs8xzi22436y
 FWPCHoLDEwfa7ZfoVp0+Z8ZavNhgWzm3A/wfPSs0QcstIY4wQekFp6a2MP0OtGoN
 FxwACZ9QZ6SvEseE0dunWDZpPp2nXM4UKiGvh9GAnw1XcPdPD+gfMTJZJuW1ekY=
 =LfsJ
 -----END PGP SIGNATURE-----

add fr_ring_buffer_reserve_split()

Which lets the caller fix a partial packet, and move it to
a new ring buffer.

Alan T. DeKok at 2016-11-19T00:18:39Z
Files modified:
	* src/util/ring_buffer.c
	* src/util/ring_buffer.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bd486a13b1febfdf8b3b33e5b20be2305b34f654
====== 
-- 
This commit summary was generated @2016-11-20T00:00:01Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list