Commit report for v4.0.x branch

announce at freeradius.org announce at freeradius.org
Thu Mar 29 02:00:02 CEST 2018


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

======
We always store the heap id in the struct

Arran Cudbard-Bell at 2018-03-28T19:50:12Z
Files modified:
	* src/lib/util/heap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e6122a7741486a943e60adddd378e763815ed233
====== 
Doxygen

Arran Cudbard-Bell at 2018-03-28T19:39:34Z
Files modified:
	* src/include/libradius.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1a8275b6ae935f5395b6c24575bed1c5fdbea490
====== 
Add talloc type verification to fifos

Arran Cudbard-Bell at 2018-03-28T19:14:56Z
Files modified:
	* src/include/libradius.h
	* src/include/rbtree.h
	* src/lib/util/fifo.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/cf715e0ca780fac6bd8cf9bee69913985c1b147c
====== 
Not needed

Arran Cudbard-Bell at 2018-03-28T19:13:43Z
Files modified:
	* src/lib/util/heap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c0867dc6e2d5644ee43b1e8d000d63240922fe2b
====== 
More conversions

Arran Cudbard-Bell at 2018-03-28T18:55:15Z
Files modified:
	* src/main/radclient.c
	* src/main/radsniff.c
	* src/modules/rlm_cache/drivers/rlm_cache_rbtree/rlm_cache_rbtree.c
	* src/modules/rlm_csv/rlm_csv.c
	* src/modules/rlm_securid/rlm_securid.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bbb18c971d0341a822419091d0d8ea343604ecc0
====== 
Missing uint32_t?

Arran Cudbard-Bell at 2018-03-28T18:44:39Z
Files modified:
	* src/include/heap.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/96447907f8073e8b02c32233cfa6ea3358677ab4
====== 
Talloc type safety for rbtree

Arran Cudbard-Bell at 2018-03-28T18:41:16Z
Files modified:
	* src/include/heap.h
	* src/include/rbtree.h
	* src/lib/io/network.c
	* src/lib/io/worker.c
	* src/lib/util/event.c
	* src/lib/util/rbtree.c
	* src/main/cf_file.c
	* src/main/client.c
	* src/main/dl.c
	* src/main/map_proc.c
	* src/main/module.c
	* src/main/state.c
	* src/main/trigger.c
	* src/main/virtual_servers.c
	* src/main/xlat_func.c
	* src/main/xlat_inst.c
	* src/modules/proto_bfd/proto_bfd.c
	* src/modules/proto_ldap_sync/sync.c
	* src/modules/proto_radius/track.c
	* src/modules/rlm_cache/drivers/rlm_cache_rbtree/rlm_cache_rbtree.c
	* src/modules/rlm_csv/rlm_csv.c
	* src/modules/rlm_python/rlm_python.c
	* src/modules/rlm_radius/track.c
	* src/modules/rlm_sigtran/sccp.c
	* src/modules/rlm_stats/rlm_stats.c
	* src/protocols/radius/list.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7051cbc4d6afc4eca27f8416c3fa977c4f981a8c
====== 
Check the type of talloced heap elements

Arran Cudbard-Bell at 2018-03-28T15:52:13Z
Files modified:
	* src/include/heap.h
	* src/lib/io/worker.c
	* src/lib/util/event.c
	* src/lib/util/heap.c
	* src/main/pool.c
	* src/main/unlang_interpret.c
	* src/modules/rlm_cache/drivers/rlm_cache_rbtree/rlm_cache_rbtree.c
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e212b188aec7733e7dd19cd8256d94bf0f3712e6
====== 
A heap size of INT32_MAX elements is OK

Arran Cudbard-Bell at 2018-03-28T15:51:41Z
Files modified:
	* src/lib/util/heap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a8bff42b79b87b2877fde2d9e465d45ef1310764
====== 
More type fixes

Arran Cudbard-Bell at 2018-03-28T15:45:02Z
Files modified:
	* src/include/heap.h
	* src/lib/io/worker.c
	* src/lib/util/heap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/547857b6ab783c4ccf3326fe25c915120dcb98ba
====== 
Check for overflow when expanding

Provide errors
Check for realloc failure
More type fixes
Formatting

Arran Cudbard-Bell at 2018-03-28T15:34:34Z
Files modified:
	* src/lib/util/heap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/24ee006d41c7fe31ebc9f12909e185d321ca0cef
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJau7L5AAoJEH0Oec13Yh7NFd8H/jRR9sfV1j2P/Rj3Eu9Ggc3m
 J2vNyPHKmXFrLqg0Td7ZyjfRQeRlXVjaolsPm3f65FLzOlsUYZjQ93sdV6sBhQQn
 MX1XYTtKmYTyv1JuF5Co04Sx7C3i6P7I11kR+SlyOj+5etjnmrzIZrVximt0AB5Z
 fCzNN+zlmGDGuDWX5ZxlPCuXdnQY509xbMnctu0RMlfISmiOdxSBAzJwWVRVaMA/
 lVXCZu/3IAyke/8iZfjoNj0CQdksMQedbP3ptJPyB20j3vWNJxBQjhLMuKKgYoQH
 +1NYyBa8wmpj+lLR6oJin9x02GXgam1lQVN11UAgh+XNJnn42ysLp7AkoIovTvw=
 =XDO9
 -----END PGP SIGNATURE-----

allow moving of only one packet

