Commit report for v4.0.x branch

announce at freeradius.org announce at freeradius.org
Wed Nov 16 01:00:02 CET 2016


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK5GaAAoJEH0Oec13Yh7N40cH/3C05FyGMJv0w6jwN3F7SREf
 l5wic+hW83nzcLWVDL3b+muKVauNh70C1RRrMl5tAdXmyLYmINU3U2dva3KUfphI
 PRwsFh4AcxpA2HzWu0w4T5PHGIy+twk9883rRef5DZ9VRFMGiDYbEiXvAyxJs6CA
 1WilyeWgvpe+Yo1HpoECaShwf77yybb9njG7tlcU7b3KIUUMsTAbSg1XbbCBkiDD
 KvlLwECJwFMYrm5vR2PVKy2g8641Kh485EREAHcmAGaa231pZYl5va/bEo2tlnOF
 i191azXdG+TOQgVdXjXrOWbd8qrC9XaY0NCrXOmcqwW4ilwdc09u4wFrNBYle/s=
 =Rnon
 -----END PGP SIGNATURE-----

doxygen

Alan T. DeKok at 2016-11-15T22:52:06Z
Files modified:
	* src/lib/event.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7a32ba0e8e1c7df186034c774ed811d4c8bded77
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK37IAAoJEH0Oec13Yh7NxXwH/A/vamYQjGc4IoKCEDqUITrU
 OthztUQkLWOnDVhipxLfrhBxM+7BWbSCVz1r8KpUWMIefVUepElA5leKtZkKQPE8
 9JpvTgDSI4ls2UBlU1xtKo+Uz/ECoTkZ0wcjlQgN7Ay6YX4KJWAIFeCH7zCYWI72
 ctpPNthb3GpzGQWRLL8RZBEa1dhwHhYAYyEi0E6dNWqmnHbuocukloP+b2S7L2NP
 S5yHWkpPsv9qM+OPG7Ue0jrsqTLqDuJYdMl0/d7VrPxsD9qFlyGUwqYXGBEJsINe
 +wyfHS4NFq+sX709DmgMbd2+RnOpz0C5teAu1zmlwpSdYO98P4dOgPh9vCJ4sTQ=
 =G4sI
 -----END PGP SIGNATURE-----

add context pointer to event list status function

In preparation for scheduler idle loop work.

Alan T. DeKok at 2016-11-15T21:31:52Z
Files modified:
	* src/include/event.h
	* src/lib/event.c
	* src/main/process.c
	* src/main/radsniff.c
	* src/main/threads.c
	* src/modules/proto_bfd/proto_bfd.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/283ffdb81d91027f7e0e065f7dad805b0c87e839
====== 
Rename value_data_t to value_box_t

Arran Cudbard-Bell at 2016-11-15T21:27:43Z
Files modified:
	* src/include/libradius.h
	* src/include/pair.h
	* src/include/tmpl.h
	* src/lib/filters.c
	* src/lib/pair.c
	* src/lib/value.c
	* src/main/conffile.c
	* src/main/evaluate.c
	* src/main/interpreter.c
	* src/main/map.c
	* src/main/parser.c
	* src/main/radsnmp.c
	* src/main/snmp.c
	* src/main/tmpl.c
	* src/main/xlat.c
	* src/modules/rlm_cache/rlm_cache.c
	* src/modules/rlm_cache/serialize.c
	* src/modules/rlm_eap/lib/sim/sim_proto.c
	* src/modules/rlm_expr/rlm_expr.c
	* src/modules/rlm_json/jpath.c
	* src/modules/rlm_json/json.c
	* src/modules/rlm_json/json.h
	* src/modules/rlm_json/rlm_json.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

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8f1c7b91fc8e4734d1b36665afb764e7dc4b8ca4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK3OuAAoJEH0Oec13Yh7N0vYIAJDOUaLVPvhN1c409WX2m6j6
 KrGRXzPM8r2OR8rJzbwUMGc1niY6HZqeWfyf3NLsFPsc+Qbecvmm5GmMfZ+fs2Em
 noiOmF0ArnjG0rFpkvImMfzvRhN99PcPNmp9D1qyzZfBnnxSPh1kP56Nus1yE3rw
 ASBBj5e8ZFmzeew2ivb65YSwiVuTs/TpDVk+Q26zvOMrJTEn/nrMvZzhSOzIsSyl
 wIu94vl7H1uR1fwCHBfJ0WMoD/dGvU8vjZ/2pmylXptTQEoszXvJs0MEHp/OwjOs
 UgrXcV394eLol4kgyx9Poa2SdI7Xd6IEddbGaNERP0DJCnMlsFKAAmebLuHyyWo=
 =KaYT
 -----END PGP SIGNATURE-----

