Commit report for v4.0.x branch

announce at freeradius.org announce at freeradius.org
Fri Feb 16 01:00:02 CET 2018


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJahf2eAAoJEH0Oec13Yh7NZWMH+wRC4WwdHfiqJEo7OFJEtiUG
 hGzlo7vLg0wq2AGYaxlt2dsoE1yKvx4OIeAnhSv/c4RdCiKUVIcEz3ST3S/UD/Tr
 NT7VJ9mgs2icDq4zM+eIZsOUWPa0C7L/dqzpayP1AEkNPlOyrllyK5McbQB9dmkX
 QOUc3geeX3zzgK3ADT+NlI7y5rMmu7M2d9IKWosnjTkLtbb/rYMDyEnKZJv7fyWI
 zqSmCN4fSIpHFvB5FUh8sbfYrALagaH0N+eX5qJpho3sUO8Ero00UDAhr1obRp+t
 j3MSWFeyJnnKa/VAEJxHCv2W0fMXJa6mUmOAbUJplCJAVd0Io/Rabm7sqrovNb8=
 =htDe
 -----END PGP SIGNATURE-----

cache leftover data when retransmitting

Alan T. DeKok at 2018-02-15T21:37:34Z
Files modified:
	* src/modules/proto_detail/proto_detail.h
	* src/modules/proto_detail/proto_detail_work.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b9929536eb2743d94d8d7877f4d271faeb80fc7e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAlqF8aAACgkQ/6TVgp+2
 18qR6Q//RwG22S1tm+ZXmQtYTBBDjs4WIVDzSrAZJFBQoUEc7jwCW/sF/gV5rFuZ
 B6Br5YTB7snsO6NbtN7I2JmEM+sMi0HSclLhoMU0goEUAk/rpBsS3jUDMEIYHIbX
 xjjZCbEN8I16HnNLkQSUJ3PwBm//ZKWbJZJMLV+jpghgRyhSyXvuSVd9VK65JGsQ
 jtk1iZBk3nDksuXe7u/ME6Gqzw3AosAGLr4jemePXJjPVtbvSb4R60dAP5Zqy4C9
 yD0GQS0F9opCsPk4RaVhau1yGeYF7Am+XhfyVer1cdtlAWDMZiLLsL+DwVv54rUL
 o5E7v1Mu2WWw7tKFe0sn+NTl9gQbIuNY3saQ2ge3hRCQz6QUCY/BGGFuI3BP8qyU
 uKg5TDNtpT8cfad70YqsYHuFCy9BcFG2M883EoY7gJxYanJN0wWX6/JG1lLLhpKn
 XTPkhLz+uQXiAfwAd5p206XoyJSWBm+KhW7US7SybMo+0nnLRulRBPGy9/NIyNoq
 9NWe5n/s3PGm74MRz9xMmtF58NCKcd0AMx3R55Tt84RbvsILGUu4dIUCR/nF90g6
 Tw00Kggj+EQni68LH4VPH47t63zhBIqC+xyzJQiHT144mtDAlHcxeGO4ei6fI6i0
 EeYktY/djsVlappTBfMcTiN76DamyNEORe8kxZE1VLjCgzsjpaE=
 =/Tn/
 -----END PGP SIGNATURE-----

Options not attributes

