Commit report for v4.0.x branch

announce at freeradius.org announce at freeradius.org
Thu Nov 16 01:00:02 CET 2017


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaDLe+AAoJEH0Oec13Yh7N7IgH/1WvEhnIxXzqqJR0gwvOvtsO
 wPJ4GLjaywPe9phId9Yb31kPgBUs6pGVxfEec1cYjowsmqTy5LTjMfThDqbiS5cy
 CWp2dBJthbnMMn2qPGQDvLl3yulZMbSDSRGlUmWk71VUFVM7VJpPsUftzQCk5IH0
 lf/dMPLZXXFXonUkYVKTQARFFWp8RxbZGtIz05lU8Evf3mRtK8Jt9smItq0UaATL
 68kdfom6756P1ZzRMZwPKjEQKeah0radA8BkGx3fOdvWEJJllsclqa+tIYK9isFl
 cMsA6f7JnvFJE2dyqhCHjuqDRpgx+/nfd5NffTpAtVfNXHvk0BXJQAIBlZGkGxQ=
 =t0yf
 -----END PGP SIGNATURE-----

don't do work_init() twice

Alan T. DeKok at 2017-11-15T21:55:04Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2d828de84e3a768f673926a6d40f02e37d71a086
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaDLOvAAoJEH0Oec13Yh7NyQIH+gMNH8aZbCWfbNNsxBCP5Eld
 9Lz0XOI/U+P3IBNveFzzlpZvi0GkFAGemnTtfgv3pd5INlR75Vzto1HstL4asPO6
 e7myhZGVhf9NWZNjdI+zZaHjxOwW8B4wkpFHZGESO6n3bw62rAultHR8YAIAhfRZ
 XYPu1C1d4p/dqGNl+DV9ZhBd5cgZiHabrCm/dVj++b5i9sDj5BJAXqtzxz4d6ivz
 SevFnsEEhOhD0689CK5GI87+zNKujztEs6ELPUf40xRmaJe5k4t+zzyowEJfS0uo
 ngspeib8/jqtFa7fMMN+rICDhQ9UXcgJubkpndg6fmryNY4/OyBRSB1Ijwz8ksE=
 =uTuH
 -----END PGP SIGNATURE-----

fixes for building on linux

Alan T. DeKok at 2017-11-15T21:37:45Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/913b5dd459db8680aa76c80640116df74408aef0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaDIgOAAoJEH0Oec13Yh7NHhQH/jFQuQ6VyieMuy11GpCFviZk
 3+mFkuBgGifyBPtp2Ye3r8+CVspOuK+jkjos4OZEUqwuPKlOnOEmdLPBWPa/Ufx2
 1exQ79iA/2/nndyQjmb+MgP1gLupjT69hWIkXTIu8Geqhh+T5LPJoaL7vijTzcpa
 3XWPYQbzNCDU5WHZ6NF64WqjouzsEKOoDpmrKFJMVZqUcQWnziloSstRYcx/j1/q
 lfSBsx+ztX241YhxlAMfUinAbO76a4rY8mG+pxLsXNYtoS2OzYTTvRWVbrqEZYUU
 ugpqtceCMri3J+JpxHW6opK5ltoPXLLqQtNpHGGuw6T6rIvsdXJdu+9mh5inWoA=
 =6K+I
 -----END PGP SIGNATURE-----

clean up code and remove goto

Alan T. DeKok at 2017-11-15T18:31:37Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/23726b813f50a83882fa32cc3704947eacac8270
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaDIZPAAoJEH0Oec13Yh7NPDkH/2knt5aHXDx1ogd3fwUjih/H
 JykP1pYziWUSE29AcKNp+XBtH8eJDIH3+s2IDECVI/HUwtiFmySjuB2OKNtvakos
 IO358CYVD9NYYYNc6xVzL7AfA1PfC6jJ+eThkpH9Fn+ILY6/+Oh0SGpxoE5PYe6U
 q9GxZMi8atZuj6x3boPnkow0Arh2jI/sr6tdp6cf1vmB1MMiF/oN5Sqne3bAmq0x
 QAhyZWEYLJXSryyFSpjtmxGLqjgswyah38dTyyNu1G6HvK/rC3A4rwz41XWj/DJ2
 rDxNROdegx5Gb+wWQxg4i0S7F26FlJ9zBOgHncculpPIfgB+K9kFE0Wk7gFQELw=
 =H5H7
 -----END PGP SIGNATURE-----

