Commit report for v4.0.x branch

announce at freeradius.org announce at freeradius.org
Sat Nov 25 01:00:02 CET 2017


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaGIxxAAoJEH0Oec13Yh7Ntf4H/RFAuuMHRreyXxOxAL2C14Au
 GKrl9tKG/smsjLwSQeb1meAzJApb7EynHfoApflll9NOJpuOUl1U2Brq3XSU+MvL
 GAxJsmwfggLoY2GFTH7zt6SXqGWCeFn22mBdVjzBJyHB62DQmKL8xQkcnCUFeHlN
 Av/MKbPV8BDJcj17PL7oD0VK5B8tYosjC2AD8qsjFYLuYSQxKv27lCnIdrB7AkB4
 jt4z4+MTiOFMCNfNezlAIOBOndImN0xXzN17O3O6EOUF0FJNzWHw/4m7Ug7P9AwW
 jqktqFryohOUAJvJd/PTuxAn9xQGy2AXm7ZbDktfV8uLsIzYmM07o3sprDn/bo0=
 =s24r
 -----END PGP SIGNATURE-----

remove extraneous debug messages

Alan T. DeKok at 2017-11-24T21:17:36Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7f4737a3d6ccbea88b30d8cf5d3ceeca2408f6ce
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaGHrvAAoJEH0Oec13Yh7NM1gIAIJVFwFc5FAwmsMywYcZIH/c
 mBfQDJtsL5sGkUQWCACjLI7Pnh3G4wkt3Z4RhFJIaEpAXPZIim/ODkX3iAxAl2ou
 V0Mu2VWYb4+aY0FV/LegmQKqfaHevQ+xQMrbV5aQn76A8UndDGX6dfBaTBpikv1L
 LFPF8/ZgsPNI+hANV0nr8hJBNs5ts6d3vfEWypkrV2WBtYatQL0Pt7FsN0afY8PN
 DmsKWVMPmMQzrbly3D3SKfJNe9lvWnZ0g4goBXiy9eaSjJOn9i0cjrFuyX3/opTh
 GmoYaU1GvxOX95dvm58uxPZxsLBNgO0c7zS9GwNqHb6+k90/Jhr8AvEJQCthxo0=
 =IOYF
 -----END PGP SIGNATURE-----

note which attributes are for what

Alan T. DeKok at 2017-11-24T20:02:55Z
Files modified:
	* share/dictionary.freeradius.internal

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d1518501e9943d8545992ea2b1c76a88396d81be
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaGHrvAAoJEH0Oec13Yh7NzgoH/0UgeKsXGniG0COIuCsXkEJC
 WCq5ZUr8zoryDEOyivIoZltaDLIwwnNpx59bKotf5wJsjmUaW9noO8Hwwh9wkDyi
 7EC9jRAg+7M+iJZqrt8v/cAoI7wFxRyrqgYiVNBjurSKA1LntIHcSmuw5fODDWjK
 66bzX0YrWrKPzJ755wyywXzpMNmd7MarKRUFUS15n/AAIM6sFgALCp5mpQpJ1AfV
 gRCGsCizxRFyD36XBUR6z/zpW5qeYapcsOywr4RYk7KqM3hqVt1Poyjqr5N/DGjL
 i6gyxSAqIULcJhJ1rrd1erwUvunyYVxNolWO8utfEOqIyKW/9Dzlmt1QF+7DnPg=
 =KecH
 -----END PGP SIGNATURE-----

dynamic clients now work.

Mostly... no timers to remove them, and many more fields
need to be read / parsed, including

* request message authenticator
* src_ipaddr
  * and do something with originating network, such as
    check it against the address that comes back from the
    virtual server
* nas_type, response_window
* virtual_server
  * and allow it to be something OTHER than this virtual server!

And still:

* no negative cache entries (for DoS attacks)
* no lifetime limits (once defined, they exist until the server stops)
* no renewal

But.. the basics are now there.

