Commit report for v4.0.x branch

announce at freeradius.org announce at freeradius.org
Thu Oct 19 02:00:02 CEST 2017


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ56g9AAoJEH0Oec13Yh7NcL8H/1hCM+GIxf5P3jXTwgvrqgLR
 rSaIXQm/TExlsOJCL0raKWOrp58Njq3zmNAXfOeA3ulBuQa84KvYci+BSNObWp9p
 K5JfCY2F9fMUJcTcF8Qn1B4ewzSeTEypbMqUsVvXNz5OR0mmKb6MzrIJsHe2hF0S
 1BJBZyguFaKOM0w8VlFUDnNpjbZLOhD0QO1LZ31fZMFglNvK/yV/v6JhVGlJo3Pv
 4bV2XP3qv3IvN+vxM5/7x/zAT2v+0zi8qwRac7BcA50gF74cQQ/SsDCyinax6Xu+
 lJIxlKVlOYjGakUsJ83p7tSEmSsInxQv1JAURJQsWNXwST/cxn0O9coALlU2w0Y=
 =dKOS
 -----END PGP SIGNATURE-----

cast usec to int, too

Alan T. DeKok at 2017-10-18T19:15:06Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e2533d1f638f7dd93308455d4fe0dbd53b26fb4b
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ56f6AAoJEH0Oec13Yh7Nn3IH/1rOhiw4cd/sGqBZRalCf8tN
 iju+F1QHTE98wAafHf3TmQUzGFP1Popy+UWq7xEo13G8l0kpN4yYY7p7vX8hxjGB
 09uA2kyCOWvmkRlNAVc7Lfdgf42UuSwOXfyvjiKuNOfcPG0eGrqTo3UbKxboc9Gd
 Evb2Seh1dX2fADAn0LXcLH+F9hY/WhntipIkAweQHOkGrUihn71s17vsb2Db6S1S
 TUHNTdgI6v+Z1wN0u5EUFCq+BDGR69uejF9Xv26ICdil7TuBHji1pEMTtLDdtUGR
 NgqyJlt2hNQG/Vc9hyQK8V2r2QeYaRzxeJ/AlXqD8vywa6QxnutZm3JjOA9arqo=
 =XkLj
 -----END PGP SIGNATURE-----

use state transition function for u, too

Alan T. DeKok at 2017-10-18T19:13:50Z
Files modified:
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/82911408695bd10f3fbeaea7f4dd0dd90ed45304
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ55i8AAoJEH0Oec13Yh7N4+gH/RvPy8TMzWGsJH8Q/iBZE1KG
 EZTYZUwan5g8Z9fLnNCLtV9fowtHwB/BOSRW9OVRhmqvKvRKUSoHmc9oxKK2rnDQ
 TFUrJjAJnEJCOMQiD5Mys5zUXDFS28GPXtJFYgFHduNasZLTGSlFcuuaCGfItn7F
 NaX6yGmyygezeEUIMWKA9n0KsNC34NgeYIfe2Yg4cy+nxDjCvl+XR+HESbYxdbAd
 nEwYeRK5c/OpAGaKXw6E5EVs93PHLeuXRLF+auXMenCCZQoGaIBxSVG9s/hMi22K
 kYZ+Gpu+N+WVF3zvhZw3A53DSrkOTrlI57DN4sqIWy8vlUVOLXsuwbjOxI59iLE=
 =Ijkv
 -----END PGP SIGNATURE-----

do polling for detail files

Alan T. DeKok at 2017-10-18T18:08:53Z
Files modified:
	* src/modules/proto_detail/proto_detail.h
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f19590c9b0c34a443af12ade575c020c0d94643d
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ55ivAAoJEH0Oec13Yh7NOkoH/A0KEkt2Lbv0Gof0LSol+Nz8
 AO9HvhXXxo8EgRXdRNwS2AL72K1C4+7PL7ujhM+X9p/fT9ivIkNgIPRSegxjWTdQ
 /AtRIHWEiKOygsAxUdn5vwsErnE2LaUOYz0Fu9oHaxSl4/bujGVy3WsomvGArzE1
 +tAieo6+WDfYKraGubv0pNVSASE2KLixQzsSEQ0ngly/jQ+1fIrLO7VES3KUmgpO
 xg27H03gaPn7BuMIRmiEzh6j9Rnw9+2Q2NQin9b/sSJ9Qy1bn2aRO6LpKGigl+7e
 KhmXUT7g+O21kTJBBpkx0n1MpNl93gCVPPoElSCi5FHpe85PM1ZAAP/gxP5jg5A=
 =SLZo
 -----END PGP SIGNATURE-----