try renaming detail* to detail.work only once

Alan T. DeKok at 2017-11-15T18:24:08Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/687fa5c4cfe4ca5676f5998db6568123bc06d6a5
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaDIV9AAoJEH0Oec13Yh7NdZcH/As74pq9IzmIlfHsW9T8XgMz
 WVDi4LoaQvH0ejjzO1VFXRSxTkocyZDxlM4v6jluwEPd4x8JFIwYrZ+Pg60UK3ji
 8ETAhXLIwWQF/efTizcaIZlpBQZVzTq7f4VT32g/833krHG5+RPGV/nHnVz/1o3b
 jMhXO7B27QMuMOAtd/VcykZgF1Q2mfiZA01FSfjPKxPpdIPS2JFELNkkCeC/DnXq
 UOGAeDue/n0fND4GFZajKrbCfc/4Qo6aZPYse3uk1fPQgIZWqOj7Af5hdxQpX6Xa
 aeyU/Eg4y6T02U5PRbuVatBqxh7cxcGzHU6R9sTi+CXFp0kYHJrJJW6+ImBA03c=
 =HsCS
 -----END PGP SIGNATURE-----

allow poll_interval == 0 on Linux

because inotify works there <sigh>

Alan T. DeKok at 2017-11-15T18:20:31Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/acc0375545f35bd4b3e64a765128039d0e0ddf85
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaDIT1AAoJEH0Oec13Yh7NNuoH/0x7faGQBxvXd/dMWUrqumXk
 J+ZR6L138Zdx23k3Hs1Rihme2aW8l6sfGt+49IFFeXzOZvPJES7ohSJhHBrjvbf8
 SrXlN32EVPxBV7Sn34vRTtnw+k6/PpMSmxjcZwEFKbk5eTY/BbPx1vm4TfOu7CAz
 lTxlR574JBxz0XsYRjQJ6sEa9hJgEWpMEHXmYUQIMjOGWQqnM8yz+syjHgxMPez+
 DiMtA9GXUabgUBlpiOX0UE6Y0dEqnUjBU6jSlo8jOpguyOUPhz+TvFdTcoW6QDU7
 yhCkAUjLY0Nu207xAqFBxjjsuNDO3NAldVfty9ptUfWUCgGpCsXTUfi/ntO9BYY=
 =Qya2
 -----END PGP SIGNATURE-----

if no worker and the dir changed, start checking again

Alan T. DeKok at 2017-11-15T18:18:12Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d3442be575f35fccb9cd4dbfdaebdbc61d8fd121
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaDIJhAAoJEH0Oec13Yh7Np6AIAJeQlz24bKdcMPedbzTS1FE1
 mSAMLNWgCLP5rAD2dGozDwd+IgMDq0eO2H6TuRkCvcxC81B3x0Dk/hh7x2fOcwPR
 RVAMJbbhg5+42uM5ULkXqxICQkUx4wsgplHUqbHMPygBpYMucg2HBeFNHTjVHLva
 b+6eAeFC9RgwKNRoeLk+EiSiorJmg1CRPT+Ji2LcWPZvajUTvXD27O+Qr+ZmTyvq
 lLQPF9w1NhoSrF/C+4ur/h2Y45xh9moEpa5QTbjYzq8XUITMJBgDpDcLxTn4IdAU
 zzh0j00uU4NQZaKo07CGcWExT+j2BYwywG/1aqx+3eEyaOCvfbfjegbu1h1buVI=
 =BLWg
 -----END PGP SIGNATURE-----

