Commit report for master branch

The git bot announce at freeradius.org
Fri Nov 1 01:00:02 CET 2019


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

======
The 'Status-Code-Value' should be 'uint16'

Jorge Pereira (via Alan DeKok)@2019-10-31T21:35:07Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc3315

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/57a1f40e5660bc62f74906fbd1b93043655d4db5
====== 
The 'Reconf-Accept' should be 'octets'

Jorge Pereira (via Alan DeKok)@2019-10-31T21:29:09Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc3315

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c4548c274fcbb4f42a1bbfdd7b65a70d326e869d
====== 
Remove unused variable

Jorge Pereira (via Alan DeKok)@2019-10-31T21:25:50Z
Files modified:
	* src/lib/util/dict_util.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ebe5afc872c25f7d71de3035a2bbf29422b6b143
====== 
The 'IA-PD' time fields should be 'time_delta'

Jorge Pereira (via Alan DeKok)@2019-10-31T21:25:36Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc3633

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c90e23d5139bc51bb77681e555cf7aa9358fefa4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27QeoACgkQfQ55zXdi
 Hs0fGQgAgE+2qA4Mhj2WUXySdthPF8ZzOofGz7fafLIQ/DHSdwadYrVfU+VR4Rna
 45QKAr2TvjbVzu1EPH1nUtHMi8Sm3Mcstkne6WRcrNHLKlVMPcOeIG4jZttQlAj9
 aYqEKjD5WamE3tYi+Kd7xE29QZqIbCJokr36h0IdCUTrVUf6UWAkv5y/QpPeB9t0
 Oppo+8n7sAbMBaQtBuT3S5oH6YVjEkqGgco1CuzrBe7dsxzc/lC+J57fEVq1H9jx
 w+0dQ1qHxtoKR4XoymSlS4+jdDplQFGjqnKJYI6mrZx4s6l4Edg+C9+0piNFsHfZ
 Ip246FhBpcuauK4uBNw388ZzxnSPXw==
 =i3m1
 -----END PGP SIGNATURE-----

free on error

Alan T. DeKok at 2019-10-31T20:19:46Z
Files modified:
	* src/protocols/dhcpv6/base.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6807e9fee56dc62d8261768b41fe4af240f5425a
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27PXIACgkQfQ55zXdi
 Hs3lQQgAhiyUYUxipTcrNxHsRvBF1hkgMBgABBY7Tj5HLNwz/M4TdqFFKpuy8bva
 hHKg0q9awk9WlbAOfH149X9P/ob8a1+HotqTKpiH7+bqxeegQp5TB29qkpL5nACA
 PLKMQaHcwE+YS/PTstvnBlypbjJaTwCCuhtdRsxVpcFN0SnYUwam3wfw54WsbtSc
 3WkEBKqsjWi2ZQ1oO9ZjvjohxCYOlf6EJZ4Ob+uunu5hs50TPAGHpEYmlX+E+OX7
 jvoRI1iprQy57B7Zr6Tk/0QfZyfnjj/z6hYUs3O0boCVZcB/9K6KeKbhc8ohMqGr
 ywT7jx+93Q4LQre+jmZLdmgzVlQcUA==
 =1jdm
 -----END PGP SIGNATURE-----

auto-generate VALUEs for Option-Request

Alan T. DeKok at 2019-10-31T20:00:41Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc3315
	* src/protocols/dhcpv6/base.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7a2c7355abda0b3b2fd8ef52cd91ad005c85a797
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27PTUACgkQfQ55zXdi
 Hs2bzwf/XQvFWuZuI7KOLTuOoJ2fl/jfcUyC9uJgDycn7gq4iVI2M/wUclfOZnbm
 l5lYP7Nv5Dhnl7+KFPH30va85jFLjR0ZKydmxYJwxOUCJDTCj4w9k0k7LvsTdtZ9
 oUOlvAJOo7Ee2M9HR7MAowpZPbwiRxg4jr7y9X3MDY8rl7wCVT3gA2LtUOXjDD71
 0jsicibblWLDrAGcRC4LeUK8nOTk22D5yHoE6H5D+MSosz+rn6gq1DwdiF6NVkB+
 XuxMh84LByHRHsqwZ62KVFj+X9KELTUrpS0PDoU8pjUDHvzzrgfPrGVWVqysFRoH
 whljHZMXzp9qMCbQ/lrvlLiKTn8VlA==
 =OOFF
 -----END PGP SIGNATURE-----