Alan T. DeKok at 2017-11-24T20:02:55Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/48eb181466ed80778359e60220ce3f209c5fb5de
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaGHrvAAoJEH0Oec13Yh7N3ZwH/jbbrMCOFTP4iB3bAmtjgwHT
 HZUF5xUt8oI2bUisz1Z85erzXQH7UJq2Tvovoz44qOT3a2EjmVw9HoSf1ntI4C+e
 0cARFrbTFOPQIqsmKjGsdHZsKUP70Gh8VgPLv/MiXeHGNh/xJGCxjm1t9cCnnA5f
 ddflm/m6RzNcSizOLt8ggv8C9hWrxvsmQ1t0+xjyFgqo8HnqR2OBmsleCDs5mNhE
 Q+wTtDBKOE+siiVmftxHEr0Z+4DP5Va742WVc54z1orJjThl8wV1vB06fFdaYbxN
 0WmZhTvbLtXP2KvgJeSx3s1+Y7ayb+cC6E40VFHew5lCUXxGUuz3Ji1KfJzoEFA=
 =BBIe
 -----END PGP SIGNATURE-----

return the actual client...

Alan T. DeKok at 2017-11-24T20:02:55Z
Files modified:
	* src/main/client.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b56b86b066e39b4f67aa8e82e1a121e83c7c8eb8
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaGHrvAAoJEH0Oec13Yh7Nw6AH+QFr+2vfDxUi00MM+QCQw3MI
 MJUz3lAKXon08GEl2Hc+RN4shqznduhRN3TcqogXfvAzLduSSl/IHfLjVjiloLfB
 95srQLyM6MybjXeJy/a/Xo1GqZiXkGMTxSff8rVGBX9GDh0n1TWPWWLm301t3me3
 +N2Fj6rUHgp5w0Kz+NN/OyKZQb5417Jt2jlHx6NI6nBbvOSc/yL71AEyDPS912DD
 cqkLTI+WhkXS7fugavf2UUmt3qNjIzVoXikwiCwvsbr4tfUrzqoKBapliXpcXMXU
 zN2F0V2CuZayCDS7f6VUHS6Mt4+Q8BaN5RkalbCoB4LuegaBFDTLlm/xbrkiVCI=
 =ZF4D
 -----END PGP SIGNATURE-----

add mod_encode() for creating dynamic clients.

The dynamic clients are created, but aren't sent anywhere.  Yet.

Alan T. DeKok at 2017-11-24T20:02:55Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b70643069a478cb996ba82929e9d8fac6d0b4750
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaGHrvAAoJEH0Oec13Yh7NqEIH/j67mdWTQ9E9G6flaS8xQlAa
 pgyqYSmED5ZZxuAlqTSixgbzYzOYbwpph3iWGw0IFMLC22l5lPkOK+dIsc8AV8SJ
 Gcus4//pIK62euQCPzxw7izKu4RDG28PJAqR25ulk5CiMSg/v9HW2MYMyg3A91/E
 GnIZUFpqHz/B66Sv0qy1gJlkOFN8Gw0sr/eeFN53SCz+PJx8BZSo173069gMQyaN
 Sj/cqAGRZrwgy4Q7s9TOttkSLjWrIstCfcBUw3Lh7zJ1TMlsWCXQb8n/XAH6+gCg
 utVfMy6YYfv5B+JRoCecqDEiZQxqiL7cfQssw/lwlQJNto5HfDirXVdvd5vDhQw=
 =fEaM
 -----END PGP SIGNATURE-----

clean up and fix client_afrom_request()

it's not a lot simpler.

It might just be easier to have a "vp -> conf_section" converter...

Alan T. DeKok at 2017-11-24T20:02:55Z
Files modified:
	* src/include/clients.h
	* src/main/client.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/91fccb2c7b34eb9936ccb0e08c518251f51ff5b0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaGHrvAAoJEH0Oec13Yh7NA8YIAJTYc12kSTXZwFlD0RIAzrWB
 YNlWyrI24tsaTq6I8VGVTe+TIiJ6+IEEMFr98yzqNZ7ENhDoU3EDzzIlCKUAzx4Q
 LOhsYPriXltRnkSmMbrVPvPS7l581J0thB6tndzsXoKuItnsuuEfjPrN8iLd4s13
 6voLzvVbKEacso4hDN5+uRLkYNq60sLOJBVMk4qrfZAysUmbG65JdqEoiVdtMWtI
 +jeCupEJJeeFeRkSu6SUrPqGuQKblp0Dm+Pl7bI8Uo32eJCdnoiUCgYGkGio1f2g
 VtaMsNPjatW4ui7CL+7RVGQeP199BemrCAmEy3jyVXZM8+3oYU7UpwhqB1qebHM=
 =5ry6
 -----END PGP SIGNATURE-----

close vnode_fd on detach, too