Arran Cudbard-Bell at 2018-02-15T20:46:24Z
Files modified:
	* src/protocols/dhcpv6/encode.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ff9521a0fd8ee9f0b0695ac7c5fc8c1031b1ac96
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAlqF8LIACgkQ/6TVgp+2
 18oQTg/+J5GSK99EEvrhiuFUzvqz5Q5prYnVl9biSh/Yr/2BzQk4ygG2q4517vQZ
 h4BlDVUKT2z8WCD9ZcXOm4L6JH4Uc22XqQ79i/Q4qfR1aH8VzDeauMlC1XQJLH3c
 eCSicngr4cmdWok6KZahgv8lwpfsR4/LXgCPahDr1+m1dPvhl0r6kHjJCofU+5O8
 WCUqHkYKQNrY+M/zsYLwviqCHD4pVuSSWprRUG6zkwQVUWURCc+2BfXpZ+mNOibw
 yVYOWilSY/CxZzd28wdaoBjLV9QSwKvKthpTPFlWm2lCvaao0MRwQ8x8JjPqVM2a
 uR35Imq96seDUCrhIQi54d1EXXz66Ga1ME5cxXM1LNzkp+Q3e4n4KHw5etz85tUC
 uFfMIrZBfFjXZGPqaAI5NLQwWEUqzwPU+PRtgukFeS9M2QeiUDi8weuWLlX1hpWN
 l+T7lrmuSbg9aS7G8Rsd24mRRbHkQKrEUBwrCkUVeMrtzQzzZijaMvzB76d4tXrO
 sdCqx32deMZdrIFviSiBbGNoYtFNb9ji0Gmd58uhv2mJR6X3yNEexj/BsKTfqUpe
 40a1FE3T2vubyP1mAegSwdZPV7u1GEuJZKcDlKEllUG3EyMPfNwsR7SVJ0PSL2B3
 kyGaP5uBS+3NTxOEJCVGLqAKlls1NJdmGdc2r7PmFZ08Guy4Iqk=
 =zd8+
 -----END PGP SIGNATURE-----

Add v6 encoder test point

Arran Cudbard-Bell at 2018-02-15T20:42:26Z
Files modified:
	* src/protocols/dhcpv6/base.c
	* src/protocols/dhcpv6/dhcpv6.h
	* src/protocols/dhcpv6/encode.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f3d53840b3d43d8fd2d44de64d9ad041787c38a7
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAlqF7pkACgkQ/6TVgp+2
 18pG2BAAg+mSyRg0PyRfRhK58JlSoragty0lY8FaCeR18PvoNUh+zZF9BOkRU7pH
 GrSWXQesnGzLihIkPDFA51QPXbdmzhZGCEkX6BwdmjCyIl4aP/AFVR8df9yCozo8
 dP7OPmz/3a9zIEksc4ja2kglcUnjPioNRxoWjYW97gGUaY0Q7gmyXgq59QT+xQHG
 4UAZA6nZPB+jpGpiTlgncOfnOrPy+QzqpVw9LX31Udlv4936wtKq2x4tnLjwtaod
 i8UnOOodh0XNb063F/9rkaj6YSgYgCmpxwKcYl1DIC1CvurIIvqDb3s5HBnMYuL3
 8RxcubUDzdDz2Cy7DkIPNoo+b+4PzQ1BZWqXyy/kRp3r1wj5j5pDXiWXNac4mnHj
 CgNHDpWBKA5ZHhslEHMWLg3AowOefEnEbLC7/uZJvOngc2+8zMX7mSJqUfDn/7NU
 7CrDhKZb3lLmMjKUYyg8So+5q/OubPAKLVEsRgqdwhDN8aZ59IzWfiY1KiEQmFv+
 Wi2C1DGosGmMD45KiTkME08r6btKaaU/F2E12bYggvgKcZh06HSRn2h3uIlCgEhg
 KHwIGf9uymnsSJ7DGzF2yzuHixuRIGL3EoN5lLHZJ6fE3dF8McyWKBX+ltLuhzHE
 UVDmgCMycleRdAbvJ+Cmg6fByxRmu7U5GLUYt1nly6fYy9Nx4Cw=
 =2nxq
 -----END PGP SIGNATURE-----

Convert all encoders from vp_cursor_t to fr_cursor_t

Add (untested) code for DHCPv6 encoder