value_data_hton() should take value_data_t for src

Alan T. DeKok at 2016-11-15T20:44:19Z
Files modified:
	* src/include/libradius.h
	* src/lib/value.c
	* src/modules/rlm_eap/lib/sim/sim_proto.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f43e81a960c83215c8a93190d2ddf79324f65656
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK24TAAoJEH0Oec13Yh7NPrIH/iPnt0wsz375g9vbjaKGKH1w
 ouEMkVez+AcFA4Qf8fygAjJXdcNQ4GVP+z3SRnR1we4h58b4dlPMVo0gEfq6UzyA
 OXOvLli98FxCQmO1X0LH6I7erECd+PCGv72w80owctrtdqJaZJcDG0NG+LwH8d/u
 YmVHF9YOtIq2dcr5JsoPbGX+3JUeqfBpZLNhSqiZkierK33eTHCEmukoztWiusSt
 Yt5/rLlv2UGElQ5Cf7SteChZC1tEHvT4dOh49lD/vHD/pKNWfwBcDVdVc54EqSxZ
 W9KCgOyvAEhg5gALk796IALEYL6MnZmlOjfbRotUoOVWAjtuEtQbCtPIAMc84ec=
 =WCi+
 -----END PGP SIGNATURE-----

add priority to request messages

so that the worker knows how to prioritize them

Alan T. DeKok at 2016-11-15T20:20:17Z
Files modified:
	* src/util/channel.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f64f28fdb1cfc19a5bd865b5b454bb97bfbda0b5
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK22gAAoJEH0Oec13Yh7NZEAH+wVbK51IL56kZoS5XHpYexhr
 pYdZXNOL8i11DddQKOoLmSJ3zbfnHA3kHkqMgbZp++KXhMf3I80JLM6BCdDdHG57
 d1rPRteniyuGyvEx6YspKH4L4RdTufCoxhFQzVaph2p/xrFxFIlo7BR01ZD6xejr
 HC16u7VXIw0dDuHSga+T1s++pcqAHo1yGR6dYaYw886MCFDwRrc/+h5PJP2MH1Oh
 56yDVNKHJUQnX822kUBLBq66tAMpjByeO2X5DIARGrD3ogxLCzTY6cUzgsDbK9c5
 L8BW4+OLj+4rcvrPRSZjNqzn7GeLmUnx7BnrRTX8qM8KoXhUZ61W1HZHvox9rdw=
 =1Ac4
 -----END PGP SIGNATURE-----

move the union back to the start of value_data_t

because it's just too hard to separate the pointers to the data
from the pointers to the value_data_t.

Alan T. DeKok at 2016-11-15T20:18:07Z
Files modified:
	* src/include/pair.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/224eac40e6b14d197b246cc4103722eb4320d085
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK20TAAoJEH0Oec13Yh7NimsH/2CNDqjyLpzA3LWGpkW4VNuu
 NltLduobJyF/1BTGVDmF1U/QLU4fu7Q1dReX3yHO73tJQLmIfm7pMkOePdeBTxV6
 1eKSXnqDp/A83l4h4NVbTMvelTALNbwUc2100Pify2MIb2vX5fIATqoph5GMZYpZ
 nPYLODRjfnbo+AFw07I1vF3saQ5N4HDaUep0jvcUdtGvLIdBNY7PWwIobvRAPrPm
 aVeB8YtVoHjDqdO1SC/on9fxrVshRJ8AJQ0+9riKZsaZH8cdGlmeGPz4vaLI43G9
 4ELMuOOILdP3V3s4JrLqhXRiPmnBeqGlYQL2Z0eEpRmejAwzfLZhY+26b8uaBH0=
 =vC4j
 -----END PGP SIGNATURE-----

use union.datum as a generic pointer