Alan T. DeKok at 2017-11-24T20:02:55Z
Files modified:
	* src/modules/proto_detail/proto_detail.h
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6ccc662406f601abc0121f8f56f8e5cf253f9d2a
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYcEQACgkQ/6TVgp+2
 18oshw//UXYsxlkfO5PFO8D5c3S+ylLBb/6lNxqitEX3CuroIkC4Ifn/tcjeG0eD
 Y5DBc5wy3TJ6st8Kkkyujr2SfqaWyFch6a8xWQ50tLkh9uzv7OzNWQ6GrNafA1tb
 iVZ44MbZDM0ONoI4ZbTO+m6ghoDi5adoVIH9zl+enaE97Iv3qz8tLbTcjBMSPmfh
 sigyMqMgfPWUCRr8xNspXyQ7IqQccnB+58+OrMDasJvQ6k/CzX2WzNm3F1mX9tfz
 76ArSSpM/ETQUy8mcOmPO2sRG/0U7QRp4i4vl1H51c6Swk5FjG371IcYN4pxHaPi
 tYeXmpshK/wSEGqOdNL49B0IP42ItnjgRPFWF2tmZmNDwXCJuE/Te+JvuIWLtAT+
 Y5PADDXUBHyHrPDStli6BZTB7ZPo02KfkCczh5fhZfyPoZwpZp0vkE6zSY54YgAK
 zcoVeKaJu63Ara+TQRf14BYnHieFjeBoQ+TEWqG7H1vre7i/TGnk9+zFlNCkrr05
 Tvc9M4wVcESR/REaZw6qKl1bMV/FgLNLr7TsUPaShSIu+4E8Dp6ThY17n0SppUEW
 yjPLaDIa0gLh/MrmocdkdylqIzMjPzrWv+L2coH9ETxtkoPIS0hAFVj2q71FBTwf
 djQgJEjnyCfWOdDWcvqgaWzBFbYjdAs2wYz3tnkVVMpAr2oxGkY=
 =ZDd6
 -----END PGP SIGNATURE-----

Set xlat instruction priorities correctly

Arran Cudbard-Bell at 2017-11-24T19:17:24Z
Files modified:
	* src/main/unlang_interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a340bee6916bf8a7dd73e28f18a60b537db87959
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYVSsACgkQ/6TVgp+2
 18qq4BAAkQ1xXLbXY4EBD4gPMSWFuimDzBPlaq8SGPkGyHw1VXVmzmIma2/w7fhg
 eVZ+GGlcFt0q8f/YC9W2WnKg9dFjqwUmrVXpAzmEE+UxqV3gK6dg+dI7IJww0V8a
 bf+EtPDqHu0pcZpu1FftlQvta072hmZCYG3qge8eKw8YHUVYo/sF5Og3nsC/wNhd
 nDTuMrqgpYi4mOC6pOyLUymQoRD6HJ5AQfu6TePiD5pqpLXnQ3glTYKrBfB0oLJp
 HVe2006Gh9FrWJZlovxOXLyliBHRSl/OSxYzmGLqrT2ystg7WH76CynLkOrhq6WL
 Z9N9E5oLkQ6rBK86ABBsJ23GIvPyDsDvFUfsBrNeTAMbfWYAeV2zTABLMB9XvD/Y
 aorUNmuw+6eRb/SRw2+jr3fyH77v+nLlDTcKPK/3qpYJc5hkc3fgH6eawX+kHfd7
 +RrufQmSY+J/8gx8aGjhEHyM3fVdNqGxw11Kdtr4bkDazjnnNhMJFGPtigZUzpO/
 PMhx2wZEV4nZBfD9jo6Sw2HOrJLeYRva2D3SZ/26RBedX7i+Ouq4jA8XLdPwhEXu
 hbVOM0nrGR7flSqS6IBjHEnAtRyymE39tjQLl6rLq79F4NjLen3QyFzQynjVWuID
 KRqGj3ImvmHGmofEC1BnYqyJK3N8VKnqHCPUF8WanxvPKBEAszA=
 =lpFK
 -----END PGP SIGNATURE-----

Fix comment

