Commit report for v4.0.x branch

announce at freeradius.org announce at freeradius.org
Thu May 25 02:00:01 CEST 2017


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJZJhJ9AAoJEP+k1YKfttfKFawP/2/qZr3HDkqG/f2uVp6AzOAJ
 zjt8zTXFLSJxYbV3shGgXp1VDh70VdW6p1SAxTWlNyiqazSbsafEwZheWvO2m5UJ
 FjLL6qNQZusa9iG5qJBzwf7iYsFTDYoRVtJju3o86wZXNTOKFbdtY5Q8Rm7BqIvh
 EKjOaaoqg7CkXBFgaQXBzFw9WYwIQCrJrdW6UYG0zomtSnLzO03WamzfCm08zTpv
 quGrjD8mrjKhq6PG8Ct2P6DhYPq8KpTKRYk3db29b2T7O56Pl6CIaTPBLLAiIEm+
 jUJJFBCRVBbqHXs9IGzuURXDJvmoMh6y5Tzbb1vqhW2nPLJCWgZEQ6KrJt4j8NE2
 KH1moPRYvzaFWo+1KhtCej4lyWWbgfOTQAKLKwgGCXunDp/+zeHoIVwqu52Pa442
 5uW2CSKJ/iGrfTyw032dbnU9MDNDmXBnd4ng4WMiwxR1aaD86/HZI30drEMORrqQ
 U22vY+B+/lLQyURfO+kA4WVM7FQ56GERr2MfixkwIIyGY2EmpArp3ZinooQg1MSO
 hTztJesuQr18bzsxwII8jHQtLHRgzpDQLmjRs1NS7vvtYWaTaP69Io4TKGFvzU2F
 sG1djd1NPOyHY21VoLqJu55xxUOYXJY8kuqIwOi7C7Piw6tA5BUpEiYiiAuZGqtt
 5mUKAWI2VD6mKggMBGTQ
 =0MHX
 -----END PGP SIGNATURE-----

Alloc a pooled object for the stack, so we can use mutable frame extensions without leaking request pool memory

Arran Cudbard-Bell at 2017-05-24T23:08:45Z
Files modified:
	* src/include/interpreter.h
	* src/main/request.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/10d8d8f8cd34fc74890977c8b5daaf779925ba55
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJZJhJPAAoJEP+k1YKfttfKzlsP/Aw5H8JSOsynv/K7KV/P3rTQ
 S7qBpQIaiNcQD2HS5i/gfV6HqdpklOBEGLpPZ3pg+irrL12k1traNAOr7Kl65sUe
 mZwfVAY+kGYOVQWo2h9yPjxya6jZkdvzMglYIBmmppnLmNIoJz12+sOmDEpC0Qrg
 CHDag4AnXgJEymYvW2GRmNFdd8XUEtVO5y7472ql9jc0LxOUzPOQLynaRYxeKIQG
 tPvO0eisJ1IYsDNWl9nygtn1xztAKb5To7y/L6t8B2qy1W7jsGJZpFFpOYlZIGHX
 itNV/hE6qrIz72LVQSWQ99ULkJ/bCLwD63dT/3DQtOYYFj29IbOjB+nRBz25gfrU
 8IpWzqxwwW0qAzLFzgDSzPok8sdAYIy+/61HiTlypblAhiG90EXmNdmX1pbhC4TB
 il6tCK7Cg3RfoYiqneUT0Q7TgWiTKonBtRQ3l7Dm6fZSFZjtto7V7647Vk9b1iHV
 gmUvimFO6SXklLSjliATOpBKC+51DRwucX4CgHsasAmnVCQ97WdYh+1m/cRIIBCV
 mh1hrNFbmWdLk4DxC1KfZsGtHTVxeEp0wbWtSIrI8IBOTtwA00Zy+EcH1LwoPqOF
 v2WxLqHXZCu0B3EcKKGTum6Qf0Mgo6RLRij73MocabrDi6dpRuMOEz3wLF7ueaEn
 /iL9/ZtZ7+Q/L2tKON8K
 =5g17
 -----END PGP SIGNATURE-----

Compact bools in the stack frame into a bit field

Arran Cudbard-Bell at 2017-05-24T23:07:59Z
Files modified:
	* src/include/interpreter.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/53d736b1165f77df3f37b8a9335e678bdb9bd183
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJZJhIwAAoJEP+k1YKfttfKs00P/2jgauDOXWXul82lqA4mmPz0
 UUoaO/b44rf69UIUUeSz0X9nLwuOk3g/zYcmheAWLJjHjuZZ1GCYWOkK/MSmdNGU
 OIzp3huLRMG/A4w6DVXtNv4c91eg/eYSwThkfO3HtpjrZD7iu+waWpHLfHhC4p9+
 a+4qFYthyUNxRMWXYejq/1eAURhDgYXqsKBykEJaaCjGchDH1CA/cnOXQrJ+lpdw
 0a7gb9KPbrXR0Ro8AEyS8Hqqp3FtjHYQpp0E6Bq16zDaFf33qWOE2phh3C6xRPYe
 eaPE4vqXClSqb82/L3CPHdqcApFpwqo0wITl4S7dOWJaRBVJcT4Cb6pd0SFHuJul
 mGnNjEIK992sLDkjWaDWM2mqkjnHLCvZEv+9Qt/ywmNoNDWFouYCaQQLwsLbpLGF
 nbMk4LUD+ttlhCoRYftuYYk7sCNmEvs0TbEsAFsDHA75auo2lHKA84UaEQDaK3VM
 +sl8cn6MPM2mTmRb5JChXkQO/cbCiFpZkiDMNNcdbxrvMDQUgqr/xkTA8wQFFUwk
 lCNTN0yA9HYjdJzmDoeuI3QJg6xxDKJlOI7J/EBJvFKQVhaotFE/fe58ZcIbKn77
 2hphPRRB06jSUfX8lEEvI7X0GF07ty1m+Pfi17rDOySQc1hfxrrxHjiyBm0u3pPC
 Sft0nJPrkGAErewgxMEU
 =MuQW
 -----END PGP SIGNATURE-----