Arran Cudbard-Bell at 2018-02-15T20:33:29Z
Files modified:
	* src/lib/util/dict.c
	* src/main/unit_test_attribute.c
	* src/modules/proto_dhcpv4/rlm_dhcpv4.c
	* src/modules/rlm_eap/lib/base/eap_chbind.c
	* src/modules/rlm_eap/lib/sim/decode.c
	* src/modules/rlm_eap/lib/sim/encode.c
	* src/modules/rlm_eap/lib/sim/sim_proto.h
	* src/modules/rlm_eap/types/rlm_eap_aka/rlm_eap_aka.c
	* src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c
	* src/protocols/dhcpv4/decode.c
	* src/protocols/dhcpv4/dhcpv4.h
	* src/protocols/dhcpv4/encode.c
	* src/protocols/dhcpv4/packet.c
	* src/protocols/dhcpv6/base.c
	* src/protocols/dhcpv6/dhcpv6.h
	* src/protocols/dhcpv6/encode.c
	* src/protocols/radius/base.c
	* src/protocols/radius/decode.c
	* src/protocols/radius/encode.c
	* src/protocols/radius/packet.c
	* src/protocols/radius/radius.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f3a41a3e78695b655a975827c2bfac635bc8feca
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAlqF7pgACgkQ/6TVgp+2
 18o6EA//Q+oGkwMJbG4QRBimYvbNT25IowCo8my17MXCi928WcPg1o1MuiZG3NMI
 p81134U3v5om/4uC+qpufpiI9Yk6ux9cppi+oojjBa8ap7XeFGV4o7wJdhHyoSZL
 I0gtHef1mvOidk17Qg1NVo360xwgaqeUEiQVYSSjs9PMuEG+5FImPnRyyHs/cB//
 H2aq21UdRrSvUJeb6wbtvks0HPrwNAqOWRAxja0Nsbqn9ITApayZpFIgoeROpSRO
 /Gm6htzZbJuaMy/xPvYx9BgMsh2+JVj4iN/NjMaGsXW/gmi16eyObOuhq0ZKdrlA
 xaFLI3o9THocLCgFiW1uyHquaT93rnzGPh1ARvT1CqJZ6g1I+V0LHRpIY/7HktCk
 kB7rwa83fQMHfayJZUtEz+KPfoww00Sov4w72KXd1Naf77fgNGYXOg+uQ4nlUuZb
 RU99KmwyvbeUrb8Q7UeeJoFxEca97WB5FsWN0sYCbjljhcwZkxxmck/2RFf+XP1q
 cmzXK+hN0Hr2jLfxbj7AosD9rDiJ4OLVPd2h11WGauf3vXSfEZswcTo3INkh7KSV
 rDuSVz7UZlPk9+O7+ebdg2j2gU4naxZT8h6cy2QQi6wYNvPHM2T1mgw6M2hf1yg4
 ev6D9FsXQAY78piEdWrZysDqMwn6P9E23XspmD/5Z49w5EgwcGI=
 =YrCo
 -----END PGP SIGNATURE-----

Describe how pair_encode/pair_decode functions *should* work and define some standard return values.

Arran Cudbard-Bell at 2018-02-15T20:33:28Z
Files modified:
	* src/lib/io/pair.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d2e0567014636579846e41b40bf0f4c5d3de290f
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAlqF7pgACgkQ/6TVgp+2
 18pmYBAAlts9jYri+iY8YmlURaT4xjXklh5Fobg0+X9mHbynoYe1H2u1lO3fCqKv
 4ZpPGPeuiN49lMTvLUckKwI5qOobxEWCksHc9ZgM2aO8yYmMmni0a09RcbC2i12t
 jsiYI9yYaWIdpjHmBTPRNOvilmAvQO+zF1YztPn8Q2lLPdFxsKfOs5F+02AXBlKp
 73hR/bBKpx7Ey9HOWoHGEcA0sXgDmt4I50YoklobwyBhKn5SHwQddy6mZXnj/2gx
 7pL7x/FMDTRvqutYAOifrsFvJ7PaW1XybF8IAVGn8vSjYdIJXLgLhUq4+e29dNLg
 daKVMpSc+PrQ930a7/Ng7d+gweWqTWsCLfUFQ4Cusxcqul0t0j6s6m7cbiTe0Gzh
 t+0qNX5F3dl8MqIvX9eSCBhx7hJXy3LkC124/JEofPsLLuixfCNVRr3sxE2oZ3GT
 ebaBCZb4X6jPtdrheAFEBac89hXSuhsnbaZwZ8Ixy0TaGjwu2Wny7FRd4iJkZv1p
 F4C8/jmAsU1VsGk5EIuPpxA5nShcJvjlNFrLFmoMfdLPsP9+M9suk0e+3WkKHa8g
 SEyohJrLK60JJ4bs3rH4S8bJdOTj32Ej+VvrykSMvS7F8TCH0q4B0mpOZHHcg24R
 1qsfz28xDoZcHBpmCpSZwrSV68+O8NXAZQSaoAKS39DeclI0VgU=
 =XSYa
 -----END PGP SIGNATURE-----