Arran Cudbard-Bell at 2017-11-24T17:21:46Z
Files modified:
	* src/include/interpreter.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/05f09eb75e9f46859121ead0675c1e02fc2e416f
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYUBkACgkQ/6TVgp+2
 18qCehAAifBn2at/fbknodZZEqdL/FX/TdqHyXFejq8+k7qaHPHupnY6DTjuC10B
 2oI8iVjAY34vla5PI2Vhtn0gLaoQQ2IHvTzung8GztFyS1PadKB6x6dNizEMrNyR
 lqPzzb4r3gKx+O6NEV5TP7N77eH6N7Auf7JcEokxbk2sxdJDomzg+ITmt3Z9SHdd
 kmQGpIDiK00JY26hoOOCwTbxpSB8hdTS2jQ+vtcqArnYQzBs2HVj7sgUERUTPb3H
 XTeDX6c26KaR7mDoo/FL4tXAH+Rs9VbAL463mehdVSJHv6PsATtbHCyrGTkZFCyW
 2lxYKQuIdBQBROG9mfa5O15EmZZUbn5QCotznm/KijHA3I8yuv0BoVrIt8nx7HGd
 dA1U64KJu8LK++Vp/y0uvYIvIoGDi3DCaq3sbpb8CbMVvp0nYbNOy8lABLBal7jV
 7YU6krngyDf448v9u8cXcUql2pZ45cX1gjUCMBbyH8movsTp77pMcIylLDbT44SL
 SWOMfGFnMEZTHom7w4A73Wds6c9Kh7mAqt6PUlz/PkBRbyicTTQzgvleXr3zF4OU
 5HNnjGPb3dzpIM+Z0QSc8JpjRce4PM2VoDOJRNpP0hrz/nQ4T0nP21dmRnignaGs
 z53vKjE/TRCbXo60sP9RGH05mHySrJ99WnP4SI+d3mpNYvWSumc=
 =5PlI
 -----END PGP SIGNATURE-----

xlat functions can't push children

Arran Cudbard-Bell at 2017-11-24T17:00:09Z
Files modified:
	* src/main/unlang_interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/cc8c5f853a6dc0a9d02aca60fb32aafdc2419732
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYTZkACgkQ/6TVgp+2
 18oqzRAAloyXIha38pZYFtxuC/65dfk6vcren8wvyVojqhelUAix0GwN3hJCTimo
 QXEaY6/aGEs+in90/3VyyhBXXzv3qazEgRLmvsHe5tMGBpUoioDZCArVM7qCm5oU
 mTbF6FXIBLNCFFVB1yZWh9epxQj8LR78CPAt7KRWa9EsUCX1Sz7x3kvYOtKbv0l+
 BiHsSJaT1pRLxKjJDkLQ7UvHqy+H8mabifI6EIJeLXa9td3e7WNWExsOSmtA021f
 hmQV5PS2wBU9swxndHNrrsv3VzCPFni3agdd7cPSIdFukfd0MiFz4SKsUiuY5c+5
 f6Xaa+e7hbn+QH0ueWPc92YfQTLGSp7bwq3lplV0tgdAFM4oSRH2raVCeG57OXnZ
 zSh8d9nm/P0xJIWZv3IdfKur9rx2r9dhNdqGgUMrJdfEQ+XL97SuATmW0NNwLO6U
 iEONmppG8FlHaSx0XUSEFp4tya2HREPfIwa/5HA/BSzdZLcwU9QlzGI9pOYeIa+5
 OwIaREuFk5mElSaeJDy3c9KilHcaMBirYxNXrYfUSzVJHbD279eMZiezImQwWuXr
 K5+++BWl4GhDZiYBl3x6oWKMde676L6V0mFNIQ6DAmiHbdW6YsMLh148L2GO10NW
 ptWfIwMrM5HKfxn85ZMZ7PlaG5v7F5+er7gDAu1ZWvy/kYFZepM=
 =cObb
 -----END PGP SIGNATURE-----

Add unlang_xlat_resume function

