Commit report for v4.0.x branch

announce at freeradius.org announce at freeradius.org
Thu Aug 3 02:00:05 CEST 2017


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep5AAoJEH0Oec13Yh7NwD0IAJKxQGT9qqWSAzSLPosQlUOs
 PQSN5PPTwu4MZpW8g6HGIAZi7DHwF3juUVowDNXMtYYF90XNMKutJaJphd017GOJ
 MG+yhXpZaQ8ZOZuC2MGD9MCcS7JlAmsDl7EGh89usXaC30/Yk4C6pe0KmJzcbznM
 sc8WPM7cTUIm98Qhuy4Sj5DnNbIb8fsU0P4UKBXRGdkpUWRnbSQOvJAVBmYadkkc
 +k/WeLd4ehe/v5EEb0ybj5tjVaDcVklWPihKjPx/evbc/1Pcp0GA/goXgml6IPXg
 p5NgLWRpF9H8XXaF1Me5TZoU5qTv0Hbbdv2ugjRYZJX86G6BrVMUbmKqDgbiy5o=
 =8oAg
 -----END PGP SIGNATURE-----

more notes on what to do

Alan T. DeKok at 2017-08-02T15:06:33Z
Files modified:
	* src/modules/rlm_radius/TODO.md

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/65d323bd0739406343b77caff7e770c4a011f1e3
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep5AAoJEH0Oec13Yh7NIboIAKKfVSfUB0Gq16NHDKgIGcqG
 KBjM2//B43Tg4URJF/w7GQeW6z/LduVZdEo2wC2E/l4hI7ddm7ZvCz2kPZG0YMVK
 zOrDuFYuDuxRG0eQEX2Y6HCkGmVVN9dKEAbnmyGoFcTHw/m0L0pyZj0s2bTbUnp0
 7N/lOeo+IOxLUaK6dKa4ucLduDNlHmmJb58Tg91cPIrCpriO/CEovDPdeYGhMhrd
 81P8J5Z8bl5PV43g+5GLhQQNbQ5z/fdv713L3XjzKiM8tDNwLXELPubjmW7travN
 XFctifVLcOw2drs4WrNwyY7i311oE2tWL1JyLhsaQYUoB1/gxWICXiUg1umz67w=
 =LJcT
 -----END PGP SIGNATURE-----

set to NULL after freeing it

Alan T. DeKok at 2017-08-02T15:06:33Z
Files modified:
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d230332f0af807f76f10dd94ece02a6160e129b4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep5AAoJEH0Oec13Yh7NFjcIAJ6nqwfxx5Nzx0Au3jgy9m8n
 vjSUKspz02c040lyuOh5bSo3F3gocK9kGjoMiQ3OpZdDoyH2ESX0G6sS+FFaM0VI
 4DxN1iJmNgmDI2Z4SeyiZADl++9QJYFsBXs6WK9IXzY8wOF/KY2kjxwCTnvczJEp
 AkLUnSxJQDvg9/IgCvjDCY7/VQyiVfs06MFNM9gzXdlESV8PMTT5+vmxB84r83mI
 ERb4k03Vcy1ebW1OxBtU2T7LpYIOL9o1M/iFNaokhLEqlTmM0YgvjyuOet1BZZ/c
 2Ea/kk49XW2UNs4wHIRUtTZvdLqmRHZxUXhn227enlmC7ED/e2CUSFmeVPKFpyo=
 =MUWO
 -----END PGP SIGNATURE-----

parent events off of id, not request

because when we're freeing the request, the event will be removed
before rr, and rr points to the event.  Instead, rely on the
rlm_radius_link_t to free up the things properly.

Alan T. DeKok at 2017-08-02T15:06:33Z
Files modified:
	* src/modules/rlm_radius/track.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fe3d549e2301cfdf7c15aa8a771714e831c2d0da
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep5AAoJEH0Oec13Yh7NwSYIAIygzxskIyIPN6cfocHaguAO
 XZMcGQII68QFBp7N/yYnVu6MYYyC3KRS6o0spQU0OMNvj0YbeLCELwy95o6ppj3W
 KWVlnSHwxin40xOUaTrnM6rq58Xrpaw3o48g9EQNAQ0aOcXHbcQDP4LPnXHmdfWH
 11UUk2uZsWAPOXLBPMk1uVEx3brvnbpPo5yRiyXiHopZugrkYt0u0hJBPrKLvBzw
 gu78RUWqjlGCj2h44vjbO4ciQjhyDnZgyE51GrC4zNajfyLh7/q9tksMI8Cq1103
 +T26fTZtuNxfjG6lVUn2HdVlRDV8/k5LIZlotJg9ur6560qPTz15SZXKqqmLrLc=
 =7x07
 -----END PGP SIGNATURE-----