Add CHECK_FREESPACE macro

In general the internal encoder functions *should* return how much extra buffer they needed, so that their callers can make decisions about TLV nesting

Arran Cudbard-Bell at 2018-02-15T20:33:28Z
Files modified:
	* src/include/proto.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/95454c948236264ca41c3748ca4bc1661829b282
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIzBAABCgAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAlqF7pgACgkQ/6TVgp+2
 18pJgA//aE+ECtL2l5WjWaB4/BexZJm5OEUIQ+7DCO807OgFKOcJLjI+WSKFY6/D
 3z7RCLlHq2opce0yBrvSF1RkjcoZ2Itrez2kekOXF92kj9mtLJuD8Q/48fqxn5dN
 3aMRb1/ajgmS0505E8FgrpzZK7xbjZ+ydmAdab4jMsEvw2kskUHneTkVY8f4plIi
 COXPVkwZLs5dc0hWCpyPHrf9p7l7uUNSLfyDUdo8Ds4SkpHUN4msyqOxq+qbqqXX
 39zjmd8ZsHTxO5F7NulrhRIyiUmPt4v59POJ5vTWdS61YfQzwiBMJkkNi6BGk8lT
 N9CMDB1yKl20SsA1ry59xyDMkV5u9uBjLlTwhYRkPmL8kK3ErGxvNEkAHFmBXOrV
 ktpfXqSEgrvePI+Y2jhPWsKwznZ2KXYzvQy5gvr0CLpyHqDuWLfyVOZMMpW1qbq6
 ZnFca13Xsr7i+AjiIT7XAn8L7N6/kDvaaNrUM79THu8O5vmQGC8BWAijWx9wV+xq
 9zUyCuhfM6RE9hhsfUCQEBpyj1ZnN+o7pjEP75Mk30+l8lr+kZwkLGQQtCN9/0Ab
 dVs7kpN2HXz/wqyhki8JysnHh1Tswf7UOLbdnQ/PBWkSqBToNDEo4ON7eEdx53N6
 OcKB/HIoxyOPJ1++rIRBe+KUsRKM8EXv21pKFZfh2QwjCjuguW8=
 =Ufmf
 -----END PGP SIGNATURE-----

Define SSIZE_MIN if missing

Arran Cudbard-Bell at 2018-02-15T20:33:28Z
Files modified:
	* src/include/missing-h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a29751ca3b79e8108616f9ba0336dcf2ed29d380
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJahdANAAoJEH0Oec13Yh7N/LUH/2NPfNgS/5WihInqzBDdyEm4
 KdWSSxBLpooRMwPSg5bPU/f3cDzc+a1dCjgfgWdyUPp1vBM/7vC7UfSKpD7rQi8g
 HikIyjaKwbSvdVftbQEcBN06hCE67VK/fJM0r1TsK2nLgLwLnouB7SqDDCDyvsiX
 YSw3ePUHrQRSpybUSMbddopjrxLxug6KSrrwtrjnIxW58ZhTKOmdgRTAiSBLFiQD
 qwWqpFxQ2BVfW4Qu4RMJgLT9Iojc1GOccys+l0IaFuTLrStHczCRuQuJ5tmbbxJg
 BqgLEiCkumn2FAxLNavwZQA6hHw6WGVV3axT2+RA5aQgxKQQd9lax4INe4WpmpI=
 =LXbF
 -----END PGP SIGNATURE-----

notes for dynamic clients and connected sockets