track the number of workers via a mutex-protected counter

Alan T. DeKok at 2017-11-15T18:07:11Z
Files modified:
	* src/modules/proto_detail/proto_detail.c
	* src/modules/proto_detail/proto_detail.h
	* src/modules/proto_detail/proto_detail_file.c
	* src/modules/proto_detail/proto_detail_work.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/042d3ad4c031d4d39ddf739fdc7edc0869b70a86
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaDH7PAAoJEH0Oec13Yh7NfNwIAJM/bu21etjbSxK3xbtiVqJ8
 WacYFpFjq2OcWtpJM3Wvx7mW9Jqrt2JMq0AvhefZiGdozTPfgDmz+JsZ68Z8uJtn
 EGEEnHUJrnQkR0ScG+7+gipMFvLs4CStSOLpRzErcoKvNvBJCH2i+HnDWGpBbz6m
 Zctb+Asg2dPGx6frfmlHnTX2vHZiJuWezYNOgND/a7pb/ngzeYS1N0aKOxS24Vis
 qM0daufe8G5lLnJ5qscXvxR9zWgdIR9+o0mBBUDLuLE8f7JRF8rUsnD4I1fuguSL
 tI7B6+EWh6pZa9r4ZSgJmK7TFdh3/t9OcIbjjdUU4uHIZ/QZdvWtcSRsrQs1aTg=
 =xW4E
 -----END PGP SIGNATURE-----

delay polling until such time as /proc/PID changes permission

Alan T. DeKok at 2017-11-15T17:52:15Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0102f63774d4dda39090b617edec150e5baa96d6
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaDH7PAAoJEH0Oec13Yh7NghQH/jcGOZYHLqlc4QgDjdRWWswn
 c8xvanaI8TaR84ABiV3TDJT1rDfGXasHqtvCFPBgE/PjGFDyOe/B8yiSV7O4wUp8
 fjIL2zZr58nHia9vp6zew8MJXIHdlgHvyouksf4yIZ77irkgARf9DKqz+77sDY2K
 9wzwj58hCn4oda6rU1sQpIxAxEIAK1vD+6dTmk3hZpEoKrm6LYXnRTGkp55gtxAN
 E3dcwTmn6fiBnPTNtMnYQy3KaJhasZIinD+WI3XzmOLPk/QtXVfzfkHHeBuLzQIk
 xuHg0O4aK5eIdt3y7l5inGvOZMDZommQmawb2YW9EXhYVSuBCJWTH2IlweLBz8E=
 =UBtf
 -----END PGP SIGNATURE-----

Ensure that libkqueue / Linux doesn't bork us.

The kqueue API takes an FD, but inotify requires a filename.
libkqueue uses /proc/PID/fd/# to look up the FD -> filename mapping.

However, if you start the server as "root", and then swap to "radiusd",
/proc/PID will be owned by "root" for security reasons.  The only way
to make /proc/PID owned by "radiusd" is to set the DUMPABLE flag.

Instead of making the poor sysadmin figure this out,
we check for this situation, and give them a
descriptive message telling them what to do.

Alan T. DeKok at 2017-11-15T17:52:15Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9e86d006459ab5508376073c6aee6a59a33e9390
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaDH7PAAoJEH0Oec13Yh7Nr8AH/i7r3ZyJuUGH6OygfIFiV5BT
 z1SqWJEi5kq5YZukGWITF4PO9E/ziY9YU9YpXMCMsU/VrMaVpY5KzTqL+0tyzpv3
 p1zZobWc4M2dzHw2wfoReZC4oFOWbtIcp++a/T7p5shXVDsXk8gLjfqaeMSvTzhD
 9Rd0sR4c2jygtCs0lBhtu1YrfVT/W6O1IYIzx62hQA3FlerI9iAE2y9HsPOwZQNk
 ANBOd0qxFg9Xc91cWNS/N1XmS1aR21tfrTpefCbwCMM4zHZEZf1qJKpRq3tHMSIm
 GuOlGE+D+wM/cw0QUaQWC/FXXhuSylzMKZN+TKFQ7lcz4QKO2/ZeHY0DOzjS7L4=
 =kgC8
 -----END PGP SIGNATURE-----