FR_TLS_EX_IDENTITY is actualy a char **

Fix tls_validate_cert_cb to treat it as such.

Arran Cudbard-Bell at 2017-05-24T23:07:28Z
Files modified:
	* src/main/tls/validate.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/370ac4249d727cc4404c60697363d24abb3d5360
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJZJfn8AAoJEP+k1YKfttfKSkMP/0LR9HkTa/1Hp0RsEu8MFWdE
 OvcQ/l7MLwSBv5RBdRnDPecc2SwTianu5DxdL+7O/I1Qe8qM3ZYfGkS4F2Fd5O3t
 Jit4kIBsjTuLtjsW+8UG0Ik3WzyY8aTpNkd/hKrfmiNa9Ktg2sOkHJEmmV3+J2Zk
 9xKFuhXidsfRVS45nccxrLdxx5WozFBBysCMg36Yo5tS0KhvMOwCKcUIS73NG4UW
 dZRez4DRIvcfk5BrHoSh9NLcaEaDqMsQn6PY2i3Y8DLx38/CldubC5Ea2fiIO5hY
 252civqXYi9rer+UiguakATafW5UP62rOKYMNyFpaZsKI/mC2jLphHKeoVoV0gRk
 wV5mFurzdQsyjlsMgzSMRrz0a8tshdCnFOcHGkMZIXyXJ/Rzpf22XaF57lQjtuoj
 zDKiC7/mcHJ8dQmKUxLbLPNmTYrHMy06Xfu9vmBAKpvQLxbNTG/JkFdS3D+gn+Ul
 LYoXCvrYkiNgMVHweChwL1gfshLy1J9VYAkUL24jx+vRiFp+6o2ZCWvyMWFEWpUT
 ZbNXPgUwfJ3ILn8fSyDY3iZe8wnW15OqhiPMyBZPVeLubAyA2PB7IBmD89mv0XYz
 12zxo76Fx93mTkbMR5BBFLpYbbCJX5qqcpibQGTOtaVtBaffjmYdtSBYl67UVgir
 Tc2ouhzhZYt46lYDnpxh
 =i22n
 -----END PGP SIGNATURE-----

Allow error and write callbacks to be passed into unlang_event_fd_add

Arran Cudbard-Bell at 2017-05-24T21:24:12Z
Files modified:
	* src/include/interpreter.h
	* src/include/modules.h
	* src/main/unlang_interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4c58fdb0e777823c33f1d6188dd788b58958ad7c
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJZJfn8AAoJEP+k1YKfttfKheIP/3JUs53ApRdwZXZCYVcgThdv
 GuMEDZsJgPkIRe8Ni4mz0cJOx3VbkWtDUDPnC7882AqbVFeHWXqGeEtFX82xu9EJ
 4bQ4/PZ298INar/xkIWEbIIrV38/IdNMTte6+DDCFZMY6Wkg66YwKZ75J93I/L7Y
 L6A1XxM/8nZnec0qV3c4R8UDxHfR4VQHj1DXToZD0sqJ+dj2P2YqffYYIvYAGfaG
 eqymHVAfJN5GDLUHIsJK/SYX8GoGFUNleSq+dcK0dTEdk+hPaPmQHtw1j7gbyKlC
 h0ZGHUMf+q0ckfMu+cHxvvhcs8x8VmEKVNxKs3tTw+9FQjCfAoL+PzSTN1rQ5KVg
 auZg7rA7kX5wb5QpUG22W5dLQ9WJJBbx04Dvi/95ln+t3Qbyt0QYa55Z7jiHqDbC
 odpkuM9WmBT8MwA1VZQJxDTp8xpRlhbXLiQ3b+UClkVUQo68boIu7is2LcP62oOq
 MSlQ8DH78K4qZ68zBzOa/pSc5xdWpkGCNBlQkS4jykdGOeM5m0fGRaM0Se9RSUb/
 T/+WhEwM+1USyvXngs0NOtco0V2Xx7pvuR/A58JVH2eK9MXBUVkb7o2D8+HpjEUP
 ir8TyfF7/r46i/kWp13G47BtOsKMWDWDkMwRBqaRJ/DoW07FR/7wj3nPp/cfqsvl
 /wVvyI8ru7fKDojx3wi9
 =B4tu
 -----END PGP SIGNATURE-----

