Commit report for master branch

The git bot announce at freeradius.org
Sat May 30 02:00:03 CEST 2020


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl7RR9cACgkQ/6TVgp+2
 18oMiA//Z3jzly4j30nNIGbKPjVwbOzsHNfjrEX/95aoTUXBkSKHuiYrJDY5bbNF
 hesZKcDTHaXV3MIh/+x6M6cBylpqwFe8uOpAerpD9pe7hQhyxnBx2UPKb1qjhodA
 c21DTAasMUfYGqT1AeQ0n6WaXv7vrwSbGlp4IBVmFyzeB+UqQIb7ziU7JexTMESH
 ilfZqUrFTQnsC0ny6gRu2+aPsH7BxedmpuXuppH74ip0OkAIpofFIoHQvNUazHb3
 lYAA+2uA/radLLmR5gNJzC4XZRkvLCxpjid9ua0WpLtDdUS7+Jd16UWw/bO+Sz8s
 YqyWV3ny2Mme9PvHEAIYQwxN+bKxcCsnrkEAe/SWFqB+RFNLYvxSMMp0mJVCH6w1
 sajw1lkcdsG3EqK8oz5B3fuONWGp64a1/5czdR90nLEaBVbdVg+5qQM/lWra1bwc
 1jz5AtjOONaKDB9rJqgkbEKGcdRSJR6/XB32yNl95SIS80hqAcdVbc92bzx/1PE8
 7vs6k1rbKKLWpqeqpf1Gao+ptGGAiA4gmMPC2PDQ9zPpNxgUSeBWnY6BiaTlTa3B
 yKsqbCFvE0f8O4dfOsUoGwczFPhq5Ip6nB9wYce9puOWtXohI0mhrkMGjW+ocPwQ
 n8Biv/ybE0KqTZ2aG+F4/q8MW5XQfV+mBsTgTZyqkHvup0RphFQ=
 =onQq
 -----END PGP SIGNATURE-----

cc smarter than bb

Arran Cudbard-Bell at 2020-05-29T17:35:19Z
Files modified:
	* src/lib/server/trunk.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/cf156caaa55f75729b726dee4f427e2416672225
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl7RQ3sACgkQ/6TVgp+2
 18pGABAAlKTuPUt4E7LOVKSAHnJsAJLPQnJ9A+fTO42tJ2bdj3uS3aZ+zCOwyiGn
 WauC2UJky+IphNMovmSfgelYZ8SBlTyu2itPilG1cLBT8lSTqIfrxzbWy508pqNY
 iyDYldtjFtEjqnpmCLppEEJ1NJzNHtzMt0+A5zqfwiwfFAe2IVomlYLtiFqPlloe
 yZ9Uc9jni9gUWN4QCOcPwpeMP5L8DXDgP8YdOXDPs6dkSg7QAq6qcnri50DWC5Cr
 OE0D/txcf1g8yoym7VYfqyUMbzCh9CWpHZPzfKdOqk4uHM7HII6VdfH5lIXlfeD3
 OFCIV31fu25y7+MTDe7tacYCsg8SAaPHS5KRMpEHBP/S6elASgnNT7qLqpDRU5WQ
 W8yrFW/06gK66mdqsuc9spjMzQKGJcIFoMcK94FFylWtxNMRwBfVzNSl4bcaxgKW
 AFK/XjtvrHyrCoWuuO9CNBgSq2ZP+OJEmcEtojRQHacX9qCWsTeC2Aqob3Wer5wt
 0zTRvUEdBMZHOF6nFZktTg1YvQMppmmMd6wkpIH5Wc+tYO61FPn871YGB4YkqwlF
 wleD1aNQYta2MKenP7pNtSeU7KNAflnytkBdZ+74Vx008mAiKSlMwbsWKDv4YXmu
 ULnS1EM1hIHBhZ2GQPWskF4VU1My6DzqVHBTSLjgTrVcCb41yew=
 =LaDt
 -----END PGP SIGNATURE-----