add API to iterate over children of an attribute

Alan T. DeKok at 2019-10-31T19:59:41Z
Files modified:
	* src/lib/util/dict.h
	* src/lib/util/dict_util.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b15613d00d08bc720aa471839095ec3c233e8756
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27NlAACgkQfQ55zXdi
 Hs2FPQf+MLPNs8FZeBYqa8ib3uo2q9O0oKiF9WLN1uxIXmRNHbR627T7XYiux7LW
 2KlZThCzlD8wj3qPzbfeUMAwMBYk0RiB1sT+qYFtOWPnxDcQjhXgRJt2frptmQTn
 tPh3YYBhLc+gI8GTJmLgf9//l46eH0bMe3v+5CEWV1weNv8SkD+9xVKUMfuSFC6X
 RkG1iJlL1dAk6EHj2MWMbj42NTr8GoNMFUdHNv9FKduhdlqmvbRQF5oI02lXwh8f
 48vqh1l+g7VG82BzoWur6BPOVfTNbfMVTZspbf6hqtc3dNwdbYM5N5hAJ7mzo23B
 xUVF7XRe+Myc5l9hhgbw95ov0tPLgQ==
 =ej7G
 -----END PGP SIGNATURE-----

minor tweaks to dictionaries

Alan T. DeKok at 2019-10-31T19:30:24Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc3315
	* share/dictionary/dhcpv6/dictionary.rfc3646

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/efd831c02aab8db300f63bf9f8d0894f20d7d5a9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27NlAACgkQfQ55zXdi
 Hs0APAf+PJhu5QLiJIfTO76UVY5Us7VCYO45Uhs64FOjf3fDiHGiIWmrrOsIdu4o
 OMS6ojz0vhl7QPAhqaetrRWDfZjYioZiFr5lo7UxabDtxLGr772vaZ3V424fPw1h
 Adz6E6IE3cwvHyFTv9SphFjSDZsJECOHLJ7+wbR94WrmMiHGc3VKIRSyITAw8utn
 lfBnachfO9WBHnt3SaD5ZEaPmzpei7HfUyCZtJltVGa7DoZil2S363kQ/eesjjtc
 DbBSVDVyXADDIniajUDEQSinT80NwipiilEZRi2F2aOoH/3ubsgu3A5bCsbPBLKG
 gP7//79XAURO12Tksb+p9+Vk0uh+pg==
 =qvN9
 -----END PGP SIGNATURE-----

allow 'length=uint16' as a flag

This is mainly for DHCPv6, but it allows us to auto-encode lengths
inside of structs too, which wasn't previously possible.

Alan T. DeKok at 2019-10-31T19:30:24Z
Files modified:
	* src/lib/util/dict.h
	* src/lib/util/dict_print.c
	* src/lib/util/dict_tokenize.c
	* src/lib/util/dict_validate.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fa8eef571e43c7ffd6de7d51865b67f67f6fc523
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27Nk8ACgkQfQ55zXdi
 Hs0z9gf/UCZwHho0BqabBgGDAb3dy+nKKMeFtlEGWH7i3bW9eG3y5yAh+81aJ9YR
 1ahVe6uZidxhQnULtpI64FsLKpsi+fGaxvZX4zIEfBMGXu/FVQbyylIvgwPc07Qx
 85oHw7HV3Rc3u9v599t8aMmA+X/OlUSnG85lQw2QZ4Hwwl5tntMmaGb8e1uzeo6P
 qDnWjCCnog7otGzgrDvGb1KvdN9yWqbl0Ihjeux1KCga6YIetW/DDt/HJkjC5pRb
 dKYUqG10UQrbhpx1RYmeXX7x3cl3g0lXawV7XoWOo0iI070QkCiKKVrcQE+UJbsS
 2IpPOmPTIaTf/lHedqd8S2e36Pi0lw==
 =nm3h
 -----END PGP SIGNATURE-----