assert that packets which have replies were actually sent

i.e. once we have a reply, the packet is no longer sent,
it's done.

Alan T. DeKok at 2017-10-18T18:08:21Z
Files modified:
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1673650ab2f5c6d59ce01ebe9aee276506954731
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ5mzHAAoJEH0Oec13Yh7NbFAIAJ3h7Ten8XJlSihBxxu2S2p5
 zyYMLgwFxIVRbOu5GyED7PMetxhaqwOV0xZCIRE5V4LTNvPLEjhodDvAvV2B/olJ
 Gd99BW48vP6qEQhzQpX8CRsdXYP/1+Mhv0GW4QaK81YcQeqJcwT1ys6vDz2kr2aE
 qm/3nvwJyQfuomDHCRvlWZTQkUoVWwz9qU64FQ2OOsRDJF2oa0g9WjZiRgoW2cM7
 wIrJhPGj/WxZ20Tq7dCNqcAFRj+iwd3mTcds0jAVt5kAz3aY6eipEDa8ma52BNkV
 VJ5nki1WxlNWJA9OaASQE9YAN4hBM3cLo6xZNS5qMSq6lKIvFnA8aOX6/IYX9ZU=
 =m4ab
 -----END PGP SIGNATURE-----

set work_io_instance=NULL in file, not worker

because many things can cause the file to be deleted...

Alan T. DeKok at 2017-10-17T20:48:50Z
Files modified:
	* 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/a73c7940afb6f96596c0b262224a72673be799b0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ5mUKAAoJEH0Oec13Yh7N/ZgH/2p1L1X4co/y1il1FTHQTXO0
 Z4JLpMn+2cwmse8Z8pVdr9ipDH8GNsmNNsk8OLjOMm5gD4c6gRA2UKYWP89BQAs2
 E78wlD5rKnj82wUM1Yp1GJm2gYV1emSBIGkNhWMU3YVbiakwORP1Qx6Hl9mF0U+r
 4+ywz7D20OgGN7m8W9zBZPMDByVDI+NeXHeq1502as+4ScrNykT2wBdZ8AJHV/yh
 GEotoU99SpmlzubTmM+EQWEK9vV9ovzx3IL6lVLF4aVKGCpwdPO/k/uBCK8TVrdS
 MZkTG195cgy4QJbPzaifquGSCP1dz8iDXrXksEbYKXjSQ8EPdBvwb3hTJ9c/6wY=
 =saN7
 -----END PGP SIGNATURE-----

more cleanups on error, and deletion of detail.work

Alan T. DeKok at 2017-10-17T20:16:02Z
Files modified:
	* 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/df2d93110568db75ba630b15d06a59f66b862dc4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ5mFeAAoJEH0Oec13Yh7N+isH/2trpLG3mZTWN40MKT1dzCRy
 Tg9/COwSV7KMq1WVgAxfp+5V3PJewdJHLzkGp6KwH39pBdQMngc8jaYMN0tXGXP8
 dK/hWGLGOospmjWDHsRtVkfvtzc59fXXEavEDmuz9sburbQ1URQVL/9/nxun/YVm
 4FkZYK6KXo0oU4Vqe0Hec3NuPvHvDYeic4DPNKNy7SLyLgIFblw/vPugqwjCop5u
 gIrkz4a7s7giMgTOJtjWx1TrEwyE9WTduHaQ/G88+upt+FGsULzXqe1HZGyp8VyX
 77ciyvAlIwFXB678eK3NV0x0uLgf1SDkDdJeIkIxnUjG6A1K00wrmlp6Hxel5Yo=
 =1nML
 -----END PGP SIGNATURE-----

alloc a worker and run it