Rename unlang_action to unlang_signal in some places

Arran Cudbard-Bell at 2017-05-24T21:24:12Z
Files modified:
	* src/include/modules.h
	* src/main/unlang_interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ddfd74adb03af9d701d8cf35d63aff325f51d68c
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJfimAAoJEH0Oec13Yh7N2jkH/iE6g8UAoumTgZqakCH/CFiQ
 zt8V+1slx6ZZ9kN0XK1kYMO9RxRhURG30ID88CD1v9gedKeA7Xu3ILkbDhhHTMHW
 ZKrMdFxmSsWH7XDtVCievagBmZHMnAl20OKjVapsA1d6t546XujWw5UQ9yMQ4+20
 nfaygEFsG3zvC6hFTowTFc0XYvOWtOds/ViPv8XjuYc3LhuawE2RqWiDNMc+l85m
 zXw4m64A6ZIjczJGGwKnKNOo9J+t4J/o+8SqqDDIFftkYd27dlMhKYHuYcDNOEF7
 xXSySuuzsxNZrtupIddvrRtrj4cfOahYUJkzjbKx5gWJWtwdDI8EiadBt55C/Oc=
 =0jap
 -----END PGP SIGNATURE-----

comment out unused code

Alan T. DeKok at 2017-05-24T21:18:30Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c7132898b73dcf371aa514a8ab6b48b777c06b79
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJZJfQbAAoJEP+k1YKfttfK3E0P/RnnVSnjP6/ipzJd8JlalgiN
 2QyPtb8HsPEJp0hnCsp2WyI9wILpSSUoGNB0NgKa1gtxaEt+so4Qih7f+2B+SvJt
 aUtVmQDSa4xiBDO2YZxalRxZN0VlZpxS9wNNuCCb9kL83wbPoznsHox1i7JTNped
 2EKQtho+tAn1QqEcONeQ5Cv+dYHoKLe8uu96DGtMGsT/e10RkxImHEvUb+rIiCzD
 abxfqA3HYXA1EhYpMmvFj4kBPcWJqEx7TlMCBuWQWMR221WG6sgbdI1jYQkcM5EY
 Xkvf0k9PqcR+d7QtVLSH1QOrftuX+suu4o7QIob+FROC0N9r7qY5ikpclc2i4NAW
 VC24PLZvdFHKNWf6BbWjAGLQhmC/rj5CFAdp72pLjB/SY61dz0CpSB4kgnhh6I3t
 ZpHpXkotxEhBWcffbsNuLhG9ROXY/Nr7SoxnDVlwgQHMOJ5uJ/ROfTaRfFFxkqB0
 5VqRzzBqs3xASEa5b8Ep7BfzpirC929HpIUR6u2wVeghoQ7i2/RyCdpYOKhLpcj3
 TxddaLvtYNODVegoQT83koMROeucBk8Z2Wvun7eJwrA6ismVuI3i/Wu81tHsfyae
 hopXuJWL7flUV2qezNSA8POJWoK6OLJbL/QsaTAvKLYezAtvftbjkKzoKv2yz9LU
 hFhVfLWhffYM2gNTQ0C8
 =i34B
 -----END PGP SIGNATURE-----

shhh clang scan

Arran Cudbard-Bell at 2017-05-24T20:59:06Z
Files modified:
	* src/protocols/radius/encode.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/daa0523cb6abf0c487b65a7d667465411bf5d583
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJZJe2fAAoJEP+k1YKfttfKeSoP+gJ4rKX/bWDCfGKmKANh9QJ5
 XVNZN48jz+24QPV6Pij9Bq+m21ok4hGb/1RBDm+bhVRZ/cdYXWSI8/hGCxH2cYH3
 xgHOMqEia1SILWVTXD5x0Ac7CTTMejvrVNw5Dj1tdeg+nysZRBFcp0/TQ/fZhCRh
 xVs6XnYdAwspYiwyqvkr3s0cqQgYyj9/TjGSPVTm/u6bgDfdlP+yw72ZL18gPUtj
 85LGt7E8yyral2Wu/NLg1ChbqGHl/PZ2toT9NdETQvLwXkm2s3vjqcPfX3ntR+Gw
 G+l+3GWDPP8gqu1pxyzojyVNvJIA719T5ZdoTa/huNDvfWR7Tfv+Y6r16S/aetzJ
 0qTf05GywnBA985ZlZlcDoSDiPl3wheR19NczUnUlHDNtm4w2LWNhNqpczfX/ssz
 uWx6Guk0gm9+wYh+Tyr42Lbi1SB+II0QchEPmIFe19KJIDzenHAzAH9C6Ybt1S0m
 ekpBlNsB6w2xaJRCL10jeVJB74KJqQEbLSTaJD/l8gTVN9Kn0cWVCDDJD9zHIuAY
 CO+4m7rmj7vy3MIZlPpMcqsWIDhLolhLJXf7WbrTLDKU14kHauNCvSYhqGzL/n3J
 GBrjmddVg5nqquTeNvI3Psc0bXEkOz8778pj5RpKT+GlLCMR4dS60BnLFPHaYfUr
 Vgu//eI4pt7KpBh/3Jdg
 =UJpg
 -----END PGP SIGNATURE-----

