Commit report for v4.0.x branch

announce at freeradius.org announce at freeradius.org
Wed Apr 18 02:00:02 CEST 2018


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1lbFAAoJEH0Oec13Yh7NeZIH/3zLON6s6rIF3oiMBJD97YBI
 2TaWggaPn9sRcQN9s8rEoh6wF6Cj5w8RP1j6P/dhcwVI2+QgyAZcciNgikN6PB3q
 iMW/8hNyii0LSKQc2BiCGeMUgtqM8YnMbNcgrqlqF+pqGZekfa91cXCJztXLGT1Z
 GGW/AFYy5+NCQInozfLsIdfOjrEqxuMPVSZbyvmRZbaRn0AGPA+lGGH5qYTo080W
 BWFecs5PcGkLk+FhRFbJd9bKdPwLhUO87iMAjESGJIw1/CySS18xU0AZ6BesS8nn
 0lTRJrsf0IoAInUk9IVbTkwC+GszdScECSGgNG3BfPOw2W5mxln8yZlJ6tvbW0E=
 =YqJ4
 -----END PGP SIGNATURE-----

doxygen

Alan T. DeKok at 2018-04-17T20:19:15Z
Files modified:
	* src/modules/proto_radius/io.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f98e9bf31b3ab4f3e84b6746705ea605da03285a
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1lZtAAoJEH0Oec13Yh7N+9YH/iNfcjXI1z5gDDSIAHpyRG+J
 TsXxJtV3Z9F5zr8UH2ryx3IdMLv3teUQTTYDZorHOWOhWBvwRFLGe/zH3+c64F4F
 g/walEQGeZ4shQBkBU+SjFJ/bpRk6JFr6MGwNaE59/wKwm6bcgEgnA/QXO66Yez0
 1Ygy8ah670Q25Y/ITwinnp3BZf+8whC5aKnoAp0T1yWW88l2WF8JvUmuRUvr2Cu8
 i4TJmg4Fa+L6AVMwcwP9CaEi+2Bm/qeOGpwYVayVZutyuOQVHqEQN7Fdg5EAiLyC
 l+YelRAlt/QxDSukocdLsptm+OJACpcza9Y7EpHS+o37ZUm+nfgIoeDr04lMjkg=
 =j8Ya
 -----END PGP SIGNATURE-----

remove unused variable

Alan T. DeKok at 2018-04-17T20:17:45Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c497169985f3f26e1a868e12e1209a13c4a9e18c
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1lPXAAoJEH0Oec13Yh7NO1YH/2nZRDBq2dDbhAm0/sv542i9
 Ia2lbmivWSaxQSi0HVNEuOF2a3gCClYRupuCeF03wg6AE10yLsifNnSNQaOiIxwO
 V5/dVpkWUYeCUsiYj83ZRj5h7u5yl/kVuWjQGa2yjq/GEU8KWqoAqbfbkFxt3Xsr
 z2IeZy49KpBBEVcKLTN5ZlrNW68tlRAmwQ0g7zG2bsvbVzaaFrvwWXa67F6Bi3yp
 ECgRksPFHEvuJzzlpIJPQtdUkbnvO0TODL04nyXF4iuQC4TWWUQas2gGzqUa51vl
 t//IG3A1iFAIiZuD1CulFcNyirNE264VAU5xyYawu5KYbBAtz1wYTI5N4V+Zzt4=
 =uQAb
 -----END PGP SIGNATURE-----

remove unused variables

Alan T. DeKok at 2018-04-17T20:06:42Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6f3581c9460b6d999c62567f915a7e966045add3
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1lOdAAoJEH0Oec13Yh7NDfkH/2W8sc5V4CnFnWjaur3w54/Y
 1jinOZ9F0H7BZNCnF2ZHFEV0rRNimblYXbqa3kRgHKQFR7h7coatR4GfpYPC0JdW
 HtivSrA+/0aGRbYivJOJGhUQc+YAQrNzN2kh6cNMUzGqoUTkenjpDHh00TYYgSvi
 b8eXI+wS8K+GBD36KGO/ARAHsW5rkkJY68zlIqDN7S+RoZq5IVIFhQaU0ak2MylS
 nfyJtQP82qeNT8ZecNIrd0RUEIBPwQduMAAQeCU21NFK6MGMA0+UGCe1PJ/ZaX+T
 dslvl6CQUupcFD++ercmaH3YO8KN4RhsjwkajxmQ/hkwAo5vDdapt4UyOy8+KV0=
 =L7no
 -----END PGP SIGNATURE-----