Alan T. DeKok at 2016-11-15T20:16:10Z
Files modified:
	* src/include/pair.h
	* src/lib/radius_encode.c
	* src/lib/value.c
	* src/main/map.c
	* src/modules/rlm_eap/lib/sim/sim_proto.c
	* src/modules/rlm_sometimes/rlm_sometimes.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a3d9cfbef1ac2781927aaae8a09097d924b6fa45
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK20CAAoJEH0Oec13Yh7NG8EH/jhbF0/R6YN1KXitLUSoFsHn
 9pNOekFMUz8XsOQwEnT2OWcTOp5GSpCusmspiB4snEeSEkAI8mEW3E4BGxEm66uc
 t5ywX42Rji4dmiDjY130nDnDutzh+M2NLFlDMS7rjzXPyE58ge30QWd7lXiN3C4U
 Y0uuunfY/FYdKiFeJWCRu63UBHoe4V+cGsguusyLY85WvvWLDJRNknpSEf77drnX
 V+LnP16WtS1MU1GX67o1z7HVFKeMDg0e1/A/Wx748JAlnui3k9mcEmWoi7xCqIgA
 UMgi8rNR9f5J7b3FOepjuRqc64bvy2+Ppan3Gk7+BbYLichR6DTCFE/vxOXZdc4=
 =KZH2
 -----END PGP SIGNATURE-----

track pointer instead of complex struct

Alan T. DeKok at 2016-11-15T20:15:50Z
Files modified:
	* src/main/evaluate.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/05c6b53adc9f6e82e9ea77f71bbdb153919577c2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK2IOAAoJEH0Oec13Yh7N9UcIAJZlG9tzD3xTbKJplneELcKc
 TqquR4fFouPmCZAUFsXky9b3+s9rDhQ5EBrpo1Kpua7yeVnwzet10spZvXI7Y74M
 pagXU5IrdaXzyup/8BHbpOYPMgzvBIbpPISgv+SkNG6og0N/y844kOKzGTzoy3FG
 /JojJxgf67pX/dR0qHfTG2wZksGB3LIj1R4Pps1P7RPCZ+vZ80GxDGBliou9F+75
 nnv6Y1MKQL6dl9OP61pBs18pawl+/Tk0w1MEFUQ02kfHjIyA5Jjn3n3Q2mRije9U
 A3rWgA4N0M0wA+tyyQd7R9Jr3zca+s0xds76fOyEXcfl6or3EF9pQ6DMFmO/2iQ=
 =0R2c
 -----END PGP SIGNATURE-----

pass the contents, not the value_data_t

Alan T. DeKok at 2016-11-15T19:28:43Z
Files modified:
	* src/lib/value.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/73d7f7d44c7b5f936836e1d84f88c44bce9b9b5e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK2EyAAoJEH0Oec13Yh7NE2IH/39AhUd97GfdM8w52m63itmq
 CATWF7PY0/jyyMI0icEOvaB2MrqJ7ZmHIvPBWT+4uCz1srmRaqYomBws9z0YHRyx
 TqVHsulzBgmyKJOpsQHrj9uUYPtk0oggaGaXBtSIbAFSahrSmuXKYHx1xKru1OtE
 oFXn3pzMeir1GLGWC/xygaB/bSFb1aYQqZvFD9tskBXRKLzaEfghAmm6OkfVbWzS
 7DhSTHv4wvNcrWxEWHmlzOUHPRI93fhIoy64OWBXh5s+xrkX/utmmPFhax2LqhOV
 Q+yx0wiroRPIaKa+fQRVlU+XqdLth2WpmWAqyJUeZQjEGskzwZloM6Kp1LHwgbc=
 =ci/S
 -----END PGP SIGNATURE-----

mark value_data as tainted on copy / steal

Alan T. DeKok at 2016-11-15T19:25:28Z
Files modified:
	* src/lib/value.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1995497c425a6a72a3500cf76ddc3dc11b7f5a1f
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK2B1AAoJEH0Oec13Yh7NWuAH+gLlM022Q8Am6kGeiFCgC0jB
 4KO5icfb5kmLvLiJJmUNcdRyaRuKSwC/5dEPMnqhMMMN1aoL4y3Pq+KyQ0vHs53t
 nv7Gc6Tqq/SyLM+FxA1lecE1fIWrwyDXsyfJCxFH+A1EIOQu/mdKagvQtWCsVIWV
 JLvYZHPr5r9BlRG+oFk3ka9mZiqlPU29qZiehPX425mC688zLw1Y+FxtD93NJI13
 DD62aBXM4OhONGv/juPALOPdiF3tbMu9xHOC9lFdYCMdOjHaJS75X/bnnmAeJa+B
 B1iaNToryUKTN4NJbZmBpm2RWuqUnDD7pUkDmuKWTDbtltnXNMXp/rXZVRqPNxc=
 =W9x3
 -----END PGP SIGNATURE-----