Set data in all cases

Arran Cudbard-Bell at 2017-05-24T20:31:27Z
Files modified:
	* src/protocols/radius/encode.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/70bfc4a41f8e189a0453427cf5dc55ac624bfeb7
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJZJeveAAoJEP+k1YKfttfK700P/2/6rUl5YCU0MLXu8VhDxDci
 1coJO8D/ezmDuJi3Q8PxpfSIwNru5T/CRmL11aC5CVTPtp59sHl2j14EVre13wwG
 0B3qd4/Q1159/29CP8VddOIiOAwQBVm3wo4o0cGEYMA0NkSoyLEmtZ+mSHf+1G31
 ozmcrngE7XgHqQF/4PHUHWm26NuLbszmqfo9C+U4YFuoW9L18Dz+o/sNpHUN35lN
 qlHzx7y22v+/zAMAa9MksPbf/ns32+D3TDUe5DrL2lQCWr8yg+kKTnv4IxIJT5KT
 /3c13lhqsAcl0UMK51AGdFErkPS9PPzlVwvYhIiWgoEK1TuQQQpRz6RBTZaSzQTq
 klMPK/qJXErfgwBZgqSkPA7k7I/DNjYlIL8ynKVhbfNk8Fi0N9PUqTMGoZUHRo6E
 0r7WRxD2u4IiD3IaPw04Kizj8AuBkSZNWAsV4HrxNlxXYQvVnCMkPVzRtf6vjJKU
 pR/7cZbu55LvkdHRskoS5cs4jpVcfOCGm+WQ8uom3TYVnY9JSvtBDX/EbZPWK2Cz
 q/Plpej5mtepN1XtNut81KWDyf3L04LXnynixbM/5sGCFBzjCs0ScpJnrv1VKixj
 5ljWehiFpae2blst4Fkaof+xVJnfwBNpcWaxXt9yTzKi7f69RIynMN7jkl8MC8CJ
 j3L+Jj0Ppcwglt+VGMT/
 =RuAs
 -----END PGP SIGNATURE-----

Use common protocol encoder for RADIUS

Arran Cudbard-Bell at 2017-05-24T20:23:58Z
Files modified:
	* src/lib/util/value.c
	* src/main/xlat_func.c
	* src/protocols/radius/encode.c
	* src/protocols/radius/radius.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/98711f11c04ee7cdcd287fd45d7352913600fd6d
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJelXAAoJEH0Oec13Yh7Nce0H/2iV6SKc69V1sS1Pp5Ng84Rs
 JymATxnonWyYFhyAl/E+UE63m25kaOlGu+yP2sy795VIdaqkaNIEhJMv8BUDmElK
 hFV6agRnYwItsNZemZzBAQBoDCClmNSnH/IvLi1AE6QGoAPHw53H2BDWKlqmUBsV
 mY/gUzlsg0nt2Uw7bQMWVd4PKaXSqRe5Sk++rXZ+ZnY1aA1IQfxjooS7RwfZO/Uj
 O8SIN8COYvdWkHt9H05oyP1AcCaiIx28OPHNlfaOVyu4IHCCu+LUun1XpR+3Jerx
 x3HYwHm8vKgOYKTF+uOLoK+Ct3rSf/uCdl3BsimQfRpYrTPIcOf/urhKjImVVE4=
 =PSt3
 -----END PGP SIGNATURE-----

remove unused macro

Alan T. DeKok at 2017-05-24T20:13:07Z
Files modified:
	* src/tests/util/schedule_test.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b0cc6a7922151b691c6f027783226bdbe24281e5
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEbBAABCAAGBQJZJeVEAAoJEH0Oec13Yh7ND7IH9Ru6CGxVP515HY+cQFpZ5IJF
 uhRPF0hfxK9KfdIlgueL6wajLOjKyakwW2Mmm3ZrX4ORfZCs17xzJaYX1mNCOIyW
 pSCu1YYiGvck+NcxHNlxnOPCLUQHME7HI5EICeEkwxaqclS5C3CgFa9M0H3vqn7+
 aqtPcS4pAVYPN/NDp/LnAcNQRfs77eu248EEzWrs/U/L226kWiJ/o3WBOZabpDJo
 C09eftf3k0jqZPpNSp/1I5dU0GtdJJ1T04UelDSa3dCV9ZsY8hEDeVWryNYvLk1v
 81SSwN4ULN63UwiUSGsQoY7DcIImxFD0NvLWFExpxxKHjLVUTpYffEUtjWiQRg==
 =ajso
 -----END PGP SIGNATURE-----

as posted to the list

