Commit report for v4.0.x branch

announce at freeradius.org announce at freeradius.org
Fri Sep 22 02:00:02 CEST 2017


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZxBqlAAoJEH0Oec13Yh7NkawIAIyuDRIcUGi8x77wNWG1UAD5
 Mc3h+jo7EFUjbQR20YtjwspxxRyEMi4ZD31NtcmzY7yB+jE88L8eBIr9z9AXsMLE
 QZKGRn0YmJlpm7MTCvYiPitTM6rpoDW0W+1MdERrbDaiy9t0e7gjGq8/iOMGGbXj
 WqiUubfd8YD5GYCMoH3cOfY3Py74n3s8hE6hsI8EFnVwhQyG6kjO18XsLd5J3ONX
 hwrzFsqz4k/jOdsHIZiaWOEmtHAHGB+xq99n0gXaLDX8juKc+po2x24QcbOzMErB
 d/gjwNz9PQE25RlAX/KiPhtItHU5QAYJn1Tj6AMAk5X08Yo3TyLWDBp5ilhFVlE=
 =YQUm
 -----END PGP SIGNATURE-----

ensure we listen only on directories for vnodes

Alan T. DeKok at 2017-09-21T20:01:26Z
Files modified:
	* src/lib/util/event.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/43b4fa7edcffcb87e13b72c0868426b4c77993ab
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZxBmYAAoJEH0Oec13Yh7NLxAIAIk/ApeGMJ8xqJ+MxvTqVt24
 j643UeTS0nx491rHS/9d2JtoRMyMw3yEhzbiMngwqskoVq4tBN4BpS2BwCPBDDp+
 9VMOsvjDSkvGlajNy0E49paBMDmNrhfZuoQd12gOTORHY+Q7qtKUOqNZaBfRwbva
 EEVI4Aqdn+tB873WTOeiosZU3r6Ujg8lbV9zbzO73lfd7rIQH66UUGSxQL5XZl6J
 Oq8Db4scsEWtU7ptiCHBDveTQp6TPcoPcl/SsE94HvvecmdfG0vGSJgKl52Ff76J
 j12VTCg2XwlweZRFc7xjiVHjFm6281Jak0Wt9xru9pGS1xW8UWwDmY3ylLRfXvw=
 =GIMQ
 -----END PGP SIGNATURE-----

add vnode to app_io, and notify it when things change

Alan T. DeKok at 2017-09-21T19:56:59Z
Files modified:
	* src/lib/io/application.h
	* src/lib/io/io.h
	* src/lib/io/network.c
	* src/lib/util/event.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a427c0068f624a9b9aa3d7d50750c1b3924caa73
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZxATcAAoJEH0Oec13Yh7NfUAH/AxTrZ8zmdJOoETn/7dA9imf
 G44FY8VohvJImlS9+JB6JHC4vPZVUdC/AgyR5Kho49LbK10NY/V8tC6dpJ44RuwF
 ss36EIpAek0OV3OwMdZN7yG5iW/tmpbl3BshBeFA4+Obhsimy+s0YNPI/w1ndb0B
 l18n/zxUW7QKxK3KfTvnpTkRsyrB+QlSxtWzsqamZezzhMv4rmWdiSwD/qy+Sq7e
 wgH9TIcc3QXbF0/bBvddJkLV+wTQWEXbMLQ9H+9n9rPwLLCnHN1BfK3GTpVoiyly
 kV5lCIJSSkteFVSEihvEoL6zgaGnqxYpCsQ84V62Q9eMhmnw5BTrVvfyxBbFBic=
 =uusp
 -----END PGP SIGNATURE-----

doxygen