don't assume that the struct is packed in any particular order

Part 2.

LOTS of references to &vp->data.  Some of which are to the union,
and some of which are to the data inside of the union.

Separating them isn't trivial.

Alan T. DeKok at 2016-11-15T19:21:38Z
Files modified:
	* src/include/pair.h
	* src/lib/radius_encode.c
	* src/main/map.c
	* src/modules/rlm_eap/lib/sim/sim_proto.c
	* src/modules/rlm_sometimes/rlm_sometimes.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6d9d6f74c15215d0af5386a6f9dd3a4144997862
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK12/AAoJEH0Oec13Yh7NqFoH/RKpkrZnP0d71Z+J3bCWOIN3
 FLR84XI8QS/yW4G8SipIZ7Pq52M7aRu+KVR+RvRJ61XSzpnWReQR4miJJ6vYmE/N
 tKhxv0TIpaVwIFNj2JgWBytU1VdXTIXtPmn/xpfe0SKtqcqOFs1Ptn/9dFgi/M/r
 +qkfg/V5lKaUY/9Lj8nkmv9oF5+jK9/rd7OnQz9VldkGuYy5JqQG/XzI9I4GInFI
 fjZvTcIYHuVVpOq4ZogkqIZ1z9jqyeAS2x5cqlyeojWF3+YvBFPdbxTxuowlTJF7
 QmrEcIVr6o688DbW/yABbeEjznJXHt0lVNbV6Hlij+IeBIG2z+FLOMMKNjG/Sh4=
 =QRRR
 -----END PGP SIGNATURE-----

include linked list and worker stats into time tracking.

So we have one API call to track time && yielded list,
instead of two.

Alan T. DeKok at 2016-11-15T19:10:25Z
Files modified:
	* src/util/time.c
	* src/util/time.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/101e28bbe1d58082bef4f673c5fda52c0cc76d59
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK1WYAAoJEH0Oec13Yh7NhWoH/2gvxqSSu/W/bORRkqeM/Ni+
 /kYBqDzltAQ808bqfGFcakjGCd15fYlSrA74qWrBthR6TVFjJF5kVmm/Y13r8TJg
 IN1WGCTOsPWEtBcaH2luqwVmsJConzQpDz4IwD7L5/6nLZNEbiPdL7Rod2X4B5/m
 DZtontty3RBcKwbdqihlFK74cxUcUs4gNLEeKQcTf6ndNRnxxc9O8/utpi9XHmRM
 r1DuIV0XFmzstGtEVElK3bSAgyIcAfWB3ankG3AaR2GjRE9ujOw0uSWIrfwm/JS8
 pRin5CdxoHY+DaPJvD03Wuf7DNjK3abEDFNoOGBtWi/N2DcYqTh4/SPk9Q4TK98=
 =nGpX
 -----END PGP SIGNATURE-----

don't assume that the struct is packed in any particular order

i.e. if we need sub-element "foo", refer to sub-element "foo".

Alan T. DeKok at 2016-11-15T18:35:44Z
Files modified:
	* src/lib/radius_encode.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/700b22c71ce441810c854b248ce78f5bdeb052e4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK1ThAAoJEH0Oec13Yh7N7GkH/24HUCzuJE35+O5yyl9/8V9j
 2sOZtViqXujYoU5AhF2bimufZDgknGv+gMnLPz6opNwEMsGLoA8aJLuGnJOV6HCV
 +Q2Y5+zojU4jKeCJCjCzy+hS3DyazEkjHbhKHa9bfFPKIg/YybDf6pwLdQsTaUqZ
 n3U9qTO8FFOyZ3ru/r2ThN/HqHcjRMqICa5bNwQh6PLYFZ2RPUgHqLsNNMjnQEmg
 me1Q/phn0FhO5H2uHMUXmBqYS/7MW6DG75Sl2D9WChfb+NfwgqKBIKqXoCo13OzJ
 +DBQHvOvZK2NwN5FraWm85EwVBjRXdChJxDm7xUbvpnhN9OhN3qTbKd8CXYxevg=
 =Il46
 -----END PGP SIGNATURE-----

filters might as well be uint8_t.