Arran Cudbard-Bell at 2017-11-24T16:49:29Z
Files modified:
	* src/main/unlang_interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ca200851cefb138f1cde5e86c577bf3dd83a1949
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYSh8ACgkQ/6TVgp+2
 18rb9w//bBnx+5jITsKi1PY+79jBgLSy6APXpWNBeLFXXL+x20Ldd2JKDQt5TThu
 M5apZhOwbZFocZfh/jhbVKiOAlg6G0Svjuo8Rm6ZvXwRyr6214HAv0fTi0AYRMsp
 R3guumgG5IAeIk7XfcHR87Zn+H6MEOsn9pfXa6e8M7MEIS0ZZEX79GTyjYtoJj8b
 BNh2f3JZeuEMLAvwu/8ey60uS89LN+R4lHJKqZtCLlpdlgNBAfOkXj+jgybihavS
 T1Qd+NDGy+AJZWJTbqQEhHk3Ph4Fm6RqaZfUwSwfSyFwsHBVCkQC4mtEbn0cktzi
 8n/Zjc8L8ycB4JcYSmaUKG9Hmr+k4RoAQ4fOx0kbPNa6eQQ8YoKJHn+vHB6UisCF
 zGL4QoaweGkUs3iB9QYac08IpRCb10B4js6tdC3aWi/5eIWMphVe30Un22rimUd8
 vmf6tuI03PBOWeSMartAh6ZtNg8qbzPcoxBW1Gu5nESyVQefqBqwndyc0nkfhid3
 kmKEAMXvupsSslU8M95IDIJomBp55AYfy7rJeFhljEfTs/I37cVi2StGrum6VMiw
 LAkAvxlydsesX48/L7XBEN9rfC22IUbY/IPWHNlek49hV5tK0Bi0bCoOlzljTlvx
 6RbrYyHB01LcpFofrZzpgejoXRJdqIpV3ALTPKSAOQaj8xvm8ew=
 =p4Ai
 -----END PGP SIGNATURE-----

Have resumption functions populate an rcode pointer and return an unlang_action_t

Arran Cudbard-Bell at 2017-11-24T16:34:39Z
Files modified:
	* src/main/unlang_interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/452dbb6a399be505bb183f3b0b14cfb8ab751a5e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaGEmPAAoJEH0Oec13Yh7NC/kH/1d96Z+EeIrS1uMvI763skI7
 Gr1F8zFW+kozCFCzSrYmzOX0k6kOHY/N2a45t3CROObGVylkqIt65sdcItLyLRSr
 pat0rVBOXNQuSEGqVZ5FnPNunPnshnx7mZSdrkSR7phYcvowoul4sdgx+qiFWsGj
 zAjZsGCA66JlPftsLS4QqYlDajWUmUzpSfFslxMRNkg+GK06VP7js31ftiVQpuAN
 /q+1etZThNA3E04TG/qX+Us6wddvXiz5N5ZLltLBvKpx3T3IYT0xmvUnTqoK1ZmS
 r1a7VxmGFLefG+Ukh/wz9pIkpm8nERsrLNOC2dV3he5a8Ln4D5m69H7iqjqHjYA=
 =za6g
 -----END PGP SIGNATURE-----

closing the FD may be useful...

Alan T. DeKok at 2017-11-24T16:32:15Z
Files modified:
	* src/modules/proto_detail/proto_detail_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/732d8a3b8dbce64ffcac3f9bb7a84c2d71f8f5fd
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYOHIACgkQ/6TVgp+2
 18qvYw//S5cjwwUUyQemgnLkwGHVus/B0SrHM93vYkub8yKz1CLLnKfoYQXCGSMD
 8aakHP8q5PJHyW01QfygaqqMy0FyTHcYoxN2AUMiiKoYejkWEVwv1ao3hDdeFKd8
 mIIPPp0ZOiIhDrbxiedKKK+4sVjmYrtBt6PbMxq+t1WjVB8ujvtZf51wkVLIDsCx
 FBk3P7cAsEhDNxejhS+DczilxxdZ/qFibXTMb4M7ygpZSlSAJJBZ27U1bEVOJ8ws
 QwHPQ/IqH3ugpGXbsRd97+knRiOrxw+bsjVGwjswF72afsO2hXIC7DSKFpiw/d4r
 5tKtNHZ4NzzAw6qsRy9L1mK2op0z85iwYGusbv0qGvITkteI7Q2qdKN0k3leczp7
 qAWtXUBX2f730/WJqw6p59RrxIHfN47S9zNVMXCDACg4A9JeHwbbLbTq9dGcJoYg
 VSmfI93NIJNrro12PGm7//x3nIilEnIleJ3n+plBj5TVvEBR8Qqyar4hU2iT+hvg
 e4ySh5W2HGpyVr+e0lLmmvc9ACOjtXf8btsTFm/7I6Ora2NiiCAaz0smfD7/hPl2
 46tS7FVy9ihwVWd7PTx5r+TbYj1gitcP0WWWvBZ5p5ii9RqqNJ5hNTr21eYrF8Pk
 166HJl3maVfYsHzSh2wbqn+us6FLqASdtrODs4cBjR+f8XRbsEI=
 =ci3Y
 -----END PGP SIGNATURE-----

