Commit report for master branch

The git bot announce at freeradius.org
Thu Nov 14 01:00:02 CET 2019


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3MdYcACgkQfQ55zXdi
 Hs3j/wf+KYcL0XmHrecQuQadYrrNVQ1mk5AX0XoQuAKlJSMaqDfF10ytanqgfP14
 BL4/7J/HIsyEiaG/zPf5lVA/Nt/sR28HeLd6b+VXme2ClgLaAslf+cUnbP2FO2vl
 bxct5YcdCGFi8zZt3U3opX3+M4dW7kfic/7blqLq5f2dBGbL9EFltDM2yqItIxZ9
 bFuwnqekewCoVMIK7do66vDVFNrNzC4LgNk4aB1y5Rk63I/k3Id9L1sitMJ+Wctx
 GNQhWrJfkHZ+7tlTLZtH4ffe62nXrOv5YLkahXB2D6sCSauO6xQ3bLNT/bBS7QuF
 ZazeDVsWed6PjwXVybAyWCs1b0s4ZA==
 =i3zZ
 -----END PGP SIGNATURE-----

pass TLV stack to struct encoder

along with a protocol-specific encode_value() callback.
Which for now is only used in limited cases, because of poor
interation between the requirements of the struct encoder,
and the tlv_stack magic.

Alan T. DeKok at 2019-11-13T21:28:36Z
Files modified:
	* src/lib/util/struct.c
	* src/lib/util/struct.h
	* src/protocols/dhcpv6/encode.c
	* src/protocols/radius/encode.c
	* src/tests/unit/protocols/dhcpv6/rfc4704.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d79665d950bcf9c87b6745e8bbbdfb7fa37321e9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3MdQ0ACgkQfQ55zXdi
 Hs1B8Qf/e7ikDobbaRRNgQehu3mCLxoWdUHZGsKAPFZF1jJrUbzxcKZYchlgA1y6
 1eYQiNs8bqEMdsucZf+vb/fXU8WdnM95NjijSEYZVa9bxZfFnhv56GqiHSeDcCXA
 rawhoWYTwWup37Jcx8l3ptSOP5WI6wtkAVYzPGiYvLlNy9a07XxT6RjGlDvBUM0d
 rD4fZV1fe73vUDfbpfyD8bUDEx0D7VQGhXBuGJ3Nqs6/O+hBM+NGmkLhvEj30M5c
 +ue4OWvoqo2I7iqyBrslH4ngfKm9jEeeGKm5+PvJmFkLlZg2ZqGb8rzsjEZOZIAd
 zCFWSpHAnJ+LRyGQJ/n9EYHIOZAx5A==
 =SH2r
 -----END PGP SIGNATURE-----

allow subtypes in structs

we now assume that the protocol encoder can take care of this

Alan T. DeKok at 2019-11-13T21:26:19Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.rfc4704
	* src/lib/util/dict_validate.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3394eaa95628d7c2028538d22218c20e1261136a
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3Mc/sACgkQfQ55zXdi
 Hs0W/Qf+MPkPZialXluaGXuMeHr3Svn54d7IGKA5XHiM04o3EW0xX/YPFHoWmio1
 PgeXhw9l8GwXF8QVN6rfqrp+E+P9bfGTohscP8QvD7IFc/mI7FWSKP0+5usy1egE
 1LHqw5uDYZ80PAQrQtwsMZmkcB52iEKEW0C2Zg5d+rw+8WWHQBGSAGTrNPCQXWFs
 qw9Pzy0E1tTKv8MWKHzUkGRdzcgVSqVsrm8+RXJM9eqXlQyPcjf1v4PfMEtC8qrR
 thTU3nv+pRyBL8q0YA/LBMCM4LAGMfWdaxsv04W4Hp5srHO6tnE+juXuWNj9WXHD
 5QfWz4zLB12tX2GEH32ZFLzSfxlmbA==
 =B/ra
 -----END PGP SIGNATURE-----

fields inside of a struct are ordered

and DNS labels end with a zero byte