Alan T. DeKok at 2017-09-21T18:28:41Z
Files modified:
	* src/lib/util/event.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a01bf266760324c231ff21fcf88d92c1cc505ca2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZxABqAAoJEH0Oec13Yh7NAMYH/RUO8HqOePbPoow4mZaOSf9n
 pkgKdRA9yh6YLwCQgQ/YFQrKy9yuZUSdlJMKnJYQTi/5jzLURl4biRmJUcuhiJnD
 b+DXimQp5mWhYtTIgLEM9JYJ9CYvYDBwRXNmHtC27yQTYa5a6ybBJyljyytT9D7k
 5Mcy0shXVYNUsxbJNUUgJmjV9w+H1AhMefS7YV9OUPcA5nCNuBUtXLi6+IXWtrQz
 u9Okx9UmhTw7JnLpjwM4Av1tK1sH8q6DGN7bZUkaCSbYa08OFXKpGyaGQlCW+gCh
 QD4qKeBpAOSTM4ot34Nc/BMpfIkNQz/McVgM5k7ePtIb0eINe+YodNO26SQNxDI=
 =YX2C
 -----END PGP SIGNATURE-----

allow adding "watch directory" to the network side

the function called from the event loop is empty and does
nothing for now.  Later, it has to call a new function in
the app_io, and tell it "something changed in the directory".

That function then needs to open the new detail file, and
(somehow?) get those packets back to the fr_network_t, for
forwarding to a worker.

Alan T. DeKok at 2017-09-21T18:08:22Z
Files modified:
	* src/lib/io/control.h
	* src/lib/io/network.c
	* src/lib/io/network.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ca442745101c7694212c80c0c26866f620078459
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZw/4hAAoJEH0Oec13Yh7NAYcH/2eCr0wG1NcOFD9Tf5bum4s9
 +ywCEREMLXMY8EHp0CIBCuTrvxW2yTSTrVxquwB3z7Nps9VpcRL34UcYC/312VDZ
 1NN/zcKL+wzvq7hMuuGmN2odO7y2Ct+nMa+GuOZ1XlLh706wNo02GEtkQC52dT05
 pf1MT1IJ0ukauYP9U8tGI4DXVi2PkdTbQwh2UWtv0L7hfrCPPpBoHiyMJM5d4lJ1
 LTQhRJpheip9XsiNnu+1UxR5qeZ2Y/YnRvD7HMBcdA+pIXQAzHQigplMO1YbQv+H
 KBvqpJh3W+GZQhJNZ+wxowSJmAnwULcgK3r5fcOM4LE3O0rRCtMxV1wzZF1mCxQ=
 =BaS9
 -----END PGP SIGNATURE-----

add support for EVFILT_VNODE

for now, hard-coded to NOTE_EXTEND.

i.e. for directories, and for proto_detail

Alan T. DeKok at 2017-09-21T17:59:52Z
Files modified:
	* src/include/event.h
	* src/lib/io/network.c
	* src/lib/ldap/bind.c
	* src/lib/ldap/sasl.c
	* src/lib/ldap/start_tls.c
	* src/lib/util/event.c
	* src/main/connection.c
	* src/main/process.c
	* src/main/radsniff.c
	* src/main/unlang_interpret.c
	* src/modules/proto_bfd/proto_bfd.c
	* src/modules/rlm_logtee/rlm_logtee.c
	* src/modules/rlm_radius/rlm_radius_udp.c
	* src/modules/rlm_rest/io.c
	* src/modules/rlm_unbound/rlm_unbound.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/03b5c762326dc7c7b274575be9de64ac49b59db0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZw/HbAAoJEH0Oec13Yh7NY8sH/02hXYo8USa1FxAwPD7kyuWX
 Mksfh2yS0V6BmAIKiEpC+M5nv/3BU7zrCz+oNAth67D8Q+ucJY1xI1QhCNPNmjdk
 wQ6evC59MxPiUiIf/4wsQF1endTBmRRZvTKyvd2wdYw0HFpDLIZziBa+Ax0z74G6
 ppVzUDoU+gbIt8QycM64dJpaORy55qk7zSP48tpjvvESMNhhnqo/6czjuTSMtXwp
 Dyyi1wxYu6ftAhMTasZkPMZHMnzGH0sKshnyNGfQAFXcDs7iaQMe5+NE46MqRiLY
 h5eCGcKpfAnJX6Yuaw0BS5ht55IKi3exS1RTJUuFgLDvF+0u6+kK319r4Hogs8E=
 =1pFz
 -----END PGP SIGNATURE-----

sort packets by original request time, too