we can have time_delta fields in dictionaries

Alan T. DeKok at 2019-10-31T19:30:23Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc3315

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dd5236b7af0f5d0675595d24878136f2ca6bbda6
====== 
Fix the dhcpdv6 unit test

Jorge Pereira (via Alan DeKok)@2019-10-31T19:21:55Z
Files modified:
	* src/tests/unit/dhcpv6.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/df4486ce738b3442532130b8b61f0e829eaa932a
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27J10ACgkQfQ55zXdi
 Hs3TdQf/cwI+BIkeDT8n2HsQPMHDiT3tYXUnYk+NX+YlRGqLarnT6Zd4hqQ0mCoE
 pKwm7UMvhdUCJHZFYthNnHEN9uMVJnF82lVT70OPLtPi5qJD2/16pkGCOr3oriN/
 pxE3ixYh2wgl0UmWZm5szJ9azA/FYu8samhLzHOW6MXUkfOwUawAiAQV2RG+SPTL
 0cXobPf58j6C0BeWQeKGz7DkjygbvcSaEwMkV6PQz45igfLU816YYBzvDyQxyqKV
 qn3K3PNNHtEkKvKHZtZOiHSffrD9oMbWMZTwhzYEWrspvt1sMORMTdy9PfIGoDM+
 /F2IPyPyFvmiPcKROm+bqtRHutkubQ==
 =G9HK
 -----END PGP SIGNATURE-----

add comment saysing where we get these VALUEs from

Alan T. DeKok at 2019-10-31T18:26:25Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc3315

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ffd04c6b539c3262be999259bf9b9162891112bf
====== 
The 'Option-Request' expects only a valid option number

Jorge Pereira (via Alan DeKok)@2019-10-31T18:25:28Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc3315

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/21b7dec31eb365c2cc543ecac8dde9a5d34a4bb6
====== 
The 'Option-Request' should be array of uint16

Jorge Pereira (via Alan DeKok)@2019-10-31T18:25:28Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc3315

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4f25d6adb76e7d7cf53a909c3b7afd446243ec46
====== 
The 'Rapid-Commit' should be 'octets'

Jorge Pereira (via Alan DeKok)@2019-10-31T18:25:02Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc3315

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/884fde6af03c5101b3aad22c58be72915e183bfd
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27H18ACgkQfQ55zXdi
 Hs3rIggAm98zE95FmqlXRchHM/balvDhuXk47xjaW3LMDuPApJnB5jtwM6FLdbAH
 TZ0bl+dbHuiQqw6pyNWPL9CgF384SYrDmFmRzaonoaDgUDM5IIlz1jhishSk+YBO
 /9GVXZ+fCxzBch0vJYLuWRUrC6PIWdHPn3q/ARdQaPik/vY/V/w1fsIduybUZtJU
 PYlZO0UDdv/31p35wLFl+G7ls16Qj9AwcDumSaiUjfv37H0SMk+soNX4tpiyuX0S
 sIkxvD48VvOyHEpjRjUHYruJ9ZJ64BAJPp3jB2kzR+ROCwIUh4IQM049IhgjPU5C
 7XozpDKAENUekUo/YjJ0OgJHqTTaqA==
 =eeoh
 -----END PGP SIGNATURE-----

abstract away the key_field

which is now "extra" flag + subtype

and the protocols look at "subtype" only when "extra" is not set