Alan T. DeKok at 2019-11-13T21:21:53Z
Files modified:
	* src/tests/unit/protocols/dhcpv6/rfc4704.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/23b5d795b1f994cb22d5d76ea5af5e2e1c7392ab
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3MUx8ACgkQfQ55zXdi
 Hs0qdwf/YW/etGlHgKUNuXDTRSkKQ84H36tkrJvJHgLz35OfP1TgqXOEPotN+byc
 pGm8MPkxeHAjGFH4E8eRcVXnc8RWN9JmbT6sbJwO/PClUsdwNxi2BFozqFGpg65t
 DNdbswp0HMmKPit35+ZuBdw+Ewc5zxPtnKOQowokMini4h+5ZXR5peSPbH5ak/6u
 SVJwS42679na0r+LSv61wMoXyBy4MjmKjJhe8Dzmv+74vnGUG/Em6+8p71sZ5RA1
 11bwBm2nCTrjgK1sWdEGnzGejFa/TPobAvAyv479ph2or3UL9Jo0QXnNGFDV2gu5
 S7Aq5SjcZww9jnM+TI2a7atlAoCfLg==
 =0UNL
 -----END PGP SIGNATURE-----

set name1/name2 as appropriate

Alan T. DeKok at 2019-11-13T19:01:51Z
Files modified:
	* src/lib/server/module.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2c7be06ffcfb644b7e3c28dd33690349b9d38083