Alan T. DeKok at 2017-09-21T17:07:33Z
Files modified:
	* src/lib/io/network.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f847ee9850e789c037100f48cc2b8176646aa7d1
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZw/FYAAoJEH0Oec13Yh7Np5oIAIgf3jyP+BNIvTJjpjrdPfvA
 5sHkNbxyLgtmVzT9N2ICqVv3lAR+STC4JEDuoCWD0S7ZDamUzFHm2WEuuUgDgA/H
 W4l93Nf9kLpB1JCK0vJIvVHf/oxN8zm3Vu+JGBaNIOEqgpFXdYNtZ+PrKwwcuFeX
 3m2VnNfF1f+NxvNzNmRNmqSb/qF3JWVSXLPyqRySJMKlc8/U3hffAMlBv/8gxFFe
 NpiqhJOuQ20SpYhAMrO7d6eZ60eu+MC9Beu7k2XTNzaSOCu/y/lMoPbfIi7Ie08j
 aQcE6dxXbSYEt2suqJ/0ElZjzLJX384jNYuV+e936kbhgj5rmKiXnexjttxQKos=
 =/kML
 -----END PGP SIGNATURE-----

keep the first request pending

so that if it's partially written, we won't over-write it with
a higher priority packet.

After that, replies are sent out ordered by priority, and
original recv time

Alan T. DeKok at 2017-09-21T17:04:10Z
Files modified:
	* src/lib/io/network.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d45c8d535f5048d12a31717761610d88ba64d4a1
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZw++0AAoJEH0Oec13Yh7Nt+IH/iTWIhmFY6VV4EAMcNSrnI2Y
 UIwMcLJr5sXm00KLnau8KNPO+hRs71HMG2zMnKviWJ6Fg6Rb4V4yieUQv9R6ODg0
 IS2Ly6uMJKFcYry9ipzrwh7fvy6tUk11qob2vufvOcogYUZL8BI30V2pvOlj/PCI
 l3j4/pKsxXX1LPRRXD/IRyA/DLru9tHb5G3SSwliJ53+TojqNeMuVYABLwZ/zdoF
 qgqQ0qcdJ/tcWDw7DJKGPXgCM+RLlYQLSh+35WLn1U6tQTMxlV6JXLmoESCNxGCE
 rZ0tLxe3pDInF6xOclu3Ul4z89wqwwBc1KfKP8xUh1c5O8OInw0KP1DowP9raVY=
 =zWv7
 -----END PGP SIGNATURE-----

move waiting queue to heap

Alan T. DeKok at 2017-09-21T16:58:01Z
Files modified:
	* src/lib/io/network.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/33c764f46a9405a9e61f15b254bc9222f357640b
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZw+GIAAoJEH0Oec13Yh7NqPQIAJ2M6ar2P0IoK4QL84RTxsKo
 ovc/r8fLbCvEX7ycpPzri3mEKI4bNp+J/YRZ1c1I+jT1E6fJzr42OAnKStbHb2IQ
 0/UpWQB13KkCgZVCHqRkkuhzugGaQffpOj2NkZoaBolxlpPxjvJ0LXWmg29Bpn9M
 yxHdb4y6P//1CyskMskKXjlamS++MXvO7VL2md7/EQjPMEGfE7uRwNpC3MbeBol9
 zbE96Dk2Tk5URtO7ktE8h01aj39QXBSWar5uqP0YLWF14Hc3ureZSoyRWbTTVdcg
 iV1R0NuSz2Off238OKGdwxDyORuNyzQTpkdN8QYINoNf2FNhwEHu5vX/ZsXpsxU=
 =exwh
 -----END PGP SIGNATURE-----

note that we either write ALL of the data, or NONE of it