reset cleanup timer if there's no more work to do

Alan T. DeKok at 2017-08-02T15:06:33Z
Files modified:
	* src/lib/io/worker.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/73260b14aebdaca924e6fa6076d945cdbfdabe01
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep5AAoJEH0Oec13Yh7Ne68H/Rmbe7ycSz05eAf8kzeDSzkx
 xyy/YXzG3IcW72AfHgehxiVXXACKMIF3ReOo7f64y5JQwpqg9ns+nBSK9uj+hvW3
 8OBQ0ylx0C4BYVBNWCifwOwXyfMNPS69fMTmZHp4MaPUB4L1As5CslWc1KTrH1bY
 wbYnrfmjQVLZX+MsCcNJ6pymhoPUIRhh3IRPR8GamjZzgvxI+abZREREJ108q8o7
 G0Dgo0YdY9jQ12IFrJP5bMnqYAM4yPY8k3ogLlbucPzwA49CAbDgH/LW4F4XSNNT
 n8dw1B33Klcgit1mwN0m5fICfNIYdFU6QwfH0K85YgT/2QiTxkXgPrsCdrKuQNY=
 =vAFB
 -----END PGP SIGNATURE-----

set "must signal" flag if the worker is sleeping

Alan T. DeKok at 2017-08-02T15:06:33Z
Files modified:
	* src/lib/io/channel.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/871c97ea6068a1edbf1e56a51196fc25629188e0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep5AAoJEH0Oec13Yh7NT88H/1Yipk3njiv2h783BxDEqa81
 BlqiOMjg1acXNjHYvufgxRjwrCwmuPRRgwgyFPRFnMjfLrh3AAtZcEgU3attJIj2
 0wEQ0qv/dE6Dd72eNEiTRgUIC/8w+cib1QixnXaMwaHlnqL7ddKbtBW1FaTZI/qG
 EcMkravALz8ciaXtmA5GksGbVSxGpMVAXBTLnHALIeUoH+6DarCXnmUKANQhFTNH
 zLN23r9YSS9md/LUKbl1JrpzMCXtWiC/Hzmil+B3T5n5HXE8Z3ehxkxEOFM18b7K
 /y6OFoy9vqMrgjKzGjkOFfix4TrSClwCsB3v6iEn6FBQQCO6ykBWc4AFk+P8/nk=
 =+7Kj
 -----END PGP SIGNATURE-----

start of tracking connection state

Alan T. DeKok at 2017-08-02T15:06:33Z
Files modified:
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/edf62968178814a0b7d70b59b986fbbb18cebe42
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep5AAoJEH0Oec13Yh7NsgMH/2RtesCkTz/0Aicx9Z4IAmQN
 aGJBRIcyNdsN+n5NJn+XuqJuPhgklSOD/susoXYksjJPeYylok3Kt85chx+5OsYw
 vhDoQDdVmhUF2AvMf31O4jjbSuhF0YkbUVR1AEUJe1KtPQOvRiQQ7ugyDuna9sWR
 Fw9fw5WK1g+0bXUpju4lZwe5lA+B17Vl/NqqSoFrs2FnXL5iImr7IoBR8EjijQ9x
 qMGVdnlUhNKT4HSzyxVehsJFngsSaW0kQTN1UeogqMFGu2J8lIrUPWZITm4qffR3
 qYCvShc5CgIlQ7M4p7sXUHJxXml+DtvDlwwRpVbnq7gTFJl2t1BeyC0cmPX9CJM=
 =f4vq
 -----END PGP SIGNATURE-----

this is now done

Alan T. DeKok at 2017-08-02T15:06:33Z
Files modified:
	* src/modules/rlm_radius/TODO.md

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1aec8c1f4acf2f9a8b63c16bfc825052dd7e7ded
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep5AAoJEH0Oec13Yh7NGbwH/RIrwr0/7ECcGYNF/2kQPsZP
 cwHX0KlP1hB0UGUymoyH+XYLa+7EuwdRDXhsSCB+L4NmmCXsScEWlr/BmaF0dRYr
 nhBHBCzNqOKebkljCbih37WVbLWqng00Pn7QazT0mqJHUfgZVts4UefpuoqUe2Ug
 G3hRHtleh/PKjqpeHCh2j8QQayE5+vZKq/onHJfxL+jqGiZTgboVixl5u4vBzLhN
 zueBYBb6MYUE4/FPpMe08n4F1hgrP3Iphi0uZB+cwle/xe7h9vDdC9/zcoOcwxj8
 5tnL/rQV1T0X4ZzmK7XH0Pfqgjet+WGr1/iwsix23LE+encdUjQz427TSy5sNJI=
 =dvcX
 -----END PGP SIGNATURE-----