Alan T. DeKok at 2017-05-24T19:55:48Z
Files modified:
	* share/dictionary
	* share/dictionary.dellemc

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2b2a7dc5654abf740ff7ffb52fc0807a5e0f1781
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJeG7AAoJEH0Oec13Yh7NdnsH/1O6OSimsJY+zWLPBiZ7aVvh
 h8PVIWkqgBAwiCnhSyNaTHrIkytk9QQ/DnlAfQ3whcQJ85O0QqoteFbbUuLaM2Wf
 1wkrznpvOmnJQ6nnFVjoQ/SYsOIkk/PAkIKDx9IKvYmjZgMYPGzl7EJYMtGSRZEA
 +SuzVlvoeM9AokTBRYpKMiJkokdsXzBbk6zEIIx5mD5VBkNkRIahehflxEsJlDME
 Tvsc+h4YxlAheFzv2OrvGsH8p1n7Vi9WRfixiyAcMXoHkdqgXTAtJSppzPi6af6e
 Jv2Zc8eYcuHt8Lo4g1/Ek8S8BgNPXe2UkwBmByx48x3M+5YcnJAy20+pc4lF8J4=
 =PGLj
 -----END PGP SIGNATURE-----

don't build rlm_mruby

it needs to be fixed before we can auto-build it in travis

Alan T. DeKok at 2017-05-24T19:40:26Z
Files modified:
	* src/modules/rlm_mruby/all.mk.in

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2e5b5060d6dd6a40e33bc4b2f2048669ad668173
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJeGQAAoJEH0Oec13Yh7N7L8H/39wjEvJ1Rq13Rpy1GXsgb/5
 VR0oF/tbMV8lgvLTParBhZ4WOK1XjB/QaQxnf/UJ5d7UgM0fQi+0p4RbMBzc+15Q
 1Ie3Ioty32c/5PeJx53JXq69fsBkxYnIcsug49BzsIMM0dHMjeKa72fe1nrBHdZV
 W3u4MhmRSCsFz+nXAbSJ8mJuZ8fBIEwwFT9a0kLJSzCmbqhdQ822uhQ0rswTE/zC
 BCQt31RdhaqZJJuXP0LZGZdlVegQxufKt6UcGbmx1PqvlqdEHSqFty9uvWKSW5vo
 3ivxK6CGpTvC5XD5Hs+A4BCVTFpWjZAt5q2hw+gFV/fVh3t6ci65zpRshK/gZrc=
 =Z+tq
 -----END PGP SIGNATURE-----

add low-level fr_radius_encode()

Lots of funcion parameters, but at least it's low-level

Alan T. DeKok at 2017-05-24T19:39:42Z
Files modified:
	* src/protocols/radius/base.c
	* src/protocols/radius/packet.c
	* src/protocols/radius/radius.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/22dc3615e285ac27e21bd6a368ce0e266615ff9a
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJd9pAAoJEH0Oec13Yh7NOZgH+wdAtGyCzTaeFSpgvr/eM1C9
 ExIl4BNwSjVUcihxW1Kt1sGR6MxMLHK+ZflRxurSqYhYg59WAzVYqiuTs6Fk+ZiG
 4LSu46BCGDqnKdH61rZum2TG6XkBjlOufi5ex5N6A8KobVtv9d/E3BdpkqYaOa8o
 moSdz+0DmcGod1Ajr2JjFNgnHjvC7uwXEBdDgFZI+IymuSQ/ksl9awd+eTN1rm2Z
 FE+hiZ1NrEFK8SC4iCdhWUIo7bjHe2DmcIV/0Yg2G6A4RqgbA32Za/jv6ze2sXNo
 tWe7p9l2eMiNCUNP8vAgCs3qh8iAljSIonVh/6m58tlcl24veJPIfe5RxLIHeOM=
 =TPB+
 -----END PGP SIGNATURE-----

add test for IPv4 encode / decode

Alan T. DeKok at 2017-05-24T19:30:39Z
Files modified:
	* src/tests/unit/rfc.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/05929e25cd35a374313b7f34450f892d5a3cea15
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJd06AAoJEH0Oec13Yh7N1QMIAIiM5MnEsnaOLc3CDREoIh7E
 NNe4fi0Pmi+TmvL1RF8kLNNFpcrchDzeI575sl9YVHGDwMo7GGUffGPOvKwsIS5t
 k00Knm6xn2p0VZTRNo/44p1GxPmfoTzqiccvczgIzuwY2GIByOmSUYwpNUw/a4jl
 nqkipMTpef10o6E+FhDTYBpqOKhJjRkpmitbvLFevZ83kYMWx+AlSQ0Juo5inqo9
 LQzaCVN9UsjDTUwhDi5/AnJzzDjp1XWnm11nti0+bO56ljJgoXz9d049KaA9U4qx
 7H4bJ8+u0JZqJdL5qEotybUrifQS14Z7TzDj0vxG6ed6zOtQgXm9CG+iR9RUBZU=
 =3GV1
 -----END PGP SIGNATURE-----

link to the scheduler, but don't use it until we have one

Alan T. DeKok at 2017-05-24T19:21:30Z
Files modified:
	* src/modules/proto_radius/proto_radius.c
	* src/modules/proto_radius/proto_radius.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2cf0bd3c27d4d96ab73ccc684b76ff88f9d12416
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJc76AAoJEH0Oec13Yh7NJuoH/1RavJDBPmyCXWvnhNnl0KEs
 RPcTU3oBaUZsc7NmizdpKw5W4wnmo28JTAV7ybZ2Jc/ESrcQOC7EYT5bAnd23hqy
 VpMys8F8lZKcL4A643LhGJoaX4jOKykYFTM/lLHyC3ivm0bbca+9Zr4EQTjV/t70
 YMtw8F/H7/kOqzQye9UNyrAC9flslBW+ivL1XXeo2DNgEeSDwclqDETOGVpYd+GD
 +lJNqwrQWhASv18pBXKtQMYe8OvXne49qNds5dEbIAmPGtWphO5Vj1NUXQydMei1
 N3DCbkfuPrDLiMhdp8GfEP9LtYeC04YfpcjG/55sQO+a7V4GjjCQhukNTj28PCA=
 =g0DA
 -----END PGP SIGNATURE-----