Alan T. DeKok at 2019-10-31T17:52:31Z
Files modified:
	* src/lib/util/dict.h
	* src/lib/util/dict_tokenize.c
	* src/lib/util/dict_util.c
	* src/lib/util/dict_validate.c
	* src/lib/util/struct.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1e40d68553104cf4ca5802f24e60bee8e7bb30b4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27H14ACgkQfQ55zXdi
 Hs1RQAf+NNE8TybRmoVoc124jIMECEd489jKT/56dC6HtXF92wLnv7rBl1NaW/sU
 Ub1whKhaq33TA4dJ+mo3ovnQnfxd3smW2P/U/qECPza8jYmIuF/sn1dcBl03oAym
 qAa/VkNtEAtlzpKEKZLqnW+o0NO42JYtnkPlMzxxoNO57j6gfb6ruWYAuEuXmLQh
 nVdI8p31JsnnhKuAt2HFdReD305yXt29kdP+gLbmKVP3XXd3FdZ3nU1EtKg4al6c
 Xa04gFweuF5aPXfAmmMOlk9wlCZonNguG04wdgXZ1M5KwskkO5XN6AhxbtnAVVPw
 dUfBxQ9hg8ELU1Lr10A2bcipcZCFvQ==
 =RBbj
 -----END PGP SIGNATURE-----

better error messages and notes for the future

Alan T. DeKok at 2019-10-31T17:52:30Z
Files modified:
	* src/lib/util/struct.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/951f86fa45b9da962f193a7b9b31f4787a7a922c
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27H14ACgkQfQ55zXdi
 Hs2ALwf9Ekc1/jOt7Suz6Pq7Xskf043SUfFDl8KO2yp4Vv9JTGl6Kqwaq0EoQ4Jt
 OYZ3pnBox7+EiTKdQYXKgaWTn5tyZ4g4y2qnvcEuLk41craWp1FxrMNUWr7Bew3n
 0gNZKvA+dsXeoM/Xs/orRgaYHlOGX8nHfMJIjAI8a85wqx2WddMjWRRyj9rOQ06r
 IZN8UaG1U72onIyz1mzstYvUiToHCAUNWZ9cACEV4QMcyxvo7rnBv5mYfcRJz31x
 6uMabvlqhucmqApVW6lxYJh+StQ4x78rScbzM6XBqpfEUZ3Fjw7lv33Z4mQDORt6
 EjYEYtlmGGJmZVq9b6CS/AyXdo+ehg==
 =QO9A
 -----END PGP SIGNATURE-----

move RADIUS "long extended" flag to the "subtype" field

which frees up "extra" for other meanings

Alan T. DeKok at 2019-10-31T17:52:30Z
Files modified:
	* src/lib/util/dict.h
	* src/lib/util/dict_print.c
	* src/lib/util/dict_tokenize.c
	* src/lib/util/dict_util.c
	* src/lib/util/dict_validate.c
	* src/protocols/radius/decode.c
	* src/protocols/radius/encode.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b61459d75ff4788301e3a6ad694520641903bc85
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27H14ACgkQfQ55zXdi
 Hs3VNwf+L/oNZdVSxqR5AM2ny5YHdhMozxgXrcxmrvhTzdSNBIs05V4dCrrFT723
 wXbNIXNMgfCp+pKig+fI+LNKFb4odvV3PCajhVozF0WpfavInlstWIzO3tzwSs/G
 F0SIWkjqY0O9MnHT27i8NRxCgJunW/Inw4e1VilXmwZvPts/1iS6onx/Kb7EUMwk
 ROUXKmrnCidy4JayjfuMxVxlv6OS5zP395ti4glnOdu6t2ImyvQR76Nj4yZiDlVn
 FiciQxoU8+aSsGMVXE5sG1ttMKMpkV3JaTrDvStZpLq3TAotp5rgCm/e9RO3/r40
 OMErHCrl551HpVEGrfEBN9ZInk6t9A==
 =JAPB
 -----END PGP SIGNATURE-----

add fr_dns_label_network_network_length()

which doesn't dereference the labels