don't malloc / memcpy the packet if we're replicating

Alan T. DeKok at 2017-08-02T15:06:33Z
Files modified:
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0d45a65c331f1f4fe6defcae4636eb63c9da6ae9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep5AAoJEH0Oec13Yh7No6gIAJH1I1HFdSQo77FqaTr5zDsG
 ZvzMP3tIe83KRt+PDOQKNZAiYesd19X+TJbrpN+Tv59M9puMjYe2n5HK3AjQUWL/
 tk3C5nfLzQTO0m3quzTtEMiBEcQ2Wko7aqgtR2zNA1PA2nsOM8lyh2JTUPGGJEdd
 LC6FMk7bhV00SAjLyrfexDgosW8MQmIF7ZVsPdRWCtgnX8L29UcvjN+aF/98Jol8
 OFgmftxxD6VFWgcRCVgBycY0gEXxeNVS/drpL8D6+cs/xkm4qPBFjDU/Ycs5C0t5
 iMWo9jzAVtutLrm/NXLQRHBXPY8pLlM0oPPM15bUm1dpL3r2EsuPR5DBxH5L8eU=
 =vAeD
 -----END PGP SIGNATURE-----

manually add Message-Authenticator to proxied packets

Alan T. DeKok at 2017-08-02T15:06:33Z
Files modified:
	* src/modules/rlm_radius/rlm_radius.c
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fadd4cf5bc092a857d11ca38e495513fe102a6fe
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep5AAoJEH0Oec13Yh7NHjYH/jCuxuuGAq6XTjlk7T2oTWDJ
 R/AH5aiu/nwDm+uU+exKuUEjxU5tBRsHJvdRVwu1NNFxnL6eJUSXPKlHGuZak4lk
 mtjmd9kMZTWR0ReWCjMtzAeB/ArqLnOGSidpn3FpcGMLTXpgH8Ej409J8Tjnklxb
 pSgGUsiDp0OC0rjy/e4z8AJzoE51F4pYMseRHlAa7IclxetRYYalDWIvuMmzPoHB
 ysGrl7Gs+m05DQPa7mLqOqts5QQ+mZzCInPsGlWzzr9DlqwN9QQiCWeAlaq9GSvR
 y5mNp34kd4wdbN4ZkkaZZvheq52RH/vtOtyb1KCckgtYX3X6KwwRTFGU5WhqSjw=
 =Eog0
 -----END PGP SIGNATURE-----

do RADIUS fixups

Always add Message-Authenticator to packets.
add CHAP-Challenge if required

Add Proxy-State manually, as a per-connection 32-bit identifier

We probably want to add Message-Authenticator manually, too...

Alan T. DeKok at 2017-08-02T15:06:33Z
Files modified:
	* src/modules/rlm_radius/TODO.md
	* src/modules/rlm_radius/rlm_radius.c
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/33b818c7f2366252d3e353e801fe80f2981d3b81
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep4AAoJEH0Oec13Yh7N8CMH/0fE7TQJ1+PPHoKOkTLxwzMl
 h5qeKTuQgHFN1yT2lvJshR0IzgnuYlD6SxEtZpW8SOgkAuXHvQoIBi8Y0eZ1oGhZ
 ViIQ65qcEh64ZhVcQ4FGu2Ugw/fPAQ6VNlV1liifuX1Hix/luY5ylpfb6d3qf4Q5
 /J9BzwXxl5FX7GjGT/X6lOY39mM0u6c97MtiU9XMafb2267LJkIW8Nz9sT+6m48B
 4ButQjkNuDaFy6b8W9hLjcBk3I/UOg2R7uiPV2w8487JEkufOeQpiyt4aqacQ0Ia
 izwd8sB2hVjBvXpEFtRCFFJhWv3M2/J/umbFTA+W5qh4+4gIe6vobF2haaMZj6M=
 =8YfV
 -----END PGP SIGNATURE-----

set idle timeout

and free c->conn before other children
and set c->name to something useful

