Commit report for master branch
The git bot
announce at freeradius.org
Fri Dec 13 01:00:02 CET 2019
New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3yw6oACgkQfQ55zXdi
Hs2FgAf/QUebv7E+Vw6bXn1IppBXEW9WwdzIkse+TM5ZLAcbI+Q3sXvY6gKHP8hh
Cje45J/QDOpbgPvW9asu/F5yWCqUpwCoovUd66eCLymkRbDGNusjgOQIZtiEPHVH
OgJ25dR3zFMwt4A40uP/oKsM9T9sBkYU7VWlOJWNdycHzUm8z/FqcYK+PQEkULzC
V2oJxnwDwzDvEju9WwNbShRWHsptf33WLLeM8tw85JPsULbTZOSfkzyTESucV7MT
oLvBvtpI3036nVXae24bwtCY/CGpCKNIqMjPKlrx0V/7JyIidsA+0XtunpkCqv+B
7yD3gzYlTIPXamzrPDO4YnPm/qRwsw==
=HCS/
-----END PGP SIGNATURE-----
remove Response-Packet-Type
now that it's unused everywhere
Alan T. DeKok at 2019-12-12T22:48:09Z
Files modified:
* share/dictionary/radius/dictionary.freeradius.internal
* src/lib/server/xlat_eval.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2d98f2faf3dd90170cd750228c91b1ee0c32f324
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3yw0oACgkQfQ55zXdi
Hs0yoQf5AU9ef8me8VokctKyBtvkXaNaHLD+efeIiElj41va5TvaztZcTWfUVl5E
NHTPM9NkXTcwY36rxwA3AnNZ9xdfxFo8VUs3iTCxEJwNomhJi+hCejXL9fCdcg7A
xSvdf3zKPgaVu+hgRRu1iaY6A4Fp6AZppibYtzTD/EhHqKGLAPTPIACNDnyePQkn
1D/TIbfE9f8B+1GqrzFzl3AUcDhIF1cljsS4CGigyL+jm+AWME4oHwz0KDtXvsDM
vNKnsBykZ0r75QK+Ycq63uy55qXY+48YTAa1VlouKN3EP3YPRGAbWs5WdcdB84R6
1sulqUyodMHq9/TLsSQLPneojrRdBA==
=4KHu
-----END PGP SIGNATURE-----
remove Response-Packet-Type
Alan T. DeKok at 2019-12-12T22:46:34Z
Files modified:
* src/bin/radclient.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2f573249ca93761a832cb8732c3c7468f0869e6b
======
The 'Response-Packet-Type' was replaced by 'Packet-Type'
Part of a9e875e74af4b0407fd57cf350fe8203249e74ed
Jorge Pereira (via Alan DeKok)@2019-12-12T22:46:03Z
Files modified:
* src/tests/unit/condition/base.txt
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8d25acee8fc835b0bef6373fe249ea394805da39
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3ypOUACgkQfQ55zXdi
Hs3EKAf/U4xxX5n2jEjRcW1dRmSOe+7+DBlbfBPKu/najRm1HS5AyEXi2hP+226y
lBWU2tnyYhylKHWN10PHwJM8w31HB0WI5lqXesE65Wd6MZtc2eVxhWefMf3+WY/H
ozmXl/ZGRHGukvxe8fkrgalMOtnmrNJeEGGg5ZaPA/q5/ng7L+J2LGEscznTZbwv
cFbiICWJDlsiJBhy9l6jMpAcruQDpfVFGakONqlo5amSnCCY9ZQp8ZAHYgOPKnWS
BCJ5jbTai14RpYSqYsaVDhuG3/QeqvO6tDMs0IdEscg5lXV8pqmupN8jZynH84za
GAiHcDSJXRI2FDhC6gvtKh8v7RPFVA==
=2dRc
-----END PGP SIGNATURE-----
document Response-Packet-Type removal
Alan T. DeKok at 2019-12-12T20:36:47Z
Files modified:
* doc/antora/modules/installation/pages/upgrade.adoc
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bffccb745d0bd9f2caf2e50b4689e85ad7b803e8
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3ypNoACgkQfQ55zXdi
Hs0lLAgAllBmJKLtn0NVGjGXlG9gy9trwWdSjaSfkGVNVUp2sglQ12LQqW/W7Y5G
5tpxGdYB69sGBpmKrp6qpOrl6Sw2iCTDG6EGVEGeM1K1+X/T7BAW6+tvUNRx/UdA
iHfL4r7x957tn7/Xk5m5AfdBe8NlbUgz4IbgTZ94xLF3MU92OGA7YhokMtKYKu7g
ScEIKX2p1wcD7FNSulz3dzrrHJmIA/hfibFqjPO7xaYMShr3gKarN1xeLavRfA9U
Teu91CNDF4BK4C2x8csFt+RaKOvhdtnl7JetM+L2ZCNAX9EAnSi8EwlaiZIPN/4x
4tNWXsLgYBQWQpleU9X9ksJmV06xTg==
=wEwa
-----END PGP SIGNATURE-----
remove old things
Alan T. DeKok at 2019-12-12T20:36:35Z
Files modified:
* doc/antora/modules/tutorials/partials/common_control_attrs_sidebar.adoc
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a9e875e74af4b0407fd57cf350fe8203249e74ed
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3ynqcACgkQfQ55zXdi
Hs3c9wf9HRoyKL04Tjpm72TBjaroJcLXHYDe89L7jO3uXHd0vNmrgPfb4mFilHwY
PuzRFN0Uo2sIHIIQVAb6vYSomRDAxbOGTODKmII31FadQGO692oTga3oFAbpc6Lv
u8FSKwuzTjR2H4CCrrmoxAoGK/8IHK5nzPSp8fhDlLyf9SLIz4jIFxl8AGx/XjSN
2ZBq7dw0glbT9nsc3Xn78NEWYKiAmSNs/5rfBacemequ8ivncoGL9ofy99ra4Km2
5k95SYquoPv6PFggtazGZDwQ0i9HDq0lR6LWZTOUghphcrNjSl3Jp61jybYWe3LD
nMVOd1eaeyniSmkIuVW5RIfLerMH8w==
=2BAj
-----END PGP SIGNATURE-----
provisions for running many tests, one after the other.
in order to stress test the interpreter
Alan T. DeKok at 2019-12-12T20:10:14Z
Files modified:
* src/bin/unit_test_module.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ce8b613a643e362335379f7d8f6d102621e05de2
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3yldwACgkQfQ55zXdi
Hs1PYQgAohnDfXNlZndrhf3LVdWl027PGZhisNhox9l+CNjdK4WS/Hz4puItWx5O
WjJHDFrk6+N85c5gTxqBFPLtZvXKHQ6KZJ+WlHUoGaVe29B8B8+I2CFLJOHS+kQn
FLVxRRzKiYFNOeiMLWgqKDMXZyw98HvIFamftuo/ym7LZJ6r39AeJE9+pxDteAn4
pvX2Imw4GYrmHfXBB5yN72je1mhuQ9zwmok3i08CqwVBC4pneCPwjFvZyQmOrTyB
WIuETYOnZr7GbtRSJ4Hdup9axjIiPx0AUmvgNE2vloCpHiAFfVTLRQOdKhShc82T
EcIFk63jZcfIvsA74QPCYWilFJTgVA==
=13f7
-----END PGP SIGNATURE-----
switch to use Packet-Type for the reply
instead of Response-Packet-Type
Alan T. DeKok at 2019-12-12T19:32:43Z
Files modified:
* src/bin/unit_test_module.c
* src/tests/auth/chap.attrs
* src/tests/auth/chap_header.attrs
* src/tests/auth/digest.attrs
* src/tests/auth/md5_password.attrs
* src/tests/auth/password_with_header.attrs
* src/tests/auth/password_without_header.attrs
* src/tests/auth/user_password.attrs
* src/tests/auth/wimax.attrs
* src/tests/keywords/default-input.attrs
* src/tests/keywords/foreach-break.attrs
* src/tests/keywords/foreach-list.attrs
* src/tests/keywords/foreach-nested.attrs
* src/tests/keywords/foreach-regex.attrs
* src/tests/keywords/foreach.attrs
* src/tests/keywords/if-regex-match-comp.attrs
* src/tests/keywords/if-regex-match-named.attrs
* src/tests/keywords/if-regex-match.attrs
* src/tests/keywords/ipaddr.attrs
* src/tests/keywords/ok-return.attrs
* src/tests/keywords/pap-ssha2
* src/tests/keywords/return-group.attrs
* src/tests/modules/cache_rbtree/cache-bin.attrs
* src/tests/modules/cache_rbtree/cache-logic.attrs
* src/tests/modules/cache_rbtree/cache-update.attrs
* src/tests/modules/cache_rbtree/map.attrs
* src/tests/modules/default-input.attrs
* src/tests/modules/eap_aka_sim/sim_xlat_id_aka.attrs
* src/tests/modules/eap_aka_sim/sim_xlat_id_error.attrs
* src/tests/modules/eap_aka_sim/sim_xlat_id_sim.attrs
* src/tests/modules/exec/async.attrs
* src/tests/modules/exec/backticks_list.attrs
* src/tests/modules/exec/sync.attrs
* src/tests/modules/files/doug.attrs
* src/tests/modules/files/fall-through.attrs
* src/tests/modules/files/files.attrs
* src/tests/modules/json/eval.attrs
* src/tests/modules/json/parser.attrs
* src/tests/modules/json/quote.attrs
* src/tests/modules/ldap/acct.attrs
* src/tests/modules/ldap/auth.attrs
* src/tests/modules/ldap/groups_rfc2307bis.attrs
* src/tests/modules/ldap/map.attrs
* src/tests/modules/linelog/linelog-delim.attrs
* src/tests/modules/linelog/linelog-escapes.attrs
* src/tests/modules/linelog/linelog-multi.attrs
* src/tests/modules/linelog/linelog.attrs
* src/tests/modules/lua/auth.attrs
* src/tests/modules/pap/bin_random.attrs
* src/tests/modules/pap/pbkfd2_dig_big.attrs
* src/tests/modules/pap/pbkfd2_dig_small.attrs
* src/tests/modules/pap/pbkfd2_iter0.attrs
* src/tests/modules/pap/pbkfd2_iter1.attrs
* src/tests/modules/pap/pbkfd2_iter1000.attrs
* src/tests/modules/pap/pbkfd2_iter100000.attrs
* src/tests/modules/pap/pbkfd2_iter_big.attrs
* src/tests/modules/pap/pbkfd2_iter_miss.attrs
* src/tests/modules/pap/pbkfd2_iter_small.attrs
* src/tests/modules/pap/pbkfd2_passlib.attrs
* src/tests/modules/pap/pbkfd2_salt0.attrs
* src/tests/modules/pap/pbkfd2_salt1.attrs
* src/tests/modules/pap/pbkfd2_salt1024.attrs
* src/tests/modules/pap/pbkfd2_salt64.attrs
* src/tests/modules/pap/pbkfd2_salt_big.attrs
* src/tests/modules/pap/pbkfd2_salt_small.attrs
* src/tests/modules/pap/pbkfd2_sha1.attrs
* src/tests/modules/pap/pbkfd2_sha2_224.attrs
* src/tests/modules/pap/pbkfd2_sha2_256.attrs
* src/tests/modules/pap/pbkfd2_sha2_384.attrs
* src/tests/modules/pap/pbkfd2_sha2_512.attrs
* src/tests/modules/pap/plaintext_with_dollar_0.attrs
* src/tests/modules/pap/plaintext_with_dollar_1.attrs
* src/tests/modules/pap/plaintext_with_dollar_2.attrs
* src/tests/modules/pap/plaintext_with_dollar_3.attrs
* src/tests/modules/python/auth_cext_compat.attrs
* src/tests/modules/python/auth_configured_module.attrs
* src/tests/modules/python/auth_multi_inst.attrs
* src/tests/modules/python/auth_with_shared_storage.attrs
* src/tests/modules/python/auth_with_tls.attrs
* src/tests/modules/redis/cluster_key.attrs
* src/tests/modules/redis/cluster_node_fail.attrs
* src/tests/modules/redis_ippool/alloc.attrs
* src/tests/modules/redis_ippool/pool_tool_delete.attrs
* src/tests/modules/redis_ippool/pool_tool_modify.attrs
* src/tests/modules/redis_ippool/pool_tool_release.attrs
* src/tests/modules/redis_ippool/release.attrs
* src/tests/modules/redis_ippool/update.attrs
* src/tests/modules/redis_ippool/update_alloc.attrs
* src/tests/modules/sql/acct_0_start.attrs
* src/tests/modules/sql/acct_1_update.attrs
* src/tests/modules/sql/acct_2_stop.attrs
* src/tests/modules/sql/acct_start_conflict.attrs
* src/tests/modules/sql/acct_update_no_start.attrs
* src/tests/modules/sql/auth.attrs
* src/tests/modules/sql/groups.attrs
* src/tests/modules/sql/map.attrs
* src/tests/modules/sql/reject.attrs
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/254b1eb909f01e6134eb3ef0efb6de83b31b504d
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3yhA8ACgkQ/6TVgp+2
18q/Fw//bsKzbnl0OZyzDUoqdW+YX1C3t7AF7eAw1tay4CBeKJjMI0EDzQe2RjKb
tnf+kxz7jpDfs+OiVEfN6PRv2GoY/R9IRam8VPr02zg1wxwwKdjPz40nE9YB5ToE
qGUV5i5X1L/ZfmwgYHa5CrcEeUVmXm3tK/D5h+GY2pDXP51Bsrv7fJn43BGlYeOu
gQaPZQfPHKUYiTtTmMi3emr2LrrxDURdbO77bSeAmltm6wmwXI9w+N9ZyH75ZwQx
V8BemkOvP3HyxpC3BaDSndhzsPK8CgQuJVCYEQ0UBpHHoB6OXnseTRLzg0toFl6c
7oc3DZ6p/Cjl+K/nlOm1FmdMQDnB1tF2+Ia0mkmfbwdxaj8Go7rcz7uDQEzQHlH0
/zrLZZvIsWel952le+Ni6HJxArIg8VkQgsd02mNp/wjeDCT5NcUtwlpDtEzZMC/g
qxdkwCMkOJxXVX8LBxMct3hRt5PvHlQyjXS68H7rAbDvqohZPuoYZd4KIJqf+D+2
PMGW3IO1XSzyzD2RpITV0NKwijn3zCcsE28qVETn24PtHEKok0EqenMMQTNPTM5a
LZ+/jCSqnsoDT3ggoobLJJ1qaJV8UMnXVhKtPXvE++zlCyRyDFDm/8eWxqm3aC5X
2q8N9nMwL2OYVFbCOWDPOf+Ev6zQOcLKRLrwpXCcikjEt4A+qis=
=Wm6+
-----END PGP SIGNATURE-----
Fix LD_PRELOAD
Arran Cudbard-Bell at 2019-12-12T18:16:47Z
Files modified:
* src/lib/server/main_config.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/020a6a9c761fa177f190c9e6021f814d7ec6e5ec
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3ygVAACgkQ/6TVgp+2
18pWHRAAnIOkrtZEyeQBseQcJ5B9p/5vHLhU97H03IKgSQBz/tzOv6LtD+MMfFRN
ZrP4QtcKLGxOChuNA/qVLuMKzffjR0QQPLTA8hopxGzORop57Y4+uLb1SEP2uCpv
nDruJaTVtqrMygms2EIRh6tDV+A6s6GjoTYi3tVn2hp5vI/iD4Dyz5Nc8wDhvxa7
atprMFwHtSKq7ECSJ8aPmzoqJCgN8exxdgQJ7QvpyJ83WNi6u+SrdlzL3iVpzzBr
QuRoX18Yok7o1gAhRy2xmswmDMDjnKfgqe7FL+w4PoiJKnU3+kjXr7byfhhu4mM6
2VVANcLVUOSn3azQbdfUkcZJ8Jh2ae5ZXw46xQxNoU2yrSQlSYkHh/bbhBHHbcbG
TWxK9yZOUfB8Jyo+BlrQ5l1eJG6U80J2k1uxNFFn9Dpx0TigPXBYEzoYHOTgedes
AZjsOFFzz/mYYQez6m9wrRoI3QqQQxNI6lDrFDS6ZUwHZ5iSw/pfsYgSYWkf77D/
PpImg7AI4nybXo+CpEMLJoX+1JXocVvL25o8u+esHQkCdzFHMQqo8AkuT4PYRN1h
ClLGHk+wYxzHb5B9Drnm2hamf2coswsIUe1TKdjU5Q6YK8xDc8sOC5GBnmP525uE
FqKm34DaBZADNDsjqPWZiXEDUWvPM8qviD4MpUY0GI9I2SqBlEU=
=13Ag
-----END PGP SIGNATURE-----
strdup filename in more places
Arran Cudbard-Bell at 2019-12-12T18:05:04Z
Files modified:
* src/lib/server/cf_file.c
* src/lib/server/cf_util.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/da869a854d76f9e8e820e2eac45ce763df6239d2
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3yfEkACgkQfQ55zXdi
Hs1SWAf+LlJHpqGGmZ1o8/OWdxhJxeiLig0iNh7/ee8pia3PvMwoQqr+zOUUeXXJ
yac6hyEd9rweKHLWcePxmKwwv4jwvGA3kUJzEpSeuZOeClh8iiGqzEbAPCcMcbaf
vprFeFJdHE0wGe4VvFmu6wYW6+0HFKs75B0KuqOY+zvJQipU8cXae0ocBNb0RYpY
8jsW1x2OSc3FqgmNc11mzldtR/TgXh84SykzI7HIzLNUpkYb9W0/0p84TQ6W5bS3
TuSMPtlkJ8trDWnPOML/ZQnKMDMB+ZuZfJ8XpP24FMd0dA9MaO7RPBYf4QuluI4W
DdLEDTHYpzYfS4/5wGqZ6cbWK2wvGg==
=lJ0u
-----END PGP SIGNATURE-----
remove unused variable
Alan T. DeKok at 2019-12-12T17:43:37Z
Files modified:
* src/lib/server/cf_file.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/274bfef740ec094718ec4050001d8b353eae470e
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3yfEkACgkQfQ55zXdi
Hs3sTggAicQ3eEy6HELToKolwMLfV10Za5S73XIkFATO0j8FLi+5KtmeNoGDQ8I/
a981NIj50Z62UnuYB5k5P8PfRTUbo6LkXQ9s6+8ob4A4q5nCgbpAnvvCWPmhnmsz
xdvuCR0hlEUFKTpoVEvcU6YrQcr9Q7h9d/5gXf4jMd0AyJendX/fukIfKLnIf1ws
gVXJsPX0Mnf7+TBMOAIJKD8sSqFHKIESaqiPmVoqsO4YChbwpxtxVdBWmQN+vQtH
LDH8120W00w0fi87zM8rIr2l24B1YMhZ3r7W7+NYSfKrhd31tyxs3cibgZdQ52hC
j1eLwcreTzUwVC5YMn8lfjabAvVg+A==
=pe6b
-----END PGP SIGNATURE-----
Revert "add API to clear request_data"
This reverts commit 33c8af9031618f293195802facfd5ab3cb3433dc.
no longer needed
Alan T. DeKok at 2019-12-12T17:43:37Z
Files modified:
* src/lib/server/request_data.c
* src/lib/server/request_data.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/710c61c360ca7584ceed8a5c5395bc46ef991878
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3yfEkACgkQfQ55zXdi
Hs1m2gf+PVkbwj0J+YEmz2qDKmsW5XIs40QrNOSZZBJbd/aaFThpyIliNo3aQjU6
pFEgkFhc2NYR+CSgVMNj8ujTp/JvOFdKAhjOHWK7Eoi17OfUxTQEqm0RYVh0pRFd
VN0iNxsElrv63k8B/GNIB3N+3MwRJE7QG7QS8Q73A9hUgw5iVRN0DcW14jHNqkBX
N/tqvT3/W5jB7SCQmHiac2SgM1o3rcQdYUlY3eLHXZsd9ZPUbEwkwvih9AKeXA+6
ZV85IxmbKPM8zkUp7QnISVLdB0aWKfwMFfjY86BjwY6fUfdgkhk9I3OwoWjaGxJB
AoODRtrVu6J8+Dn6PqBJoH6xki96Ig==
=cuG9
-----END PGP SIGNATURE-----
Revert "add API to clear a pre-existing stack"
This reverts commit 1d764ca8062b0b73704df7acbd4ec8e7e70cab91.
not needed
Alan T. DeKok at 2019-12-12T17:43:37Z
Files modified:
* src/lib/unlang/interpret.c
* src/lib/unlang/interpret.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/cba34ff7c7903472da205f3f4c1fcf8a6103e73a
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3yevAACgkQ/6TVgp+2
18pimA/8DAsiMUpOvsf1m5hfD1do38tolcdZVWyWiHA6vSnschFiPHhDcU/AHTQt
2rDhyF3XReeG70qOcL1zF/R2W+W07wzpZKVhnGaEd6kYGLXtJrXJt2uwhQVLxaJB
WrV+pvtdjKwR2VTOTG37+Wt17GsviOMIIGcJVtAx7T19oLiKwaJCRoUtNhySM5ft
ezgIUGb3IEp5RoSxZh4hlNtoxELxBgVMbvPCs0rHpBzNXhsKUShfaw+Ef2BoWgzp
cSTKySoagK0+Xm3O7ahaLUh2xV5nuT4ttIPOYlF2tUoy7kbsxuLBl7bcY8yZ40ng
SqxnEaemifYeZblmcqkCXh/MPmVB3XrrDiyRmdbPA9/7fNlGpHKEe9z2YdBhnSgz
8REW6mCux8XL3CVtKpIzdXBvQc+owuLTj8WgfB31kiGqyD98pQ13kU0R0l7UfqMz
bn7BbXyOotyIalLyg7WA18T6ET+z+mlbB6uZVXJHDkS9nXLroRiSo5EfeWJs5242
vbHlJv3IGPXfwrd3rnv9i6k4Q6Xof6Bv4Uut0ihL0L+mAr8r9WeS6il2eFR/4nf6
ljb2gud9fJUU+0TqaOyg2uZZj3+4BaH09FePc4+3ynyrVatv85s68MM6OEZAjil7
2jRdr50gHFhxmnPPBXXqkUHmOpIbYanUBwWZkKvqq43QlgMM5so=
=SwDh
-----END PGP SIGNATURE-----
Add the pointer to the handle, not the handle
Arran Cudbard-Bell at 2019-12-12T17:37:52Z
Files modified:
* src/lib/server/main_config.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/22279f1e24f5a792c7b7c415a704db316c661d70
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3ydQkACgkQfQ55zXdi
Hs2fPgf9FxeVwadAVQJJvtaP8FINERsnuRPLL23jF88B/PexTwtTpxrNRIiMjWWx
iOaxYdpgVStGbdQgUsHgkcMfUnPN4A/qgMuY+jwYvE+NMY31mLNe501wNMs5PUf5
fjVM7JJOGJnKDISc0mCyhoJ3M+ha2k2UELMuYW42rOI9QQHEyWoqkRELtYm77BWh
IQP3yEIBGacoYkBWkbrTTNK1HIFRXm+ISzr5BCranD5ozipOlV8HD7Mr1LQTQa/I
Pyyk4uh0zn/GvYOYkBN0y1cp6sqpmRlvo7m286P7qiQn57VA2kBLm8ov45w8XJhD
6ntFsIB9Ypi1rlJQtllYvZArhanTNQ==
=fqUY
-----END PGP SIGNATURE-----
typo. Use the correct variable
Alan T. DeKok at 2019-12-12T17:12:34Z
Files modified:
* src/lib/server/cf_file.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8b8ef4d241b5d05c1c8fa7fd0f61cead90bec1cf
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3ycGAACgkQfQ55zXdi
Hs3AFgf+KwqiyBpSYy0EXA1ofEUexG+/ERCgCNz1XldcSpx3aZ89CuPTLL8El2x3
VkiUV+GxH4KRYPbX8oWRbZRSwVmqqbw1fNB6c13No7hASwCIgVyQOKwmL5uIBNCI
3s6w+xBvmbgQU2EeAY4m101WBg2GZvw5Ci2Kci4I8nNYQVhLRl/E58lrk4nxz4Qp
XzKs0hAulQSR3Zsd0iNDMeD9dP8g6gQoOmUIGCq/AaUk6TLQXnpRI3HlIqlBBbhK
TQFNn79S+5nXBPEj2hLC5pgCZ3FoZBD4uoT6c+7hYi0haL1SMNwTk1VmaEmIB8tW
GFIGqP7XfOn4W3Ncy3BKirMMAiJ++Q==
=jw8G
-----END PGP SIGNATURE-----
snprintf() is expensive.
Using our own itoa() routine saves 200ms on a 15s run.
Alan T. DeKok at 2019-12-12T16:51:39Z
Files modified:
* src/lib/io/worker.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/79ece10ab459591b91dae80566e719cf3eead590
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3ybYgACgkQfQ55zXdi
Hs3bAQf7Bl1ld/cP5S7x72Xi4AWnhq0BVy1yc29a9nSVjBbJ22ukCKycX7w8/dfq
HXY0Ven3S1d2bzxRqIuQNmfdFQhaqKhFzTJM0S15suby68mbmq58n7MLGihq0ROC
A7dGSKg7bUWfcS6REBGnCczY6P2okCfWajwd/OL+ehT2S4egyreJt8Rc1+bmQec0
VKSLtoO0CY+ZD9OCUzftBeJSssq9X0ATaAyqrxNODmHC2uXxGKLZ2XNuIpsJaSvZ
+3wnLm/tHlQgj2WVqoBXAHQI1seE4cMSQJeRgRyYXKGeIbBm5lzaOmZcoYpy00Sd
mxE+9lMq/MpJH66f3gKZOH/v3qClCA==
=lC78
-----END PGP SIGNATURE-----
remove bad code
Alan T. DeKok at 2019-12-12T16:40:40Z
Files modified:
* src/lib/tls/base.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/46311cad437ddd1d4e47d63863297447f2d77a0b
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3yatgACgkQ/6TVgp+2
18rFPw/+Mz9xSTy+0R/ETYqETxv/7LTGD2EJjt6DTkfxAuSwWOQGo8sBarFkt4Jb
9+uP/5/tnD7Kjt7uVi8yXJz7ubNQUaafqICxyNkTQPVeImAdAXkOtbQtPDdw3cPK
N8fQCTbCbCIYuljlQGLU7E7XD+rnqrpMlKEmKeQWZu98z3US38nd7b3TOX4LNjxU
rNL26VygiVyJomj4pZPjHVnJKzzEUsYwdhw4wFBEqxXG4Tlav7ZntzIY2jMFQNiY
P3bCDxEfhc2EsbCSt59IuClZvtobssnRIJYkUaAkDIDLlzsLlFx95hzL+C/sknKP
DaNiWffoAW2FDQOgE4CJHzAwHwXxMbYlsVS+QPLyIUyO4DGPGhnTR6xuPEk8I/Tq
qtw8PdhQo4aEBpa6Bl70qQPfZ/Xd6bJByJmniPneyz7vhvqHWGu0GRojziKEM8OP
SSGQWHWmQxwZc/pRtR0fef4yIP9OOOGSnZWLq7X9hJmZgvzL1eDCZ6Tf5pW5dCWB
4XHgDP0SlorL5Z6qRSiAtJ9FUTgM2YK1BTdhd0yLw0wDpFbUvVwzaXj3EtJHAlfk
QAYECveFG8hsDA25FQbdzTY9eGGveLsLImcS/2lbVVqIlpA2CsNE67e7gxj4TfQr
XowSJ9H6AegceCFCHb8269adHCuFVq0+ExE7X6xNWW8t9peclkk=
=i0Dy
-----END PGP SIGNATURE-----
PCRE_ERROR_UNSET not available everywhere
Arran Cudbard-Bell at 2019-12-12T16:29:12Z
Files modified:
* src/lib/util/regex.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7fba92b0420dc3d59f414c8d87a3759591658dbd
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3yaSYACgkQfQ55zXdi
Hs1J8wf8C3C6fvoYL40wXldQr9U/egdzenPjPKElAhzuCNJMtCTbmNHbcTscnLsv
j8i8U+2JB2AgH1dykJKQAvS/cNHmS6Iw9r76XgKDStr+hqt6+nXm3eRafXcRT/pa
qTL6PU+cy39IQDCYi7rniILNyZJ3EP1uzKKN6wnIoJMrUq6YndhfH1zIVzm7G41b
I+0J+qAMdc2xkHQy3fYCaAKrZDKxk5JUjdd8X+z06EXDKJFvyAqPczSsfN+AvfvL
VFT9S9xhmWos3gA99p15xaECiOQoxWla+bWiminmBpDbISeMCGeaR25GfayMP/Hr
52VdLgGldRnZpKaJyk3qJKZb+5vV4g==
=qENO
-----END PGP SIGNATURE-----
move code to where it's used
Alan T. DeKok at 2019-12-12T16:21:53Z
Files modified:
* src/lib/util/md5.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b1559f86109b18af63b702c4711420a2c5a093f3
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3yYmoACgkQfQ55zXdi
Hs1rzwf/S/FTWbCKPooHRsY4C576PirgjVJQjcr1GzWlYd98Idbao/qPlThZUVX3
1lkjK3Nn1DLsSrTzcipyXk/+Dk85z7hja3TtWLSRxidMozrKFx10q0B3fRWPe3JO
7ggwO+KMQCCoh2D5CkGaf/pbgaX6Kp2MoT2C9E4IABIUiE8fgpXbEDsv6A+YukTa
RAlvlakYfk3OdnQT28H1QSiLdUM2jPdFXMtEmPu/lXPB6HBGKP85IcdJ5TDmAeTH
9lJqb5OosHyRSxbtXb6Bx9+wwlY8o2CrQBAuogV44MSM0/xYYKHnHZH/rflC3X8K
/WzRw+OZ0K1QuDYkBuQpctRSo3m6oA==
=LpuO
-----END PGP SIGNATURE-----
add local free list for MD5 contexts
which saves 1/2s to 1s on the performance tests.
Because we don't control the content of OpenSSL's structures,
we can't use a dlist. Instead, we just have a fixed-size local
array. With provisions for all array entries being used.
In general, the code should allocate an MD5 context, use it,
and immediately free it. i.e. *without* doing any IO while
holding the MD5 context.
Since the code does this already, it's OK.
Alan T. DeKok at 2019-12-12T15:53:14Z
Files modified:
* src/lib/util/md5.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6c9c3abd6cc3a75753ed7b2c1b5a1d1d1888d7af
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3yYmoACgkQfQ55zXdi
Hs374Af+OoJPK5muIg0YrKkEyJko0XZ1TcokhJ64eGyhTaSI3KPTmAuX3ZRVJhfX
TNAdeowfZ/o2AyjQfbU1MTFsBsZ+qkcKJdvTQ+gizjKIfIbtCi0RviWCeKvO9eDV
QMnUG3I7JCJYa/ZZMEB+As3KwLlFJNs8QjFk2B0FURuEE9D3YdJdJWXSyP9hNvSl
IdbEoAR6lRffiWqvS/E2WfvVLmPXrhAFdFxY1KgLmFrH2c9GpLb6M/ydufdJ0I38
4J+bN8KjTd2KE/fope8EO4AnWopaCuuLaNcitvoyGhxVIy576x0c0wlWhc38dGdl
ATELmRZscxTnxQksdoXmjAIWyRTYdA==
=PTgy
-----END PGP SIGNATURE-----
don't call snprintf() in the hot path.
If we don't have debugging symbols enabled, then performance
is likely more important than debugging. If debugging symbols
are enabled, then small performance hits aren't much of an issue.
Alan T. DeKok at 2019-12-12T15:53:14Z
Files modified:
* src/lib/tls/base.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7c429c3e4264359f0e98715975a47bc720b542e7
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3yPUEACgkQ/6TVgp+2
18qN9Q/9E7QpczHCIKvHCxI7oJOWhrAHZCzqEYWFW4pEVkaTqZCFXjYqYuHQIvqm
n9Htu20u+sKzuLcE2aZ//bvCeJy5mmlM2p5lP9FkyQknHHU8lKjITqwkKKz/olBE
zufcJYUtDzzkq7XavlK1IzWSXa3M815YCvfMd9xZh29sCOGI08/SXW7/3LbVLZJt
NvuDIeYCcSLXqm/UBlQloBveHa57dkVJziUedpciTOHzW0DHNBVjCyP8LUO1Ip1i
2eIEl6d4aeBeSodkwAdCYmhspCDxxxhPcrQCpJzJGd3krzHabU3bDkQubdFnNMRj
SNX+HepoejTk11Oj2+p0WFuukMtAh3/ohiGKvyAyiVEnyt09W1G0ppK9inO/xpQP
IVD+o+gObDCWHhEKQdHcuDEnFC2TROK5E76uX/cXtsARISXbiDqw5CvXevuvQFh6
uMo2Rbq5MDNJ0XbrhaWC8WU6NRmi2QhAddOGPljFbErN4nU24qETAtAtxTsfrkrw
Wi1JwqY0GCFORUo0DJYK6BsJXCOidkas6FoDBVIG1EbYtFrvzEz13/5F/IZSDErm
5l+ZCOd8l2xhTzI6SjJqHGEUhnQwidTbEiARCWcr6GUmSlcDBNNMp+vC7uWTu/cA
rHYbjLmgxGVjFVEIA8F0duy00U3o/mPFWqb6Sj+T1KPSZ7RtCzc=
=mFtb
-----END PGP SIGNATURE-----
Initialise is_closed to the correct value
Arran Cudbard-Bell at 2019-12-12T13:14:41Z
Files modified:
* src/lib/server/connection.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c037b371cb139094e59bacf23838d45305e08233
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3yMDkACgkQ/6TVgp+2
18rN2BAAm9CHzbUzQx6ZrCAKB3xQ7rtnQJ/f5eq/XhvR2y8K+txihUZCYZQbcU23
YNYnWAt/U4Dy2HRIaaRI/NWkhxvP3Tm4oX47sF//7NeMSKnv0xUyUQTITLLPXAoZ
2KFEXbae57BubugIkTBDc5TyrWEKffxQvVBv7kbjnHTePwGZqwd9zelTgSQ/lgOg
xBrt2P3Dn83bU2UEd9HaIhbvA/xTLCxbLBunq3pFaUR3hx5+LI9clkauEajSgoD9
Gv5a17MnLgXxoIwwu1u0kvTqoufAnf2IL3AWsPJZbOa6xUiP2N5kN+TgrjYwJciu
UVmpqlwjSBeAKpm+wLbi1k/HZ5WSAC6gNLHOweTZ+3tQouwAHOzC/ruEJrbAtywN
iAZpnGcfMnJg3cm1TPcp8a1Ovb2xClvGPQ7S9Qs2kH/LXflMCnVNp73BqY1b04KC
8y/audPiEYkYib8tl8xmq6olWOFG1Q/Z54mO88e8E9VK/VqvqwYcUd7ZLR1Irc5X
bPpfYLoKCW6xnT1Qx2uRKIpMZbRiEK+mUtdfEJcZTAmp2H3p0L9+ciBiFPScQAim
20t1JbM8bQF4Xmgyg3cAwFzqUnzFnodohWUWB/7o23tGOIvPrcWhToeprMU4RGR1
4E3nNdNv37+ZNRIiFHRAc4JejAJRVYncWmZqEjyiDNHTY5olD+w=
=dMHx
-----END PGP SIGNATURE-----
Add basic I/O throughput test
Arran Cudbard-Bell at 2019-12-12T12:19:05Z
Files modified:
* src/lib/redis/io.c
* src/lib/redis/pipeline.c
* src/lib/redis/pipeline.h
* src/lib/redis/test.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7b09136eafa98c7d03cad778e11044f76639311e
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3yMCEACgkQ/6TVgp+2
18qJbA/+Inx4TjRiaDzasyneo+dtfnr1ISZ06hMMaRxe2hRdTkJ7xI3lOC5YGuBj
eNqOcg4uIVmSi8b1fma7l0/+8HGoHAsEZhSvr5sX7eagctzIdCRXD36ieV4y/CsS
SbDJX/tKXstH5Cg8iTv26jGXir5k3bfC/jkOykdYYamSoWmktL1AQZnNBvkv1u4l
c+OxjGej6SkoBwDv9Vhj5f4SapElgMCVPlseoGqzL0yC2JjQLSs+ojRS1wPhFdHU
EIxybPonGbuYTHb61F/I499sp1jjjrL69KaQVFsdA+KX1eBK8M9cAT8o5qEcgkzP
mWOc7FlJlBqttACrh5hIUAUtox3/Epip9IOafPs/ElB6uZdlzexyE4dN/a7Fg/Nd
SNEECnfW1bAK2CBIkNUtRrjCbS06SfZ/+sb9q2hHIWfhZHyO5vqJoeI53JzfnT5r
G5cBxI6Zl/4HKlHHn8NOWIglbFlBshkhCL4A5PZqSeYQ/EAXRp/1tfERIcdJVyT4
IqgltIayX+020YPqlZngQKWdjcH3eTmwP4tcwk28O/SgLoVIO174Lv4n7+lsrS/V
hB3uIiwYEDVcJXf/8HuMN9dnbBWC8VV8s91nUwLF+iF9F6xEpCUFnfDDU3gHReTl
P966IicL8Rmce/u4L5d6KsixIOt57MA0om9qFZvYpA9ry5icyrg=
=BBbU
-----END PGP SIGNATURE-----
Make trunk more permissive regarding what callbacks need to be provided
Arran Cudbard-Bell at 2019-12-12T12:18:41Z
Files modified:
* src/lib/server/trunk.c
* src/lib/server/trunk.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0ee33e2345022074bf58a27f56ff6c67192d0b44
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3yFiIACgkQ/6TVgp+2
18q9/w//aEnNEpCNnSK5bCDeDA24s9pvnlTjGkaaOM0ugaWdEvhDJ3ebLA1yrUgy
rHlYva5S/SKxU63iVPyC4895ffnJsEWy+LxFUY8+U9RANuPYNr9B5KFDyzlbtaQX
UdRSus3XFuwuIiJO/0SSa3PYoen4uxnK51YZnSkpIjSH3VrYb2PSKrQI5FI76BDp
3RciPuLDpWiHmNRTxTedAQxOa8G2ayyeZMhzSI4lrj+/gqJwUmIrqpZWtGffTzCy
IPatO7Mm+kImeT+0eIe8k49rflEDjX/ySuNG8R1KYopxs0UNlhpSL5qzIEFrfak3
vcJYYcO3UQapi9yFmPbV0gpmq0sYh5ba+lW4k3soI+1GtV5S2xHddaaMDOS1jAr/
yDYGMO7bzB9H9riTlGyRElZHJAULN5rg/Ida5ziuTUDsUy/OSebdLspNHKWHwZRe
7qgXjpR+U90Dszke8KZ+9HcDx/lh2tVrATQDCPbzYONVjtGK7MbLAiU5m9dbc8ft
wjCF6PvM4hpaH0rgj05EspxBXGsL0g1Vs3d/c1xf6s6193WFcK4NduQd258apsxh
aKW5QjHxWFzUtIPIZJ52kjMmP7jgPNfLzR87XXM7GxI5pjWDKrsdMYg6T3T5WUyd
pbmd/HkU9ZqpYgsks/5qmAyNBR+NIYHYmH9vNrAbcNeriqSgpgQ=
=JQFx
-----END PGP SIGNATURE-----
Typos
Arran Cudbard-Bell at 2019-12-12T10:27:46Z
Files modified:
* src/lib/ldap/connection.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/42e1efdc7c002ab7a0ce3675414d8e707e45049d
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3yFFMACgkQ/6TVgp+2
18pWFBAAmGQsHo0kjkxD60wcJ8sWjCrjAWKGrBjGn/uTTujY9rS+ix6lW1wq7/IW
4wPnOcOXAahcAJcLwEPwh9dEav66rNRG/ZEcGvRVEIGYQyc825AE9LH15UubREwb
fSuUoEQ47sQOThCkxCY7BuLZsTpw+npUhWs1r8PsYxBUzPwGH5A8PvyDmhfWxy8n
g8CTgkbMFDFFaV8RTwWQ1V0gBsBpHnR/sRRIMjFijNzc4UqLL4ms85gQpXfBbkVx
9vlKQukOTHaRjMMmhkeFpD4j4hURffld9pdDy3rSjAqnzDYPui44EoUd0lMbfVc5
iXM0gTEa7fua7d2kIghVMqyK36DXn1ZurQngM2HdlDZpzllJMemViTRqCYpDsvpo
krqO5Je9Y5MkDQknNVA+FxYKAuZrbMf742BgieHmx183DDtvCbTpGanSMmRflzUu
nSS8vSsG2pMRnAM5U+RC7/A5skxEk/xfj71Wkzzq4eIlZ3P7Sv4UmF4MNZNFJI8s
5fgszXDYQ3nDV3PaydQtSS1D36W9WoFF3qDm0GZKBaS2J2KoyHTXRy5KxgXiZoLz
71x9SwgMlq8ZBBtIlLEsFa2G7fSVtmT7qrQdiqh9O6dTr9K960WXcTZ6Le3wmGqV
fcV+Onh55OJEYkxC6FHNgaOIn42RvYhrTxaPYfahjy2Buyht8Zs=
=yhvx
-----END PGP SIGNATURE-----
Add redis pipeline code
Untested... So probably doesn't work yet.
Arran Cudbard-Bell at 2019-12-12T10:20:03Z
Files modified:
* src/lib/redis/pipeline.c
* src/lib/redis/pipeline.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a26b17a19d54acc7021613821b3d24409ff5be03
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3yFBsACgkQ/6TVgp+2
18oY+A//W/MefyArxXrvOz8GzQinzHentKGXycyqANIA6yFD0pGaEBjC6LO5e4xL
vj5kjPsKF9jcrGM6pu7WpNS4Bz2WFlpP+A/v9N7/dwOHQoWpZ3i4/BBN8+vKERpE
CbXze0dTf78AvJATrXtwsiDPRptWjhh2VXtmge7WvluZCOVUShBS5CC9E3/wfDvA
1paWaGOvDuPhNuoc1goxoChpYoN80RrlZdWlxyNemuenvmbQaFDmYcTpcOV5Ce6F
ROpNJyAOPVA1s5/jiINOMyqt4x5Wpe8eloeI54Rk8fN+YrioN4sdddZ+eSbYk114
ZKb7AI1CSTXixoth9jhAQNTVQQ3r1qTkM9hmiuKzjgGLIzy2NE8tW34BMmwJeyYM
NCrVDTISYZTUic7+vQv0pBmZkMxIBtAhdSMPv5F/fClYqGPh/xis6RpHEe/ybg/5
r6shNd8bDFiOgRwFiF4NJHjXb3Q3/n96FOsZnHb/xpC7jNyt0wEYlBxVIXH20Aag
vRhIyNa5kol99K9JI4ySHoXD5DMG4QHME5Y+YqxCfRXikuhoOoIVsXQr/ujs0B9k
938irb3OrXZ2Gu4+SixHNxgoOsa3Vr7mlVldshEGDpDRh62xL8Et8+sXWxwoMk96
4QCyyf5N98emJ4Hgvlwc0kD2MxDQT/PC48hcfXjmFprR3n2fUaM=
=fXHv
-----END PGP SIGNATURE-----
Pass around connection callbacks and configurations in structs
Makes it much easier to add new parameters later
Arran Cudbard-Bell at 2019-12-12T10:19:07Z
Files modified:
* src/lib/ldap/connection.c
* src/lib/redis/io.c
* src/lib/redis/io.h
* src/lib/server/connection.c
* src/lib/server/connection.h
* src/lib/server/trunk.c
* src/lib/server/trunk.h
* src/lib/server/trunk_tests.c
* src/modules/rlm_logtee/rlm_logtee.c
* src/modules/rlm_radius/rlm_radius_udp.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/cfd50f022ad46abeeb7209a29f087634102d07b3
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3x+BgACgkQ/6TVgp+2
18q+Lg//emqDRuZSwypXc5egQh6EOi3k8Csm1bI9dzRmGNf91pDTwSReVRlyKzAp
owsOY1gNEyOUfxkwFt8Ep7b59F4dK82hEm7NOrU1mUs8+R7oLSyL2/5YIrif+TUt
Vr4ELEF+rrsL00Sg/Wpbb+T7hLWxuCA9NsffHnv5NWkIHKJ1Rz8zc84d8DRxN5YE
7orczgG64rSrdzuY2hheErO+eGqjH870eTgdOchJRaNsKWOdzz4z5H5gk2gYm85l
5aYCEV6BvHuE7U8heOUSpScftYZHxuxfHQmJzJlma561rlmQL1bZvTJnpfuzAgwA
5zpInQTmFrNu5CivfBy1Yc0WD84LBPTuX+Xw7bmCY6u3hpap7mDYTgAy3M8kYbdI
PoafkZqAZ1CMLy6l0ARFePidukYVs+y1uaLXqx4X59a47CD9xPw2oeAlakdtwZ3i
7tECSZXQe2q7AGvXqwSKCj8A0idKyP0vdBgXCnxLKSQZXUS5+QNmU+FSxt8DWT4p
iCuQW+XK1h0spZyea1U042oRGHKcr8bNnc248VFfiJY0qLPTgnK4mGd4HYmnxS5Q
kP/LHSgqhMXSYSLOnxS1sBI4yTKeSBvLZ16f3YQ/tODCbMw+OxLZYFmBSvSyBrsJ
mcB7l7fUsx9d43GRJGhZ1i0jZBUTNKkPt/z5kMgn6t2B+2onaW4=
=lKiz
-----END PGP SIGNATURE-----
Add a 'ignore a response' mini-API to the Redis I/O code
When a request is signalled to be freed we can now tell the redis pipeline code to ignore the response.
Unfortunately there's no way to explicitly cancel a command, but they're not usually very long running anyway.
Arran Cudbard-Bell at 2019-12-12T08:19:36Z
Files modified:
* src/lib/redis/io.c
* src/lib/redis/io.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2216caf1ebb29a61d79cdf8355d0ea711d15a6c7
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3x+BgACgkQ/6TVgp+2
18qVzBAAkvAd2KJ6SOrQ+tg9S6B8DTIWea5B8H6Hj1rq+cgLRI1v8BRFHkomOJWD
7UHrvDwWfaXF11qOIdSv4u7tBy2kp71er0pTopwLBtL9QbACc9gwlos8lbdw6xHI
/k0oKnuxkv//3/Ei30oHIGUzjWpRTy/Z1b0ajVO1Nm7MtesFSf3F1+d+pz9U8fvu
+EIO9JmNZxvyCsLVp343P1GlO0FCgLr4+1l8WjnNPwN8cqrbLZvCzHWM5bhFk4al
zIX+fO6fEkq+Y1cXMJ7cUSN9ltcOvrfr2ttYoIeFwFywT6egJnqioYyvdchOfO7Z
p/wtihaHvkzxL66x88qBPWWrDV/vbu1sxFwyFLrqVsWFdzTGdnah/5A0LAhG5lhv
wlprkrI/1lw0Efp9prKdW400Ap5mfJe+ELm43F0PchZT/+MasVi3T7DzD5Sjh1zV
tbWDs9LC6pjvZb/7mCVOrv2HhE9cTKXfMfqJp32QBFaQQClVKL4Ao8kmszk6Bp3a
/3CTH1WPxI7HVH36F82DxJEyq4YnySqYsDli6+WsD+cylhIkfB7ireq4g1xrM7nr
Th8XWELFBrYEF6katvTOXuYHWex7cbCjBTtSdQw1aDKCZqoysANBGkxud9xoCDnY
BD/g6ViSIa3D7eBPX+Az/6wdhRIaTSWb++evxpGbTooQ5oyiXRE=
=sz8O
-----END PGP SIGNATURE-----
Change how we deal with freeing connections
We now use the on_halt watcher as an indication the conn is ready to be freed, and that the tconn should also be freed.
This allows us to signal that the connection should be shutdown, and allows that process to complete before we attempt to free the conn or tconn.
The previous code just failed spectacularly... this is almost sane.
Arran Cudbard-Bell at 2019-12-12T08:19:36Z
Files modified:
* src/lib/server/trunk.c
* src/lib/server/trunk.h
* src/lib/server/trunk_tests.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/87dc23cbe1c6109b851ac22f97945052d1e293cb
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3x+BgACgkQ/6TVgp+2
18pvrQ//dLXpSXRfFJ2+SaN8QtRREIAQHzhqqSfK9VisBmRCN749GlcXTxHEMLkh
vyIYlcb1gbNX1GZP7bqtKz2GOWRuGGxlbXa+o+PU+FlbpGdKnBbFCTRkmI7c4RYI
DJb5/KgLqSpvjjxff4rte6CaGC1xud8FEKyy70RsFwHPzVo0WjCUi3C9z9VEiZhp
SK24ii8FXcXY47sP1GQPLCxix6ktstECgZsQRpltm/kwKPyb/zhLFgNK1oSS5fcI
u9KVaxWJglzj6for0YVbbIXLatCK1MMOPNRQ5rD2kjyBu/OeABZmRPC3WWcg/P5g
GxLuOJqzjA2BhGd+Bzf4e99SAtsHG+wcnPCWHc/PToHCfoeOYB0hWrawN2ERa4Nx
Ywr8+fjO2csLE/oDuQtiyQKi1e8Rdz3PdTntRj/E0Lb5+g315eMbuQdnoCQEh+tD
Vr4zKXh/gGov2EStVYV4r/IrGfd5wBBspAjW82xS2IeoNE3OjDKSomCR9VbBFSmC
qVyMu2X1zlSxfjrStencxVj2Szpt+PxOP1Gu9WeXU65xKNK+CQ/LTfbXAR3xz8bm
8RTsk08IW6ILVgE6k3ev+hrK4ybg5pKhaepG1L5Jxf6vDti918Hi6ZUzXD+G8jI0
BPvzqO14CQMKs0nwzpZ9U7LqAfg8MqwVgw3IvaWlTiUupn9X9+A=
=zqzs
-----END PGP SIGNATURE-----
Allow request states to be signalled from outside of the demuxer
The demuxer isn't always needed or useful.
Arran Cudbard-Bell at 2019-12-12T08:19:36Z
Files modified:
* src/lib/server/trunk.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/193d5272f03bf4b2163d675052223bab0d5e1557
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3x+BgACgkQ/6TVgp+2
18rfSg/+PJ8gyJS/3OUoW8BsMjQtNsxdH+DVc7P+A4FC9dNa7MNc8OrLu60KcKAN
4XRyEw7FfoBGzOa/69EZoFCBJj6id5Y+WllFkHJm6RBKMj1S94DR8j7GcQVbMUj0
qrZACs+NkmHmNjXiiGqB7rz5e2CA6X7Dp7WmgIQ25H5+serZRoaeW6tB3fqeWvI4
loieRsOZpcWpRrFZ8yNotCUd3z80gc0IPG6iWsEQP8HN0kyNRBGbzukcPFtiDeo0
5dfGunUnqVeDtRqio7HT1b6NQxMuyunm5b7yf25KOPQR++v9NGQD4Gsb7E4Q9fiN
yHvzF6hy1LnPCXDCpBdQt7N48+dThK8tO6ajbicov9raVIQzfAchnmC8vn2m72Y6
t0kwI3IG3fUWAlpg1UcxpqyWhAuUoVbVmqnRHAker+dsRWxyCR5f2rXDJRzH5rdn
C29Uanwq7OW0Pe93bkyroXxT88fjdDNkMJSkVlkQX35VIluU1bOJSCiKW6NCN8oe
5tYeBBbhSFp+0kyWrfZm2mpCSRaDXgVAjAtXPiofncgwX3h6jY1cJHjbso1vuDo2
+so9A4zp+mWEAqNa//wkmRKlBXfjGJ7XRRjKVywxOaw6RI7qk00oC2Xbm3Irds0Y
/K+B3v6mrSvBa93yspLVpjGwJqNE0FWkJToUEQsFxpPtCia/3bE=
=U8cv
-----END PGP SIGNATURE-----
memcpy the trunk config
It's just easier, and there are fewer pointer derefs.
Arran Cudbard-Bell at 2019-12-12T08:19:36Z
Files modified:
* src/lib/server/trunk.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b0155df34e6093937e1632d461a616ca74150486
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3x+BcACgkQ/6TVgp+2
18pBbBAAqZ08hShYbxabWB3mNA93Ji1WpxWfEdP+G801ES3pfiOdbQ9UXMJGrgme
C1yqRgbOI4gMwsuxinVvoU6xDzHGvDT/Usx26fSsy/TE82BVTM/KfbRoy3sJ+ESA
osjaW62oJGmPcN1bhJNkARw++J6ubqFCdurmbN+A3PPMXCkzpBuKum3U/7BF6KiE
wKGw6EUJMixGDWaemo5VGu0jT7Sy6UVQ3EQiQE2vNst75FnuYw0qa41nFrr/imcs
P0amF5DJD6ujahnr8GYfWlDnIcNc5bnGkvIQTcxTEWdoKaIl7RtWrTeGtoU0Y8Ug
e3AzdMik9geytVf7bTs3b7LRkMmXPDaFeqhphTIeWTURHl1gNHjI7qCNcYlCYYMl
xJiO4DNN/r2wwjJmNM2ZJhPLZ7q0xFPnGa7mSdYZCCLoHmkojeZl46iAioOYm92+
Np4EArVjXDj548FnHI3z22Bx/T/XMg/fMnx3hUomIfKCdH+uBqZWdyCRoDe6bKbf
jdA4o4Yhl6A6WOodyj1pWGtHY1HdW/2NB+IBovVTPXdqYYFp+NQvZp2NXO5CbK+Y
Cb25Sf+PtHyu81GAVsOD0vfVCLHib6evCaZfX0p8ibY7dlUSVsIJjIZTmmTtrdo7
xhmdukrapc0K7yemFfiWg+B2FQALRO7wKq9SVRL10ipKGklnpgI=
=XPOv
-----END PGP SIGNATURE-----
Enqueue return codes should be public...
Arran Cudbard-Bell at 2019-12-12T08:19:35Z
Files modified:
* src/lib/server/trunk.c
* src/lib/server/trunk.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3ffaa959a57ebeeb99337ed4253c85ed4299e33c
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3x+BcACgkQ/6TVgp+2
18o4Vg/9HiO8krJlFZWCAPqLze6Ghyk7DIPK3ad9DpxaWs1fV6Gg4X04xylIX/pW
7Q8Rcohn3nRONff03s2oHaLs0vnGtXzyS9GyPGneba1rHfrDH1YIUmvL+lIOi/Xn
9f9XTxGCpGQoGKa0S8SmVRX3I5ebnrPrdQ6CpKsMAro14Hp6Je6lgFrrym6RbU4C
BOAoMDHgFnAJTuqRkwTi1L5rBilGwhB3dmxsVfNIBz0hXax1+iZ4sQBzJRqq0oSE
89s4HhTIzEsW8re2dX5U3vGYDxrFHz30v0g/cdvOO9/iVWV7NH6qLNU6AbbXzl96
N7dwl6GW2XAHBAehFloYzRV5qzu611m7Mk3sbNwJJszIkxvzy72XBWlN27i4yUk5
v3b/FlnpndG1o8l0Jdht6jKAeufez84ptLpq6SvDpLA18ucQ553q2Wcm4Rh7z6Rg
wmVgvy6I1NWFDqT+8gqO9+8Zw9hZWMWojKYVmpL5UU3aFNesVUsT7rYPWgT6BoT1
ZAB+XDKZQNZ33xD2WdSCgSaEHZTWM4b03BTUIXkW04S11zQlbuh4S9VkXUYu5NEH
8a0KPW/yXtakr2apZ4I0U+1XgA0+vr03l2xMvENkl/ZP6fwdp7ok7pNdseu/DcYI
G+MHcoLwzIBgYSqybmw6dp4GWVzqEtcPWTeHC5RJnAdIvJ+zRyQ=
=D3jV
-----END PGP SIGNATURE-----
Allow watchers to be removed by handlers without causing catastrophic failure
When a watcher is freed, the watcher call loop is now fully aware that this has happened, and will not attempt to call freed watchers.
Arran Cudbard-Bell at 2019-12-12T08:19:35Z
Files modified:
* src/lib/server/connection.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c3663b4156ea762508f88ed18235c7acac839dd7
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3x+BcACgkQ/6TVgp+2
18pmIQ//ZXJEtyN24hhL6/pGKhhWGUZy8XZn5qstL2uWSqOlZ/8BZNSU0drnA23i
xfDx5qgtKEeXrkhsNx3Kc0/5RnpNz2afUkLZkDybM/4g7n8SLNBB69MnXrg9tnJr
V4a0cmozN3+Q2ieGGIRc4ecN/fxoEvwTSx/RSSbbcHObeuQHH8ctV/qbqCX2rlUY
Icx3lur9/Ip+02lkemJrm6LfaIfGx+n+xJy5TJGfT4O3IEQ8P8kuSrwy3JwKH48Z
Pbt17n6+IlFuyTZnzp3+7GuHUI/5yXJBA4kYW/bICHaSOnxLKdzQt5EM66eKpjFO
BaCfEHq1KN9aeq1yts9eq289LemQCCqGmUDhJC6Z+EecNS7nuAkul5YnhOh7kuA/
+siEzNfRLBYNRXQ6wbJOOzKsf5RNf862X4gPFNwfG12Z6z+5zp9CENpQtG6defqm
w2dBHw0P3/r9DZlq5zhDkX01HfcGaFzR4gnAVM5iGJ6bK8uZkm398YkxEGEEa4hV
u6pgF9XSSoaUsP/8GOoiZ6yL0TpGcuV4sO/lPCdxAQknvZ0C+6Mtkx8DOuBlZH7G
/GJKYfFu7KBuZI6TvkZIq0uQy0ojwSsZh75c7O5LOkvQUIMGIXj2wVsHJqIShrgb
AM5lMP4EhjCrtIE1D0HcBTJJLzOlSXnBj/kFE8yr2qmnIl8Rj7g=
=g+M6
-----END PGP SIGNATURE-----
Docs
Arran Cudbard-Bell at 2019-12-12T08:19:35Z
Files modified:
* src/lib/server/connection.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/919fa3856189f073395006faa6ca157c9fb4c696
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3x+BcACgkQ/6TVgp+2
18o8VxAAq+xcsWVI7irMgdm9aTx9aJ18N7rgEqlb8jIGjVX0y77sayiEcfe1Wzkw
Yz+wecmBWYacYVuCwIDrNEGXQRKO54bOXDVlTZU7TWUCZh3DYiS932ilIDRPlFCg
Y3HLgSgT2UMYd7wxNnqi6PFyUiTI9WVeYzffbdzZMhli4BtlqVBmrtyzQ3pzHnaj
06B4uc+4PDbo2YlKIiD/AD5u0Rs69fUFgOg5baiCcox9Paqrtji6XBTk1gcwHL66
6FFDHuktPttztotTC8IJIyzVIIpPzD2etnheXNS7V+DMuOwGjGNKIM1PyDkfbArR
Cc4ioyhiKdoY8pkbC6LneLXmi06NFYSNDc4WzEeNdNSQB68NbqZwCovsKYnp4my6
YuHlZWOzwEPghmOEJWPbf0pldl9YgLpMfVCMLJqGpTfBFg9h3szYkXsX05Qj/nrS
QsFqgS6yRxTjOmc9eZ/VAYDcG0Bk9Q2dIfDf4bfE056cDx8KivlTbo88BjSd58gd
zUQtC8iduUxd7GTXcEKr4Eum6k0Du2Rw4xQ7a5xVmf6O8hEJKk+gKOQD6FEBXQYx
hizuokY0AYXAAD8sJIVT0YeojOaKaGspNkFH/H6qZG1BsGI0lJO2ym3Axc3tPCh3
W6WCk4ap5W509oEtUp224Pfu9TT4spuvaHa69mFafM6MJGhFp/Q=
=++LG
-----END PGP SIGNATURE-----
Everything else uses entry...
Arran Cudbard-Bell at 2019-12-12T08:19:35Z
Files modified:
* src/lib/server/connection.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/77a61170a348191e1db414ca634c12589869ea00
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3x+BcACgkQ/6TVgp+2
18oc3g//TyXXT8oBq73zUCiteJjSps5jFySBfqsB6xWEQrfeLD7yFTnbktQLLwd0
4e/QY42bX0wU1205GHYsPDUp17swguR5c9hQGyckd2QKEpZh4Qy4b7oxbvqLEVDa
Y5PBraOUri0814itYREC9u/Dh1hCKx6cmnhby6eCuqfNEdg9G2RjI5XCxY6TVFud
UY6raSNi7XpIrKcfNuOjk++IrvN05pvbFqZ9aC+tQestpVKXA+WqVzS66/+qE/Iq
ljsjEUJ5OChKkd58DyMZi3YVWgKRe9xuwv+xZMpBNO1UuV3L9GnEm3IVIMOUL9zj
gLYCbqi0xq/0TXRMnWA0L/Ajjtdpt/MfxWvVhOGkopY2QJmc6xFhZK8g4gjfbwAN
f9mkJBYCBrtkXIsuTorIQKp8MI9hqQ6pvDrxx/VOXPqk++xAHl09Nux/PQ7Cy07E
uql1q1w5VMNHfU0VQ6OHKsr995XdgKnIinfhrVRkPLW3Yycntm0mfH7kljO6FNf/
1hMPFcS5QTjVi8VFXvE/1arAxQp6D7S7yZvDscjriTpyJJZ+g4QIBoHmz8ZbUhGt
vyuQK8qNBds+lXqEId+fTucWkJsm/reQAijkNVU8S+8VVHRj2lejidUZm+MOIrCs
E5h9XYIzUuyP207zHVFITWiOWdwWZJ1PlH9Zd/clJP76fhaQz0w=
=RU7R
-----END PGP SIGNATURE-----
Shift come code around
Arran Cudbard-Bell at 2019-12-12T08:19:35Z
Files modified:
* src/lib/server/connection.c
* src/lib/server/connection.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6700eb7e3f24a187c37abd7773cbf39391502c33
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl3x+BYACgkQ/6TVgp+2
18pMCQ/8D9m+KpPxGYEwuA25ukBDDabEduc4jPqKDI4AwMovfJegJseR7W1cKogR
voh6bytX5zelNnsT9kiWCUUsKchVM+RzS61uYhjoyK2VbvNZYm2TLpS409TvzNYy
RSMtn11DdZo6vfMVM3tCbKbcm5MMe9at6+zMd1zdRi2EH5ntnhGvaVMhVEMyc8yQ
+ckuoVTG5r3E5UE07HTflqD61F/ZK27CVy38bq3xfMhfeqDUWSp0xlMDV75V0421
UAPeFc+Bqa8CbavyMH4Msdh9bJBx8szotMjyskaRoXrbvS1xfKdSillCxk5hWq07
7v3Yq01iQu0lxvBGc1/n1GY+8nhebwyARO5DG0BSM6OI6uWzqAYWCxNvzueRC5kl
9cG9DaJp8CYo+I/wVCrQcKd+BEu/Fzrysay25CFPESsnkUh5hjV9Mel9Azoh7Hwh
zrYnIG3eMVjuOMEnTj3Uv3CncZGMBTkvbR2uVG8AUWeZJSgzqAovaSfE/c/S3kEi
MrJscKLgcKVqSz37/phIEyQNjOZyG5TZP0sSoPwPLBZMMe0GBwdU+9ikysWggOpD
TirINaR7GFr5uwxUj7DIrS1zzjA6xfFHq8SLzNa6KU3g0xma6mG5qMHE9JmROfXA
ak8OlSbRzIRFR+j+/se6tgy24NRynZpyjMxyKi5O6JGGun0uUI4=
=jnWx
-----END PGP SIGNATURE-----
Add a deferred signal handling system to the connection API
It was a nightmare trying to reason about how signals would be delivered to the connections from within the handlers, so prevent that from happening, EVER.
Now the connection state machine completes whatever work it needs to, then at the end, checks to see if the handlers signalled it, and THEN, AND ONLY THEN does it process the signals.
The signals run through the public signalling interface, which should mean the connection is never allowed to make an invalid transition. Signals that are invalid for the connections current state are just ignored.
Arran Cudbard-Bell at 2019-12-12T08:19:34Z
Files modified:
* src/lib/server/connection.c
* src/lib/server/connection.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4fc0aa4d3fe545e7cbc380c39d6802f52197afe9
======
--
This commit summary was generated @2019-12-13T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).
More information about the Freeradius-Devel
mailing list