%zd -> %u

Alan T. DeKok at 2018-04-17T20:05:35Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/da96a7f0b94cb61f8cf951e2c6eae061bc0f4459
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1lOHAAoJEH0Oec13Yh7NU24H/0W2kcSPGLQxmYbYnHCVG9ld
 ZlQaO185F9UCT8B20JSWd67nbhBdpce+Mbs9sBTipG0lKPRfnfOv+xb6TBP95rau
 jB+f2/KBY8ANGGU642VBgprEtFcXdrb/YGuQiutr3AFJiTANDbKMFFn5nUMztkW6
 hziYBKBmmG1AN919gmnmPunVZG6l9j0ncEO3nz8XbWiiMMi2WH3Nku7sOQefaoLv
 q3FNySdA5jdWKauDe6jRA2EVhG3MDj91bwRzoTVOLP+rFAJAOgvTuNmBQ8yhrrqp
 x0rbwsjGJ456FlyLvQVUo8ybF0lm2X/Mbw1yr6Gt0FUues4NDjRtyY0Mkfnd7cw=
 =K/al
 -----END PGP SIGNATURE-----

doxygen

Alan T. DeKok at 2018-04-17T20:05:18Z
Files modified:
	* src/modules/proto_radius/io.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/53c2f179783ccd61f32699efd8710e1d7353579d
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1k7HAAoJEH0Oec13Yh7Nmk8IAIf2S1zokV3T8bDHjqfPLzTu
 5xOX8komdrECnPpVmrvGDXWjZ8HhiUNQ3cnnajayScRnSSwzvVULp0EIMPbX2JyO
 upE/idNy5O6ZG+BN+qTu3TgAnfu4Q6zap4xbfP0sQx+MZYnyfmx+w7ZOkZNymcl0
 408AsAmYAIVfmTbRrXJ/c6cyohc64OOHgXWAYqF6E09ACH7GumvKWr2iIVEV9iEB
 x8vrS1JCNYkhtVNS4SUILQ6NbxOBIhZTUnlHvLbuw2xDDORCpUekqLPTtw2zxs1J
 fPy5V+Kvc/fMtnwXZcxiMqSJda5GV7YKc5FSGeeRnAadp3xGKCLBWk9d8aNstG8=
 =eRPM
 -----END PGP SIGNATURE-----

always one thing I missed..

Alan T. DeKok at 2018-04-17T19:45:06Z
Files modified:
	* src/modules/proto_radius/io.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5db522d9b20c9fa284c26f5256e3f8b9703e4634
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1k3FAAoJEH0Oec13Yh7NGzcH/RLOArIIUxMBpImLDAcY/n69
 aKwy6m/cwGbLBEbddJ8TN3tE15M3NROxPJHs8PVGWz+S9nUe9x7QlSwv2nMN061S
 hajOzVBmh7V3sAIcsA/GYIs34Apgfgq23bThd2lyKQB+nodAxxAk3ENibPnohn3x
 DAfLv7AdFnHH+4DsG5uoeUEfBuKDaAsbvaBR/K7SH9uX/js5vH8g7XJD4ZeFAnHr
 cM88CwGc8Bwn9koUNIRO4Dr+DdywFIjJgZGfAiqRClRMaA4XHp0NlZgU3RS/H2/W
 ItLgPTpbsIrDQdeOM5m6oLWhTgGNfALe6RfmhKlM41x2hHkT82x9V3EeYan0VCw=
 =PSiA
 -----END PGP SIGNATURE-----

Rewrite proto_radius to be not insane.

proto_radius_udp now ONLY does UDP reads/writes (and open/close)
it does not track packets, do dedup, etc.

All of the packet trackign has been moved to io.c, in proto_radius.
That function tracks pending packets, does dedup, etc.

The IO is bounced through io.c, which does the heavy lifting.
Then, if it actually needs to read/write packets to the network,
it calls the underlying app_io.

This means that RADIUS over TCP should be not much larger than
RADIUS over UDP.  There will need to be some additional work to
get accepted sockets in, but the base work for connections exists.

As a plus, you can now define a dynamic client and mark it as
using connected sockets.  Which means that NAT gateways can now
exist as dynamic clients, AND they can have connected sockets
behind them.  i.e. each connection through a NAT gateway can
have a different shared secret.