Alan T. DeKok at 2018-03-28T15:21:29Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/23da1a0a403d8158b2574bc1baed4913ed784a8c
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJau7L5AAoJEH0Oec13Yh7NtnkH/0Da5yOsYvYnrElDSoB9IJaR
 cYYvZSk2aGoWmsnmwh93k1BZ7IvbIxyCli0P1ggxwzVRQrLKMBM+C2YNudHfjaVl
 VBzwpobHY38kLFy3IFxtf/mDcOBI7aWAsm7jq6aK648n8ypBF0Rrtz8in1ZwiDgn
 BGcYAbfDkfE6wubK0ofonuacx2c9xMfIeS2gWoxn1eBQwZJlSxLA3jHmhabxu6dg
 CUKJTezEC8UjP8KIm+CiYbLGO/++ySGFdFJ+KxzEom01cwTmo+0iF1d/0Iod9FqR
 Oemv1/cV+ZSj0CtLZtY8OUxSK42Tl0B1jenryRLrl7WH9EySB54hr1RBsuPNkNc=
 =vzTo
 -----END PGP SIGNATURE-----

look up address, not AF.  And print descriptive message

Alan T. DeKok at 2018-03-28T15:21:29Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6a71da2b8754ca132dd8be7873d2940803f535ef
====== 
Change how fr_heap_create is called to allow talloc type validation

Arran Cudbard-Bell at 2018-03-28T14:48:46Z
Files modified:
	* src/include/heap.h
	* src/lib/io/network.c
	* src/lib/io/worker.c
	* src/lib/util/event.c
	* src/lib/util/heap.c
	* src/main/pool.c
	* src/main/unlang_interpret.c
	* src/modules/rlm_cache/drivers/rlm_cache_rbtree/rlm_cache_rbtree.c
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a61c3febf2ce279a6069f3477328b44475d36777
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJau6PVAAoJEH0Oec13Yh7NPCAIAKIb8iuHeO3uYXpNASp7zlTx
 6ephQgYnAEslL/VhktFYtnhqmlIxSOaQn5JziT/LM3roL2si5gYIWeFjWCs4y+TA
 SdtEL4DVzSqdI1CnCzAj9qnF1j62+l2ODWk8AgX08ttCX2HIFVbEQ8apovzfD2gW
 6PNEbIWN13X5x1ywx/S633sUiv2e8VsAMT1K59+ACkwcGJivOup17gWjT0tKcu14
 kgX86yWvW9Y0rzY2UwSXjQ7vU5l4Yh5EpI9eniQwtg/PHHs2bfsebo9+b53hK4QP
 hz2lHl+7vs15MY4RQcbG6EpDmDyKH5PeH2sGDDU6L2p0W2HOk2MTq76m/lWfS3c=
 =k/U9
 -----END PGP SIGNATURE-----

make heap_id be int32_t

Alan T. DeKok at 2018-03-28T14:16:46Z
Files modified:
	* src/include/radiusd.h
	* src/lib/io/channel.h
	* src/lib/io/network.c
	* src/lib/util/event.c
	* src/lib/util/heap.c
	* src/main/pool.c
	* src/modules/rlm_cache/drivers/rlm_cache_rbtree/rlm_cache_rbtree.c
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2739ce121b57d771bfe38fa8503ddf274171a2a2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJau3ZHAAoJEH0Oec13Yh7NMNEH/3G50SBEeCdrWSfflH+LS1qJ
 x8SELtTZruFaVFW5RJHakZ3m66hMZfVfYwIWUh12pd5ciKafcrpIsNGUvaOqKZLG
 w7zaVLDm/8SfDA4HV9hj+Mmelq3wUw0ViEKljKYCHbC1+z288xPX64LYNUQmXe0G
 wU/p2ZE06Ysk46f4A/mQ7znQt2cGwmFni4yrIVjQQA7YjsB+071UgCBS73euVi+G
 afBs5QdLjhf6MrswonW2k01oFIPbZ8DegNzrsNPcif7i3E3Q8fdWrZV2/o9CEoVG
 X70WQXRI05m6fB29x+++cPor7kNDhfJ6z/wFyA6IJKY2rEhOXiW01elavgpPstc=
 =zWHn
 -----END PGP SIGNATURE-----

clean up dynamic client expiry

- we now have idle_timeout, not lifetime
  - this is because dynamic clients can't be connected (for now)
- simplify and unify the "clean up packet" code
- don't have an "expired" flag in the socket.
- don't have an "expired" flag in the client.
- track client->outstanding only for dynamic clients
- decrement client->outstanding only when the packet is cleaned up

Alan T. DeKok at 2018-03-28T11:02:31Z
Files modified:
	* src/include/clients.h
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/478de6a0f71de0b253701fa25399f6e0af44cfd7
====== 
Add heap_id field to fr_pool_connection

Arran Cudbard-Bell at 2018-03-28T10:57:00Z
Files modified:
	* src/main/pool.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5970cd904273a65dddcdb34fa1b14fd036d64bc9
====== 
Take offset of correct structure for connection pool last_released/reserved_cmp

Arran Cudbard-Bell at 2018-03-28T10:45:59Z
Files modified:
	* src/main/pool.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/50f5aa37f0f985b97278c73c17892618ffd8b322
====== 
Make sure the field storing the heap_id agrees with the rest of the heap code

Arran Cudbard-Bell at 2018-03-28T10:45:34Z
Files modified:
	* src/include/radiusd.h
	* src/lib/io/channel.h
	* src/lib/io/network.c
	* src/lib/util/event.c
	* src/lib/util/heap.c
	* src/modules/rlm_cache/drivers/rlm_cache_rbtree/rlm_cache_rbtree.c
	* src/modules/rlm_radius/rlm_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/715a105f143ac2f84fa939adce9fb9683fbe5c3e
====== 
-- 
This commit summary was generated @2018-03-29T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list