We don't access them as anything else.

Alan T. DeKok at 2016-11-15T18:32:48Z
Files modified:
	* src/include/pair.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e4003d8564325fc53be9e91aa332538a916a7049
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYK0Z0AAoJEH0Oec13Yh7NjRYIAJDTWZubFrM4nYp1LFgkqn9s
 edTAJytXtTEYLwRG/fafPYib6rqMDYL8WscqqeJPg8k1AoLhT1oYyBh+gPILEeth
 vFsqjApqxUR97den3ilBqwdPMTDRXzmGKggC714b6EoXtHpob6oPspp/5cusBxWL
 7EdpoDLStJIb0vzkjJpbBlOj7YCgojx7LqupfSOztSL+xhJLJ9sgWb1VDsG6QC/T
 Nh+dlCKBJseHV3Et9p0+qJ6Eb/Kq66h7vvI66vRK+WSVGOoYqpZSiTjrgSCxQtxd
 /wjcKrRgQe0LuLLFC9xRTQfGrI+ED/uy0P/4BMfGZeVrWMIxybk8CdUkTY1wG3M=
 =79BH
 -----END PGP SIGNATURE-----

pass the correct length to hex2bin

Alan T. DeKok at 2016-11-15T17:31:20Z
Files modified:
	* src/lib/value.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/51de0d664267f8e3c8744e6a1b5d7899155e4617
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYKzbvAAoJEH0Oec13Yh7NvKcH/R0rdxcsMfoZI6s9eFBSN5hr
 Ot93AgDxQ3WqWBLqsG1uXKnDoHtqia7tRp2qzH+i7q0Zr6VAe2PZUvFIPl8oStQw
 ahDJ3awcQ/s5AYW0B+IDZbvafWJhL0Rz9VNGRYn2/445gp/zUb60A9ZXBg9lhXA6
 R4UbYXcVFSAhaeuRcRnGx9xSlYASgtwbOzifLjmKZwF+90E8REc30qukIUtnCIyc
 aYhVYVwMiYtT/ps8ztg4ZxUgYgYZ0XL4hAP9ZVmxkaIF0H4OcZwiNdRj1pCJnkxW
 hjTlKpuXhd0L7353sYqYXI2FIjgCXCoPBOcrwaZTnrbPkrhlj2LUQjfnpI6obqI=
 =ihvG
 -----END PGP SIGNATURE-----

set all of the message to zero on allocation

Alan T. DeKok at 2016-11-15T16:25:18Z
Files modified:
	* src/util/message.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7a05f8f0453f6a30b5d823d8fa88ff106415f585
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYKzPdAAoJEH0Oec13Yh7NcsUH/30SZvko98ObCXygfssn54HN
 1a26IbRLZWsRM/WCR7JdHbE8TIDGF/Np8ji7WBc9IJZUyeEoaJAN2JL3sYcpPuF9
 zzDQC5E2u1iDOwkMp5/VComkx+3hOtw52ixb35XGdg+ggkcER3kJ12/bc3WaftAH
 pw9mtAdBFKVKT4zdspP6RvT0qZZK7to9lq8c9Uq4qMRxOTbmod9XIQLPvMhl/pHq
 ozT5bGHNy2lHHL0gutJvMFK8fOh5E0SF5RJGmSDf+vLcnW+EAeylAbKyL8aO30lB
 d75hXQmYfqhjqCxhkbWdLeBqvTkHUm4se3aMoax+mKfIQPztM2X0Ge2e18X8beM=
 =u0Cn
 -----END PGP SIGNATURE-----

Don't create the symlink every time we run make

Alan T. DeKok at 2016-11-15T16:11:55Z
Files modified:
	* src/include/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e0ad71530bf91d7ed59bcf436b613d3f6f6cf63b
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYKzPIAAoJEH0Oec13Yh7NcTEIAJxW6AYkgTFztNYYe2tnVc4N
 wagSMZjUEU0I0BCTEDNgUnp7QKnSuX89T2+YWf6wcFzsRUmPhalsos7x9ywcWbG0
 7k1FGY2+wmLSsALv0LEwb7z9Ofi/m5jXZ0xHOcAvRq4GxLRlz3IMsqo1RUE8st++
 WqT3E4k8ZYVFFdXZdhT8CE6TxkAekx2Sr+Syo2M0eOvVDGS+Ks98WH3JVt9xztm7
 2Wmz/aWtu7I51vA7h7TzrXwAArDwnlzlRX1cARXVyzJYEzIqDc5nJrJL+PqzimHr
 o7yUHNDWtWe9W4g8oJUnHuH/Hfg5Rg6/3MWlNgtQVGvkTKOvnsgIIKJxdICcMXs=
 =X3wv
 -----END PGP SIGNATURE-----

