Commit report for master branch

The git bot announce at freeradius.org
Thu Feb 21 01:00:02 CET 2019


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAlxtxtYACgkQfQ55zXdi
 Hs369wgAgmWxLwlh3GNL5Qnm2XCD7PvXbv6/UBIVOkTb4hNeHq5wOb5vMyTL90Kh
 0cf0Pi7Qb14SNxr5iXStXZKWpN9CH5iz/T/N8cJ7JCt9NKT754Kn/gI0zLYuHSG1
 NVKWZ3BDMT4y2AByL3FM6LCmfOIQtvo4RY/Qb3ZxMgmo/ilu2EYftcPkdQAZq+j9
 DedIhCskIuyvnIgWIGhYd1rxvWX4VHKhUElOYiVh9fswy9PxKww5J+YSRJPsjUO7
 u6lWr47TAH2ejSaqAutYVSGhh2Q4FFyLBYEEJ2ZrOkbEaDYzNjKxnVOaiHAROP1/
 SvFddyGA7wDjihgFSpC51kBTfe5KPA==
 =hYuU
 -----END PGP SIGNATURE-----

apply the most specific thing first

and actually assign an IP address

Alan T. DeKok at 2019-02-20T21:28:30Z
Files modified:
	* src/modules/rlm_isc_dhcp/rlm_isc_dhcp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e86f7042804adaf9721bfaac141778f0d349640e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAlxtseMACgkQfQ55zXdi
 Hs2mHgf+KbUb7WTMbbMg1zroMG1UI79EkfYmd3RbwhuN4qkHlRW//z3rc68zAQgJ
 vH89CluTVXinRcypJuAXwYnu1aNFVFLjn/7GHyik6dCSHOZw8RAUpnIUIj6/uCei
 dfEMab68RhFQlaRI3Jqt8rVTnFZYnzeGF6TQBq4SUxlBjXyLS7TTPlzQpsBih4Z5
 0CUXBFXvZt7iKOXrCAPt8uDLXk3KdGspPZGbe5MdssZPC40wmxn0dOV/2HxAaPlL
 6KIBWgiNe2oTFVCZM+8MR5zEam7Kzpo05dJSTD8SG+u5WuHiu+GK/CEv622qo0H1
 K6jTRay56J4jnFC2AQSGiliyj0sP9Q==
 =+sGu
 -----END PGP SIGNATURE-----

no need to multiply by USEC

Alan T. DeKok at 2019-02-20T20:00:27Z
Files modified:
	* src/lib/util/misc.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d260c0a24d2f35d8dd3e60a50112b649bcc7cec8
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAlxtnHgACgkQfQ55zXdi
 Hs0YGAf/VU6aeQMaUVE7dhLpCliM6+0NDG6PX+WXRSm3oXoH3rHSkfMxtYx/vlZx
 +gT2B5QbHn4KR3E7p4HzQkHv8zt6jT9tvsfBmTFko4GgraOftmAkyxOt344LM4Ri
 /hD5GwgpxYmHQp+ovQdnZVjgIs9C5ukK3o6n6e7KGPAHa9BThpSrY/opApUoGFPk
 BWbCKpeJjbxsa3gZXBwVo3qd1dD4n/6D1FctMKS8aMUXf/4462m9YMn1B+mikFNy
 cc1H+dkgX/wssqMmCtDyFjZ5U50nZTBIElsNju9v2z5GNzTcuFYAjHq4ILvT9bSw
 RU3jmezHLiJdmfOsWwvQjZRNPTiE/A==
 =Hn6R
 -----END PGP SIGNATURE-----

documentation is useful