Alan T. DeKok at 2018-04-17T19:37:42Z
Files modified:
	* raddb/sites-available/dynamic-clients
	* src/include/clients.h
	* src/main/client.c
	* src/modules/proto_radius/io.c
	* src/modules/proto_radius/proto_radius.c
	* src/modules/proto_radius/proto_radius.h
	* src/modules/proto_radius/proto_radius.mk
	* src/modules/proto_radius/proto_radius_udp.c
	* src/modules/proto_radius/proto_radius_udp.mk
	* src/modules/proto_radius/track.c
	* src/modules/proto_radius/track.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/13846d43fed4a75e6c37e895bb97693731bd4749
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1ktlAAoJEH0Oec13Yh7NikAH/0P7j0dZbxE+asjri8gPwG9y
 YX222dqGPy5FxiJo5lCtAWuF/LZmwsSIk6ZScO8C7/cQEorhpudIsryi2ZZ8QgJg
 zdOsoGYwm8fh1asrlcPWmuTHQASg12M4C5sgWpkUKCNhLIiGtaV23XMtJpbW2J9i
 QlEPhnlH6Rcm1MnDPjhn1J2GQHB8aPjxLuBM4LbGMIQo9aeiM8RsDAf1tXAdwnIm
 ahXhs0z7BkTBTsTzqBb4wlxr9eUJYb+/nk2L8vXwcSh7o+hzY0yfDAb4robR4FSk
 yapgiEzeF8Li0PwijOaq30KJla5u1+RxeB85teoi0lGBF+EzxJBPmL8qwF9Wk24=
 =KAop
 -----END PGP SIGNATURE-----

no longer look at client->network.

It's only used for proto_radius, and should never have been here.

Alan T. DeKok at 2018-04-17T19:30:25Z
Files modified:
	* src/main/client.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9b4ea53bc34ae044c2475198a98d00d9038ce76d
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1ktDAAoJEH0Oec13Yh7NlDAH/1dYV+bWbLBLf4cPivkp5jgf
 0KtcBeA60J1ro3lKKS0yw9soTROLDnuG6SJv8VubgkUMNbAd7y5Qs6Podh2oAVTS
 J7IFJBz8cwDBx3QM9KKmCWzZ+dFfRtDu5xpm9B5yrBILm6ucKrp+rVhpTabnFeaf
 2ffE7xU5Y2mE+ITUXeS/iZYM6vmnf4OW/1OLwTXD1nPLmBRp4WegvUB5CABUYUcj
 Txge1dFI4pLTHHQUo8/YV507aZ0kFZht0VIO3F9jN2VD/ZKSnrHtCEoJhrxg1dRM
 tM5p+Ebce8zvOmAfj2Hseekjub2OiHra+RwwMlZfE48QRF5My9KIM9JRmPshusY=
 =50+B
 -----END PGP SIGNATURE-----

use IP address as part of client name for debugging

Alan T. DeKok at 2018-04-17T19:30:00Z
Files modified:
	* src/main/client.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/da65d2289d8774b2882d358b66fda9b4bfefefc7
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1krdAAoJEH0Oec13Yh7NcsEH+gNkZi28nGv5kUaZwFC9uaWQ
 kaeREqMmQEgJCip6THHKDIFV7w5ytl7oRNYF/I/hZXzu1AVGkdu03Mqrg8ywBaTx
 u3YaMmBbrxi4g0nHH5Oiv2R7Bb0svwFxK9urag3a21xkdpwm9kH6fqrMU0gNZmox
 M8KQzwGFuwv5fjlZWFgWZtuyPipRn8yiOlwZa7qxNTOXEFWIzGJTsipOn5Bps+Zq
 wN/uhQAxlXy6urZzmRxyJNiVIbjKvlh6e3DbwDSezmb0IfMzII9boW0DWJnJAjcD
 63iy787kj31A51JdEXzJxyQbBe3aIH3kXUrA1+SECq8GV12g0o/qekftq5JDgkg=
 =bnjW
 -----END PGP SIGNATURE-----

undefined fields aren't assertions

Alan T. DeKok at 2018-04-17T19:28:22Z
Files modified:
	* src/main/client.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2f9e65c34b4f9e08bf7c1f7a0ab3f4d7a99e7443
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1krBAAoJEH0Oec13Yh7NJNUH/RwfF6aG/MDmveXA8+ZMkWvB
 /v+izHLHtg8vliqjyITuC/V2ifsNb1L9mquvYKTwTeJ62uP9BHK1Rs9PKzfW6yki
 /57GM/4skur/k98l1gSnyXOTpSCzJKA46tqMG7gg20TExnBwUcUY6ptH77w+zh5x
 wt2ovij5d4henU9/wL9+5FuyQuaGdQD8wmuSzgcXN5y2vS26mwpn8z1XyX8HdmFb
 ZBFdT12Aft02kwPu1tHIirsaNKmk/CNRioCMZAB4sXX6L2DxumeUCJFiSMYVswLM
 qlObrwQ+UKODJb+w/AtGzNXjhHtEBlLCbpEM2lXRbWMhSi26ix0Tw+d9MaE3EUE=
 =3rIJ
 -----END PGP SIGNATURE-----