mark User-Name from EAP packets as tainted

Alan T. DeKok at 2016-11-15T16:11:40Z
Files modified:
	* src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c
	* src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/rlm_eap_mschapv2.c
	* src/modules/rlm_eap/types/rlm_eap_peap/peap.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6b91a15e3a3ebc0761ec920026d2862ebf9c92df
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYKzBJAAoJEH0Oec13Yh7NJGsH/1cFW7bPCEwadjPulDBWkhR4
 048Hw5nsS4MzonHe9EJW5YKTW1sXpEmW6Gj/wPQWTogrsLp6GjBeVxa+YqgkrhpJ
 RYc5zYkKPjFVIHcjcy3ShH1ch1wusDmeReLyRPNnROQrVWpCWbBLBwqLQKuDnlSy
 TwADquRJNgtxguSm+B/F9cGLaF2Njo/Wssm0mOnKeL3lGJIQn9OD8AdjHjDFkptb
 MdmZH8VAmv+Bp+oRion0TlZzvq5COWNSVvS4LsNcITUC5v48zBcFUzZI9ECExprB
 GaiIF0oah8i+TakqAFJUM3TBZF1+AqWEY+uyfFJN+hCY1f6T11rN3Wm7Mnm3qCI=
 =0Lhy
 -----END PGP SIGNATURE-----

VPs coming from packets are tainted

Alan T. DeKok at 2016-11-15T15:56:57Z
Files modified:
	* src/modules/proto_vmps/vqp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ca0b2a9ea235efebe02025688cf785f30b2d7dd0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYKzBJAAoJEH0Oec13Yh7NdcgH/RsQcpr3lIjegHJD8/Hr4i13
 syeBB6OZWWf8tQUXTj3fNI01a7eUcpBJx7otPozeUXyxXFv+oXJw4CJd+9kupuDr
 TbmBPsRBGC5CVndTi1PHQ91ogOJ8HDQhy0zBf0MBpWW0+2P8P67CZ7GNNYSmPkO9
 Wcbbn7cmQUncIP/fmyEPaigic3RI6aut9m7spgOdpSz5PkaPR17tHxn3gdnGXQ9Y
 qTC1cJk3Hc+o2Qf2/HoRvMRcB04YTpfOYp5FboFXNPUkb/Jc53L4Kd6kByMiLN+e
 V+JRLndWFeJlTMazYJ4TIAw7nF1zpztI8xVuxJ6EuoxHHuhCeipyWRUX2sPGB8g=
 =2kx9
 -----END PGP SIGNATURE-----

VPs coming from packets are tainted

Alan T. DeKok at 2016-11-15T15:56:57Z
Files modified:
	* src/modules/proto_dhcp/dhcp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1f47738ef3e3eafd724ec2ef3f5b6fe6fdc50db8
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYKzBJAAoJEH0Oec13Yh7N3tcH/0bZ9GXrc+16Rw605P2mi+kh
 /4+7XNTK0BiU95AaIvrxDMI9WWe3Vg1H5ZD0KF8PJ05teNpgLbq86YCqCP4KQQF9
 UcfUiw+sW6iREfFHv74OP7s2pITK3lIj/oz4LZPj4Q1x1p33OdJVZBFhJPJiwQrP
 jbSO5eMU8AP7eXZZRQV1M0kvYl245zB9zlljHsuyRfSJrXWqMAynUx/gIuKzY2vm
 UZwTit2Sn2VFZkoYZWli1ZHkT/5eqw98CpakJDiC/UbQUlZ1v+JW6+edaynRgzc7
 nzvoMzu5tbtnQ780dk6zUvm7cUuSX+8vUvGpyLWwSEOUNnvQQoRPCtbp5OpzOFk=
 =u0Po
 -----END PGP SIGNATURE-----

VPs coming from external programs are tainted.