Alan T. DeKok at 2019-10-31T17:52:30Z
Files modified:
	* src/lib/util/dns.c
	* src/lib/util/dns.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/751ee9759295683a840233c78e0bdebd9427cc9f
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl27H10ACgkQfQ55zXdi
 Hs1Cugf+JQ1xtdxmJMPPObNqNqsjbhsY7dcaWfiEpoA+sVKgcwgn9GNIV2Nlw6Oa
 aRn13zCbGW7+eR4Xy/z8Lw4H5DJLQF2iPXvRrfRSWvY1v6Lnmt4bvDvlUjEJLPWV
 x1i033vUXdQCbhO6odlUNixiHwDWXSF6fmc3EeJqZ9MO0dzvAWMK9HrgM0PeGk/a
 6sGFnfiBTus2VhXNcFtgjo+dOmb+PKeFZ1/H6hPczhnaARs8ANsNbcFD6Jiz7gHn
 UAJ8RT/QJpZjJpCvVam2aqdn6oJ1TGE7h0MXhyDO+OPUA8YBJQYMJof1XZ8nSEMn
 AqBJjGBwAb6YGXFiw4LunON/HlAhOQ==
 =++a9
 -----END PGP SIGNATURE-----

check length

Alan T. DeKok at 2019-10-31T17:52:29Z
Files modified:
	* src/protocols/dhcpv4/decode.c
	* src/protocols/dhcpv4/packet.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/da66e3bf0bc080ee0bd54672d37ef4ee0aed7c3e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl27AyUACgkQ/6TVgp+2
 18rVEA//eB98dHaazRCvyZjzjNbv2NS85WaCtPiaHky3b0RfksfoKR5h1iSjFBEf
 kz6N0bA/9BihvYQmixHY8VGtuq38EGH5XZ5R/3sYXYcZ2pYjwdM+UTANgXWW7fFx
 91UPFn0C0iuJc/dnKOsIGKmvHJ4Qr5bQ9ErTRg6jo4sMv/7jf6BZg1QOUuXtIWKw
 Kfp0XkKR7cJUYWH9skUlmJCxQ+eJhbDU606ui4lUgm8tNNSqH6do+Yh/gKWlWBgY
 xq3LIARqg7+VQw41Ypay5QnGCZnsmO6Vg0L98NZq53PzVnEUQY6FFPlrB5J5YTZQ
 tBcfRhG9QSXwtH+cb5bJ5JFTcVwOB+VB+D3h3/XlMgJqOQ7yILgz7YG/STugYE9+
 MMfAcdR26RIlorI1AwFzPoO4wzYVgRxxPnGMIVRTIRcgsQP5Aao3r2bkytcjNr/x
 rDVMsln2B3FNyehfwOPhH+Zrstae8Pxv1XAem5y7GQhme/iM9KH2wdkeaf7C229p
 mhnpYPcP8QGsQXByCodUx7Hcvwxjy3ykwa4dxDsP+WZv0I0jFKmPlDvj4AKpzS1D
 mt2p1wvQiqkHs7dDKeHR9M2sAYtnkdeRgggZP0oU3hiemnuwOin3FP0ahDya+siA
 Xs1iTc9oUMxN4HxyeO0kq8pzdgICsQmZEPb7Bp4/YRmbh8sm/Zc=
 =aCaZ
 -----END PGP SIGNATURE-----

Emulate fopencookie so we don't need boilerplate everywhere where it's used

Arran Cudbard-Bell at 2019-10-31T15:52:05Z
Files modified:
	* src/lib/util/all.mk
	* src/lib/util/base.h
	* src/lib/util/fopencookie.c
	* src/lib/util/fopencookie.h
	* src/lib/util/log.h
	* src/modules/proto_control/proto_control_unix.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c1a8f0b6d17e37f579b82c38c3302fb900031924
====== 
Add values for 'Reconf-Msg' attribute in rfc3315 dictionary (#3087)


Jorge Pereira (via Arran Cudbard-Bell)@2019-10-31T00:44:20Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc3315

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


More information about the Freeradius-Devel mailing list