trunk: Remove unecessary assert

Arran Cudbard-Bell at 2020-05-29T17:16:43Z
Files modified:
	* src/lib/server/trunk.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/45943e6cac41255912fd52cd7de85a65af2bc616
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RP6QACgkQfQ55zXdi
 Hs3pdwgAhA6xk485gMiWcQ8RnGZg3uEzkUfs70RLCDGBr97NeptgQ6WJ9scTxPF8
 DGsFbH8gek4r76asaMjOSfdCAnwHb9RHO8JjxtiB5NCpghXGbwiH6IoCCPctOjKm
 pLNp8tyGeeANN9GaAjwYPil7DssegDngKizf5LM2wkD3AvqC9pLJ44x49iXajxHE
 /FfL/QvrMQqoAE5b2/AF8qVwR/uNXYM+6yaay0pZglYyz2XfSXVO08TFlnEIC8ez
 1vXaoabO4LuCNCeE9Hr19lG9021p0Oh3BbrOjPePtdBpFoHyxlCQXe0FxwOMqBgA
 ZEe7a8HEYHKjs38L0/a71WAAiFTVYQ==
 =3OG8
 -----END PGP SIGNATURE-----

we don't use RST any more

Alan T. DeKok at 2020-05-29T17:00:15Z
Files modified:
	* src/tests/modules/README.md
	* src/tests/modules/README.rst

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/eb7fc67be3297c5572c029c90ccb84ef03d02a01
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RPRwACgkQfQ55zXdi
 Hs0MQggAj8XsvuJuWCjhOpYkxGCqbtAkoigRoMXNW3VDtEKzsu4PPdq4BfJmweMu
 EhH/S/oHMuU/qkJcgVoDt57QStHr/z/FO4fmRWOOwgxGf7Ci3nKxHCtSAscJTx2a
 VI6p3QIElYbBmJOkq9ANC0D1IylTSBoY9ur6AbIKhykRpS42Gvcdlex5LMWl5ND+
 K/QxgbADAL2HGJb3IVcEP6YTUmO6/XeLStX33qmvbps3pd3gD8+JvWCMQkmARa0b
 uyAeeNiJA5O+jieCLVkhvF9DDzIsp9lhmkWM+tDQPMXD0KnTle6JT6J8VW4CZZ0F
 UhUk8YV1xcnvHTZgdcP1pi86X/mHmg==
 =TEXL
 -----END PGP SIGNATURE-----

remove the last bits of RADIUS specific knowledge

the program should now handle both CoA packets, which it didn't
before.  And, once the protocol libraries are updated a bit,
also handle dhcpv4 and dhcpv6

Alan T. DeKok at 2020-05-29T16:49:32Z
Files modified:
	* src/bin/unit_test_module.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/24af87d4e6c4e2b8916112024841af5ac781c6fd
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RPRsACgkQfQ55zXdi
 Hs3Rogf/bHqYyV5aQqyacpmEMNRfQOrX+uuymBsgpY1YqhYK0IEbYuk/Offm+lW9
 wEgPo/xqHmCe5MY8Zg8L2bW0rAMA8+xKueF0gJQp14qaHNHryaEMgNPa39DAfM+F
 Rw15PGyCQcsvCWII896GVUSecq6j+unF48+Ko4QC2Bod7vRo8cQDCQrJMwqWupuG
 uOM7YFQYtOAXxD3pjVLhOVlU9VCpjzAZoUOxKtqsSpoSA/HewWCHqGQ7wA513+n1
 XH4aRAzPrD7ScRVugPzslreucYFgMCaDbjfUvKUftB13DT6w1JWLIjCv2Ihn2eCH
 IMvZaJBUJhnqYe3RZ4VuHXnuJCtLYg==
 =yyzQ
 -----END PGP SIGNATURE-----

add function to turn unlang ok / fail to reply packet code

in reality, this function just gets asked ok / fail as a bool, and
returns the appropriate packet code.