Alan T. DeKok at 2017-09-21T15:57:48Z
Files modified:
	* src/lib/io/network.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f371d26eea45d66a3046c27cd6702737fc46ea0e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZw+EmAAoJEH0Oec13Yh7NfUsH/inq77r5rrhdXtN3pNBOmUVx
 KDwC53KG86vIDmtDDxvErcUcN4BMgUrJj+yFy7VbpsReas0e13VUdZ7y8nkk2CiR
 lQsT1ZOMQHqQ68daoIAuwLawaPdlI81s2DmgZHwfMrf9Iu5jSIsNeK++tHxwUie4
 eGLIzdIIrgSonhZrH9kKoaDwlbVZZnd5nt6M7Tj2G5NuKNnIK6wibTpLa7eLERMZ
 IPW3rDrnl5n3QWAP91byCgujcuakVCwb1Kz+WvALclTZu/3resGPv5MiAXAy1boi
 yvz8LDnEp2yKCkcN+omyNgTjzGeLwdMqxWWEva6DLiz2pqjh6N/OrM0RqlXwXt8=
 =k8b0
 -----END PGP SIGNATURE-----

if we get EWOULDBLOCK on the write, add packet to outbound queue

and enable write callback for the FD

Alan T. DeKok at 2017-09-21T15:56:20Z
Files modified:
	* src/lib/io/network.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/843e6b46dbc6fa91cb98f918e96c189fb81883c5
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZw9sLAAoJEH0Oec13Yh7NoxwIAIzp5KKCTSLZxSXzL7XuZ3GE
 TvQH/kgv0/6hKnxDPcn+kDAN+sOTRSia/TzGQjFKkbfjHx+jUqFwEMunyWBfNIHt
 jMwEmBbK5ZXAYPp9slhEyrvgnYYLQzNlgmlnu3Yo76vFKrzZZ1T3vZv4cE9IJbAu
 nkakFY9yonjSzb4ns6XAP6GinCPFBOwEMPAkOjLTMiovSTvl6lKFpb80GZpmiXdn
 aAzniHKmxmIz+iJ/IwXW8sdM8qg1ZzXKs6RnNaTmHlQnunBNMkM12h7SZSqdgJly
 wIk45JOxK8yzf91V/Hq69RyESW76P7/swqT8L4ni+Dal8krnw74Nzr6sEZFze9A=
 =gnNW
 -----END PGP SIGNATURE-----

brackets are useful

Alan T. DeKok at 2017-09-21T15:30:14Z
Files modified:
	* src/lib/io/time.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d635a9c0d01e735e93a99f88a9cb08b330b9b6c2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZw9pNAAoJEH0Oec13Yh7NKa4H/2PfW1W4ncWm9uESzv6Jpx9P
 uOwbTAuCBC49eu1AP1QYnMAtx/WcTOzshxT2I0OZpmEIGS73mc3FqKTDvFuQWZ1e
 QrbW7DUpN1ySPDn8OcvsazyguNEHLOtA9ksSATPVU2M0uAaCfQe4Root6VAqVC++
 bnpjqCsOiRazhMTJlI9jF5Z7Qq3iLAlzpAZgqpIDxCH48mAQ+E2E2Gd1xbdET42+
 xQtpGUmnQluzhczxZR/cuhBIZh0a5Kb0V2W4pY/Zvqa3g8bpV9kT/11oRskA5xBe
 MFspm0jJlmZEWr/j33aLNV/LlXbfe/yXg60kD4ZWhbH8rYIlOAUPxUUL2rCj4G0=
 =H9QU
 -----END PGP SIGNATURE-----

add a write queue to network sockets

Alan T. DeKok at 2017-09-21T15:26:58Z
Files modified:
	* src/lib/io/network.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/300ceeefc35b1388fdb10f0c1752cc0b345ed5d5
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZw9bwAAoJEH0Oec13Yh7N+u8H/22og9v8Td4ty1giYWcRbejK
 3J7HC1xWbyt8UuSxfjekZpSPXvqAjW+nXkZEID7n3ev0H/OwjQLS+MITimB2J2sh
 To7Rzy41h0tzD/dJynAPX9bckAC64JFzfM3Aae05Nt8twOWAicENoB+4JfTTZuev
 L7TMv/8sY9Iu91a5roT4AnFW/V8N6y/T6YK1gFA4w++XSHZWa7CIdYr0wDsbXWlK
 K+Cfy/aYHm89Gxt56PnKQ+agCHkWN9LdDegxSvv4hD0rFfNSPXLahFLsiZFe/kS9
 zpPWDQkmWwsoqHDzj1NQa8+ttP9TVXYISRAFrJ3AUWoNJfv4n2Wsk2KbHpbHRoc=
 =VxWB
 -----END PGP SIGNATURE-----