Alan T. DeKok at 2019-02-20T18:29:04Z
Files modified:
	* raddb/mods-available/isc_dhcp

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9181d0967185ac43b6475c7581ac5710467f92e8
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAlxtlZYACgkQfQ55zXdi
 Hs0Q2gf/blZPiOeWF/qiIdR/vNJQPK51mDg/FJhPhMlJGPOXl7nHy0KdgYMUq6nc
 3x8BTphXe4lXRVcWeXFkWOUZzw/fVFqgGtYhObzA6i51F6viMGEHRTKeW7+t0qWY
 ThWrsCyZSRsXX+JBXp4isleP+/orLvpn5FqzY7/8ObsXrvcyrEmxXGUgqnfIhMqS
 NpOaEmdegDakLmicmXCJc1lZlm2iGNxvbvzJdl7/VQPl088mhmqObxl9UKOB4Z/8
 AIY9O27RzoJJXjEoau7y5uByEOCtPv2Xe6koby3csg3gTcLt8mGdW9q/huMSm79o
 hHkmhpCdc4ZNwiC+68xWwNM05WK1Cg==
 =tO6/
 -----END PGP SIGNATURE-----

apply options from the bottom up

i.e. if an option is at depth N, and the same option is at depth N+1,
then we apply the option at depth N+1, and ignore the option at
depth N.

We do this the naive way.  By adding options from the bottom up,
but ONLY if the options don't already exist in the reply.
i.e. adding options *after* we've recursed into the child
sections.

This ends up being maybe O(N^2) in the number of options.  But
the number of options is small, so oh well...

Alan T. DeKok at 2019-02-20T17:59:49Z
Files modified:
	* src/modules/rlm_isc_dhcp/rlm_isc_dhcp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/14a1c8ae7b31b1769a5adad870af21f8807bb1d5
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAlxteF0ACgkQfQ55zXdi
 Hs0FMgf+KzJO24MHcCmtF6BJqp35i+VVF1bmVnatMpz9Or1EGVV/fgkq0iJtqrum
 vK3W3cWPH1ltXvmeql+LD69Nyv6z+hxKrEYyOsI12f5mVXnmNg7z3MmkAv/fweNs
 g2vhNkwcsatwtoVRE/QvO6CjXMbn6DbMtNlW006Z2y2nKIzmVO1NC5x1Mxf/En1A
 vHvS+OCq4McvuiP+8w5ewprJ+Qi91SMoO3A5ytQ/E44eVoDCr9saZqRq/9JxT7an
 pDIIVj73JmMajyA3fnaGx/U7msBYap5Y0O/SlT8YnsHacBvQ6L6rblG8qiiuTjqq
 0u4E6W0WPThzyjQNzKWl9IlWNxGQdw==
 =16P3
 -----END PGP SIGNATURE-----

add client identifier hash table, too.

hosts are first looked up by client identifier, and only
if that doesn't mactch, they're looked up by client hardware address

Alan T. DeKok at 2019-02-20T15:54:35Z
Files modified:
	* src/modules/rlm_isc_dhcp/rlm_isc_dhcp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/19b5bfee2fc6b263d04135a5c81f7bd51969b0d5
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAlxtZBwACgkQfQ55zXdi
 Hs2pVgf/dSAz3vzYwAuim0EpkCRNc/VvLFKWyOSVuZE3Z9Y065SfW1LP8zRSbXMB
 QBJr8U7XC0zUy2v31CIfsIBjThJAXSYbi2Q2s2dVmT+nq1GmFH7ukCDJemD3Cjcw
 m0HGqHgYTG3OtgWtvrAn4NVFloF+EMHVg77q0z4H4IayHRFxiOz8bNNDR5UNl6Po
 15JfOQ5ubyDE8BJuSx8CGPrvuLtgPHhHj57DP8DoPlMK6y7cajmiue0npWdRK/AF
 oWDza8VSZjpZbypsnvDzZ8fix5KolWvBlg0ACe1CsDuOk+7UesKGIzO2ntNUD5AP
 cLMtNk+43TMWFHmHVa3I0Wl4Ologdw==
 =DLl2
 -----END PGP SIGNATURE-----