This is for use only by unit_test_module.  That program runs
unlang, and then needs to set the correct reply packet type.
This reply packet type depends both on the request packet type,
and on the unlang status ok / fail.

In order to make unit_test_module protocol agnostic, we export
a function in the RADIUS library to help it out.

Alan T. DeKok at 2020-05-29T16:49:31Z
Files modified:
	* src/protocols/radius/base.c
	* src/protocols/radius/radius.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4dd341496b70b14fe8ab8c69bd3b152066ee7538
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RPRsACgkQfQ55zXdi
 Hs18EQf/VRqj0V2Jbvkx3bY+Zpo/U0l+sngL524NDvAookflStWNXw+tvXs14WsU
 ABwg372IerKNec59x3vhoEVkBVY056mAkgMt0UZEnfHcRSkKDvc/S62dnMQ8dp+e
 7x06IXGOppZqDVuUQo9hmE/8owa+wSTkWjJ/PQamkFQTJoqQVgse551OksmWgEIK
 rhCMaMtfryw5vmzDRpxVlS170/wi52tz7MIIrDfMvv6R9Le3V+qqCyjX1u9DZq75
 3yqwGAlCblNE0L10aaRDvSh452HlhQFiVMv1agOGY4zmBQ64z2avFEgEUmrtf/8D
 ghg2gPaBZSQXGezw0xdDyeEatfx1tg==
 =S0t2
 -----END PGP SIGNATURE-----

export functions which return ok / fail packet codes

these functions are only for use with unit_test_module

Alan T. DeKok at 2020-05-29T16:49:31Z
Files modified:
	* src/protocols/radius/base.c
	* src/protocols/radius/radius.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/91780d1612fa18021c15fccb31041708e32fec04
====== 
dhcpv4: Don't conflate src and dst MACs when broadcasting

Terry Burton (via Alan DeKok)@2020-05-29T13:39:02Z
Files modified:
	* src/protocols/dhcpv4/pcap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bd70d7bf4c297897951d344d31380d60f4374de2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RD40ACgkQfQ55zXdi
 Hs1WwAf8DF0Y1xGwGuy+YHSph+Jsoaf4GJsB1ypKjMYJVN5MQbXhJ2mfmyn9Edxe
 TJFmRtjlCrVBZqU00eWucoMdD79CyYp3kp7SuQJB3isfDSouQ10RPs6Ucyoj6kFW
 w1Er3nJygPpS48WAvTxYoIMnFFTt+p0DS1yN2RCPkgjjqeb+FhnOhxcherf6yM5q
 6LXuWBOk9+HPz07XhzHY8wKxCzdpzH9ZWSLBSRoZE1AQYIHKKUhAzLq09xs13MkZ
 PcpZx3v82veiFsncS4otfFu9lbCRT2KUEx7jGkA5Fd5w1hAE/Vfd7K5hJ0xie2Ux
 hjhA5MyRp0h0WBm+QozhBwNyB+uMxA==
 =vTHs
 -----END PGP SIGNATURE-----

initialize variables

the scanner cannot see that a called function will initialize
this structure, so we have to do it here.

Alan T. DeKok at 2020-05-29T13:34:41Z
Files modified:
	* src/lib/server/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2502de51be87d681c93fe5964e92f7498ff46152
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RDcoACgkQfQ55zXdi
 Hs2R9Af7BAqlKP5yt7jA2Fu22yh/ABjT1AVq9ADpbmEDccjI8D8f2ym/SBVn4dk6
 RhiLcwWS2sZJF5p3c2xZJIdAzq4p+dJ928GFSJAvH+fZEQf9R4hf1fbhDDChOnCq
 0EEHtes7LVk2mH+ySdmx2TijzWWIYwBE/B7YXC4fP13Pz0UR6M5R1F8fQ4Sm06/N
 AkHmRcf/wDl+tXehbbJcGEJe9kFFm4vNOSiZFCOkuCc2xr7c9nbugr+/P2qKAT7G
 PIlQkKN/auERjGgGaWH1QpwdeRe3KhBRThZPoFtSvHB3Kq/q6/p59+dQWu7HXq9a
 LXcMXUwfTZaMViwFT75NI7ivhOVwqA==
 =TAMD
 -----END PGP SIGNATURE-----