udp_send() may return an error

Alan T. DeKok at 2017-09-21T15:12:42Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/085c19a9916c538b951bd20475bba8134f451c28
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZwmf0AAoJEH0Oec13Yh7Nv0QH/R+y8/thO9C3ak8j2GpPOtUw
 XQPYAsMeD000greBGFdEX7+Ock9/dn4YVXfDYqhilwUNTZIt1rHj5bwWLI5ZV5vl
 /SJxMXvtgtpBG/osJa2+hHMhq0IQxtjvFVZpZmv8N/myMiIcSUfZrRYCPXNYHsLr
 DRgVBE7t9qJE4D+c9wCHsMni9TAou3d25rManDf5pdtzDo0oXp47KB+e7e2PI0XE
 3B13hL9mNAQaADK+bSMqRRtyTa+u2xG4nqt58asgBjanvaAJTLJk40BFWPVB9Fzd
 ptfvMq7GujqAEQw3vuUXW/j/R990VM1+wACqlmFCNp4JB/bs9fxEzkgCAVVk59Q=
 =CpqK
 -----END PGP SIGNATURE-----

remove unused enum

Alan T. DeKok at 2017-09-20T13:07:00Z
Files modified:
	* src/include/radiusd.h
	* src/main/process.c
	* src/main/radiusd.c
	* src/modules/proto_ldap_sync/proto_ldap_sync.c
	* src/modules/rlm_unbound/rlm_unbound.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/876f0d38ed35109eddd6ce5cdbf3a877670bcca2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZwmf0AAoJEH0Oec13Yh7NcFUIAJXGy3CLG9JTq7oUvYWWpWAU
 oV9oaL3EdB+b+Mr3Fa8M77GAEPNntBD0Qxd/J5L263SNkGqX+GHme3Y5+RoDyTIP
 bSMJRKIII7SJ/v4TS/cTh2hpqt1I16kQdLlVwvtHC6YgBu7JrY5VQVvKxhqOILLS
 c4r+p3m3qk74RCRRp4VFNnXgG9Q/cSYhMOFIHM7V8OeMjDLZlpMkmlD7D3alMpfm
 g4tumskFpgndDMYd3sZYLmVegy66M840rKKm9YU46Swo7/KRbqeK5Mr8mAgp2bwt
 CVPko8iIX9zU5LxfaHx077yJfBrXofi+Rs5bXFfaMXVzOrQfOt7DIeUqR7f3dhI=
 =vxIx
 -----END PGP SIGNATURE-----

remove unused variable

Alan T. DeKok at 2017-09-20T13:07:00Z
Files modified:
	* src/include/radiusd.h
	* src/main/mainconfig.c
	* src/main/radiusd.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3fced9c2b8172d58c4e1ed308d33e731af434c70
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZwmf0AAoJEH0Oec13Yh7NVq0H/iRV+4OJ0WiJMUd8B43uMBqA
 XHkdxgM0HAFTkAf+SYaYSrcQiTGsUWN6fCeL9r9D6YRQRNA/qxV7iDDt3v3OUTq/
 7OtjGA/bKRo8Cea2P36s5KTmk85gmD3lmZx3sZoc/U+l1tFSeX8d0oLGLrlzsPSk
 e3hck4tOsa3OVXb+BBO0CBtQp44iq09GWVaD2eWVubXIwosnCLw/SC3OjIMk6Al0
 5Rkg3iILKbCnXENa6j6AGmOQZZOILIZbbiFxsN9NCOapwObfwSsDykPMbGcO3G5T
 CTDEIZXIn8GtXHHKIC4CgfswfdUbwSBNfDygdkXSjGrLs7oV/HWUgPK1kuj3wgk=
 =0cwQ
 -----END PGP SIGNATURE-----

update comments, and hoist check_config to earlier

so that we don't do work which is later ignored...

Alan T. DeKok at 2017-09-20T13:07:00Z
Files modified:
	* src/main/radiusd.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7554b80ca89d0fc0a1358ba5170915eb3d458653
====== 
-- 
This commit summary was generated @2017-09-22T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list