copy the memory for the new entry

Alan T. DeKok at 2018-04-17T19:27:50Z
Files modified:
	* src/modules/proto_radius/track.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5e7deea51cbc7eb1721729b2299e621b4f7338b9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1jO6AAoJEH0Oec13Yh7NMRkIAIttmLXnqZO32qL4q0EojBjc
 3zCkCcDhSofS00iv7gKNuMMmeJxRqpXdTLACAqaLy9AhanGzyww7L7pDLVa6Az4D
 jmr3U5C4QjDRqHBk1XSNUFzpOl/yMkfzWuTb9DVF2tnvNY2ozJsZ2trGv4PgIi/V
 yv0r9us0qX44lk4yJaZK09to7Hw/mZkSjI9drraHwf5/WV8clckFgJuoSkDHhlWu
 cgsWtWl6wLLZk3vAYWEd05wRSuncjWrW3OArfAYJQccXQdu5ZDSBpDYYUo1/NSPP
 Fwtp//uy0l9WTriSI06U8mJHUVT0FsI+hpimMFCQdiG6Kl30hUVaYjFSLD3fUHQ=
 =wtFs
 -----END PGP SIGNATURE-----

set packet event list AFTER inserting the FD into the event loop

so that the module can pause (or do whatever) to the FD as necessary

Alan T. DeKok at 2018-04-17T17:49:11Z
Files modified:
	* src/lib/io/network.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/25dc743404b9422e0407c279f9ec736d96ee19f1
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1iqxAAoJEH0Oec13Yh7NmEwH/2C+riTEu6Wl9+p936huPDTL
 FxjzJIBzExcc+6OxVyxLY1/pSRnFr+T4kB4y8ZC7xgPR+iJRF/gMyANNNNsVU1hg
 zumeiI+DRLiPhe7LzPKjzfa044pCS5nj6xe3jVVbb8orWdU8awCMbGLzJRbtBnlK
 ABd/ynwBBD3Rg8RFyvs5w46LAbwegZCdgWRO36uYKb3NX0TrodSyzJW8TsBcihjb
 5G8xdwkMVXugKTaYCvSZ4ldrH3Vxd4osMzxbijpjqby8sT897Sz6Y51KFX/9kS5A
 7nVAK702RKLO5sIU+diMBuhTtUSGC4zN2CZtgS1cO/eGTfAXcgF1MXF3QI40+aw=
 =mxMG
 -----END PGP SIGNATURE-----

tell dynamic client code if the socket is connected

Alan T. DeKok at 2018-04-17T17:11:04Z
Files modified:
	* share/dictionary.freeradius.internal

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c71c1576ad96100f8d69c18992fc5542afce4112
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJa1P8vAAoJEH0Oec13Yh7Nw6kH/jUuv7Fp/rw6kC9qTLKh/Har
 pkA0Xtcrpc5Yr26y/Nclwa/UVhfrKbf+T3jFBVpqatFmuIWajLXnrbXV+9nGK4AP
 mg4oIck7CxgqhpcoMK/7z8gEISdXEMJlu1ZPzGicf8x6nrH1oDm5aq5MlOe2n7vL
 2azUqd9qi8/TVwu6heHwU8fWHdx0NxSN/T72rlo9imc4WBjvLUTLXEYQ6FxsP7cF
 ugQRo2nN8wtor6eU8AEvWdrirpwFilyiItRc2Ru4BFT9+7LBnMAYEL0WBfvvhRUY
 t9TZXFcKuUj21nFUNcuQChSP/i3BPfUtSbznAopJ9zidutZJEKRk7qXMHjb7eRg=
 =w+Dk
 -----END PGP SIGNATURE-----

notes on low priority of detail file reading

Alan T. DeKok at 2018-04-16T19:53:08Z
Files modified:
	* raddb/sites-available/detail

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/19ada72518e2f34c6acb4772e22c4e201d5c9393
====== 
-- 
This commit summary was generated @2018-04-18T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list