expose uid / gid / core dumps, etc.

Alan T. DeKok at 2017-11-15T17:52:15Z
Files modified:
	* src/include/radiusd.h
	* src/main/mainconfig.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2dca469f08dcd79824c8cd5a836ad0076523cc76
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaDH7PAAoJEH0Oec13Yh7NbBUH/RXVIAWEWrY7D0EdhJnk6VMF
 vPjxBPwhE/ejtaiTB3ZmknYdMoqfAvm1nAl1Hks+WztTDhXnrRMRvFBbsGTTkfIB
 UpnUK9UehulIFyFDGE1ikQmgNCU3fc9jPqyu8vFnrAGfDAjDT1+MgnO3gwy0uZ5T
 /lKhMQODvu4onRU7K8eFRDFTRA4FvDJzouwxp9xlQ4aR5huCnicaRawNbuyn16Ue
 fnr/+acLdQ2vsvJ1W2bJNlU2eacQb2y/9t57qBDo4e969vQqXQoOe68AoZCM+p0x
 wLtVYeNRS0adMar5iSj/I3mUbcVZKrDZN3HzHCj4/VxbHc+Vr6k4UPcYzteL5UE=
 =lbpQ
 -----END PGP SIGNATURE-----

0 is also allowed

Alan T. DeKok at 2017-11-15T17:52:14Z
Files modified:
	* raddb/sites-available/detail

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9b62004e0f1da5062b30c3ba496011bf68f580c9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloMBdIACgkQ/6TVgp+2
 18qp6g//YF9MSG8EbEfR2wj+g/W2GDfpWK4LE8Htci0EroIbMnk7DftM3Nb/LHvz
 n8JxHCDvezoUgU86aTs6JgiIKva4ccathZofbN/5XqNxgRrRVGy4iDUdwKCR7wX2
 Na7NqqFSuOrpzHLq8nFgM3266CBHjMwbBtL4+k3Tz/92ibHma+L7XZgAkzI/GE4p
 jX2YqUyvEX4iqKhCUQS0YNOXEdkxKcSqujcJ7usETFneTe7sKNg9lHt0srZ7hDBP
 CH/s7GEDhySsTKvkgCE3uSFnw9DJ7EqBttrqAyRVM1MVfPCxm+/Wkbr2QBcsT6m6
 Tzcd+Qibqz6l/XIxlUt7Orr+wU6UYUgTXeBKiivr8B8GhFQX9rC9mA67tUbr/M7G
 /PBhR5p6mJ7vXx5AatDdbBquixUQ+GddJ2SsZ/nn8vEMTCTb0O+3F69DQQtbBond
 ObGCArduvGprNtl0y2GrBMxC3VseECoo1npRRL2Q6g+azK97JQztu2Ssz2CwIQ1T
 w3Yn33+WiV4ih1RuYfBxkJkV2mi9ZrB5C3KE9UtSj+kE7X+rQPBrhLUJA9ixe6kD
 G6fAyEL9zcML9boJRC9owtbjt8sGytt0fyD6i54KWQ3LaFb2AIgjhuiyo3QrByG6
 Begn6PLW21Xy8zsA9G5j35lQvskJ2m5NyqlWUXPCT0dtI+YGHUM=
 =/InZ
 -----END PGP SIGNATURE-----

Regenerate rlm_rest configure script

Arran Cudbard-Bell at 2017-11-15T09:16:02Z
Files modified:
	* src/modules/rlm_rest/configure

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


More information about the Freeradius-Devel mailing list