start of mod_decode

Alan T. DeKok at 2017-05-24T18:20:35Z
Files modified:
	* src/modules/proto_radius/proto_radius.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ac1f7e42a3349157a99771a5fa9b3e08b62f3eb0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJc3VAAoJEH0Oec13Yh7NNU4IAImiQNPP/65r2E6hUKuuFGkZ
 lJ/K0WuJMORudf4/g1515SPDCIypB0O40KX+LSjZtXvulV9lnV1fRT4sIioO0zKj
 qWhVoJ3ptve1HMHOA6Laxfj9eGLCKzjDq3HCpFK+1f1JpIpADQZoW4sC47ywhKi6
 qaoxuMGnx/9SerPq9y4s78ZK9Q6CwQwwu1rboTApwFWsbNb6nXdxDLQiqHgDuVSb
 ykW5IH8LRw0keHuhKhSkxExqSRSFTp2caZlEBMOaU1va4QJFn/3T3a3E8yAMXRAG
 CBUKG6FMJpLPUY8kukqCOa9h1/0LioaAwVF/jIGD8ttkXQSAUCdR6vYXxznjgqw=
 =nYRG
 -----END PGP SIGNATURE-----

transport_ctx shouldn't be const for encode/decode

we might want stats, etc.

Alan T. DeKok at 2017-05-24T18:15:35Z
Files modified:
	* src/lib/io/transport.h
	* src/modules/proto_radius/proto_radius.c
	* src/modules/proto_radius/proto_radius.h
	* src/tests/util/radius1_test.c
	* src/tests/util/radius_schedule_test.c
	* src/tests/util/worker_test.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6c7c7b3359ae13832044b6bd9bfe7c1ee576e03e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJa12AAoJEH0Oec13Yh7NhP4H/2yAhoWeFP19HcF0QTsiqVt6
 l9k9lMXfIG+QT/uFj9AgHLPXG/OL2Lmxac20/72bUBfGJ52v9TwbNnn3hcPpWdRm
 kaJptPI9FjmOYzYbtOB2bOu0YgJ2JqatWRqRut0ZycSTVHeSrNh6lD4xRJ5ifUAt
 lMm4f1+kVkDzMfzR4KjGN4Yu6du5zL58sZWUYPlS8crtuEZzxEKGFltFENB1XJU8
 5qAcePTIQXNjzwX85S+SWQTYWi/L9nm8HBAZfShNi/atGaj71gC+RpK5w5t9qBSK
 rcz8SwsJ96RyFeCZqebaBgXQ69frMRKYBPh9XVsimdmlPifJKPiOpa6STBBOe/Q=
 =Jn58
 -----END PGP SIGNATURE-----

better notes on stream transport issues

Alan T. DeKok at 2017-05-24T15:57:29Z
Files modified:
	* src/lib/io/network.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bbf36e3005864ccb5a366115f5887597780b47b8
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJarQAAoJEH0Oec13Yh7NOdAH/iD/EjHkpXWO0QCpNxaZklp6
 vEFVPppezxVJoXAvAX0gLqoxbmeCSnt0GqOacLprhOXavI4YWs4zu5SQ+IpSipRA
 TeN4H76JyS8Sa8LifrsbE8jc4J1mwrVE7SrOPThQXeu73NwKMaUxxdFUjvcqBFey
 KnsHbfUcJ7d7iCcRI06a+BfWGJ7znetM9u54sQCpUjW2/8b/uaoLWQWvxg3jr3uM
 T6ga4gcVMxz2KGQpJ5hiY59FnvQb2HKQt9ZZWHwrOxg0RciALzqkFRt9KKfQL9SZ
 lno4x+fUsv+CnOXR6gpprqDIDz98hCzjUldJ6x6kiRM3BM6Ums2iKHn7HQaVgfI=
 =hWCA
 -----END PGP SIGNATURE-----

stupid git

Alan T. DeKok at 2017-05-24T15:46:21Z
Files modified:
	* src/lib/io/transport.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0b7c0cae603667488e013afd402468fe18de9036
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJap3AAoJEH0Oec13Yh7NHS4IAKMzrx1GutHJSaSgXaQMSo54
 FUYskdrEfz+4I85Fm2wCgzvMGJfGg/TyjiD1c0syeFHo25jraNAGixYyBB92EHt8
 iScR6B00dvaEXzM3xVe9s8+paLvSc74yoq4ZROHN/4EVaOfBuk0T0tCAH8kiHWht
 fLr84BuIpXlOVRpaVi5QgMmrvxtCzfOuFlGJ1GfufnZpwFRzVvl1+pEbyHD2i1N3
 yeSDt4a5h7eeNNx9EU4NWUOYRlslHj+r0rLKN6/zaVF0QthwY6cFOtiWpi5wIQqg
 5AE73m2qxVbSBRUVGcZBWguR5c2LxJIiK3HasL3LMxWlMawxURrspHhhC2Hiqqc=
 =B+Bx
 -----END PGP SIGNATURE-----

