Commit report for master branch
The git bot
announce at freeradius.org
Tue Dec 17 01:00:03 CET 2019
New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl336qYACgkQ/6TVgp+2
18qRNQ//bzxeio4Hd93yEvoQYa9gwLfGm+xV7CjSXXKrRkggOwRH1mNFG5J4jwMe
EHvwzXHccUVu4uks49V5uBG8mYKUfj742aKErcVXZ7ws/RzCmjApbrGmEq+YpE9W
BJxxbVYd0W2Z2LYJ7JP5ehhMILKZ8F1r4YJzMgeNXe0XpCfA0WBQH5DPfcY1ZvsA
cr3/dwG1N7QJ5Ri8sE3IlVVJK2uer8kezWmWAu5Z8/Wz0guKquibdjK2sYzEftKi
28pOn3Tc+e4X0ofITEE1HUVSLj2kaU58U8HgHWM4E4aOrS6ZA9mxu7/pVrjviANZ
/9ieN3/nkeMscsoYQiV7t7njwNBmUyg/+hoyXnBJZOqtsxps9G/7B60EZ2v+VXej
kb8k6fKDNHvYWu3e8prGt/1T3QTswPFea0l2D5k7WdB0nQVbVY9NWo4VlW3ZoMRD
6fCrfpuqORO4CL2bcCE0VHl4x3ShU2QHkjEG42Da8ilr5/wMG5NQ3a8440pj7Dbt
/djaugFJRd34g8JBO2ov/375IrLY9BG6YE3HqVG1vSHFuILPaRzZ2mKaiYfjcIo3
gJDjqCtj6ST22vSjg7YKMeu1jTDZottiJLekrSBr17KT5RS81ccnUG7TSsesHiiS
FTqhVR+MAtzXUym7+pCqAY8cSzOpyB/W+QFphpThKgE/yItNOoE=
=JlpJ
-----END PGP SIGNATURE-----
Don't populate TLS until we need it
Arran Cudbard-Bell at 2019-12-16T20:35:50Z
Files modified:
* src/lib/server/log.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/78d043620b42aa9b078e39c88fd5f9c8e1c748d9
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl336a4ACgkQ/6TVgp+2
18qipg//UwHlZO5Cs8pL6jxZ+UqrCEilip8hzKiUvY5hfUevEmRbUrUKUbvxQEPw
7onafYATJ/jMiV2uFzlmXzfmDxFKcDPxxWKehBAP28ktSRjIdVpPkPMhrt/p9FkH
1ntrju0B9+G8RgLmph1VYs6qv5gljZ+0kIPc0oZQftkubRQOTN8rqANCyAygDgLu
Lk9LdjBSUjs9Gll+Obm6+gG+mfHrPdnjfsSR7IV3QxtAFaT5VAUrnPns1R9CA4Ek
iy/OmoDpi1Y8l/gsSmx/cVYHywhMmLgXn+uc+PU7mX9l+dZTreZvmVnLFn1O8pee
bqVn9qA8zinKRTa8Omm5VQs59ecTWwhld+pBRl4EI9QGL6SX1akhMxgEbQRTjhcD
vckG7ax0ks+fhQsRCvXGyiszm8ys4mM0ym9joIhspejN4Tx73ah/sn7KRjLmIk25
EPOqrrhsfpBJJtE03narM6YcGZjZ0Pzien7HsgmgnUeUfNrL9hFB1JrZD7Y59tkj
CfYGegm9R3SSF7zabXWiP4UNmX8ZlfXlumjhym10eBIeBNUb3MYYIU0QOB2OReyX
991yJbXvP6y5lJbNsD/aEgvIzHWD/PvX7AVh9qlvmfjnO+bJKSs0IMwxnGlZ/4py
nIkV5jQwAuQwNshb1uiHkGyL8zm0sSwz+Udi7K7qeBCxXeT5ArU=
=1H2Y
-----END PGP SIGNATURE-----
Address possible weird interation with threads/pthread API
Arran Cudbard-Bell at 2019-12-16T20:31:42Z
Files modified:
* src/lib/server/log.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/862ad4c6970183f2ce56ada0db8c37d9386c62ae
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3357IACgkQfQ55zXdi
Hs3L1Af/dxU9w1RGst1G7bUYJc8nBtt9LW/tJ1z6Z6mEV5PgHr66tWgQ6w0/tIzZ
8stu/x+frj6OPoTHIAvDbo98C8yj3kQsPLLST5x5aBzGS5X+wnR1wMaLLjZQazQt
o89iI5rUHZqNmR6jqJD60anSCK5dft0YWTF2ZF4iKfUxOYrcuZskAhE75xFQEChg
tsELIalvCm2o4ecj5taYjAhpKhp5FaK8/377T0aGVrPABa9BiTDzDSNLcgjWH84u
wn9P8p6N/gRmwcQJM92uPoq6+tiVt4+GpJnaURkLMHRaBDaV3H1hNQSeTbbBxnhu
PG0xvGUT53lG8NWDgis712fL1bxnvg==
=ZsYj
-----END PGP SIGNATURE-----
make "enable skips" code to compile
still doesn't help tho. likely because other code also needs
to be updated to skip signalling
Alan T. DeKok at 2019-12-16T20:23:12Z
Files modified:
* src/lib/io/channel.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/cb2ab2a66ef0b0d44c0428c0e0a7c0cffa9d7344
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl334zIACgkQfQ55zXdi
Hs1mBQf/Ws8iW/dsns0tAufGcNl5Wwtqv6jxF0R0JIenBlP7ChYIc1iuCHItx2dH
WzyInClsW71EYRwVaPnrRK/gOMey/8Sx5/sLh2p8fUVtipfHlhnVi/atTyhGZCON
fP5cAUQjYseV08Zr8k3bwJVbrkOyHigKTIHq1dHHA6pI0Yp4f7js71zpb+sj9/pd
eCyV4qMKYwOm8fzDxg/yuddTPRaLvLgYPxpKvzjgY3Xan+lbSpexIPXaUBzkkaLP
fGiO0l/556SxfMRXKOrlG+Nan+p/OwlyQnVMaRBhRa0F9Dt5lCKOiJjHg0xeFX8Q
v6Grgo15ET1sN1HoPuvnrClwsddLOg==
=LNXf
-----END PGP SIGNATURE-----
remove get type abort.
the instruction could be any kind of unlang_*_t
Alan T. DeKok at 2019-12-16T20:03:36Z
Files modified:
* src/lib/unlang/interpret.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/34c9c134e573046e12c64464abe96c3f1a95d946
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl334r4ACgkQfQ55zXdi
Hs1TeAf/b+CjcwRdKsbDI5NlgjOpniyN8ZCakoVkSp6TdyGsoakqqz3Ws8uSFbYV
jz8Wo6xWa4TgnUlu5RV82GjRlgJYl4UaNDO/D6piIClcU4ZN/cgzgI8NrVwJStir
1YQBAoWqBei7itjZZ7s0GqJTzhpWetziveiZcrxFlWJjuJFMy2hGz50zvnjksOq1
8c9EMpRODL3CIovSvPkdDlQRalU5Gr5N0zffD0LxZAimbUX+vqs4W+tDtdMpAAbm
MzNh+uK1+P+uvVdP27VoZStZ6vcKOL+WLJZMjy5fPuf2idHAg/MSjho0plS0w8CT
Xbbyz2b8HpbwabETs223Pq6sAZNS9Q==
=KgxR
-----END PGP SIGNATURE-----
set track_duplicates flag in the listener
because the master_io handler can track duplicates, but perhaps
the underlying app_io doesn't need that.
Alan T. DeKok at 2019-12-16T20:01:37Z
Files modified:
* src/lib/io/listen.h
* src/lib/io/master.c
* src/lib/io/worker.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0734a7f121261770035e197d0668ccb7b6c47adb
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl333jYACgkQfQ55zXdi
Hs1giwf+Pog6F+mRkm3vOfKySnIUW+AmMx0b/RvV3Pj99duCpmuT1s1VUEkelDHz
FSYT59VFZrltqdBaeEF2F6TMLHv1YlBCi+nO+s783NvLPiS2fW+/pYkhRWS+NSOI
FflCeDkbo/Cab+HX9Tla4lvMU/gO2bV3Lvs1Co51YzGXQYVQSbg1qrw7NUKtfZPT
0qhl7qgSIPJ8aSV+j/cc+u8JaFpTR/rnG9eT0oKNZ4J0RrZ9HQsngNmS+Dfabwkw
37DHx+gtn/rmgkMfEZ9VQM05+i4YQ+vEk+FpgEsRqEJIklRKDvUEhtPuUbBlX9De
fD6vPb8R710L5PlOuJU56qxptsKWYQ==
=3KSk
-----END PGP SIGNATURE-----
use correct variable
Alan T. DeKok at 2019-12-16T19:42:43Z
Files modified:
* src/modules/proto_radius/proto_radius_auth.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1577c8c0f69f3197043e94a691c87862535f300d
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl332mgACgkQfQ55zXdi
Hs30kAgAiqhYEX4yVn49icGSXfDu76g081CMz3jmvSWmwgCEFHumrZk1JFecvg46
O+ALa0WNsFyoKOarK8I0XcOicsQC8safJb8TBbC2ax8y6Sy98/RfoX9d0MOARMpi
MIj4P3aKnhmiZ/gPv1txIr8/uV5B0fEKyt0SlSXshvO7d8vbuCMAq8TynRPbj1ga
u5MtKxls/LC+8vkm3ApTRme/mtUbnQ/9EleB967PIsc6xtTPze5zLNxix3AbcUzA
Rql+IOQdXTTiSwU4dR8l5ARy+oLD94QMKT6t3U1ydbn0FyksAp8F1C7tulhepRKx
8wCdoAyfj11s3kMuOiB7t7ODhB+j4A==
=yA2M
-----END PGP SIGNATURE-----
add more decoding tests for options with 255 octets of data
Alan T. DeKok at 2019-12-16T19:26:20Z
Files modified:
* src/tests/unit/protocols/dhcpv4/base.txt
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b6417870113e7c6994d42ae2fb333d5e45bb6647
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl331XIACgkQfQ55zXdi
Hs0j+gf+JK4ZM0wZCdB+i5rf+u213BnHrLK1RYx0cXNjKvr3cgSTSi02PuOpGlrj
njHf8NmSlozBENxswKjavfMeEQH3SxJz9blCFUrKK6lyHCKqYjkci2rd2SFkUmNr
2jIetUA9Whovpqv/54SQUGEHZPaae2p7/0ep6ER594pAGseSedOq6UgMMxKV+0GI
FZRChzNyTh5HuoaS1gUGkLKQfimJeZqWYJS3nkB9VlJ7MQr4h3mReKzxwPoM2Mw2
Fai7VG54wEb2XUca1ydc8+qhWDqjkJnTXuyPIu9btnowCDWMkCUsywPIbFyXLtUq
Hr875W8lt8LR5lqjdlcguZFfhN7mtQ==
=2dJX
-----END PGP SIGNATURE-----
use atomic loads for reading atomic variables
Alan T. DeKok at 2019-12-16T19:05:15Z
Files modified:
* src/lib/io/channel.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6deca3b58c4f03138a71cdbbac03f9971d31a921
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl331VsACgkQfQ55zXdi
Hs1a9Qf+KktQY0aW+FGYxgjVyOzTv19Ud2ve07wf6zaUCQqEWnAVjLT616MPUeWz
abkCepvqbnsnEdGWdul74YhB526OaVIHWFstnX7ln+LXwvwOxCO9dqGGMBkViFkI
HTP//KZtaLePFY53O40K5eAIK/32XhbcWciOSR4Mo2pA3JiOrmqTr0bH+AkTPSXA
+5/y54jDpWkInW/EG6nheKcwGj/lU1N7c5VhkrrvltuVZ3eEvchMiTJ7tZyhjWL5
oW7NCMXKZTO22J+G8AoGL5vG8UiB3DXRiCPCu6ToBV40P+fi/Smq3Uw55Niz8sYm
qA0ZLDE3LuceUZ5WGllb5tCWpPOc1g==
=M5dk
-----END PGP SIGNATURE-----
check both ends of the channel, not the same end twice
Alan T. DeKok at 2019-12-16T19:04:56Z
Files modified:
* src/lib/io/channel.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fe3fc8dd48885e8f63550d9ee4254201ca0e233a
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3303cACgkQfQ55zXdi
Hs2hVAf+LS54owazb+TZyOGEpcYcgWgAy/s/v/tl55cd78xkU1dgeVe7rGpf9Q/S
S2/88onJtvKRsboqxzClfEzGFqTKXOhCLLbfV+4SgryBH/LnNgvJ2DLbLIMu4P6u
5Wpny0OJvKCvR9yE+QkrvmJhr3BSfFr8N5BvYCPfK9ZyJZHflXOFTFA2bEHbxyxj
wE5SernqI/Wsh+JDMq0LAYiDSsLIrw4VOgoKLFUi8MbFAp4J7EvsXer9jkCm3Rx6
OX1FWq/Q0FP7teEpAxw3A8AYtF6rl5H+mJpBsmKqQAUVobdI6ksrenOgJNDepsIf
7Vlw6ldqo9x29nfFVo+W+825nT2lfA==
=H7pR
-----END PGP SIGNATURE-----
cache compiled unlang
which saves almost 10% on the performance tests.
Alan T. DeKok at 2019-12-16T18:56:38Z
Files modified:
* src/modules/proto_radius/proto_radius_auth.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5ced7e8ae9c9415de07b19f16f085816d77728b9
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl3300oACgkQfQ55zXdi
Hs1SxAf+KHMXmdlCv8m432aZLLK9s3JvG5aTIPX5W3LjQc2zvEerIVlt6Ga4lKK2
/a0x3C5c3EIg5/2jNx7J9vHOv0iaUQTHM2UbMIm77mvmcPrDRa17xflrxLyWXn4K
PjKw1Zhito/AWhrPzL+FjYX6UOH9uBkKLZqT/HBWvEEz+Gc45ccVS12rojIJcYML
iE0/yHlac7KkyDQxTsXhAvshu67A4Q0n2yncl+5948UeHtm7MDlYBezEhTUXd/Jq
deLL4kZstVB5nuMbKZjkhaOn8/1GNNUF/7AVNtFFWAGIXHs8/C+NPxmVJi3C5xjk
uXyO7mOIl6enPBC/4PEuVonhF3JWXg==
=gVGE
-----END PGP SIGNATURE-----
allow caching of compiled instruction
Alan T. DeKok at 2019-12-16T18:56:04Z
Files modified:
* src/lib/server/virtual_servers.c
* src/lib/server/virtual_servers.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2e3b423bbcaee67c59e1b6f1533be4aa257c5d72
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl330ugACgkQfQ55zXdi
Hs1aMgf/eV4Q0FOiLDL2eJzJLN1kiS59JjZnBMpSUSs4UXhWIljJ/CyxsENZFWqc
kev1BubYFs586dMVBODWUkRQ0UJMJDG0si+oNklG40fq+272SBZZ4gYhi1S1kZAx
DZdS+6OQq5vDVJFzfGCvvN+8b/YR7IiAgDEZgLLNUPq7XF5kaSqxw6k5RjPtFdBi
1UVKWnx60wPasa4Fo4IcYJl2AhJLqxRzA96Ajboe8/PB2B0V81VJ5UHvcOupB4Ha
wzUco4qLlgy8hyqSw7646fY5NCvxxn1wCtu2TxNe7Pcp3r4C9gF6ZTuTongpj06e
nki3fHMxlIuKNPahd4CDvG8MUL2vYA==
=8xQ6
-----END PGP SIGNATURE-----
remove unused assignment
Alan T. DeKok at 2019-12-16T18:54:27Z
Files modified:
* src/lib/io/network.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/871eef2c9fc0f4f83d1f896ec2d00c5907157dad
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl33zggACgkQfQ55zXdi
Hs14awf/Zw3mihKjA1raGWc2WXa3DaWTDs4E5BdtmFtozsEEmqR1bQ7urlc8ZMFT
tXAq9UudPgoVZEw2KcrXTHEPU5EZCKDY6ekHnxTN8lUy7xpZ4Hqs2DRqotFapFEY
OWCQv/c4cwpHVxtOxhwe0kGwifmY8b7fabK2JhzEga08gMtlS1kCutVr6Zlpte6T
UiV4iCWJHofxnmJqsxaofGEWbbWvmtIbFTv5zRq3MyEB3b8QedS8ZndwUTnbJTgR
/VJyDTaHVnsVMaeMQYSlb0K6I3c2FwujrM35kpwJda0bqoYtGfDCzBmB362PkjIs
pwCx7/bZsB5wmhKWGqmsWuF1RJMYMQ==
=5WTY
-----END PGP SIGNATURE-----
return compiled instruction if the caller asks for it
Alan T. DeKok at 2019-12-16T18:33:33Z
Files modified:
* src/lib/eap/base.h
* src/lib/server/virtual_servers.c
* src/lib/tls/cache.c
* src/lib/tls/ocsp.c
* src/lib/unlang/compile.c
* src/lib/unlang/compile.h
* src/modules/proto_arp/proto_arp.c
* src/modules/proto_bfd/proto_bfd.c
* src/modules/proto_control/proto_control.c
* src/modules/proto_ldap_sync/proto_ldap_sync.c
* src/modules/proto_tacacs/proto_tacacs.c
* src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/233335900d6cab863b5515081de09b5a18ebb665
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl33zSwACgkQfQ55zXdi
Hs2mPgf/f7pplLb7RYc4JRL4aAQWobeEGbXWoqE57+Zti5LVGqMAiphVKG4i2dnX
Ao9bp7QX+W3fOt0mYElpNe0B3vH/erqTBpZTOchNKsH7W2dtxHUUFiHUaMO+rU2g
qyiNfrxdkDxouavZJFXdSSim3QyFhXQ9xIq/GNH10qsVb3SwyVZI2zZCRSnyFE4B
P8wo02WbK+YqJrU3qArLDBpBvD3GyRsasr1Mq8g6jnot3GhtNhY0JvCtuNm7rLxO
ffrC3AC/DmdwSSJ7Sakfjh2twddJ33il1Fi1qGKbOhxeQs9/M/10a/OGSDftvz3c
WAyYFRZkfXs0ZJLbwu846rmoQWFQlw==
=16vQ
-----END PGP SIGNATURE-----
add API to push bare instructions into a request
which is faster than doing lookups in CONF_SECTIONS
Alan T. DeKok at 2019-12-16T18:30:03Z
Files modified:
* src/lib/unlang/interpret.c
* src/lib/unlang/interpret.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/600602128e9d417efbe4b2e23a4fe5aac7811571
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl33y0wACgkQfQ55zXdi
Hs05HwgAo4YPfuKCz0LWHeNpZ+oEAsb1PCV9ZvuiR07ExzEUuzus6bE6RnMLEMoJ
VZ5DKW6ykWXTnJCm8gdStV3y828c1Cp4I0pB+c5WJEXW6UrVPRadZFYzVQnhqi08
cWR/qdwcdD/QExki7FEEaQT8B7sCHa831oI4WXcc63TY+H0tb68xeXsGW+KBZI8T
4rVTYB+lS2GGkmig2Tk+aCcpQc4+sgfTKbVR5HD7c6rEO6ckq3WlCZR2FnbAwVM4
Q8guQV5EMW0OitNWEuw2uEmPYUW5gP2RZkN0b+Od9RWdYb0pBGhDlJXxxOU2lnSM
IaEjj02RseQSYwf61ikHlSpg29hlqA==
=Wukf
-----END PGP SIGNATURE-----
update reference for newer specification
Alan T. DeKok at 2019-12-16T18:21:54Z
Files modified:
* raddb/policy.d/canonicalisation
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/454b4cd47fda020a3a03c019d37330860c317c52
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl33yswACgkQfQ55zXdi
Hs0JSwf/bDGFHeaFmXHOkpR7AgcZrzps4OJImhlX95oSmRKxwkoTvmEqerzfVTOD
sRFQXLENkkCHStSQA5QLW5pkKiAzSGThZHyRC9Yd+X/9MPT/mZ562rbqWuqaNoxn
EkORR7+wQYurGly0Pk7FHFA/UCay/MVFXYowLXIc2GKYvRQATFpsQUlcvV7sm+WY
rdpOCrMUQVcsLglhWg/g+5hfNrU3h3TZBcmJ3+A8fiiSDyRVyo3Qy0zq0zF+DijN
Eu+TRUC/ynjYk7OouH1GRDhnl/ze7RCOpRA4YooJINWrJAgv1pIpjr7fboQNSo+O
BwmQ/rSSU7smXLJ2TIWcCw+vmbiqLQ==
=AxF5
-----END PGP SIGNATURE-----
dhcpv4 options can be 257 octets long, not 255.
and move the "check for limit" code to decode option, not to
the callers.
Alan T. DeKok at 2019-12-16T18:19:56Z
Files modified:
* src/protocols/dhcpv4/decode.c
* src/protocols/dhcpv4/packet.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/43572cb139f672389f0ee91b459a7fe05603b767
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl33yswACgkQfQ55zXdi
Hs3t1QgAjd7GSPyPByNrOsISntKinliRIJNexvzlWEpA66K1iTcY6HQQaCNQDLy1
mb3VVvESZF7LujDL5lnnwentAfB8YciPQ6NMC8lvORA6rQGGii0odfur+rmSwlEs
scYln9Ns7Eqe4rqBC7M1gKGZC2CyUVrwv3Ey1IVjNEDYHdFzIqAOkixBXeQvcXfK
FZ8E/E4KwWau2tf6ndXOIENBn6Qwc1Hz5GzGzCP1qV9/LqPcy75xDWTgvZToJr0X
BPU9DNhgLj2JWCBSKixX7KhiNIaH8TPHBDCDToerlVut8p7YE6CRB599mC7fOrpt
eUWf2LURt/w1A/uZtQ0Yq0IMhOWeYg==
=d+3M
-----END PGP SIGNATURE-----
bump up the default sizes for ring buffers.
to 128K, which should be lots for most purposes
Alan T. DeKok at 2019-12-16T18:19:56Z
Files modified:
* src/lib/io/network.c
* src/lib/io/worker.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e45d2b288d70eca60b24aa7c363a2eec11f02f48
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl33yswACgkQfQ55zXdi
Hs0DUQgAnCAxW0QJeB+qwkkgFeWt/WrvjDxC7pYpTXOzV6vYnn6aYMPNP89uL/Kv
tzMAcnjCzrzl2H8HwoF6v06UvwbTZdU8dteVkFoskChYRw1PB0ElJvP0dc5kJ2en
dt5CZK7nykLiD0GHH85g9T0HYIPwpBfsbAivQqAaG1wuJ/QFRSV+LZxWsElnF0x2
5lbKbOjPMP7XJz6BNAKJGqdbOlTUVSMosLuzkAOWWKHOSp9ZZcg+/WJnrJppvEpq
uZFBz6j93PpWt6v64CIQtf5zui3mpuJMh4BMfGWvafxQE+hIJLtxfueDSwPEVa4u
4k73yNWkiVtn3j3NUBhPHVnqpkqzlw==
=yS+7
-----END PGP SIGNATURE-----
error messages are good for debugging, but not for the hot loop
It turns out that hitting the limits of ring buffers happens
a lot in the load tests.
Alan T. DeKok at 2019-12-16T18:19:56Z
Files modified:
* src/lib/io/ring_buffer.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a17540a36d226024fb85782fa42345886f5b8609
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl33yswACgkQfQ55zXdi
Hs0c9AgApUsmzQazMmMjzQ+r/cFKLUbAQPNoIlJuqZ3pChBY5aNke7DnN/wCV7ur
P3mD7KUV1BOuJ/8RTOYPFkUvt+ZAWwvcDxN4EpuSx6jAR8bHqzMdTu9O9E4v5UuH
FWysoDgH35RGjFSRJcWDqUxgc3jqW5AXH9Nast28qEMobW8vj5KnaQDcYejMvxqg
SiUW+ylwSl2baHEkPBCog/XaZ9tg0Qpv6Fkq7K/atl9b19zJ/xNIL9j3P+GO22LE
Ph368DPx0ZGomjNMndWtnIkgDwcqShlyKSrfUQ0kzepMYQA2eS80YX6uQLadZUh7
ZrAPe46f9jBmISqIEeod73vC+3AbPQ==
=5WlF
-----END PGP SIGNATURE-----
set CLOEXEC on pipes, too
Alan T. DeKok at 2019-12-16T18:19:56Z
Files modified:
* src/lib/io/control.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2fb7158454c303614b43fbb95b38f5d22ddb5e5a
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl33yswACgkQfQ55zXdi
Hs03lQf+MB8DssOJMwk0T98e5bi5JCMBMOMLfGxMdFz0N3kN2qYsDxHnzUoMibKx
3CtlSKH45jGWgPtfpubxxkXKs4a6YYhhwnWNYJJz+3E3+6UZTtwWIVaLWFosKWmK
QvtAmLHcUjls3J0Q4bTEMIcClj90K64orqf3CBoJJTEa+8CTC8xB+ntMpdKcHbou
GxC9Vm8eYqGqnLndIDaZ2u7ZR2TodtTD69L0EynUTm/LvEFCsdbGb/BPf7RoaMit
ofMm7LUmaBA7l8ODSw5glM9Dr7aNQ8ouyIw6Fo7GUJ2a19BaK0C9SiwHt0U74PPU
Z4CZEis8E9f79iheYkGXlTSNqEZ+kA==
=nA4w
-----END PGP SIGNATURE-----
allow bypassing / closing of all pipes and kqueues
if the two ends of the channel are in the same thread, just
run the callback immediately.
Alan T. DeKok at 2019-12-16T18:19:55Z
Files modified:
* src/lib/io/control.c
* src/lib/io/control.h
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5b76bbe29c5b89fd1fea720f020ebc586bb34ba3
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33xEgACgkQ/6TVgp+2
18qAoRAAlAJwacjCConCE8l3fa/PJFr72N2SZP+XgeAkyOWfuZb5SIcHlAbF3+oY
JndZFzxc6tigBo/WAFAFmZrM2lhC/ETiHwCTWLVptGKaIOtwNHESQH6lATzqpxMO
M5XagKq1JWqfGm+kmIWQXnDc2QKEZCykmsRBmVhPH7CAeBbDRDYB4uQhLGAyE5A9
GPrvCTZcYYyjcqmuKKtPxtt2GJPagLIFimfyiDAi8FuG/pWz6G9azbzmo0/5Uyll
XYk15r5oHBHOLISvonJ0HbX+D4ZavDVxDq6a7kfTK5ib1JvqLWENPMHyisFLXyc0
rKPxWGl0iZkVpz4eEaj/8+hBY13o/de+1zDw4eBGkN33FosDlMpVuJAKK2GhUm0z
fQsxqzicr7ID85VJ91Atn9nsTjLWI4Q1822N+NeGImn11CX0A/mGBeLQ0qoo4GKj
nnM4bwUczyXyp8AIbdc4t5TlzmubTUkWS68sBEX4hopSiaDOG333L8y9ezUfwHfe
j1PrRANQag/dEgNErb17fk7At4EhWnu2Ek41qbimdbwqoQZ542ivfnZKsI4Pxcqm
fXXBNtr5B5muWi5/zVm92X+i8tuoKV87u2djQjx0URsOsrJBFF7/96D9ojlhPu/m
4ghltmu0Xj6FrTv6xkhzPHvCQQqzG1Ro8yITjmjlts/KQnsQwjU=
=tMq5
-----END PGP SIGNATURE-----
Don't set defaults which'll cause the server to fail to start
Arran Cudbard-Bell at 2019-12-16T17:52:08Z
Files modified:
* src/modules/rlm_exec/rlm_exec.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/00a75a5765c57a40c7468120c5b3c64579649713
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33wBAACgkQ/6TVgp+2
18pGvg//RXi4AcdzcNJskSe77BkFPEEjEgUjqGHMRKC7V9VrUTqRlSK5MSJfoLIX
3CXkhvH6ZKD+lHxzU9Z+nhzCaZy4b7txpDX1JfumQsUcZevnylCenW2K0GiR3Uo2
adls7numRdvjIKNJvcTOND1+Gl+YFXp8zvHYfGYLSlTWacb6mf7lYuiz8fkWdHgg
3GSBHyTCKXLVntj4KiwbbEHYoMly0tnPxDuH/eTaka7i111Lyy0FLpF6vof8DiL3
RN4kYrBVBv2LW42xSSHSCjlJ2zd8fgcaTPuGeALJdpPQWKK1ixqyeFYa2nxjWwrc
D0yF1jRuyT6tVd8hL68tD/SmjOv0rYLVd6Y7TWxkMzdUIeVB+Ei+nd+jCZeKe0ih
Esm6mjI/1BCjrl8W7lzP/Ug+6lzIUZfvkQejc4Fff/ndsd6UQBhrvVUYir5KA59H
wZHvvwDDRCRxWxmXX9sZdWxw4iQ6OlzD/f6XBl3Kd85La9978BHgfp4fTjIw071P
mfKGk+4OKR5DCkngZVSCBduOfG6UNdSi7l6toaBHiI87YQzTnRFG7SrJIYK7X16H
yh1qdlv69quOUkQapSAaWuRFnWA00zkkUsdXV7E9M/QE03SFxYEOTSv348M5v8fn
HhvPyjBykcBwm5MVH6Bcms8bgrLmvppt7xWdzO8Y1fJNhKbS7vc=
=JzMr
-----END PGP SIGNATURE-----
Not American
Arran Cudbard-Bell at 2019-12-16T17:34:08Z
Files modified:
* raddb/policy.d/canonicalisation
* raddb/policy.d/canonicalization
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/44f922cc586cc5aca4e893e5305f750e8d4f8d25
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33nusACgkQ/6TVgp+2
18pP5hAAgBswpBeHKej+kqWi+fbpD2/ct13HxHG/ee6tBhuicJffVJkKmrWW/lX3
6gApEVGxnJ4XcaPP79f5z4vu9QT7ACLQTv6tEvGJiABBovphmgeGZ2/thySXmEDr
MgslCom+WvQ9AEvZVL73H8lctgERSLM7uOxYTFa2OsxRQLVlVtS24Cgy44LsTH3R
F4czdxZ+ig6OMcre8n0C13cGx7VSlYx4QN7xzPU6NMOnbrtJdZjkh8yLb53urjKP
4NVaQl8zlmtY1k9Kt2ztB1jh3/mCdatj4rQAprcmwfIj57/ltnsCRLxu15iDcmT3
PNaa7/pRgqg4P58gk5BEDXP5c+pEHtyKD9XC4EYNL6PhefoM8T8SlAbNnhcvUORu
v4XGqj970zvAOgEzWmXQGtBXaeIV8FCPomWXTjYPvaq2lxj1Tv9hgLOnUsyfvdsc
+3WzJJ7VF/kx4K6t6rFtQqSLayndXNbZ97FeaDGSQTJL5R01DlToTOU28ZbzXHFB
pTN9vMIGkvSTQgt/qh6PxdJfuyJ2cCva0hh5Xo2E5raCD7MHYgafO6SihdC3vBXn
zzDvDC2t4nI1FIQOR+cxAss4tKAvhIbgDkHkLkriBSMOL+H6mE6Mv6SDdpSvvcKc
4FRU+cDVf4xYDXVZgV3hhC5n2LNAMlCcTOBIHCWvlMSGtbklC7U=
=Bkc9
-----END PGP SIGNATURE-----
Use common log prefix for worker messages
Arran Cudbard-Bell at 2019-12-16T15:12:43Z
Files modified:
* src/lib/io/worker.c
* src/lib/server/main_loop.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ff4708b7616e51981fcff864b576a68debfed46e
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33lMcACgkQ/6TVgp+2
18qGSw/7BcySLOx3KViwJb71TM/9g7j6ChrQ7MtoG9hjubtNXy+2RAapRiIR4K/r
q3B6LvrhW61A/e5hZ5qBtd0nRfXCVlXxPACBQiFmDTQDeQR2dfOYuBT4tJESF96k
U1L+g3+B4/DNLyUYav8XJCrRw+ifeGs6isEsFtdVkIIrfUzcyekxph0UlWlzRKM0
V7fiYspCUTJzIZq5gOczHjijz/l7QsaE8BXaOJAy7EF7SCek8R0qQgcim4daEZBp
6qINZ+uib7ZsUVYWhva56DLeZjq/liFLVRngLoWB+4gPUobCtHjZrWXDbh3HwyF4
Wo1Tuf7QQpn00fFYwgcqtEes0agITMv7IbwZg00lFBwQwX1ig/hHUyChdplZftUp
gVBxtgt/EjVRUwK8ksydQtMFDj+gIa6SQZrgIuTfM1IQk4g652uNG+oQHoH01Yvn
PATZeO7Sei3JXxhhssBjem0JY7MnnLIDUQrw2xaq1kaZUyc5TfCygTQ6chFxGaNl
GfpnyfQq16wNweJ9/uuIZOd598b9RA8jbJv/xPDwCtAf3cEpMQ3lCouo4my+PhUc
mIOw3YcJhP1GnYAnBKnz5SHuj60z39CAZj2kS7nuH5OggQlxsyWTlwtqJAuBXFhX
7qwgh2azBlKToOOZB4qoUo8/JRAfCwzOYEvT53kFijbUftcLu7s=
=MMHN
-----END PGP SIGNATURE-----
Fix fr_value_box_cast_to_octets when dealing with non-numeric and non-ip types.
Arran Cudbard-Bell at 2019-12-16T14:29:27Z
Files modified:
* src/lib/util/value.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0fe902a7852890a0b28ff968f307edca62afc5f0
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQJWBAABCgBAFiEEpcXpnfubXB9wp6L/2bkzwSrtdPAFAl33iDIiHG1hdHRoZXct
Z2l0QG5ld3RvbmNvbXB1dGluZy5jby51awAKCRDZuTPBKu108GzMEACLWo3hUSFi
1ik/ToB9JQaEMPhUgwseteP2Xe4Qg9spyAVzd9d/KSotZ8sTv912Fi7R0TkPDN8m
1xbAS/LOZGrIiMHCW3g30QYEjTmE2rdDXeR1Wk5Uu7Jt3rxpZcKnqtm0IjCVQzH9
mX5lMgei8CZmpc1i3HvHrRWFAyVNfyTSnxhBbhNXLTKHnEs9NVw7dhi4JfFJ0KAi
h7RWxDeK7seZJl1dHgb/FATGdcwmc09P0y4VWv7OTuk/G71CTkQQ/D+DmkAGNG++
PT35ftbolmkQ8SssWwu09ky3tBiRNkip/sAGWIA6zkYwiwZafFr+Hwfos7KYvVcJ
O4Vn09A9gbzN375+8VtX2wYtyCQzmik26mYIbdj9rA5Nieoe7X3+Zj3N7X5WGxPI
HJZeg3+1dxsyjNMfcw9kf9qc4k5Hi63OXJRkOEVQluY//1AOP54gTPXTf4WeMx25
4E0MwstbcWm5MWVLUrwrkfnjuXcG6VYbuH6AoLXx9fqBm6odi0p04woPNpXSTEC9
r1+mku7jLVoE3t/yrX30k6DkCHCsBpg8Tj8SbuNR7tvO4HX932tXufprW9mUqAA3
rkmre1G8/s1lWA4K5zIyfX4zCBXnoh94bztXwpwgXHmWoWEg7lKI8ob15idt/9IM
i+ezhS08junjD4ZQz3ac5cSFagt0XNrpAw==
=s3yq
-----END PGP SIGNATURE-----
don't try and build rlm_python if we can't configure it
Matthew Newton at 2019-12-16T13:35:40Z
Files modified:
* src/modules/rlm_python/configure
* src/modules/rlm_python/configure.ac
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/44d8122b3f53baef0856b07c8b26e6c014928ba1
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33gx4ACgkQ/6TVgp+2
18pqiw//XfDeMYlaVHUbus2RsEOJQ5sk57wHUba/ylQFr8urlkMVzf6WWj9L65gV
8bmKLLdsUkRzfW+ON0bDV4eWrlo7xlnxxwjo64ioLW5Q+smnkczK/1xKXBX81j4J
a2zXbsJ5At22O8sOfIe5Z4NSzDGprcqVJMrQ2ubne5tLf+9AKkO2u5U53/7Dyazo
Je10Vq0+c9T858tyNqRf27Ra2YhyrQw3/7SQgYl7mmb8R1y9fwWlrg4d6IzcBTLk
yoe7nkXCv+e5Iy38oNUHL4piZJBtFpiPouthZDXVB8KzswTplsKhyh4BQWOVYrMd
2CrIjibTlJkaSVUMk3hbIBBW1NMQ7o3IoJLrVoMFuJTF0nlvZ1Py5bhnaBssGGIz
8BQAWQrKpmJjn3dEvVKJBLLmqI94Q/AjyO/h33xp23hsVQhbgl6PuAxo2Y8GlG7V
1kCFLJGc6FVvfZhQqq1v6BtEUuMxC9B1rFgimOEHNLl3W7IBW+gmzRLJJgOwCf6C
WY7Pp/obr22SKn/XyMaGaq38V+Gh9KID+DE6dh+d4gbVcbR4vvOIMnxJNDzWQDTa
/ZkUtSZ7vEdhQ9n7p/ls/CXBHCtNFSLCozd0VbuTcfKYa46UkF1tckdp8fexISbH
1r0FxRQ3fv2eUdi4uST3J4hUeRoks3CtkW/imqgyuDsslq9ZOj8=
=54CJ
-----END PGP SIGNATURE-----
Fix error code return from unit_test_module
Arran Cudbard-Bell at 2019-12-16T13:14:05Z
Files modified:
* src/bin/unit_test_module.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f554c61075436ce50912f2096577917aac5d2018
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33gAQACgkQ/6TVgp+2
18pZsg//ZJ0J0ai+ABviOFC0suqdbw6/mRw6abwKRtBOb1/v3IiXHV6MbBSxchpN
Tgy2r8zzW48Ltk8jG3nyk6Hd0aLCwz4pW9Ax7VGTaj2LWynGH5zxcK28PR5/MvII
eIo6Rj8wi+ClcTHdTUJfmcR5+4/l3QEvU+QUdaW3vq6mLnSvY4aeRF+mPmUBAQKV
nnIVyVw/ou5gsC+h0VGGfwe1R2+ioKm5BlZvN2EevkV+mwgwdZ0bILZJnciTt8Rz
Rie21xH4UxrXLGJw6jU3qcTaYMP70emKCp9R8FCeEmnbVhZk3l8MHEhoNORXo7Bn
ncCoHV/p25jc2BCTkU5DD1nj4xkHdPvFcQX7L2K40U+4V55HdgxQnRzGiwDY20eX
RHYi5ga6uo76EFK/X1dqp79rgAp+0JTj4TvQfaNq1Zw0VYj0lxCGvP4vQ7mAI6Kk
pSQ1SaLzQp1cM0Qm0GzG9I19RKBpHNRl7sH9imJ2vfU193mDI03ImLqZcH57NhI4
PQSVs3jydGK1QuMcaKQk21tpBgTrijDpkDVd+Xlqh0ZuleBAmE/+vx3ZokKCClZ5
toa3JGLMt0sjbmwng6fQFEmNcP3OJ9G/19RBjjEgXOcCn4LGvFwF3dh9Qk7n76tU
QLSeb5y+ff1nK/k4Ab33BcWvIwOnXOUfmo6rgDOHzfE6ttKi4f0=
=fOs2
-----END PGP SIGNATURE-----
Don't need to print this repeatedly
Arran Cudbard-Bell at 2019-12-16T13:00:52Z
Files modified:
* src/lib/server/main_loop.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/cf27b6db4c15c7e59f35343389c280f68c8aaab7
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33f+4ACgkQ/6TVgp+2
18rOaQ/+LWcuUmplwv0aGjj0YdBI2aUrS20au+GnXYl1GDv7QyjqIfRHw/Ht6yR1
E9vab3qS5REwO0B1K8OmWe6izi8X9tsriHvBcZh3RwVTf4GgkR8jBttD7YNqPrG1
MZs6vIq7rZi0bXnh98WoYC3glaiTjExd0g2l/dbK1G0XP1zm2mCkABaQQlKSditH
PEUjwf+9TohJGXmHVptkKv9erhj3FVAjpMfk0pqmeId+GVSMQ4PfxxU1LHi39hNk
TloyNxDylW588WE+OYj+pYtHFBv8ZFUnJW8Fxle/qWBLq3vXh9GPuUEUZU3MqG9U
4QG27XLsAF2YRupcDnDEBAXAsONYW1P4Pekka+cwCAM1JPYZR//k8qKXxzH7s4Zz
KHg7gWKDBFQs2K70RqMHmisN4j9hsz9ydS8NGwu70tOJlPTqTaiYRRn+JrTAOLQP
IMMqGyA/6OG16Pojrkqy0E4MNWtpZ9qVw6r4WCZMap2Yn3OuXffNFbrq96rM3J6r
/F9qiYmSIzBouwy4DRJthg3dRdyGqUZLkXFl/5IWdHzui4Nbugf+5u/SI9ZKc2te
2gOEdDFyLsMranylEw26rw4zG/UVPKL2Ye4+V+j8IHJmsHMT+FV2gvgzWGwbVKNd
WkQwfUi5jMXQnfWGIywKTIba+EzetBF+Mb7JXhlJ3ZN0Uixweyg=
=RNis
-----END PGP SIGNATURE-----
Doesn't need to be atomic
Arran Cudbard-Bell at 2019-12-16T13:00:30Z
Files modified:
* src/lib/io/channel.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/85929d0acb027bd4a2ecf797933e11049ef08abc
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33bGcACgkQ/6TVgp+2
18qO8xAAlxYHjFjstW2naqG1mgnTE6IeMuKtNl89KZX6zW7YvabJfPDVifH8fLcz
EMIKBuqC2ToDDRm5ev2OHbiaGugT8KqKowhFe1G+rmx8YFSTfYqKRzclEWylPZ2J
WvQeC0MzsRWf/8RQ/u/aHDOhoyIT6UI+04c7PcX4zVOYIXKmNWQz0yMZKulP2rT5
56z+w8+/TLG9iVs7QLHPRTIvR/6YlyAHMxiNAk4JnG0iL+bHTH8Ukh1OxSzcxV24
bzE7el/p+GmeuM3DJTj097T2628szZ5aDtveIRKqLKx5k44pSeYJLOcdHMrfkQfb
s4qxh5PY8Ap9lj+OINK+E/VyOoiea0hs3eMCEgDrqaqj4w8Y6WlMQWpDrH18UziQ
RedJoptBrAnm/BULbMJIuzCipjd8nrICc+59EMCAViyFBAu/qGIUqXjZuDGZo9mo
HkVQmjl7UN2ofIVwXeV3XEV6RLpL1Xlj4/CfkkxlyaWd8GkjxwAHs2moxb63vsQ9
SAfNuha7bovostsdcUXf54ctC9zr/WU333Uf3o3ot0jDAcIt5mpGA8Rmmunj6s3m
pwqrhktk/MiG0Y4MvYPNL9lwTqdzjgBry6PCFy6aAWkL5H90TZM0DvOqQExe3aH+
RPGYvze5BD+RNKoA5IpNDvUU+dYwLE4od8tpNZmq+u5KTv2pEdY=
=dl8t
-----END PGP SIGNATURE-----
Use more specific error messages
Arran Cudbard-Bell at 2019-12-16T11:37:11Z
Files modified:
* src/lib/io/network.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/72dc7a6904fb6922bf58f1f8a889e60fa7a6ba50
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33ZqsACgkQ/6TVgp+2
18rh/Q/+JdwsyEDixeJI1FXuu0GltzA3qjSWryOkHAp/aRrpD57e4WHzbVvguTac
wqtV7uGWdCL3RSfiHv53ItoKlPAA59vD/4lGjLcfVzSG1URmZftemngydEJ6KFkf
YHvirqfWCTKKcXtEMaxCVOOGzyG6UMX7bN3QOUmxWx/yohM0vPGgpP4YK2B3VcQR
YpC99qhLr5GNnxyxdD9GJ5I7KBBj7U0EyoyuV7OadnDvu+uQnKdJvynDzIquP+rB
57SAku+unwjHnqgSDta+o3Q9OAuQUS9aXwlldZhu3EGq7mKUbWjgmBPl/E+kMf6p
3Sv0AyR1dNlk360kb+VtYIQtgktpAhaOIcl53xUcyjTjuhsbnmC1o+rO+dxNSJgd
tatcCmv8dHXlf/gC1bhXwWgqowd0Tqg+YUrK5asPI5EHlUgquZDWgovScuV2Mub8
IJA0wQn7HfhM9GGBw0tYf8XlnTGW4+/2f2hcTdDVTYdxf3dTPvR+yUcywVMA3kg+
f6/XyG5oU3GWonPVTnnmN39Zpqc3SPqqCZgW/J7OjZtNyC8kfzdX/+FKWoTQqRYg
rAIGn3uHpsxpheuMR2QcoNZXfbUFFGIYTNwQiiMOQ4aLYnYlxOEnrj+gl+9NJWqP
fHbH6ovaKetkF2BduFRVrezjJWz4tgIHA2vMZFDb10cwLcaqx08=
=aY1O
-----END PGP SIGNATURE-----
Typo
Arran Cudbard-Bell at 2019-12-16T11:12:43Z
Files modified:
* src/lib/io/schedule.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dc480deff72e59420906489df2da73c53d6fa6c9
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33ZPMACgkQ/6TVgp+2
18rfnA//XQPj3VTCKVoALRJ1Eokzq9CHwzhdCHaWAyTV1/93QsG4Keq+ormthp/F
aj1OenMtywZjgYBuqVrMcRI+t1W0NCLA6qDOOexlpzXgszlJ2nkqFHq+8g2miG+B
1goGzD3oII1GOMFY70TQOYGROX6Ydle6Jb069ik9AD7BbfY828HuBdA2ckcNkFKM
yDZgRfSr/U5Tjk+Ez0NQaSYHAsRo2V8xQhboGNclzX8BDpX26Ab0X//nEC5f153Z
zedyjNlupXy7IuEBPTAiz6j4UHRXdRULKHxwB06cgfRqlsi/NMWXmsB6eoRFT6Dl
T1fiCA8b3uV2c3M+SY1rUZS8jR42MQ6XgzzEu22YT0XK5QFKyCJBGolo8tWbxo0f
KTnZhPRtzABWn52+pJS4aj1H2HPHlgTA4/pgadUByQe8XYKYbY+AXCywHwZS5qJJ
sL+QKu1aOfZZX5RmUbL/4zL4GbcfqtHFkuj+ftcsj69O14BkgmarEa5E0/HP1GuZ
xm2t/OyXUrA0E4O4vBguRm/KIz9xjhTHzDNdNKpetTTJfwEQiA35GXUfUCJrm+wV
bIYUowUonIpq+yBmHI9tGUCKNxlmyOqaELFidJK8B9zTmE7cspk8VUNrTsJZ74k/
LQQ2f14+53eeGFZTUm7sVsLvdQTnQ1E64cf0gIzuszyZNpuGdgU=
=Dhs5
-----END PGP SIGNATURE-----
Remove fr_worker_exit and strip fr_ prefix off local functions
Arran Cudbard-Bell at 2019-12-16T11:05:23Z
Files modified:
* src/lib/io/worker.c
* src/lib/io/worker.h
* src/tests/util/radius1_test.c
* src/tests/util/worker_test.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2012c1bc784c46a793ff3f1050e68fed36a6fe3e
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33X7wACgkQ/6TVgp+2
18rUtA//ZlBjHctFZjKXcstiHVI1j8St+8RZumyZHu2dGGTgSOZQmIEP2LhbKLbT
WluMgWLC41A1opkTYpJKs+6/M7ZbPgoj7vgwcBfEJuDPNUqFeZhej0NNVWE8VK55
m6qvPVP6jhBaA3qHbRhrijUW4xzbEXMuPWZdUBcdHgJLINOqmPoZ517rd5AkZvfY
/kaiLNh9xTWzJwUmHcdySJ/5z657VJItB4AGRbXA3OV4aiTL4EqItnFhpoTu/Cmk
dg5uM2zcg1dqVD5Dgr7/ks5+84tJyv/jpde1ZoSTxySiq7tNkKRqYgzMe0ONYj7q
cwJOoS13tvP6nGg+zQQpECjduRbOq98GxcALjWy21NP5IcT9HKtA3udnFdxlp7Rz
b3WB93Lo+pbkp8fg3+a78/ELjBOtObqL9d+IlWYsiyHtEBlMKPexy9KMvIpE/hxX
+lzqrpHrjuEE14v2NjTYLl/3voH5j0et/aEtxcHjAIDgbA2kUcj46aTyKsfenZ0B
Ouq1pDiSGsxSy5UPmS5O/6BwSWgV6E7vXNPqrEaT61Ze2Kk5wuAfwvInsX9mC7GL
RJ8kDlQ+GzhlqZoA0qsxHkwai0XCXiuhLSjE8zzbuNUx4hXNZvASBqMGYDWOlTeX
Aqors+qtvycXumjZ3y/D9G3FKDah6+5FyiOMnqdk7/5CG3SH5Zk=
=K3Bl
-----END PGP SIGNATURE-----
Use active flag on each end of the channel
Arran Cudbard-Bell at 2019-12-16T10:43:08Z
Files modified:
* src/lib/io/channel.c
* src/lib/io/worker.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b1b98550bf592d7d902ac0465af2fc3f3b47757a
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33W9EACgkQ/6TVgp+2
18r/TA/9EaD6qCLAAL2HVACLyRqlQmqMM72I0y0tg5E9xpPVocPuSuRbKFvp4RCZ
E1muEFy6RGaiv2fIiBt9YafvFYOFFdZC8V5pX33olDoevEUf6QHIPH1KS9oCV4kG
Qz4fj1dUImx/bov1KdxKHRm6ir0xK/hsUhkozJyP4twZqAfb51Dqj9O8yogYz0nS
ymnOSdRZ+Zedq2AOMFjHaMK8t+VjBfP1yNeWJ/SVraaAG4LEHX95vuxB3s4Ui4vX
dIwzIpdXAEpXWC+dkJYJtYV5NB2TqiwvejhF92jL0iXv03wPSfCiw7sZ2bXail3r
N85mQN0tggb29p2Mnqou6I3y6RQ0iP2koHuA8GGqI01U4behy+VdRhPwkzbyQCzf
XZuiPAajrR1REQqF1GxwAG/dMiQQjUEbwveQRvUmMS3iMrukTy9u0V8GifVVoInG
IZESic63TVf3vr2bmq6pLpcB3+h7ChPY2e1ZYOzZgQiMeNTIWN+dnT+e7KmuprTU
aVgeFQwuJgPt1ucoc2WWsCTy+Upae0g5Ovro8Iw2mtix0jjc6W9pbvgvSZ6im+za
NC047qilL38QbbzUdQ/eLFvc/OHAdSvx/uQubPgmuWTR+5YDsMzj+5hk/sNWFxW/
gVO/rLMv5DkW2gfmpW4YTaJOUvIv07gb69nXU4KCMwQVZCA+a3w=
=PVWM
-----END PGP SIGNATURE-----
Change the way workers are signalled to exit
They now wait for all their channels to close, then signal themselves to exit via their event loop.
Arran Cudbard-Bell at 2019-12-16T10:26:25Z
Files modified:
* src/lib/io/schedule.c
* src/lib/io/worker.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ad1aaaebb3cdf460fe5351b6b62854dc76aa63e2
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33W9EACgkQ/6TVgp+2
18qxJhAAgurbP/aZZ06fh8u/D30INFCemG1cXPN1Ym/Zc/ous6B5QvGc5GUp6EYu
rCVbBrrxLzxaDDOEETdc6j0PGhrkHgVXN8JGqx96ME0DcLa9WsbaxKf9MD2k0iWp
bD3/EkicliNIQVS6U8C6ftaJ+dL5jRoyq/+lFi/cG5iRiVhFd5jwPxY0M08Gpf0b
O2P40L/Irl6AsBBwR0cjx+6vHc9ZLCELXt83lsoGPePXw4YKeVJr+i2+0Jj+0Kwj
lfbSbyIA8pYkYE9Y6tIVCSA1e7ivu3Nbr+AvlFt4NRWbna4IKdtuubjBIqYSbbaT
k+uaQFJHCeE5ScCMnGDZZJ35YLzmWFfko2YN4dNRaD9h80ZM+dnJquITWJZzuT0L
xmgJhlrZmJG/noJAgddmiV0kYFqRRVdsoxNLyCwK/bNdf4OjtXN8lRglevMyZa98
XoIeV44NUg8BMZ962fEgBNOyPIareIifxPla0CmOywawKCAzHGnvDiPt+H7SkyjC
nsLo09jDJyn0CtgmVFHcVvwIKCu8xI4D1Fz3vH6c7dHP8CgkTIds4PEmJYs7he7F
2ch6H+DUE+d0+ag6ylCMJERkxVuDwUuQ6NmEJVZcAySZ7aGkRyRdSmqfTHGJtkJu
OuYb7bMVA96qhIZBN/awLh61/w/ThZiYKH42iikPSswL1m3pY5Y=
=Tcyk
-----END PGP SIGNATURE-----
General cleanups in the worker code
Update comments, normalise debug messages.
Arran Cudbard-Bell at 2019-12-16T10:26:25Z
Files modified:
* src/lib/io/network.c
* src/lib/io/worker.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d4fceaed2b10ea2ca25324cfc01aa2b0e35dc63b
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33U4sACgkQ/6TVgp+2
18rjww//ewfsEMKpetY4cyEi+IP99aMoWWHN7P99euriGT49S6FTcFPseohn9I5+
6vA4ZZBaS4Rowgbozudpvy0ncyJ97NevMQDuWkpWRhtGw/+LtKqPDVNzniyPs9xa
snr9+2aKuK2WddAc++tlqA2lyF8hACvfopp5SXCmG+Zbbpk72yLWO3P86kt6aQPs
IGopqo4OI3Gp/4A23mb1pKtBwn/w4w7pDN3wiJY24/x/KUHgfwpKw1G3MwzUJeHt
2dljh5NWMFJr3WnsiLg6gGzNTIOl89WKeECI3fPuVmyEoczoE792oRzz0w6Xl8cm
PhwotqDouHygey39hyjdSTHJNvGOitkNMlsQ6gMxpz/HTWE8tEy0xd9L8lXSQsjz
EMwwxXBCWdd1Lf/KaeRRtmpUsq8SGMCkuqOJK0/ykgkI1hOVWtzpTQNBRJOdmBg2
TAyamUbp8R8UZOZcr0bNI7S/P7SI6xVB1fN7PBwk5utVgrYrxTlfN5BmxTeUTtTX
gmXiDyClcYxyZezjTOExtBIRoOtdfanm1nlIcAOX/doAqvw8OsDBIz846+2/SYjS
08M0T+Z18rMKsNhVDehzyCRyiNzDtpYjPRkekbbZsHlILpt+j3yAGcdc4lQEMK0A
A600z0HxggF+6EHGq37dYa9pe4qXjw64vlCRArk7cZ0mMKllTtc=
=0jvQ
-----END PGP SIGNATURE-----
Switch to atomics for shared fields
Arran Cudbard-Bell at 2019-12-16T09:51:07Z
Files modified:
* src/lib/io/channel.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ee803e75e3c430dc2539ed38e9728f5425f7eeb2
======
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl33QwcACgkQ/6TVgp+2
18pfUw/+M6JZUcnb32rzfqoNNCkAJLGDxspL0zXC7UwBE5RAornaeUlGyAOkWY5N
tvKUvm/DXrxcxwfi6PxmEniC9fmg88QZzS3jMP9FgeZ49Swd4Lw01xjYeDLtQpRq
As1ak1Qj+CvOAe0hqcaVEKEpBnqA+cMTO+5anmQfCUV/k5ir/Ce/ANPkzuyVQ505
IUz+d3Z6ZEmtGYqWp/Qv+VygFSi6mPWC5pU9beGLNKQur8iisZ/zb69U4pPEQWhB
TL8eMAu1yBYt1KNtK0fch4hxvSMgnuL+64TILQpkw/vE5I03mbO40WYhQb7FfMcT
vO3KUvR9nKKzPw6ta4vy/61xLnhcRQXGxtZ02FJlmjdH5SN/Vb3EMnH/auCM20F1
K9nXO6NwQMK9DXGu8p/i1hmX07KKACcREYmUhG20+kK4wgVykV6GX3H9KyDvPJ1S
KT6kD11JyFb5167anutnBIr6PoW4BC9zbvwh7oe95+Q+6SOATg9feTUc0wxpwu+F
zxc1RCDcOZ4KtTnydCo2T8Mf48U/DufL4x24Qosi5/FJRQdzZ3unZXcuprwVuuUW
0xzhz/Pp718N+iYJbNNoqVnmuzPSx2bIa1tzhTiYBioNvRCYH6kQJb8ptKMYP1Tm
nOkJG+8KMyHoJnTlVUKSBocIW0I3+/HFKZGaDyJugSuZ1JFRE9s=
=bTRP
-----END PGP SIGNATURE-----
Minor cleanups in channel code
Use REQUESTOR in place of "master" and "network", and RESPONDER in place of "worker". The channel code will likely be reused very soon to create module specific thread pools to deal with blocking requests, and it's confusing to use usecase specific terms in generic code.
Move all size_t to uint64_t. Guessing the original author was just being lazy and didn't want to type %"PRIu64 in a bunch of places.
Rename "ctx" to "uctx" because that's what it is...
Arran Cudbard-Bell at 2019-12-16T08:40:39Z
Files modified:
* src/lib/io/channel.c
* src/lib/io/channel.h
* src/lib/io/network.c
* src/lib/io/worker.c
* src/tests/util/channel_test.c
* src/tests/util/radius1_test.c
* src/tests/util/worker_test.c
Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4b75433ebca3cfdb150c168535d3768040a2f31d
======
--
This commit summary was generated @2019-12-17T00:00:03Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).
More information about the Freeradius-Devel
mailing list