Alan T. DeKok at 2017-08-02T15:06:32Z
Files modified:
	* src/modules/rlm_radius/rlm_radius.c
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9ad439929a5ebef37edc979207636186af611f5d
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZgep4AAoJEH0Oec13Yh7N9PEIAKjx19DAu07mKSHR/QFy0K0i
 aGJhqdK7lP8dT6u6eYem1kGKx6uWCQGHKwsML5G7EEx7Wwcj4SwdW7m5b0gTxHLQ
 W2LTYJfZ8vsXM2V3P6slX1Hpy3ZwihGidgsKfjGYBNNRV5vks/bJ0FRor2kiNTjq
 gC2blxw2WqQVd5bFJpnf4hMhI+p1EPIlpr+c4orujoEo6794nGHUlmXLmrm3e0up
 QiVgx0Symn5Mz7mP+Ajb1u18oJPjcDMoDnKuYRk0D+tuqOfEePgcMsFTEK1e4KvJ
 g/ufIEfB7SPycvpKv570TaexQOGFwmRd+xhxNPiDWgyglWjudVgqBiJrrgfyMBg=
 =0K9F
 -----END PGP SIGNATURE-----

notes on idle_timeout

0 means "no timeout"

Alan T. DeKok at 2017-08-02T15:06:32Z
Files modified:
	* raddb/mods-available/radius
	* src/modules/rlm_radius/rlm_radius.c
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0be31837fae8baf3059af210460db74c953788ed
====== 
Merge pull request #2032 from mjducharme/patch-1

Fix for mikrotik_snmp not working

Arran Cudbard-Bell (via GitHub)@2017-08-02T12:47:58Z
Files modified:
	* src/main/checkrad.in

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/382047abbb0c5fea2c926ad40fa5d1a4879c6137
====== 
Fix for mikrotik_snmp not working

If the interface table is above a certain size, MikroTik does not show the ppp interfaces in the interfae table, but they are always in the mtxrInterfaceStatsName in MIKROTIK-MIB. Simply switching to that fixes the problem and should not break compatibility for current users.

Michael Ducharme (via GitHub)@2017-08-02T04:39:57Z
Files modified:
	* src/main/checkrad.in

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a3abfda86982446fcb6e05e153c9eb96e7bd0ef5
====== 
Merge pull request #2030 from pwdng/ldap_openssl

For CentOS, use LTB's openldap packages intead of the distribution ve…

Arran Cudbard-Bell (via GitHub)@2017-08-02T12:46:26Z
Files modified:
	* redhat/freeradius.spec
	* scripts/docker/build-centos6/Dockerfile
	* scripts/docker/build-centos7/Dockerfile
	* scripts/docker/centos7/Dockerfile

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3687ebcb6c7c080c3bfdfbb8578f9fc1dc3e8c05
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJZfyQPAAoJEFyGT46NO35o3BgP/jsgroMqQzzLalo3QNEjXXRR
 dDtkL5WaTsyz8zSWLJZFDioFtkoh5swkA2zyu+e4j2V1t79c/06BI4eJe2SuKXRe
 gTg9RE3wynvque4MUycAoAztTz27fmjzmCBPgevHPA0/n8ARr8E+yRI6ikDDJLUN
 aAIzB4omMudk80xThoAydT0c0ge8JizJwpNgs3xGIZVYsXMTvMo2MGL+YzOfgqPM
 SRJ2sUjgOF/Vlxct63Me+2icG49aPBFn2xq0OFJT32gFQq0hTozvyC+86D4CchFF
 3RJ2QEMx7yf8wpvQyYLUFGkNxq4Rjt1wj0iE3Op293zSnPKq7xHFLvEw/MkJo+Cf
 JM+9h8q8wCaeVgl8602Ce+7WkhX1tWyWv0rRHY/fIkV4zJXNm8ll4eP/yHMxm8Ef
 QYgttJMQ2v7PF9j/Sss55T9gDT8RB+Pj2D9Mpl7qttPin8DJoMBdt+0y6KUAsfEz
 SocgxBuxmPVBtw0QuVmF4YPmpyoYzmawDCayGo2w3iAvChOZ+RSWcXTRXKFZaChp
 FcE9UOLV7+9iB3vz8XvqaD9Cdi2YFdshJ4VSwuv8iG+rU7NQ6ew/Qvmv34mGIEjo
 3S7MY9/vvT5m2A5Li7IZUO2ufe66iir7ZOfLTupPo1kFBM9zQQWV4AOt6+3oRXRt
 M2T/tnhhELTtZsalU5hA
 =TkFM
 -----END PGP SIGNATURE-----

For CentOS, use LTB's openldap packages intead of the distribution version to avoid linking against NSS. Linking against NSS & OpenLDAP causes issues that manifest themselves through unexplained connection errors.

Philippe Wooding at 2017-07-31T12:35:21Z
Files modified:
	* redhat/freeradius.spec
	* scripts/docker/build-centos6/Dockerfile
	* scripts/docker/build-centos7/Dockerfile
	* scripts/docker/centos7/Dockerfile

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/24f87092f4e42ab28382acb33d583acfca374704
====== 
-- 
This commit summary was generated @2017-08-03T00:00:05Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list