Commit report for v4.0.x branch
announce at freeradius.org
announce at freeradius.org
Tue Jan 9 01:00:02 CET 2018
New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU93IAAoJEH0Oec13Yh7NzA4H/1b8lkPJUrqCLKH1WzvZGVyR
o3IP3FzDSvZHEN1rcjP1rsQ59Z83VBZUyiqvzSoQ44dQgYu5KISIlsYUbG/xYxEU
8fftEH1WSSqlyXeB1L6xkBYIxr+7shwFsjuk5GAa0V/nXog7rS/p+Grh0MyIvJQb
GNhKOKolpSmYn8TxmWJ1i/Pv3OiSsRnUbVaBGKefedp1D/Vo1vt+2Obp4ei2F84o
lTzPNuUpTiILSmFM59MK9iYm2uMEliIrkdHFYvjT6D+Th1WKuRTTmx7XUf1oXByk
GtmJ0JlrAbKfC96wgtxdr9MXxSMk4O25jepsq8x9tD/KRIbLKbiI2S55dcB4P0w=
=GnU3
-----END PGP SIGNATURE-----
add :* as an explicit wildcard tag match
Alan T. DeKok at 2018-01-08T21:08:23Z
Files modified:
* src/main/tmpl.c
* src/tests/keywords/update-remove-tag
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d92d9cd6621b76105b5beaec39d33f90adc5c4c1
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU9qMAAoJEH0Oec13Yh7NdR4H/0yoBRfwyPapeMfMM1wnuR2e
5P0uGSyvAG6EqCmzArTYl5iTd9mLRxHPLspMtH0JZVSubfWfUGWt+9+vLaerxt66
2f6g4HNagRmMsT4Kq0dN5ffesf2OrRz+292MFE2LnLc0Z88ASYN75Id51Y0Bs65X
PCDrRU8kqMSTRBTEP1Kds9NXX+PCfDYEXLLZXCi62hnMMJLEvoqIVxuFo4ibmPg/
dNZzP7Q70N40AVeQTS/xBTIwopHsQ98UiRA2GXzk9oWmbzXYQoIiO4H2W1lno6XX
bW9B6BNsIMb7Hqw7h++kDgn/S70nXGT+zo16SbYMJQBXkwcSJt/zEM+xv5Kw07Q=
=/GN8
-----END PGP SIGNATURE-----
clean up code to parse tags
Alan T. DeKok at 2018-01-08T20:54:31Z
Files modified:
* src/lib/util/pair.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8e985f55c91b54d4289b162cd00de24faa0de5bf
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU9Y6AAoJEH0Oec13Yh7NHKQH/A7A0ZScMWA/vGIMkjWwT1ls
adaTnG48sd830sQDj13n4d7+X6CaZuhtZ0LD+Gr9oFDoQ5UGRnynFSWDFvY1aO6p
AZ+Yc4EOOk501bA00fy5rExYPI7O5n7qB3UhARmE5nzSHdzVYrqLaip4557cjlDe
eGMnhmTfdNIUISqR3H36ScgvrVEAZL7xLdct27rjzRk/BpAU6eZv4vfqcao4Opls
U1mtRbJ1I0n3MWGtSSI8b3DXG7ZXnSw1Jk4jnh+ziAEevlHqC4iNkRsIEYomc+1U
NQMpqWUzkhphEh9qZoiqAG1A3L1/tP42v52DJh6LVsgBv03wiOPkYS9pRiX3cZk=
=aImM
-----END PGP SIGNATURE-----
remove support for Merit format tags
which we haven't used for many years
Alan T. DeKok at 2018-01-08T20:35:52Z
Files modified:
* src/lib/util/pair.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6464bc974020bdbf3f4952022cefba2b6729e87c
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU9W8AAoJEH0Oec13Yh7NvX4H/RpPyzvydIsRzjVvuNctTBTD
KnlbvSzK7SwNc/m475gKZa3chUWcATKrHD1JbI2LOuF4UUMl7cbwi3xWSNrKetzk
t8XJ/kpaG1g8DYH+m3Jj6B95frSqXin7FyXmc+QX8sCANYVuRP7X1RDVwLcwgAvk
VHxPKyGtVvqmyUp65Fakd2xioiqqPn0P6/uUkMEkSjYrAjUZb6YdnAwi76d/96Ae
7QXQWqKxQkNuPPAamh/cGZEdX0+m4vAc8zTm8gdn0Z8dqXwOZVHUliHEa09gORd/
wYnuIeka6uAUbWYZ3hr/+E7QBp56TyefGlVauux6odbfWMgYfJRNsxpDpU/pYLc=
=fkTU
-----END PGP SIGNATURE-----
untagged tmpls have TAG_NONE
Alan T. DeKok at 2018-01-08T20:33:58Z
Files modified:
* src/main/tmpl.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/88abdea97997b547e5c964c12aa0c684c594d60e
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU8+EAAoJEH0Oec13Yh7NwZEIAJZ1tk2phzUbk1ljsZHqI5MR
remrq0jHwZds9p9vQd7+7/x2rUdAiZuFy7O69Wp3Mfaj6EREWeWsMfa7QB4bOvRx
rJSVBGsgq+xG1URafWkiBuGHsq7hU2HJ4G6jHQI9dt0cbtptOTfzKzrlgniEMScp
bLC/mznOHDI+SI2km9ODFwiMNP0pRBn3qrooaVtp4NH5BsgiG1OkEibne8Huhb3g
cgumr17OKqTJZMIXZVFIrHUAZewnBS/V0zkjZyBEHg4Fyud+BVJ/d5syjMIzod7a
DPNYk7AQOzI4yGCY1aEhcmQGTbieHb4u8w2NREEdkYW8lTiyqHWKctanDgBT6PM=
=yxt/
-----END PGP SIGNATURE-----
add ATTR_TAG_MATCH
which sees if attribute A matches tag T
Alan T. DeKok at 2018-01-08T20:07:31Z
Files modified:
* src/include/pair.h
* src/lib/util/pair.c
* src/lib/util/pair_cursor.c
* src/main/tmpl.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b180b2658d2e96fca3a206851d6e5e2af1afc58a
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU8V5AAoJEH0Oec13Yh7NXPYH/Av2H/xsy60W/+Fj5ZcYw32e
+3wAt56vS66vFxr8yKMGLfbPlDb3HXbAoKe89zr3jaTFB+eaWSCvA+VArJrTUySB
JviayZyzexhDpzaR8bnKEyMZBf5D0sACU4ozA1VyGanMPsuy98SQ4TmNc+2vIr0d
nbXg1ooNg7HBosiKT+JSd90Y7g0IuFiwhxOsERhhnp/beir45WTAe+7/N+V46z6C
R1BE3EGdNRn0VLlMHB2WPVQ3WM7VCU3uTEViEFweAqXqbBILZ6EuyW/PFqE3BZaS
BQ2JGJYUoK0pxAIv7iys2Q4Mjb+gkkETXYYfMzOrq4bYZjqrluXYd6EbPS68OY4=
=112D
-----END PGP SIGNATURE-----
convert complex code to one macro
Alan T. DeKok at 2018-01-08T19:24:31Z
Files modified:
* src/main/tmpl.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5d98bb3f0e98dd61e52e63ab0e4e93c61dc4214b
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU5ryAAoJEH0Oec13Yh7NLSsH+wbB7YKthVYb3isljnbYezkG
1Yuf7ORn2I/Rp52DE48qt9sj5UcRyN8NaoJmkzmE7W+OujajhPDeQJumotad4F/J
5AFVX83fOyp64r05lOgbpOyJnOVyy5K4VMPylJMfTAYvI+nZaSH5LLNmaClgUEMz
SnncUOrgydnIBEK3IOnTsD7o+PmWlvZhLGbHizXu6vNwcz/sQIzquas/tVIA3Kwk
I/L1NSJeMbDE4SnZOQC+m6hEcq1ozr8AaI9b+6Zl0qUSsVzCzCv9a5yx7DLLDToJ
ZUOl68s/3GSWMzRRxdA21zOGOvCswEpBFrFdGnpHmBuB2zcXuRgSnPKr0Y7AvkE=
=C9zz
-----END PGP SIGNATURE-----
print ":%d", so it's the same as the rest of the code
Alan T. DeKok at 2018-01-08T16:23:03Z
Files modified:
* src/main/xlat_tokenize.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/987084f3a00c06b5ed980a8397ef783e476d550a
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU5qoAAoJEH0Oec13Yh7NM8AH/jmiI+v8XmF4rXDhadsEpINg
++rWnXNuStHWz3FfY9qnhR4apmPX6JDX4y8m14muNm+XaRxvRO0wIkUuOuO4RXNI
nheZaQkdctWLMRU1CyEZtwDzdCgURW5ICp+YQINrTZtGL2ki84YY5Mb4dsL8Rt3q
kU7EMbe5K5mHv/9bGIHuejvMzyAwWeVeszF5Ii8cU5oNxsZ6NMAZxe//eJHp0LFW
vVikMkpr56vsxsaXD3Y1I1ErkG3MFR9/BR92VhkwSV+rcF4iuTDWomC/vIXnc3lo
ESG3EF9NVgDKumx1rnSd02NA7Y80Xri3f+38MaRErEyEwpGco8+qQ3pydOnLaYs=
=vxWy
-----END PGP SIGNATURE-----
0 is OK for untagged attributes
Alan T. DeKok at 2018-01-08T16:21:44Z
Files modified:
* src/main/tmpl.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2b604345cf6f249d0ab3ab0c9ee49815eed66ce3
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU5bzAAoJEH0Oec13Yh7No+4H/3ABZ8Cxfp8zmbuOov5tjwwA
ApkCEzCB0SB2Zwbq/uV2xe+wvD/6/QkOHIfHaax+1QoHxyxAEeP9jllLUTegV1wJ
cHX6JfEwolESxQdmmE3A/LCD+Y6XHZfZ25sAo6SA10GyEkxziconF/t9Aixsau+4
pUe02FVGlg2BENXJYLzQvlbCrmyJGugysrZO1c5GfhdeE03M3Lqe9YkPPoOxH8/1
OLLs9f5EpYHUb1KymFluxKqfOyzNlEyaCqzkO/7RKU8Hzwk0pcP18QWdxwqcYvNw
Pot9J4HyGJGrlW/wejTXH0u6VhyIejVlIjjaZipv756F/uLkzyXys8Lny9LZmac=
=xx3W
-----END PGP SIGNATURE-----
check for TAG_VALID instead of !=TAG_ANY
looking for valid ranges is smarter than checking for different
from a magic value, because there may be LOTS of magic values,
and LOTS of invalid values
Alan T. DeKok at 2018-01-08T16:06:10Z
Files modified:
* src/main/tmpl.c
* src/main/xlat_tokenize.c
* src/tests/unit/xlat.txt
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e1316669b2e3b980f64a59b60899ea2c43bfcf4e
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU5aZAAoJEH0Oec13Yh7NAN8IAIw4ZwrXOOiIFEKI7mB0awWJ
yHbspurK7/NetVnvRNkPCTKKANQuJXBt62DxuOp2SQInSkWk8kgn9jF74RRbhLQ/
5BuCVRLQCFj3BndqOApHX4KMe3kt3JyTsTNzh0HDXhFJXWxWGs14gNB/uP2Omm64
VMX5ncoic/YJ2Fvo29JMitOxuQEuiUvG60PVoanniqZejOUq8egCRmBxD0tCOrl8
eM9hWlPs32IK62qR7NACMueBA5l+gGUgJ/rhmEb97GlbsfqDsB46Q6qrXFDwnk6M
a4A+GYoMrdqpkJD817GkL7J6QhyaYwKVYv7+kHaKjbP0ic7OPVWdI69DH7Y0lwo=
=50FL
-----END PGP SIGNATURE-----
check valid rang
we can't just check tag < 32, because TAG_ANY is -128,
instead, we have to check for 0..32
Alan T. DeKok at 2018-01-08T16:03:41Z
Files modified:
* src/include/pair.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/00fc292fdc1ef198748e23f2d02d713a03e50b89
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU3BzAAoJEH0Oec13Yh7NPvMH/j8laFkOD80Yw6Kax8O4NU+g
e40fd1fjQQaR+4IIwrYsuWMOMGAAeeLf9qaqGJ6ZCo/sXRK0uvZ8NlBvUUDGyKZ2
LD5hJH9ib0vJx5ECJOq62xlykiekZB+AV/iCY7prcs/b8vp4Gg3HbOLq5gAPIYMr
3Br7bAP/5VZ1p4YcMax7lJoQryfEruxiByFyS4dIIqdXuyILEr5za38no8cw0Gwi
fqY2DEAD/nRanl0jNn1jcsNfgJS+/OAyXWZHI9Niyr3nB089yWQbhu1bY5HdC8Om
Rd6jcemo6dJfka9fUgxuukR+BjBn5TRms8FIHYqWBaprbiXKcTt1zHuDq/Jf8fo=
=dGQk
-----END PGP SIGNATURE-----
0 is not a valid tag
Alan T. DeKok at 2018-01-08T13:21:50Z
Files modified:
* src/tests/unit/condition.txt
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9aa595035e68df5700e3def052493b4a461cb11a
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaU2/sAAoJEH0Oec13Yh7N+1AH/2mdIggskqsaXzMf3CXs/XOP
GgEk7MQmoUWYJs7XVKVETTkXhENcryaaylGI4yI5id5hCGThu/Z9SE2HNd65KcK3
/WBqQE4v9+P1AEjBrAehqI60dPwa9YXg+9B9RUYnoODJprfExKpmrM6+L6mY+Qbi
9+Ay6fZcWwpQOiuCyV9o4oTEFNx3HonWuYiNDCDO7WJkhUWo3t/sr3SwRIDJK74T
x7PG6PL2ShZvIX6tRLrv//eTJXV1lDz2FbRxxWH6xVhfx7+xoX0zQwyOK4LT2LTd
L2kZPPKfDlU5XoAhBF/7EB+aR6Bsn5+FlcxijO6aimQZnPFCzMFTr6HpCscUE5Y=
=JLBE
-----END PGP SIGNATURE-----
only print valid tags
Alan T. DeKok at 2018-01-08T13:19:33Z
Files modified:
* src/main/tmpl.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7774abcaeb5c1e801219c89a3d808864ff35b48a
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaT7GAAAoJEH0Oec13Yh7NjpAIAJYX6fKtjVoR0PkkJ5eKRAML
nhq1B8v6yd9v6kB6UluWYTIIBV8AqlwMJeVRXc1+qeag3sOZUKbj/QwCv/33V5iE
vjucAo/q5/XjGYK00tgFkljlmsDzOmx0a+RtiGRxrmgxNjLW3F78yBTuX5XTu7ny
QaLN1O5Ou0Btn8xsC9/73MDgj4pIYE8oGOvxRoLBmhb2tULZ5/+ybuX5aJu7SPrF
m7H3nX0tjQHOFkH+vrm3mI9/3BgX3hFmpjve/KPu1wRO0Z7lNdwJjrgZgyVYsbhT
wLfqKrL8oZMGifo+OjGfRSgB72usQZB0W6EQPIybkUHQ2ENkIxWcE/JbB0Ia9Ro=
=2BHR
-----END PGP SIGNATURE-----
no need to double-check the IP and prefix
Alan T. DeKok at 2018-01-05T17:10:17Z
Files modified:
* src/main/client.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/78d14b93a3b7e591855902a9518df508d9063882
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaT7CDAAoJEH0Oec13Yh7N8AYIAJBmzkTHNUeGD9hdJXU3JdNe
m/mBf8Oi2SgPPUOd6mzqv/JamG67Bo0Gi7G1WETZ4/vtiAaAyqjedH2qJx6L8ffh
7E8SBbPS0q8gwBmzanWueCtDMKhm2u2dK6Blj8q0j4cl1tL7LfEL9Jd5asjP7Zf7
Uf1kj24sAn7efjfn43KX+eGqpfHjADmH2tmVPts0XBrSmDYkPsxEoX8bvbGl1T3z
TkGF2AA+Ggc/SEg8yQod7pKfaN10W4Q8HW5wLsXuJeLbTU19vMmhjOdpO2Zc2NyN
urqy9ctfVSf2M3FX4jw2+K83kWfvN0Ynq02uF0VnmiZgt66SZKHLRmmDW4PkfjQ=
=cBjE
-----END PGP SIGNATURE-----
use fr_trie_match() instead of doing it manually
Alan T. DeKok at 2018-01-05T17:05:54Z
Files modified:
* src/main/client.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/33517db6ce037431658f6d9c9b49d34d3d9c71dc
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEcBAABCAAGBQJaT7BqAAoJEH0Oec13Yh7NBYYH/1s/sjAqgob3S0f7j170ok7c
yDfXkIw2pwoWaaL6ckOCMmrwbs+6bt8K155cosrpR9nqI1+0c5Mjqk9izut/yWDr
VXKuZxexJpthqvFZ/BFpv6Ff+2ao/qagkh8zZ4hMMK+qgGazK56e5/fXWZnvqrwR
QSRrCpQYnw19W5YjgZl7xpMchKVuYjXYYCUydKLb3wyDexzZryJc45kn7h76P2Jd
Nil5TYGPIKMDs7lpIyGdXgaITugp0R85LNWeyPAt8nAOfQJnXZ5CEqcVcujDJhla
gcM/ODMtt2+3/v8/68Hjswpsg3tKS1xbZPGCDIcMaDTC4bSqaPkukPhMfJsQz+8=
=mNbp
-----END PGP SIGNATURE-----
add fr_trie_match()
which does a match on the exact length of the key
Alan T. DeKok at 2018-01-05T17:05:34Z
Files modified:
* src/include/trie.h
* src/lib/util/trie.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a51ed411601d53577cd0354d64fc54eaf0a0e406
======
--
This commit summary was generated @2018-01-09T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).
More information about the Freeradius-Devel
mailing list