Alan T. DeKok at 2018-02-15T18:23:08Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/958a54b2b1abb6677035a59df29ecf1287f4fc95
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJahcyFAAoJEH0Oec13Yh7NQfYH+wU/gX3KHV9nQaSNP3ArpGsn
 AywoEtvIxKOUGKlZVGRwk4F/2nxbi7Bfj4WzSfKmwD12BYw15YUr1OdI1LeaE0ix
 409Yp1DIiMNg7hpffmszh655WWHi1Yxl3Ej1RRLh1iEU56vPhrTDUiD9h73UDofL
 f4J5ElM6a9hzQIBDf/S1S7vJMZLON2XuwQWDuZQc4C7XarATmLQC/0G/XGogIeYo
 Vn4dr5LyOsSQodD0N2x6exnAgB/xQSLLoHWl5bA6oTg8vTUS8qi4speT/X6LQlhx
 rSfIh1CDC/QUKwUXUyli6T06QJ8qARToesPFtSANOo4/2uj3mTMJs+Ghv+tKrm0=
 =Metv
 -----END PGP SIGNATURE-----

remove NAT configuration for clients.

Instead, if we have dynamic clients *and* we're using
connected sockets, THEN the clients should be connection-specific.

The remaining "todo" is to check for multiple packets from the
same source IP, but with different source ports... and to
track those separately.

Alan T. DeKok at 2018-02-15T18:05:29Z
Files modified:
	* share/dictionary.freeradius.internal
	* src/include/clients.h
	* src/main/client.c
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9bfc0f4149cdb342ea787f4eeee7541348d59f79
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJahcrvAAoJEH0Oec13Yh7NhqkIAJjqiYjkQoMxr3q5iWSrqWd7
 c9ZcXmttAo/Kgz3fZiZMsXgWHNRgFl4spo0sOq1r2dN0IZ8Asma1AH/DEyWIf4oX
 wCBbrMU8EaO5tAim/vMZvf7HoL38DKhI9UQHpoZvBGOqcOjY6VCybHm/Anw9Q+bG
 uY1OF9r11kNZXxryH2+sb70JTE5HY7gsZvf/Jdd194LYFkz1Um3hxRxKOwTZat9n
 sM6Yb82mUBujY+lbU91lJ5YTxfELVWA1TUxy1/DIS1eLQJf6evVG1AzSVOQ5Hdhf
 L9pz3FLPtuIo55Fu0pM1EClW34JGf6QdGTwcgHqt8YJa9lfXyveIX6JfrpReu1M=
 =hOpU
 -----END PGP SIGNATURE-----

remove erroneous NAT code

this should now be handled automatically by mod_read()

Alan T. DeKok at 2018-02-15T18:01:03Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/042dfd789f237133fb83c8b3ffe9b0aa20ee574a
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJahcpvAAoJEH0Oec13Yh7N8/wH/jqIxGKAYZbi2fB0PHouXkd4
 5XGxKiTwFtcujaw9RY+ANaJK32mgiM60oKug8yKltfzmZ6WF/aJ66+QJ250Gg4yR
 LtpO5GFpWXYEN+yL/5kp6rc6WHHJsQQKE0EkL41Y7skJMO/I6PMhUEETyi4inRT+
 M+XLcs4fa4JuViyRj6GQut2Zk3IXqwl9r+wCNZSLswkBPvpfB8XhGmyc9xd5O5XO
 uCaAS3Rpi2FFqA3s8rN3VX1kUe9NHb+f3Wy+svBWzf3VJrGGJEPOhELjB+rbEIPd
 Zt+PlDeHpDFO4LkZjeUed0El930srLXdLoXapI0iMo676sLOO9NnqHbZspERSDw=
 =fVRv
 -----END PGP SIGNATURE-----

clarify check

Alan T. DeKok at 2018-02-15T17:59:08Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/189e9e219890bd850ceb23530d7756dab7207472
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJahcdGAAoJEH0Oec13Yh7NidYH/RkMMDQbuKQEd9qGdTkAuQb6
 hduOtjgVCCZ8BwQhS3OWHLtGTt9CR3Z3Ptp+K94l68Vq0XQyD01LOjJCybNlhCJB
 G75ZWP3etfoazvLvVZ8KU18L14UMJkhMzXJLSUvqOssa0Ir4wodxXdAV6riVWyY9
 rQxpJKAdT2oh2/Q+pZuVB93uL9FmLfsGyEZl/EkJ/e+/+5jdmaotRqncV+KyAKy0
 idyzbQpfWS8HDRzPrlArw9UYOjou2nBfHToKOub98TInl6ozLbWw7xhMm5deNZ7L
 iH+IQdjLvEKZzJ15xj6usBmjFlOHChl/jjc39UcAlwsNDaJkRHtm6nu31kVViDc=
 =pV/z
 -----END PGP SIGNATURE-----