Add unlang_xlat_yield

for yielding xlat functions...

Arran Cudbard-Bell at 2017-11-24T15:19:14Z
Files modified:
	* src/include/modules.h
	* src/include/xlat.h
	* src/main/unlang_interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/28a70b191b7bc999332b3b0cff5c01ef270f3370
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYOHIACgkQ/6TVgp+2
 18pDsA/8CZgxZFkp9aiCrICOaPLy1lra3of/GUJi7fVBrglkM2AKEHRccZemnC9z
 mN3L5LtayNC7GRfz/7RiaSq/7uNKKqXevtJ0yv5wEw+y/DF/TlHj85Yal1EsrO0K
 AQ7vYKSpDNoPhR5iSsHVZNYjD6ZtFtnrVdhBSfGbbe6BhfuO6pX5dvarmy4cLt+X
 0XbNnWWTTxhTpD1yQgDh9lBrmPd78ALrr6x8TRHDx5b1Jg93in+iOKC2ufkS9+/9
 k3/LqfxqedO4vhi3AJiPU770Z0w4JOi4RUUqKK5C2ptzb9rg0+x2hReO739uEPOp
 cBGmDG57HXD3DxIuP0ZTCWN0K1Ee/Ks4nsP4l52SInRJf9SoVXuIsiORHKWYI4LD
 C8RS27Za2grQJYclKp6B/MKrOTUu8EFig3spWJsahPgunhWQyIb3U/nCw2ANUk27
 uyWS7CDBECU0EgsmLShSBhdc5sjIisQLhd/bEQlP4vyayJB2SmetN3w9dxbZZ6NX
 5RxNYM2PSTqaSZf/r7hz1NoEom6HvfiRldpt+6WLRCE0kzwDPx7ZPrFXCEc9IFX9
 bijXjIXOVB5MISNNIjlwwpXui9SL3IaZyvewoJqB3HHycnLr3l3YH1SFRuXOjgkZ
 kK3Sf53Ee3jxPjcFHiPfW1W5R2OeMQhIJjhYEuHZdFeFO3sQL8A=
 =Nzzp
 -----END PGP SIGNATURE-----

Reorganise module resume to make it clearer what frame types are being used

Arran Cudbard-Bell at 2017-11-24T15:19:14Z
Files modified:
	* src/main/unlang_interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/27f30157db3548b61e480a64e6b5b893e69f71a1
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYOHEACgkQ/6TVgp+2
 18qJCg/9GP4O1uAnYKnWthPsig6J9iCdWxarxZn+hXKZtyvh4/MlU1Owh1gScP0U
 rnwsHDVnwS3TJfwjkH980wnXh/y1bPrrrFS/j/TjckkWD108xXYlPeiz8FH8tKRL
 gDZyG3pfI3SAdYq9s1rZBPhrLBQFVolcwmEM40hZWbTeG0TBpCIgKCrhJBg7DxMg
 FivkCDKsTEn99SH6fNb23Ieu6naWwGexZlSfXWXE4BRtABbZKhZu/uGmWlpldEgG
 bifeJv86z2SMh2feDZsIjEk+9/cSQMSRcSkOqMDnZ2MLW1uMzsQOYYQX/ACIynUW
 exyHWLXAXe6OJZhD2ZguK451UukaNuZbpOk+A4t8t3GzS74PxNYtkqLrmpsweD3r
 AkoF3mBBcpvHyvzZ7BNvTetExSSYFuBBZ+mGBbrcyypFboo8aboofNtwa8nAdmtv
 pAxMSOrd1vWvGrCu2ysp2L4jtyliFCTf7JymIOojVFsbGrZ2doCFiqZGm4R0aqgV
 VI3N3140RaN1BSm1TZKGyRgpV1/g+Gwu3p/49QIZiAV5LkEZsEhqVW500BSWUWnf
 PMktdinSKlnM53+lIv7/7dZbn+D2XiqbWzgZ+R6h8iHncShyjU+eQcoktG4b14j3
 ljseSFSFcTXzQ9BfWjLq/WwM2dg7rUCI+ZKvvM+lkQHkV2b8RDE=
 =bcci
 -----END PGP SIGNATURE-----

