Commit report for master branch

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


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3W+EQACgkQfQ55zXdi
 Hs23dQf9FLWqHgaMsLxjwW/K8upg0FZHccLA2gsXY4qDUA5a9gMbYEijTNl2NahB
 ZlBeNRC3d/O7v5QgJ/SXyAoMoBw/pxSZqlidO8lx4FmxW7zvWwc+cIcSuk0rOjR/
 EG575RNtEV/WiqPdZUsEKUh9Sx2cDjIUS2dUoNBbF7yIqkrn1UBjSj6sLQh1NVBR
 6Qx/M8TgSAh7Sxy1fiIZYwm5QgDO87BfY0WjkVKAHQerSecvNKdS9eWfOORR3pLk
 XOehcGsVQj3EYuhvOg/et9OCEUvc7/DYPVehIR43hhDkdRQ9jKHZ2lbd5gl8/11S
 YzfBGVUnfKFORPhN5nbiHihdKLwaTA==
 =77ew
 -----END PGP SIGNATURE-----

call dhcpv6 encode_value from the struct encoder

which then changes all of the dates in the tests, as DHCPv6
starts dates from Jan 1 2000, instead of Jan 1 1970.

Alan T. DeKok at 2019-11-21T20:49:08Z
Files modified:
	* src/lib/util/struct.c
	* src/tests/unit/protocols/dhcpv6/packet_AFTR-Name-rfc6334.txt
	* src/tests/unit/protocols/dhcpv6/packet_domain-list.txt
	* src/tests/unit/protocols/dhcpv6/packet_ia-na.txt
	* src/tests/unit/protocols/dhcpv6/packet_ia-pd.txt
	* src/tests/unit/protocols/dhcpv6/packet_ia-ta.txt
	* src/tests/unit/protocols/dhcpv6/packet_ntp-server.txt
	* src/tests/unit/protocols/dhcpv6/packet_sip-server-d.txt
	* src/tests/unit/protocols/dhcpv6/rfc3315.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b3bb7ab8d7fa702851922d5e436acab1fefbf1b7
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3W+EQACgkQfQ55zXdi
 Hs059wgAjtw6YGro71xCAx2nKvuCkDWwZk0UFiWq24l9uO94AaAfEL1lcnJcuX/z
 zZEMsWbOX7sleGPjYiJGE2kAub7r3k77RokvQkxh2jJtvG+N+XNVX/N/rrzdJrX2
 D+8NjEdI7AObpHmLtelzbjJPMWSN6uNjAzJE635Xyzh4oM1+0XpWvzctyi7VNW2O
 PtqD1H+szvKCsl6YzNnwubgwiKFjRo4GCAnA/USzLA5gxI7lUjWbTEr67He8YH21
 JscfTYIh47uqVHJ5C4b2or+9CDPRp2MxxNPr1+BJ1u1P11FlNaqB/JYNTXyEOlIJ
 M2DktxJaAPrUuubX5ZmLFSi5Pb0J2Q==
 =DfBU
 -----END PGP SIGNATURE-----

fix DHCPv6 date encode / decode

decode didn't add the date offset from Jan 1 1970 --> Jan 1, 2000.

encode added 30*365*86400, which doesn't account for the fact that
years are ~365.25 days long.

Alan T. DeKok at 2019-11-21T20:49:08Z
Files modified:
	* src/protocols/dhcpv6/decode.c
	* src/protocols/dhcpv6/dhcpv6.h
	* src/protocols/dhcpv6/encode.c
	* src/tests/unit/protocols/dhcpv6/dates.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/889b344b7bf99b7c2ff5bb06d13d79641c10fd2c
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3W+EMACgkQfQ55zXdi
 Hs1Bswf+N3C+4VUj7lYpTjC/ziJcspEjiieWdf0BNDyIB+L4dqc/sm8qELE9LFfc
 AaieS76SMcdHmKyyXGwQFrswY8bPt06Ay8l8ZMZTAouRblJDKz6CgTZZoEbC2QnO
 kGcyIOhPq3rjKHB5nRVLHSTJjTRLHZFQU+T4Oe/pNBerdr0SJA69J1PM8Y5xQm/B
 P8KkKTZdPFPCSzNVLlqwgkjJ8u4zRHhngvDemt7DL9PqyQTbLw9xrz5o8bapZx74
 zQ7DcUyF6m8c5QLvAp6244o+AL73gRk0uMe6PCgNmqxOZNY6Op2djyKtQtxoggaP
 mr+V/Ff6dJORgmFCIUArI8hKhONvTQ==
 =baOm
 -----END PGP SIGNATURE-----

allow encoding of time_delta in dhcpv6

and print out type names for unsupported types