shut up compiler.

Alan T. DeKok at 2020-05-29T13:27:24Z
Files modified:
	* src/lib/server/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/55c447f41905300fd82d2e10e511fdd6d13314be
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RDKEACgkQfQ55zXdi
 Hs01RQgAjiTridcrURlQt30Cq4dboL9yh1M+CE75LjOc0NTM9JESztPYzJSgUImk
 SnsKv+pr9QAqAFBp+Y9Uap7LcQ8Pyxqr+L8Q0aMtgLzWL8eGVdBJuf8NZwNOHjll
 GyOheT6w5UcXTFeK/mLX5hTSLBEXHs0bK7nS/WaUAKCWX3RMGnLCAwSOqjqmnQbP
 vXTKVErRA56R4vo2pkZvXKbLZm4ZWDP5woJnNb/cb/JxypCCMq/zkA58+zAb8xY+
 rvfvKym7Jkr/R4YylW8OJ0Krxov/0OybUO+DnchMjrk9wR3TpccYYr3nJjbM5qKl
 uEMTt7Io8pMwMyG9RLSQac20jweaoA==
 =n87I
 -----END PGP SIGNATURE-----

typo

Alan T. DeKok at 2020-05-29T13:22:39Z
Files modified:
	* src/lib/util/dbuff.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0acf38b78204ccb776e7fd20ab4c07dfd92185b3
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RBWYACgkQfQ55zXdi
 Hs0z2gf/URSrMYCDpVk60ID1RWDvwKT2jWJ65bpVc7fGsQsI41EvhHfqMA9bspsB
 1zH5fAI9WqbhhvzWE3fKPXOh0MSCttzNALbWL83j+s1NgWg6i7QB5TFJwVXRuEJy
 CmmKh/kC0d6ZiWjP6VsvLfBJa9x0iEm2QJDrE/8pttZ5qKwRW7Cu/V1kmv45JTUH
 h4WBYf1ibveM43Y5Qi3o5tbost8mQaWDUnOW9I2vebjzuqA1/y33nUHLfSZTrJpt
 BIFTJIg4gpefntpmez+MwxKdBx1LCuMDaj+MncwnNHWNHPARIHXAyeGpIBVof6eD
 5/MCN7bZ3T3lzk/4sNFM5AdtqZx4TQ==
 =Bucl
 -----END PGP SIGNATURE-----

armour FDs against more issues, and assert that kqueue won't lock

Alan T. DeKok at 2020-05-29T12:51:50Z
Files modified:
	* src/lib/util/event.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/01bfe0854dc8b454e30ab54aaf650dd6896da09d
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RBWUACgkQfQ55zXdi
 Hs070Qf/Ufxcxaxlj6Qb4vJpTQklnnyT+6mXkvskHxTQfhtQv+TIuFiwlrc5FgnK
 POdjmiOFd6rpYxv2TsTuTC9Fx1OSYJlwvyy/hYCDAnmye3wKwP/vPPeiff7/CgXW
 wDyt7LeNPOhvJF79QZ5PDepDkknzY2vGFtbgxfU1A4+QRPDZ/CErZi6rrGd2EnNg
 Y08LHVQ40Ghy06Us6y487o79js+FjbhzcPOnMg9AEtECdk9v19aTpew6RXn6v8tg
 ryBOSDoPtTGqOANnRO3Q8CbEqTqiXV1rXfsI1lsg0nc2EJHNuDHY+Kb02JSeqAYs
 joZQuQhTEpbarzdoZeWWL62setBCQQ==
 =T13v
 -----END PGP SIGNATURE-----

simplify the code