split address assignment from option assignment

"recv Access-Request" assigns fixed IPs, and only that.

"send Access-Accept" applies the rest of the options

and added some notes on how it *should* behave.  Right now,
the behavior is different from ISC, and that should be fixed
as much as possible.

Alan T. DeKok at 2019-02-20T14:28:44Z
Files modified:
	* src/modules/rlm_isc_dhcp/rlm_isc_dhcp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/34c350fdbc45a9f7769e5a48398d96e68bf7c4b5
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAlxtRxwACgkQ/6TVgp+2
 18r5Mg//a0YOnuZwA5SRg6tjtHH7wSYT+BEvUSPQRQz6MQklAj+CynFvkeNokumf
 W+aXZqbY2ZqEVjmJA+8xQu5UwJ3R+vXbdAQfarb5+YQru450VKFTa4TgAWbIT9Od
 dLjJEvL/B2l6MAfc1wN4WFh5F8NWqAPEI6BB1xs9II1h+s6xQlQS0C6xiJzlJQ2y
 7ArdBjTE8i4MbmGAczZp1xe9Hn2IIvcC9mvHuN9a8cnTVs/cQhm6A0sZNHXM9iSD
 MsUeY3PxqggGFNTi9yifkyyI+BcFLOBVmRIQKe6txkVytvL9kUvMvlzTP2i/7W2T
 +/tEGR2IRsAehuZXu3PLR9dQ8uOR+DWfKlR4j3NVrPLqaWoRv+Ecd3qkJ1ha81NM
 VXDKI/JfHeSADcbhhf0yIC4Ha07sC/km+SvJk9QWgbz/QM52kFB8OXFqwKr1yk1N
 zODTuhgwhqwhAAtLqVeQF5RZq5ANuGxKTyWhf2pBg5xr3ODUp+xhBtOiOlFcKXbk
 yrCZIP13g7pGx1zgB+m8BAXkox9SMzdM770YzVJA4EtT6oPSzPVi59oeZyXo3MES
 V4B8/py6YDr1DlgkqvSWibbaxRkyDUhrTvMx1tHgkQHLQfCvext63BwdQn+zUNWR
 LL5BCBc6jEnSqVQzXq2Ez8BPFZurH54XJHWITHO+aVkQTkssA2E=
 =/kB+
 -----END PGP SIGNATURE-----

Avoid spurious error messages on acctuniqueid conflicts using PG's 'upsert' functionality

Arran Cudbard-Bell at 2019-02-20T12:25:00Z
Files modified:
	* raddb/mods-config/sql/main/postgresql/queries.conf

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6dd1772f93ab1c134324e95fa9f1b472f50222e8
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAlxstNoACgkQfQ55zXdi
 Hs0dpwgAlydduZbweZPoEzHVCtR5A9yhbZo6Rxup27T8yh8T/oi6z7XY8BqwzF8P
 SvUsNQwboEK69Gl2OM5WF85AVpSiMwQ09WY3haQ4zd145HnlA8wLg2UxDJqPx0xs
 pqKzFLZOq3K4H6YBqmy6wPgdHj48W2HganZbT/yD7reA6+lWj861EuO6SM++mUEn
 V1ilm/t1dr2Lt6fRQm+1dmPKQGu3ovv+vRCz5D8//v43LVbA2z5I8vTjslxwS+Gx
 hpnkNK5OF4nVTvEu0/FSbG1VeiiUQASyzm5quGFg95blyqLXRrSJlUdigWUlyp5C
 yLLH9EZS2CiZIxftUJo8cRZ55huGyA==
 =dPNC
 -----END PGP SIGNATURE-----

disallow nested statements

i.e. "host" inside of "host"

except for "group", which is fine...