send a 1 byte NAK back

Alan T. DeKok at 2018-02-15T17:45:30Z
Files modified:
	* src/lib/io/worker.c
	* src/modules/proto_radius/proto_radius.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fdfe2215c67e725ef70e725df2110e2f5bd4ca56
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJahcXjAAoJEH0Oec13Yh7NkhMH/3dCcYP2OBXUgVeUXXt34X58
 Ew2vW8SDkQshfkY8slhHPoK33xjmhoA27Qo+pqpSivMX6D6rnX4XiHUDz+4g6lTA
 Jve72CcD9QMfOJf8Nu8xEMyvbAu6JV23qbWqGGtprk0uOZuYaq6dZXDDkLwu3221
 tC2XzzWPC1sDL09a10W8LwGX2mAmJvVRbgIVdJUKmaLDJqOac1qXb8CDY8XbFvIy
 U4m9CII5MdSHUMGlpOvFrMNvwUlWc6N2SZMyBs06Ihug+ZnLz7EcUOhWSTpLSRQ+
 6H9dZtW9Sxv/jvm9fXjIwKQHAYv2FBYMBt3yvIfO/edN980vNP/4Y/U71ePTlzE=
 =+WT1
 -----END PGP SIGNATURE-----

update the right fields, and if_index, too

Alan T. DeKok at 2018-02-15T17:39:46Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/87645d8bd935c2e91a937d154aba7f26864c90fa
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJahcTEAAoJEH0Oec13Yh7N4a8H/2cDx7IZL4Iz/sKVpZ1xqZJw
 p3lgymzsd2to50uIHS8YlIjy+41syY0Io2o1hEh/rDsI5kAOnY79ssslzSoL4Tf2
 54gMKvRbaFXZPdW+43guegKdkQbVM60zw+Q5+wwZ8cIG/rewZ3ZjnwLNmDmRkPZn
 gS4OEde9XuKNGvHokbPbJDc/MvzbCzcfGtPgCyduqjQg9TPUShTT7dnefyaR9bIi
 8FX4Zk0Y07N4dC/xWpn8tybMfQ0z7pRxYpGxhddhprMo+g/QZXixiIGJY+OEra+q
 /GgUfnIjeiY/DtHy6lj4HCiA6+m9NUOz/9dJXthq3/ZmEScHCZN10yufMi6EbuM=
 =w0mQ
 -----END PGP SIGNATURE-----

add debug3 message

Alan T. DeKok at 2018-02-15T17:34:55Z
Files modified:
	* src/lib/io/network.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f8e60a9741a3206e7c1125b300a97c158a6ef510
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJahcI+AAoJEH0Oec13Yh7N5PwIAI1oBgQzpypWWeiGKXUZ1g3P
 GwS0gDKwZs1Dgw4nxs5UitaCax2LdoSay7kotCNghA+JzMZmAZaeUWIGHezUZugL
 B+he8M5VEIyBXuEcN/ujFuwwfvo9a/K3wo/euwmcStdtRSFw1a9kv5rW+ww5iX9m
 HXVfFCGWwO/nwdcNgrTdOZh3xcw/d2yd2Lm3W8tB2QC6DepteDUnqakhV+TQuw2N
 KB+Cvf+WZCMk1jcV3mz9hEnXvRT1qwW9BWXpmBDdPRH+a219FdsJAjUl0Qiap2aq
 LRLHnMKa+J+xCR6u2vPtHiDja3jLQjAgDmgb2ZNE9p8SnE5U78gjqHNy/Yxh9y4=
 =ZD/M
 -----END PGP SIGNATURE-----

clean up mod_read()