Alan T. DeKok at 2019-11-21T20:49:07Z
Files modified:
	* src/protocols/dhcpv6/encode.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ed82ea0e1bc74e68844b3e86323514ee20f17634
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3W+EMACgkQfQ55zXdi
 Hs1awAf9FPfwcaw942dtpem9RWso0yE4QHHslR+xfcGp+dEcIcEB4sz8kJgQLwDa
 Tz/O2EpMRfJ5XiF1fXV7Dmp5SEtQnxhHV6dq2KZQwRzesMVUOVE9+n55RoXJpGS8
 M1VDd9PxWnPqyEfUqoxno+Lr2oGKXY4EA32KLT7cpUvZeE27V+rIt2kcTvmO1B94
 oaGCF41lB0nvaBwWqZZ6FDCwrpTItgKG0+V/QvdF2KJgXLpb0L7RhMp9KegLTDpv
 D9m+kBEw7uIQ2yq11H3l6SAb+JnPCeByyC4rt+U9cSa87Jh3QxTds2IZ6MVC2WtZ
 P2idSha+RUFC8XydAluW9DTrF9hkAQ==
 =mKPQ
 -----END PGP SIGNATURE-----

return correct lengths for time delta / date attributes

Alan T. DeKok at 2019-11-21T20:49:07Z
Files modified:
	* src/protocols/dhcpv6/base.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a4d57463c0ba154827672ee37720df983e354357
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3W+EMACgkQfQ55zXdi
 Hs2qawf/SScXCyrclM4is/+3UM9NiXHe+UBW3maEQqfPYj9cBfU9pmKe+/9iNXJ5
 sPBy8ezZsCT5Wl4W4XHogQ+Fvm5EdxUzN51wzZ/95HXuKH3SVtsvA8ke51tTb48B
 rsCtVlyaUuDzNaHHBVSmDy8QGKL7B+jyL21tAgtDV0d2b+Yk4/BrbULIfTVnY6WZ
 V3xfbPlPCRBUCPFZy5FrZ+wVnQg6u9NfA+h+Rs2TnLdTVY32oIVQXQAMvB8nCSHn
 fJsb/jI2mq3egbq8ShatkxqjzsbdwJLJvHi8OL3/oQBIPRz815pNHtDBj+Va045/
 hX96+FsTtyj1yKVLUTihetnnm7rmYw==
 =FcN/
 -----END PGP SIGNATURE-----

copy over key fields, too

Alan T. DeKok at 2019-11-21T20:49:07Z
Files modified:
	* src/protocols/radius/encode.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1e322b0a063d6662e4855aa60d8e84ddbf799094
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3W+EMACgkQfQ55zXdi
 Hs3/wAf/RmcTr2lMl/0YJaf/fz9kcDkDvRk8Ht9nK4l13DwZsIfYNuMM/TK+gm3i
 wVCtBln13M4tEfAO2haLuafXYj+neeSVYa9aZEL2qeHSbSgci7edRm6eJ4mQH1HC
 R8lmg2d35kwKJYsgTp3uukREobVC3HAzPJhKYB4m88jae+RJZSiXh1q/vIybFqq9
 df7dM34xRSjIcI1URwdreql5+t2lOGODWquwHvXKn4SPxeV9+CDfT7vFvY72wGKT
 r0IQQvWAj+LBD8F5ixEVowIX4kTTMnftt5xuWWsPr96utjvXL0109qVb4xQDENgD
 IC7PwBVlyv1bIKDvMzOAihaml2uaIA==
 =5/EF
 -----END PGP SIGNATURE-----

remove extraneous check

Alan T. DeKok at 2019-11-21T20:49:07Z
Files modified:
	* src/lib/util/dict_util.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fe833e1266951bee735fe0ebf449a7381c2fd6b2
====== 
Increase the 'nasportid' SQL field for 'varchar(32)'. ref #3141

Jorge Pereira (via Alan DeKok)@2019-11-21T15:20:38Z
Files modified:
	* raddb/mods-config/sql/main/mysql/schema.sql
	* raddb/mods-config/sql/main/ndb/schema.sql
	* raddb/mods-config/sql/main/sqlite/schema.sql

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9b55e6137895d9fb6f71655585ee749f059e71d2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3Wkb4ACgkQfQ55zXdi
 Hs25Hgf8DFKCNuNsb7Ac0MkxF/E2j766EwlEeyU+59O4wvEyKz+HsgGvmx5M4CxN
 6cy8X6QOxgQHi9iMJ9O6egeDn7bzFeXfAjQfbEHddv5R9II/bv5wlUyTwF5Oa/Cx
 4CyDVFn9AvrSk+g62uUscqH+Kkyejo96LzQz0pLdle1qm3xKVlwi5Ul0y9fzC1/q
 62kj0F0Y0EP9sy9VYdU/urJfS9ndT+GDluRTdTAI19d01wZEameA0Tp02g7wnkCH
 mBT/WT8qSrXz5OMT7DMqc/VTck6xl969SRZaPkhN/9LlED/Zc/bY3sDR+t7RAVbR
 AOp3diLtZtXsNvQHPHybrJUmjTioyA==
 =cB/w
 -----END PGP SIGNATURE-----

always call protocol-specific decode_value, if we have it

Alan T. DeKok at 2019-11-21T13:31:42Z
Files modified:
	* src/lib/util/struct.c

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


More information about the Freeradius-Devel mailing list