Alan T. DeKok at 2019-02-20T02:00:35Z
Files modified:
	* src/modules/rlm_isc_dhcp/rlm_isc_dhcp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bc955ddafa13ca99cd008e3aaff9093e47d14133
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAlxsjSEACgkQfQ55zXdi
 Hs1jhAf+OTM3Ye1qUc0OpyO93eMmfyj4Zb9+SQCOgrCHP6pX2WNhcE0ZU4rPwZmY
 jL7gY/qPuvEJkQRS4U4TIVd3ZHoL8sxXKO30A7+j45Nnh6WZFjjrb6EGSkFR3fJ9
 lebtA7JpwNy0RWXwV8c80cFuNRqk6fMj1zndTGjjnKDEWq7HVF85eff05Up0cpB6
 8eQzNfjiq7SbpggyQd6sMU+ASy0tv3D7S62tXO63PLU0OZmZwNL/K1XZbK0F3Mrf
 neG19vqYPjHw6Gkh3yAlys6ei6TA5srcIIn8CRuMG1O+JU6AtwJ6WegOxKnYdmds
 57TqHAJeeazbXVCx30ByBHjJU54fdw==
 =Oe/T
 -----END PGP SIGNATURE-----

parse and create subnets.

We're still not *quite* sure what to do with them, though.

Alan T. DeKok at 2019-02-19T23:11:12Z
Files modified:
	* src/modules/rlm_isc_dhcp/rlm_isc_dhcp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dbd30dfbb80fab9e7210bddbe50382143b037fe4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAlxsi+UACgkQfQ55zXdi
 Hs24egf/THIRA9tIrrmz2JASRAW58TadnGnmsOop7adrTqBL58FL05Ov3rEVactc
 rdNE/ogECNf274AXK69swGmH31JpoMjwpd+7jwiW1Lts1Pv+BHdTiBqiLavC8al4
 O570nTnOtJy6Kr7SWuZeVD5eW1gXMti7174aloZrpH8YU7UD7uUlveZpIoDensaj
 6udo451iz9U0G8hwsDQ4Y+auzqPDVH/pT27eB+re4qJUC3XPxEOAwPrpGmSN/cD0
 Fmo78xkZRthUGnLycS80fQACZXN7It2OzB2xrdLxBaPG2+bN7sIWCTtHVkLtqNVz
 QK2szvehbMb0KPjM5X0eSeitUXkUwg==
 =7IL4
 -----END PGP SIGNATURE-----

allow "%.*s" for strings

so we don't crash when using them.

Alan T. DeKok at 2019-02-19T23:06:08Z
Files modified:
	* src/lib/util/print.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/24a318ca7fa9def7771f2d7973fd959ddcbc35bf
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAlxsQ0sACgkQfQ55zXdi
 Hs2NlQf/UHlOJ04pDbFibqtFunygvQH2gBNeiIbFy50rA5zAeSSAUiP8MgE6mUGu
 mtkJzronatSPaA0UbzObaFjx4Fe+vPEDXSfvCu3aE10nu/e6sB2M70es6nee3MpJ
 QoXyHuB0oA4YYddw0mjFwcXeQ4I/egYinn8dZstNl2l5Sh6EPNqswHs8E6q4e34p
 MJUXUcsUcEw+/m1FifnvRlt7uHaDvxQmd/aD94NoU8xDcW7DMFjaIIjjG4KnKfbU
 L7a35K7uc5FicFAwwXQ3+lVCb1c1G5fFNIyYmLTfhpT+q9Il4cmNdzX45GF+UYoY
 Jukkr/SZR49PLSaA6bW3mmzrEhD5tg==
 =ctHJ
 -----END PGP SIGNATURE-----

allow multiple arguments for options

but only if the attribute has the "array" flag set.

We still don't parse any of the more complex option codes,
like the ones defining new attributes.  That should be fine
for most people.

Alan T. DeKok at 2019-02-19T17:55:35Z
Files modified:
	* src/modules/rlm_isc_dhcp/rlm_isc_dhcp.c

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


More information about the Freeradius-Devel mailing list