Alan T. DeKok at 2020-05-29T12:51:49Z
Files modified:
	* src/bin/unit_test_module.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/94877d4506dfcefa4481e38c288a7b1ee93fb3e4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RBWUACgkQfQ55zXdi
 Hs0YcQf/fJDRN1q77cit0siPLQe+XrjluSoWKm27qRX2VCV/K/9c4JYY3rTRwM9q
 H7ZNIxJC+awwajBOBaXl24FYKn17ejWE75VBq3yWXFwvu1O3xiy42QwCCyCCluQE
 NcvEPXApo4jA//8r5QXPXCK/w89/nffH8poipZzdmMRXNfI6JKwUvDdjrQ7qDEpo
 DR1LrMlTKKDQDTK0LPRtvfnc2JhhOT5yo+1v55evYpe+wDdj1cPWaguGSdSdGw7T
 ebOcjtlrBvTlV2oK6xodU8aD92kVFySmumNy7rwSyZDLi3dVtGaa4o99H/SdGAo6
 1Rqoov9znxkGeIkBl1jXDkpjQOGGuQ==
 =Dn9t
 -----END PGP SIGNATURE-----

remove more hard-coded RADIUS things.

We will need to test other protocols at some point, so fixing
this is reasonable

Alan T. DeKok at 2020-05-29T12:51:49Z
Files modified:
	* src/bin/unit_test_module.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/982bde1dd7b63ef483ea524f6f9521f0d641464e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RBWUACgkQfQ55zXdi
 Hs1H3Af+JHCYYTM0tmx8coY8F+cHuisa0fqQyLG8GwrhoPgwYgcL7AKsDPFXGesH
 laEqrmW4lVztyudkf7uOGODq2GnFiknkyc+ew4wfVU8BkhpHrOeJxPyGx7BniD0W
 bCHo+FYgpQO8Sl1u98Jmf/DWptxVU8ABBPLdDIK1Nnags6gItK0Ndh2YpQtDqjXm
 QK253fHOfQ7JrYjMdic+qAlyN9leN0xkoOoIfiGDf0cEeW/pTC4FPzEYvm/WgHJl
 MO+dEsoEjOUVBMyakvb/VOFRPcU6yl8mm8MkDQbgzgfwbrwIeK6E3n6iGLI5q3e5
 0QWZqifkwkLus5N910MGGBAgAOP4+g==
 =A1Pn
 -----END PGP SIGNATURE-----

we don't use the "unit_test" virtual server for anything

the rest of the code uses the "default" virtual server.

Alan T. DeKok at 2020-05-29T12:51:49Z
Files modified:
	* src/bin/unit_test_module.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6c2a46594b75f11e2716bb19b25c71a060a53fb0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl7RBWUACgkQfQ55zXdi
 Hs2H5Qf9GAoWNT30ud8IqYHESjdOBn8f7lpIa5AbiinrCJVwjpI+8z5aHSk+wFP+
 wDOMTdPqo4Kkqv3gVPRmRIUK69bdR/qrHzohwRWWmCSyRJRIsIGsOr13il53JxH2
 GOBwUFFlHgYucKcEzJAVrNCDd0iKTVVKXSusfNKLSYDbiEE3zTumkMvNn5VPrX4I
 s0X58S2vHsial6Wewx46AsuiuR9VzWACVL+BowiZKdHdz4qP8AY3YKobioMTfVAv
 gd0xQ2UoBu+SBsi3B0JcnXv4ZWXUqSqen9Vg7M+bhZA1UK3As/pKzCp5GvZCocWk
 taZj1lQm4eOwhQo0v4MJql3f5JCAfw==
 =CNyf
 -----END PGP SIGNATURE-----

remove more hard-coded "radius"

Alan T. DeKok at 2020-05-29T12:51:49Z
Files modified:
	* src/bin/unit_test_module.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4595200b68a132b300cbecb0d7200cab3c1ae8fa
====== 
-- 
This commit summary was generated @2020-05-30T00:00:03Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list