instead of having horrible if / goto stuff, split up the code.
There's now a mod_read_packet(), which gets a packet from one
of N possible sources.  This function also updates address,
address.client, and track.

The mod_read() routine then does checks on address.client and
track as necessary.

Test with UDP packets.  Untested with dynamic clients or connections.

Alan T. DeKok at 2018-02-15T17:24:13Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7b5317a7f75a49e75630b7c485f04398b9209cbe
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJahbXZAAoJEH0Oec13Yh7N3OwIAIb6KA0IwnsEsurifNvztY8y
 lMfEkPdluz0lLtLMOG9X6WWFzJ4hT0smLQhCocnFAEYHLDxF+E4VU9YG5h5s0rUM
 M6JX/NQu/o+WHHvS0PmdqaK+crHEnEXalRugGTpiU4Ir5W22EYk1CdYzoZtHkcUU
 4TfijMhdCbvcfYCoYQ9sWkSBXx9bEb2/ldgiRmHdYtvIMfN4Kbt5LIkmascxzyIC
 Xs3Z63mxYblpM1r0t4M+tFFDWH9GBT4gcOUKCNUIkmfb5MwKJ0rmFFb6kDVHNsB3
 vrwr8fIejLdjNiTUDpo7A8i4SJjj4f4LKB4IuZdnImknb4YT3wJoGHW2KjoIEKU=
 =II9N
 -----END PGP SIGNATURE-----

hoist checks for connected socket to before client lookup

because if we have a connected socket, then we don't need to
look up the client.  Instead, we just send the packet to the
connected socket.

Alan T. DeKok at 2018-02-15T16:30:38Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/047b5c3943df40e74c60a81facb451333c48b5ec
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJahbJ5AAoJEH0Oec13Yh7NK3cIAIFxUiBqRKWaT1Y9cSCmBudp
 R0LMcjX6rgx25Q+reK823FDukOVY/hcGjPHhqgMzAdUWV/mJwJVf3BhMbq1wSbqV
 SINFKkQReLjm/7ZhjJ0fc4ihMqlauJ7+b0PRcMT5sMpgnUX1zMMtl8Wh/IHFdECh
 T474zqPQghbAOz0CDNewo8huGdYTEczir6i9GNlGikYKnReHhG1A83uEcFuGobtX
 yO3CkO3OjVxb1iyvw8gNIa3zOIi3KwvbFkMqCOUVJGW0IOLjqlzw5WlU8bVCzdEs
 jzs8uR/bVfKbEfSQ3XYACadKTBJEZL86nj7TP93T9LR1G/8eSCp0Yta0dqKdZnk=
 =Us1D
 -----END PGP SIGNATURE-----

notes on removing the mutex lock

Alan T. DeKok at 2018-02-15T16:16:50Z
Files modified:
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8999b117116c8df2f7759759d1270f33e2942073
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJaha/YAAoJEH0Oec13Yh7NY+MH+wRSi0TgMezUW2RPHRD8y3C1
 vCvMOzrjiPAICCAlbqyUURLl45EkV88w/RwQW6sMq/Z125YBUNG6IXR20BUf2muc
 Tcg3JuUMD5H0YxX6XfpNBLLvTcdS3sYXJKr5DQB8CP8ES7rb5P3K/gVYTAjrwT1d
 2SWA5/6oRpGooiubLg24YkpboCMA6NSDJk7bBv82xy/bwbC0RZXvqx9o6M8PEwbj
 eODVlhp7/+aKKvV6NKZ0afmtLMwexRbNVNn+2khITMKtEyk+QfQB2b1n2o3tjVxf
 ipNi6/+WQINYbt8ajAROCL2maGn+ffZQfBRG1Jx2QtWvNITzq5eOtLJPvSCL0Ss=
 =vT7j
 -----END PGP SIGNATURE-----

comments

Alan T. DeKok at 2018-02-15T16:05:40Z
Files modified:
	* src/modules/proto_radius/notes.md
	* src/modules/proto_radius/proto_radius_udp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/382d96f776873cad8090d25e6d744ae9ad3f6c05
====== 
-- 
This commit summary was generated @2018-02-16T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list