callback should be a void * in the resumption frame

Arran Cudbard-Bell at 2017-11-24T15:19:13Z
Files modified:
	* src/main/unlang_interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8c1591fe3c9d45dbb9de83b101f2a4fd378fdeb1
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYOHEACgkQ/6TVgp+2
 18qOkw/+NWcy923L3CaX/AQ0EEN1amZJNzcZHUvMTLKbOgwD2wml3D/cfRcPKord
 OQUIkDJ+6X80xD+2MOq2Dtg3VYOJvQNccApR2+dHt9vc2XLXVwBXFeLoIRCtUHkM
 wNCTc34QkgAZ7OM7u6GGPNxY5qrdGioWAf1DaNtokU7SAMu7W33Cc+XRyiVugX7N
 Wbg2Tw7Rtp9TYjZl/w7W88d9bllt3XHRff0nTtzlcP/wyCF6kDJn84854Rr/J8Ka
 +AorHZOD6D1N2tMRlfjOCmM0al69UuDwIFmMdy5et/Gg4NQY5B4/TwzjyIaTKLkf
 5m9/0VXS7HMSKQQi/oHkoCOLyQgKJK2ZlWbqymm9clifvJbGzkQ2g6jYNFKqb1hu
 USRT4PivpULfnGioD7j5ZShj9+zpdzgkhtHu5c8alryglrGYsVwnfcP5OIvdLMnC
 atf37+MzxzgHOX0NFHuVTtCZ2zXBoy+qEGRwqUROpA0k5BvudVy1mMRLs6ayXXmU
 4lsVpk61MXYZqjZ6EREN/Z6jGVCs4MM09XuXqjwxcN4QTUWDrT0+0vCjryfM+0Zq
 Sb2n7LBoL4SP///3byM1bxyIEN/EnnlHqmDnDQDc2zvJMtEQRD1ro+gg2mXWhwAj
 bVN+owiS8E/naC0jDwklTkb9TofIL8m3IMYU2XnmUhfS1IbC1G8=
 =9HkY
 -----END PGP SIGNATURE-----

Reorder the arguments to async functions and remove uctx

If it's really needed then that xlat function can store it in its own instance

Arran Cudbard-Bell at 2017-11-24T15:19:13Z
Files modified:
	* src/include/xlat.h
	* src/main/xlat_eval.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/000f30456f30098fd0d3f9486dc336ea49cfc758
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYOHEACgkQ/6TVgp+2
 18qr3w//TpGCfLrIDdd1r0TdOrT5kNUHoccpHRolg6E6X6E7pwCuvmO+dZQXNKgY
 Owvu3HxZ4SPcCTP1DkEBUfIXthwPzugIwoO9i65y/8FPltj59EdlyfOgBpOk9hYy
 27ctIsT9YfdA4oMFVRrgDXb1WWx5Og5GrOzYIeMBoG1vJQwQZDceC5oUZwDiOwRz
 xUTFAtVUwsIwAmVYFUMguOXpO2TXo/QOXHCtD+crTc9ZREAnRxxgVDqDZ0aQ/vWd
 JlmYDRWlvfa+R43BLwE97TjSuanIWXwU+4NTyvTsyLf2G4Lgt6U/KS+4xGNO5shg
 6/sSvt5Bdlzjr4JXeL8MT48h9elA8b3gFq6rZtsMEz/RNWqdRATG0ltvdIsdliWx
 Zzzgar2plqWzrVHDpudVmvvKRDPmDddwAWwun0Wgtvy/VbSowTxNvnJj5yr66197
 xl6xPwYL5GxUwD6kBRp4WjE2U4XCn/txZKvIwu7P8J+jTnUOF/lZBuHuTlCoYyLn
 hzmrrOO5LMJF5hb//botxx8Vq+B+HXgT09+rz0hE3sjM+ggCHlu+gzq/X5if3QbD
 Dam6feCnfja2j46HwnQX4STubecQWwgm2gGe2mwuOY4/LA2O4Gyq31TqUEoph7WX
 YMHTP6omCD5GUPRCM5hncpPHTR7iARaYgc9BclvczNiLDvhEj1A=
 =gtAt
 -----END PGP SIGNATURE-----

Pass in result as a cursor to async xlat functions

This helps if the function is processing arguments and yielding between each argument.