Alan T. DeKok at 2016-11-15T15:56:57Z
Files modified:
	* src/main/exec.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/719fbd2d8f19c438e10e45a4bce69fe4dc22e5d8
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYKzBJAAoJEH0Oec13Yh7NXV8IAJSHR7CFVOuOlR7Mn7SNYRqp
 pJZ3bN0/MaPMEFSwg+jHSln6zQojbY1n+WKuiDVgquxIWT2Qk4KiNPQxc+kb9Gck
 edl7czwUR8uhvzHytnFdrPVQ/qdbtytZac5UOC+GLM8oQC5SVfbaf/i+8x6WlfVX
 EM38oRSCCDJOqL4DKB6NYogNBJLphZx8gjGcpIWtadFvfK4SM0LgoZaN3g1vxxmG
 okuX1eVawXuE7VFN0cNQRR3XRYk+ckWa8qA8ccurZIx1o5AApGGtG0xk1GjSpOpi
 Rt1A/BIzp1I5FvmZfOvK9cn/d83QiMJ8/ErHsguHCLzHHLN2o+cOQ1McZKwU+/A=
 =e4FX
 -----END PGP SIGNATURE-----

VPs coming from packets are tainted

Alan T. DeKok at 2016-11-15T15:56:57Z
Files modified:
	* src/lib/radius_decode.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/13243cfa0ba1c36816c575daed79bf98a4bdfc2a
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYKzBJAAoJEH0Oec13Yh7NUAIH/0XPkDbGA+pLMqtoGHiomEQK
 IIO0oRETWcEREKGKLqsDh4wMNZHBSz9JHlsiFHYlvM+/WeIQN7jaWmdw/t/W/j55
 H3nlPlDJ3nm89ULkebr40kHxCIwyVqUgYuSUUsc/UeYeHB+P9hx/3Ky8Vln5/Sq/
 klePKKPklcsAHkL4ifuNwFXU5GZguPyfhSSp+lJN1PAetHpPM/LLQEq3a0VAK75H
 mxDcK4ThaPS+iNWyv+MWWRxWsx7yr/hFr1sXBKjoTq+UN/TToBlT2ZVABxA+T9x9
 NQDHzzk8zNMoTDH+QXapJwBEtAx5DkP6QZcoRrj4nM8Sznbm7HDkRDcwNfqDc0M=
 =lDr/
 -----END PGP SIGNATURE-----

function to mark VPs as tainted

Alan T. DeKok at 2016-11-15T15:56:57Z
Files modified:
	* src/include/pair.h
	* src/lib/pair.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bc07d3418537e2b22c0e83c00bf5cd26919cbfd0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYKzBJAAoJEH0Oec13Yh7NQrwH/3JhI5SOM0o2bMJsE53VGeMQ
 mRjAQ5QT++zRSKxRPgczNGTFpojvuxLIB434Ft+EAoUC/ua3zDgRoYmmtFZNPe4N
 oXOeprMrOP6Pww1oE67SZsUcTfx4sIwUYEfDTIU9LRB3tdrcYB7DvmVpo5i+egSn
 dy4usCFGayLInyKicD21pc4QDB704eTLpWZVVy5gcjjD7aeRWVCk+QY1qos7Bdoj
 ls6VfoTq1N4aDmZsLab+BPny5I4uylm5cqI04G7bK4gvCGBRWreziaWYNUntDbTy
 KN1RdRPaaQ2Z2laUWHXnt74/5urLk3C6gPCM4Q2CsDoUoo8B9KSHCvRmdhqgJyQ=
 =yNm3
 -----END PGP SIGNATURE-----

Move fields around, and add "type" and "tainted" flags.

So that value_data_t becomes a bit more like a real boxed value
structure

Alan T. DeKok at 2016-11-15T15:56:57Z
Files modified:
	* src/include/pair.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/72d87ff5bbb5993617c3a588da194ad46aa8fb55
====== 
Merge pull request #1844 from herwinw/rlm_rest_json_prefix_buf

Use stack based char array to generate JSON keys

Alan DeKok (via GitHub)@2016-11-15T15:50:18Z
Files modified:
	* src/modules/rlm_json/json.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/447488d34518a6481f22cc657dcaa979c0e02b35
====== 
Use stack based char array to generate JSON keys

This saves us from having to allocate memory in a loop. It simplifies
the code a little bit too, by removing an if statement that was far away
from the code that generated the requirement to call it.

Herwin Weststrate at 2016-11-15T15:32:06Z
Files modified:
	* src/modules/rlm_json/json.c

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


More information about the Freeradius-Devel mailing list