added destructor on fr_network_socket_t

and do better cleanups on error

Alan T. DeKok at 2017-05-24T15:44:35Z
Files modified:
	* src/lib/io/network.c
	* src/lib/io/transport.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6d041f6c9d00ef51eb9559e7a37d21a9e4f23174
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJaSQAAoJEH0Oec13Yh7NAlUH/jSiA+J3HKrB1cFDK5YNj9h7
 AbbEsfMYW3zDrIT0Brh5rDIPZflquFynhW5aWpA01PM/kSwVLhCHbca8BGEI6T05
 zkbyIN6U2ypXe2g5qZw2rvGZbJVixt+JOS8IA8jEmNgpDycxJEpmV07MmQpAU0wm
 Zz0W8WADHOXw9OWCvGX6wEc2qEfLSjExvRvm34ArmrgCm+VYnM5GxapBAoJFU+E6
 GSLOZXfBITyps8rsuuTBX3Jw0cldg1qgaX+nJJzV0RfzYMBrbCeu366eXGcvZ8zX
 N7ONrt5zlAfGlQfC5QvmKljfJ293iLhP8HVf69Sfb0HT22WaT0cRPSWHetY5www=
 =u7nr
 -----END PGP SIGNATURE-----

can handle errors on write

Alan T. DeKok at 2017-05-24T15:19:43Z
Files modified:
	* src/lib/io/network.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a2577b218b609b85a58285db621dce62c4c751fb
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJZmqAAoJEH0Oec13Yh7NUI8H/0QnmFNOj94ZUKR5E2hJYRqF
 dVylPkdFjK1OfLJoQLo3FKCAGbanEPCjFHLZkqSkZgC0j+0Ovz0qAE+l8iT1a+5D
 rYmQYOQtmQxt42aQglP1xLYm5NsO0rXcnytdfWZKj6THaQhojlMoAsj2QiWpQAcR
 mPoDFa5tluK4TZUmDt7Hb0VlGsDwR4uXWWNjd75oQB9sBchSbu7qEXIJRPWJ0pw2
 ZQKwNK2O+eV4hx3gIk/tPA14pxes/WmAV0oq5mFKA/SxXnfFjpy+p7GdQ4dEBTch
 0sOT1nQxI+Bp4RrS2ROZ7JqpLwqdawVd1V+BFvlZVOTppMXvTStdnAeDOzhmht8=
 =Du0A
 -----END PGP SIGNATURE-----

expose fr_ptr_to_type

Alan T. DeKok at 2017-05-24T14:33:08Z
Files modified:
	* src/lib/io/time.h
	* src/lib/io/worker.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4ef68f0ec80637b4f00d1fb232dd2c5b80f65152
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJZkZAAoJEH0Oec13Yh7NWbYH/30Bo5M8sfSKoNec4ye+KZsq
 lzMaP7ZzcnvNt2+z+hptGZRltYm01+YvRp7EMYMrN4D97JTaaKKzCJEQR3owLztT
 bEh9WPEyj9elr4wO9m0VylpCqqJMZcLlB4T0W58vYC7F8mekMFTobB8eqxgJWwPG
 UNQTHxMRd5SWP9rdLaYTsFX7SHAZN40mlxG/vMyWzfv2OxMqVUEI6Ahn809dussi
 a+GQ9aqx9rxymB9dHhM//vDW4dx0uhbztH+Jzn+wUe7VRPiNH903pRIvgzfXukam
 y86CiAnVeAQYp1sS+/1Bpme0whdOwHezo6j68RRQmrVnqLLvXzYXKaUwc+5mxZo=
 =z2xb
 -----END PGP SIGNATURE-----

remove packet, not list

Alan T. DeKok at 2017-05-24T14:30:43Z
Files modified:
	* src/lib/io/worker.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b4a3ea99968648fed5b980691c377b9620e4805a
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJZgIAAoJEH0Oec13Yh7NqbQH/AyrxQyilGLiLUR1XIli1eUN
 S4sPDqheI1UHvAtigpiAWb59BMiz8/RwXitF9nKqXpPBCHtYIT5lO+9tsOgxdUYi
 1/5ABPoT/CTwmrLfzU5YmXHuVm8yk0fkp5TlM4L1Lagrjo6fJMBn+cKXB5sg/13n
 eZkqtz10GGUr72JkRVKVXzRbUT5i2Oq8+EQSx5widyC0jzfb61m/fKhRJxoq4DO3
 qdJiNhQJU3MAgMkD2IkT38iFaDZv0dOROgu41cd4b5KQoDRM6RwPi7vJQG4zsctv
 F9AmLaVqj4eSAWTZ+T28w7hAFMcs19NeRly1vPPI382Q4AtIuKKtqFKpFGN58kU=
 =vzSF
 -----END PGP SIGNATURE-----

doxygen for functions

Including what they do and how they work