Alan T. DeKok at 2017-10-17T20:00:20Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2bf1b883a062a5f85b427d49eb803775a4d04715
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ5mFGAAoJEH0Oec13Yh7N8mwH/ixgQDpY3pjI4qO3p+6jBbEP
 R9XwbkYDRoehpqQ3Z5EUzWp1IvFgToixltA3Q0KF0+QCrqyqybUa909zOBRETW2c
 PyWzH1AIRoscJzqHgyOejLfXxh5n/BDNEiG/JQHPTMgswqmlMEUm2/lA9y0BTqW5
 Fn7IkEEqkxBcox2iidQ+fqlwariBl3LIJjG73rP0+wb8siMRkSpVUHjJq/xdtb+C
 t/9fxN90RmpBpgsI4ZySbAIqBD5qGfTEFr4v//a629rNLbtLpfAVSdkAcmAyrtOM
 zWOfzxsAZ5ZrzrJrJ+Xwi3TOCGddJAMiYk2V9XzpIVvf1r1NC+9cCpsK+81ESsQ=
 =zOJY
 -----END PGP SIGNATURE-----

add decode & write

which bounces through to proto_detail_work, which does the
actual work.

We should probably have a way to pass the fr_listen_t to proto_detail,
so it can use it's app_io, instead of the one in the proto_detail
instance

Alan T. DeKok at 2017-10-17T19:58:57Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9b1cde830c6b0fd46a85fb7db07ed9d5f8c1e759
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ5mDqAAoJEH0Oec13Yh7Ncq4H/RNTkxFFHVeIQ1uXtFI6PcCV
 BU1Rk4V7IcZArr/EGPGkdPmryPEvaULSLFq6Ike5D5ZXm7hsY2cSTIIJEU40ncua
 U3hLshgXdMqRehdeC1w7he+bepIDAEYmaPMcl+1IAnwF00E5bXSey3w06CLaYwJt
 Xi6tct3LIccqDxOVXaxkuj5PcxeM8rQeCRMnTEHskfydsXlQhjQaA+a6HaGIXN2G
 DTN3MuJBXiDgUb+/c2OqZIl1isZLqLIrdFkE/kCxUNR4m/CFY7I81UFPpd8Olk91
 M3Q+l7fS14KIDWYR7U09wMrqYnTZcZ6OQYHpuEapbkuMWDkuYIwJ1voJf3z222w=
 =37jz
 -----END PGP SIGNATURE-----

free the worker if we're closing the FD

and if the flag tells us to

Alan T. DeKok at 2017-10-17T19:58:33Z
Files modified:
	* src/modules/proto_detail/proto_detail.h
	* src/modules/proto_detail/proto_detail_work.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e8c76b2ff0fabd431a56567049aebe2a72d8981d
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ5l0JAAoJEH0Oec13Yh7NzBkH/3xr/CX0UuSKNVwCggmOwGt5
 47kYhcHSmocBIuqwejMctGp2hMPxs4nQLaZen+KuZAa088P8vevB2SYFX+WngnEd
 mOe8OTJ9UdIC3prHS7YZ+g5pQJyOVLmkEK6j9QC2WVtN6icCK8cL10xb/tvAAySh
 ZSh7LXKUsreStGUWq0UyGIv9qwPzo4GZ43bpaTrPTXzeSbA/qE4sp+aqUAi1EAlJ
 TxQFRvbO9jE5YGU52fzKKaW2jVuuCnmM6OtN638Ps44/bXFOsr4oc3qthENirV/E
 kPQqPr/QYbKY9MkMEbxX7ltWDmOAR7m1x3SefEGcnxQ4qfNEh/z95BZmpqJoNPg=
 =im7q
 -----END PGP SIGNATURE-----

minor cleanups

add "self" for linking issues.
parent is not "const"
move fr_schedule_t to proto_detail_t, not proto_detail_work_t

and initialize the entries

Alan T. DeKok at 2017-10-17T19:41:49Z
Files modified:
	* src/modules/proto_detail/proto_detail.c
	* src/modules/proto_detail/proto_detail.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ad6bb228e7589bed36e83b99b491e872b7e45151
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ5lzHAAoJEH0Oec13Yh7N8z0IAKHyyNZZK1GFJr9FWyZYthrV
 0tKsGXomunzHCxCdBjaP0DN7VdLDTcZQog2gBGk+384VOYzbdVvn+D/43rqNhHix
 tNmh+0Ssqc+JPI3G4teLh/4Trmublc885OMxG81RBc0a6i/KkXQLJwmvMwxnuV0h
 /JEZ7N7zPl4wAk208ZX12TNjz1tcrU/65Oal8iGMA5zZkhRW6Y5OyXsagVnP4Y5L
 f6Zf4lpBOZRCgj35T+ArkdT/CUY2tk94zV7QkJiNNvwSPvDUcEezukz/76G/eIgj
 zQfLg9lkBD99B9hYiOGIWQMvdFMfx3m+BbGkKZmYS6pTZAIj/21HPVY1QQbDecw=
 =3X6a
 -----END PGP SIGNATURE-----