====== 
Add missing 'decode-pair' for rfc6355 tests (#3121)


Jorge Pereira (via Arran Cudbard-Bell)@2019-11-13T18:28:58Z
Files modified:
	* src/tests/unit/protocols/dhcpv6/rfc6355.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9db304d60c1f561aadae41bb8afe1e9365a6bc25
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3MMkoACgkQfQ55zXdi
 Hs0KDAf/QR7d1RSWUZ/49eMJNsBQvqCdZMGPVSLFwwrCMt8RfLqsHOxnyxuJqf8U
 hbVSdxL84JQpAMwgZUmCu9NEYX6Q2QwDvrPxojFidILVVng34fMtkWwAWMwZAzQE
 hyZ7wfBQeX6wnuP3tfmWVTDymRiB62iNpfKqvoOufRjV0RwiBaVjuclFgYH1RNy5
 5MXQRPIfcLyZHNqj+ENox+7Iqiz5f9zYfuqwWqsZDmbzNKKg6thsRr19aAz6aX+I
 GNC5XwRezQ9lTA6LnX+gklUOIACUlR2H6p/Ilbjh7VJqzifl3XsCc2MzhjUdkK0E
 qg7Rp/4Io1m8p1mYT0n5awWv8RH5wQ==
 =38cp
 -----END PGP SIGNATURE-----

typo

Alan T. DeKok at 2019-11-13T16:41:44Z
Files modified:
	* src/protocols/dhcpv4/base.c
	* src/protocols/dhcpv6/base.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e9cf5ecaa0287858243da7e4f33401275bd27af7
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3MLKMACgkQfQ55zXdi
 Hs1HSQf/fGnmbkVTLogkPoqFokLk4M2TzUSl0Vwbs/IR/xXm9XKDZ6oOOBJUJvzF
 bWZscwxCJb9EJsnE8sO+VbOQix0pJLDy3vrZpXr5frkPjAn69diuvQEpdd904vlQ
 DvLs/tg68oVLti95d12+3IE1XtncgJgzITA3QccGmYnvHAQYOOXHQT8lWW1OCQxq
 8Kz78o4CwnPL9YxP8YGXa663NNrLmyeJKjXqCxhb7Za0V3KvphttWJtUXRXsM7MV
 41+4jI1R045m673A9+tOJC7g2sm35vQp+nRSFTWl7F0Yv4NoZkqJKoKtHWtdOzkJ
 2eBMtJUm/w6mo6Z7f2NGMDvxWShMtQ==
 =Lkzv
 -----END PGP SIGNATURE-----

move dhcp validation to dhcp code.

and extend validation

Alan T. DeKok at 2019-11-13T16:17:39Z
Files modified:
	* src/lib/util/dict.h
	* src/lib/util/dict_validate.c
	* src/protocols/dhcpv4/base.c
	* src/protocols/dhcpv4/dhcpv4.h
	* src/protocols/dhcpv6/base.c
	* src/protocols/dhcpv6/dhcpv6.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/be1fe43af1735cd177d2449e0ed512ce2207585e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3MLKMACgkQfQ55zXdi
 Hs3Grgf/YtsylBaVMhQr7ehs8oFDnLPMOwiVGeAKTpJa5TG33Gla8NX6jj+ZJTpL
 Y/4biyL4DUIOz8YudsibGidyUULEJbPDbWb9s9EgegtPfGHAB32OYPUXsDN/DFMC
 mB8AYSB7mmUu4lLFOyF7AG0rdfqrap0hRIXG1RrzZLOJ0FbI3NjdZ+mtFQ+U5xw+
 khqBq9xICC/pAqsDnJzo5bQq6kxLEZ775MoXDbaACEDNRQsvNY14bZUY50MlN+bv
 IAfmNTkmE6dZZfSgp/PHUlVN58FRuf0/f59HhmSM8XJ+XF9k7WMDIqxNiPCrbiDM
 pdJSeL+8CugdiPz5jCdbe52OoFVNqA==
 =55jo
 -----END PGP SIGNATURE-----

clarify messages

Alan T. DeKok at 2019-11-13T16:17:39Z
Files modified:
	* src/protocols/radius/base.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4105d94376b4cd04a9d40ed657dfcdea9d00b019
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3MLKMACgkQfQ55zXdi
 Hs0P1Qf7BUTBrC4FHbd8XVL/yPIoTz2UusXMHobbFsy28TGBBYTKYUdycEtRnLUX
 mucfgqCZEv6tUxK6EuiXjtNvB68o292tDGRJoyRvi9dvJaBK4qtoN48QSAjQHCTG
 TrQmKC+PjbFMekBds/A0FgLGveNCsGSUXDJb8i2nljj03fX+D99ltxlKJx4h23gb
 HdEBbv9lk18s/tpQYBdW1RVPr7fNn9kYAMu2zmhpa5T680iA0pnIfc7qONN27aeX
 mNtzL5bkdttlaz/GLijie8CQTUy8PuP0cBGUdMl9HLb77fFX4vSp8MkDNjKT/5Qi
 cKu19xUG2YnTqYaFA4q8hF9CpjU0iA==
 =aqEk
 -----END PGP SIGNATURE-----

it's a UDP message, not necessarily a DHCP one

Alan T. DeKok at 2019-11-13T16:17:39Z
Files modified:
	* src/lib/util/net.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/64b4fe5d6bb0c8b86975c51061768ba2b376c15b
====== 
Update unit tests for rfc6355

Add tests for the Server-ID-DUID attribute

Jorge Pereira (via Alan DeKok)@2019-11-13T16:17:27Z
Files modified:
	* src/tests/unit/protocols/dhcpv6/rfc6355.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f7e11dc22ad333b43b740198237343985c2f38c2
====== 
Add tests for DHCPv6 / rfc4704

Jorge Pereira (via Alan DeKok)@2019-11-13T16:17:18Z
Files modified:
	* src/tests/unit/protocols/dhcpv6/rfc4704.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0c7692a9f9751df8542c5dbdcffea3537a44a4c2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3MDgAACgkQfQ55zXdi
 Hs3wggf/TH3D1rexLIquH35xwFToyhsBUV/ACQVWbP7k4ZTwuuWHh3OyQgoDlEoA
 ZUFYbYp2h4AAjaRWQCer6g2d/U/5+yEpyd/IDSNEHtMNiA3X89NaA2lxwnaQ0goo
 fvmoUVyW2dLTsJTZsoxV4ltzLiBe3rVSJu4kq7HD79czTHdkPDd2FaTLQ7NkySo3
 lZO6eSQniU8R7SEsdrTZFm7hcTkB0n2w1DKD/+ywzqkeANyJkik3XJtsb0z8+IdB
 Hc8VuM2FqIQ/RUoqdUwF6T6i1IfhpeRgtDcmDaPl6RiAkCitDzsPIo1gJKojeJeJ
 y/7SiK966k2Hff9T4spU37JQPE8SdA==
 =rj9l
 -----END PGP SIGNATURE-----

add attr_valid callback to dictionaries

and move callbacks to RADIUS

Alan T. DeKok at 2019-11-13T14:06:43Z
Files modified:
	* src/lib/util/dict.h
	* src/lib/util/dict_priv.h
	* src/lib/util/dict_util.c
	* src/lib/util/dict_validate.c
	* src/protocols/radius/attrs.h
	* src/protocols/radius/base.c
	* src/protocols/radius/radius.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4fc6d9847fec4c453442d227a846b9de4507371b
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3MDecACgkQfQ55zXdi
 Hs3Jlgf/avO4EP8DdEpKwoHD6fjFL1s40aSE7L4KpeKRzNrT0L0F8zc7pKgXgVk5
 WxlehENKWhO294aQS4HCRufqcMzHMUGswNoChgntckmTkxKdN1Ymps40wJWqK8J6
 hdyHYLO/G4b/ZAZL9tqYrDwKBUiRrceGB5L818rD3g1XTvcK3niqIEhmuoLbm951
 +h3FNdvSTkLNTV+aIcixpxNvWfQVLF2d9sW2f6uCltevsnYWgmFn/6+fm1dtHP3h
 jAWyUx1V7NtQSYEPphdVVQv9xfg94IHbnuRWiaG8lZJ9IcnJUSxAzPg/TjrFyB1k
 y0lgWZuh09LbnDeSGwSHeFp45HlLGA==
 =8Uma
 -----END PGP SIGNATURE-----

make the tests actually run

Alan T. DeKok at 2019-11-13T14:06:24Z
Files modified:
	* src/tests/dict/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/99d30e6252d35f4eddc7e35e67d8c3aff6830437
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3MDVwACgkQfQ55zXdi
 Hs0I5wf+O+F01Qcl8Iq5ylzmO1gRoY3+2PKgOfZOS7827olLnlLNXGzpGim8JxMa
 XIarXLI7vfboPFrFoTgsXIlqTom8vbUqxxu5zEai0kkTPpchW4Yt22cIqZ7f8pIF
 MK1Fc8PiObpwormksogfb3UdxNrbNrNzcIxfm6SypTS2Hv1r2L/4bOjzf6MQkRCA
 Me116smmba/TBRq81BRTBz0OuGvSWVKbYS8Yb7hW+I2AnB1DKMGR7y254K97siyC
 by/N9Ud704t9cYJuNJSeDXmRkk+AQbr7F1HmTJBWaH4RQ/bU0rUFcvxGO7rwdMgI
 HWzCWqRXqZHeRDccK1ZTQPDhk8yJWA==
 =spYv
 -----END PGP SIGNATURE-----

use protocol agnostic checks

Alan T. DeKok at 2019-11-13T14:04:06Z
Files modified:
	* src/lib/eap/chbind.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/94d1a483e80192dee502052fdcab76f25f8d2cca
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3MC1sACgkQfQ55zXdi
 Hs1OkQf/UfGxscjq+TbTyoNeqgy0cZ3/AcDIgtjVjMrUvOEVDgWCJ7f4WPTrv78n
 zFhqgX+Kkrv1yoibzUiQFUXLbxy4roHpmyK/b5kI6w2cU5T2he/76MfeiGw1wusI
 Fo3okzuMn3sa4owA2Jb7F5QUB7mzIToSQ49QCXoKuB+Hd11o/Q8l0I03uzpYa1gy
 Q5msMN1xLNkBRzDOT/YbRkrHEjKNzR6GgOj+qc/RNzu0b2mZncAywks2dKyJMTXi
 jrgY0z18zjCl+7BiwXDqUzkkC4XLOkwbMHQx6kL6wIu/Ol5ngmw5omytxwfYZDv6
 0jl/979W2gs253XqxeEJf5Yusz6v8w==
 =QSf2
 -----END PGP SIGNATURE-----

transaction ID is now octets

Alan T. DeKok at 2019-11-13T13:55:30Z
Files modified:
	* src/tests/unit/protocols/dhcpv6/packet.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/127ea24b961da01a614358e4a7e6f9f9011b054c
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3L/YMACgkQfQ55zXdi
 Hs2TPwf/boF1u+RYYMPh1lgYh1pJEZ31fRutIgSu8bCMebbDE+c/gyZa3B52/Fmo
 FhGlwCA60qSdaq8iETQC5P+u8uA7TbRCpK1phx9ur3smb8s3fMY73w/ERsGokjaL
 0Mr6tAZFX6xmX1tZILFfe8udy4yds35PCNiGxXNiO1zo0vWgNtg3ljKu/NkeDdFQ
 2jVS6XIy+OH1MPvCXG3HQfTENhcB5HWqegQFMfCIiUQbOvr/xpn7BwvNeAe17Yev
 vXctC5U6/Zf1uPOh2yW24epi3qdSWlRxOWWph4Yj9V2fINHOVsdTt6/ngGBqP1Nn
 3S5zY2n5cPvHMRmL9EkoZ1X9R8YdPQ==
 =FYHi
 -----END PGP SIGNATURE-----

make transaction id octets

seeing as it's a 24-bit random value, it's easier to treat it as
octets then as a large decimal number

Alan T. DeKok at 2019-11-13T12:55:48Z
Files modified:
	* share/dictionary/dhcpv6/dictionary.freeradius.internal
	* src/protocols/dhcpv6/base.c

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


More information about the Freeradius-Devel mailing list