Alan T. DeKok at 2017-05-24T14:25:57Z
Files modified:
	* src/lib/io/network.c
	* src/lib/io/transport.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/27ddb83fac328e1f4b6d3408897ec7bf5866adb8
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJKGLAAoJEH0Oec13Yh7NNCkH/2ezLmbO9juISHbU27ax4yN8
 RFhpO9sQEAKNDeIHmkkbvPNiXw3q1BgbSMJ4T98NbOsHrSGj9JVLNHa+mt34wYv9
 RcddVUc8DgqoXK84yS6Nndp0kAodMsuaxiE+NYz/UVxQb0bWwAVjXCNAA/Y9kuRH
 PzRgbxZkAIaW3UDvZhYCUVRpejR+KBJTAafxz57hs7k3jJrKEY/6b9Jdzv6JA7Pd
 qox0y+700UNuEgafzCrrSTHMat2Okft5b+XdEVGwAp5lTmJ++kUPD6n7Fp5B34By
 8RM3knwcENKo6fz/ySWveMo8+wvJz+qaQRwUGAQzGrYiJzXvMPCVypJ845IeZXU=
 =33CK
 -----END PGP SIGNATURE-----

name the talloc context for each network / worker

Alan T. DeKok at 2017-05-23T20:54:24Z
Files modified:
	* src/lib/io/schedule.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fee7bce2f698ccc99fa1eb4b741be201be12afe5
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJKDkAAoJEH0Oec13Yh7NDKIH/RiDBMz+4ObfirLojPxyEAsO
 i/JdlGjCzrkTKlS2N63gfuad13Gzny0F5fTItR2WoFJ2+rXI2hVK2/zot2okAgPa
 clEc95WILYwBW30+d0QGVAZ5nExr6ApycwMKxNlLmLbBRrzRi4xfPqp1CO6j5UHF
 6X8oNg4MPgPFqZpcNMcGZW5/2CuliY1UhtdYlwDoD+5gk8KIaZSQZA4HJddcN/Po
 Uch3RUTqaZQ43gHFzdtVcjZ8G7a7hGR1SG308KmJNEBC4uZrCEm8tmY5BTPSxoqO
 lh0S/ewgsBT3ICLPBCzKtXX0ASsgQgV4y/i3bzzIUMBe5JK+YyOVIEa1NaF/HlQ=
 =V2sD
 -----END PGP SIGNATURE-----

free sw, as it's now allocated in the context of sc

Alan T. DeKok at 2017-05-23T20:51:37Z
Files modified:
	* src/lib/io/schedule.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d080481af6fd623bc2132bf7ae9520068557e3fd
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZJKBNAAoJEH0Oec13Yh7Nx5gH/RI0CDhCcVroRiig/lLg3rKa
 ATnfgbVxhSEHScmpD7sG/dxrDrttBz7ZUdeK/bo+U5GI27wIKFFLXn2BCO8RGoNX
 7oXuljVXl+h3MqAI6FHMKMewYST68LIhIxKTdCYtqjo6uXu0FEKel9LOqTTwfkcM
 XENKonG/AL4ieSwnwkGm7vyFQqSn0RegLw4P25IrqCznUY+sg9OJY9RouzkG9D67
 sfrPTAw6ooBMbFH80AxnNBT2oyZ9C1fD0P3wSCXowEHteYBlfnYcSqcnbV2T+73e
 wR0cE3079lmi8RZD3NGf8oSdyGxNZbuUtnCaguBCulWV6+YVPGGULNo/8yD/2Ag=
 =UP7N
 -----END PGP SIGNATURE-----

lots of cleanups...

should be broken up into multiple commits, but oh well...
the changes are fairly inter-twined

* remove "id" from fr_transport_t
* remove num_transports and **transports from worker, network,
  and scheduler
* move related fields into a common fr_packet_io_t
* add sockfd to fr_packet_io_t, so that when the
  network gets a message and needs to write it,
  it can just use the sockfd.  We probably want to
  hide sockfd in transport_ctx later.
* use fr_packet_io_t in channel data and REQUEST
* reference fr_packet_io_t in network and worker
* manually create cd->io in src/tests, where needed
* remove radius_server_udp, it's no longer needed
* add proto_radius.h, so that proto_radius_udp can use it

Alan T. DeKok at 2017-05-23T20:49:17Z
Files modified:
	* src/lib/io/channel.h
	* src/lib/io/network.c
	* src/lib/io/network.h
	* src/lib/io/radius_server_udp.h
	* src/lib/io/schedule.c
	* src/lib/io/schedule.h
	* src/lib/io/transport.h
	* src/lib/io/worker.c
	* src/lib/io/worker.h
	* src/modules/proto_radius/proto_radius.c
	* src/modules/proto_radius/proto_radius.h
	* src/modules/proto_radius/proto_radius_udp.c
	* src/protocols/radius/all.mk
	* src/protocols/radius/radius_server_udp.c
	* src/tests/util/radius1_test.c
	* src/tests/util/radius_schedule_test.c
	* src/tests/util/schedule_test.c
	* src/tests/util/worker_test.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1dc6292f92eba06ebe5a4a0753848edaa9c31274
====== 
-- 
This commit summary was generated @2017-05-25T00:00:01Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list