clean up to allow proto_detail_file to call us

Alan T. DeKok at 2017-10-17T19:40:46Z
Files modified:
	* src/modules/proto_detail/proto_detail_work.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/62a289dada3a952600d927f4269b80133a845802
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ5kmfAAoJEH0Oec13Yh7NgmoH/16Y5c75KVdv1KUqxlQWJ3cR
 L7kLYAYLrAmHNe/ulPjJtDLBbXCvIgkkfu1zPNkTxRYXRXeSkoqAXKyUF6hj9arX
 eC8BvPcuDyHPkOSKhXuUgybV1SPxLDxlwQp2lJQJ48J1Q7X6OfmdBr649mDFLLxC
 +kWsGJ1rW6WlkiVpqn9cMfpxjOTGY/5h+34AgDS4oOCN0PVGXenzN+KWzs8cUq3Y
 TZR74HIO3A172+kAZ5STLTcW1DuD6Iuc3oyDHHC7gBtkQqN0D2YSMSX0jQ+CUEbp
 LSUUFPq7YeLs51LTxYv3jtXcG+eTQGYsQYf6PMY/GmbRxM6CFL5NF+lwNfqKu04=
 =Bwqo
 -----END PGP SIGNATURE-----

minor cleanups

filename.work is no longer mandatory.  If it isn't defined,
we'll just create it.

If detail.work does exist, watch for it's deletion

Alan T. DeKok at 2017-10-17T18:18:37Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/96678dfaab65f3835808a614ae065f179382d1af
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ5kl3AAoJEH0Oec13Yh7NNEwH/AoNqQwKZb94bYDCyaelDh4l
 I7La8JVL5hX2x9DOCd57iakNzYV44+ZxGDAOfD3Yj+LGnbZ3y7BvvM8DWzzLKNk0
 zZe6RYkp8OLdJseGEqXdbsmzUeaP2IMqh0qg+0rOkelhwtS5DI4E7aW95Ly4sZtV
 LZw6WvRAwEcHgLgMCTmgv7S13JSFt4mtyD6wIyACXp8mrCewgUf7RaxajZChG2Lr
 3uINRWFPEE+ojAyfyqISzrbvhpWJuDu7MN0vlrz6bzcrtWT1BcWn/lM3xvuNjCMr
 Ktjg33UBT0LlXVeAMzcajnSbPJl6NJniI/jzGlNT45U+aIFoXqukNCtcRmASwb8=
 =E/Ab
 -----END PGP SIGNATURE-----

more than one NOTE can be returned

Alan T. DeKok at 2017-10-17T18:18:22Z
Files modified:
	* src/lib/util/event.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/229ee983c81f24cc2a06c7b07e4a4f7ff70dd461
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZ5kKAAAoJEH0Oec13Yh7NXukH/3+f4Yb2WA2aaapv0gyXCOY+
 Go/if36G1fm90hoGKfxeKOwBV6605q6sb8O6QwLjgwpIOhJYZFOhCRkrPx7m00Da
 qaEtOPQT3Y6SlRU9yr70Ev/YlHIDsEVcEaIzZlIcd+K9W3BYXvBwt4nOExqEjeaM
 J3UZPelILWQWFPv9KPeW5w/zQEtAIt3uyF+DZxNkkznkjWHVywBsBrPjwMk1UB9N
 i7XRgNrw496WKqdSRrW2947ltELSPWsz/fUXsRn/7nO0OZGteG6ElxpwG+nzLC6z
 dV5VN6g8rsGlUCL2mx+pwH+lKYS6pvTB9HNkwq0vGQ+hhkItVU9+N3+6p+cZ1zc=
 =+oJM
 -----END PGP SIGNATURE-----

open RDWR if tracking, else RDONLY

Alan T. DeKok at 2017-10-17T17:48:37Z
Files modified:
	* src/modules/proto_detail/proto_detail.h
	* src/modules/proto_detail/proto_detail_work.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/88764a159ab6d714053d22eb3cad73af296976bc
====== 
-- 
This commit summary was generated @2017-10-19T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list