Arran Cudbard-Bell at 2017-11-24T15:19:13Z
Files modified:
	* src/include/interpreter.h
	* src/include/xlat.h
	* src/main/unlang_interpret.c
	* src/main/xlat_eval.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/47f956a65062a5ebde2bb2f08f6fd89ca2077dd9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYOHEACgkQ/6TVgp+2
 18p2Lg/+O9IFdErUWkbjykXq30m3WNOYKMUR4a3zWvVSuxGikvNY5pY62ByQkj5O
 tWa7P/N5JNxPrU1fFjOUvHnvTVORzKu9o7vcCip8SqvjzCv8mkH2QFYdgJHOaSaE
 5cnkCRu8VLrzkzjKVmYzR4gbKBBKAv9+jgyJgqtZ9qdpj7uA3I6FiLzTzHOs7iF9
 OvyC9JQpofqW9wFDWpO6NQ3PyT0N1VSLIspgK9YR9v9+9f1IYgkkWAYSzQiUauGV
 J7pE51nUqcxb9bb91xqTzzRf7GGW0yT7rue+xlphOs42j5BamqIBw1ROOyONFHxw
 ByzYzCQebGJONwL11SoRIgeNNcJPoc4z+I78wkaZ7CKlfalafEXFUu35dQ/Pdj6U
 Yekhyp7WyuJYr0ObBaH8Ps34bV+1e2xrMB9PC1+isIurO8o/80JwIRl+P9X0Jcqn
 du+u91obhAudEhwvucozHfcZJ6gmPnrztu00QsZqQN1+DwCMRGc6tdCHhhJQSSLs
 0NXDeYMn34tVRDif/goDV+6O9TCLvQy6G5IkzEubdjWi//vo1ZU1moELbN8RKOBE
 oUdBwB38cnYb9eCGt5XlVbQssTnofXuNkgrzHp3S89uSgHdlX/HPeQg0Rfqs2jgM
 ZBx6SI2MNPho5U8jeTE7Othp7LLb+/krfNq4crOI2pLqRCXwST4=
 =QMTb
 -----END PGP SIGNATURE-----

Refer to the resume ctx as rctx

Arran Cudbard-Bell at 2017-11-24T15:19:08Z
Files modified:
	* src/include/interpreter.h
	* src/include/modules.h
	* src/main/unlang_interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7e23fcbebf650905edb0e0931fcf2bf370be69a7
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAloYOFQACgkQ/6TVgp+2
 18pbyg//Sa+eb4nb70/io3ITq4bqqApJ3jsTMShjXUGcTxOxi3KkeFS0GcH9FHjx
 Ya1Pmrb38HVEV5RdtcteNHfD7GeSAvrgSKrHR8UdMrG6xMCgBF0QMgDrguJdNZoU
 fh/oOJXnX6int31mxkM5ylmZPvtO1OVScVWqRi9FNovpwJasikWLttB44ZvyZDze
 d4mmsT9sJmcHIh1zkrwrpJ/aIDIqfyzU/Okub/SMgZnW7h6r2jdCswh56NsJzGkq
 NQpy0ShDwg4l+tpYNw5BEu0Cebcrg/CkkPKxqrYpgWWOt9uDivcQIcuEqoswIJ9i
 N2E7L9HmDuz79izMW5y4N1odxYjrELA09ufPdvh+ZveV/zXBXGUiu/wdm3IY0R1y
 1RrvxJ9d5OVJ2gbtV1Vx8wOOhf47ew6g9CKW9PTbbQzS3k7jV3uOXzRXdrqCD3V1
 Ug+ub61yaSD4RTLYRBGk4rZtsSPzRYRF56OVdN8xI+EEwxirm3/etNYv+JlBhvhB
 DdeR6pr/mZh3YX4ld2OkQgM31txxRetHNKGbh3GWU2hzDrP4aMsz1qcf2aTT/CKD
 Ab5JcLDiscQTIZHfA4eLQBNUqMaPz5vCyf86VfzjwLkKYSvutl6r/eF1oYOAE52a
 Hr1FvafPPVpbfVL5NplZxy1hQdd/TuaqZQPuKfUIZQloah0k7Ek=
 =ZzlF
 -----END PGP SIGNATURE-----

There's no reason to store the module instance when we can get it from the previous instruction

Arran Cudbard-Bell at 2017-11-24T15:18:44Z
Files modified:
	* src/include/interpreter.h
	* src/main/unlang_interpret.c

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


More information about the Freeradius-Devel mailing list