Commit report for master branch

The git bot announce at freeradius.org
Tue Sep 10 02:00:02 CEST 2019


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

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl12op8ACgkQfQ55zXdi
 Hs371QgAnKryvQZsurMznurno7jD32g5qfQj4c5RIYiZMStlA5RDmqgm1Xg7kX44
 Shcp2MlSecH2hTfSFVLZAvFBGdpSmthhfwEAuRIY49NcWM4AL0GIGRNx/Ek3/jda
 mwMPqoxnjelC3h/noyDJonWpB2lVxqDsVRmmYKOlBARtM8OMLP3p243JiI51H1GG
 RV5jiOVOzNZ779zRiNyHoBCN2mSkBAl0EESYL6zUhRzAKfPG7/alVoQMjidWpkos
 gVXitUhBNEUAX1Pv3MMMzoAng2TxCbQwxf6razTs0AThOQTtlsVuupHt+MSOR5TR
 xN0kHvYzAzpnN+bsySAhqDQhusaQtQ==
 =SSz0
 -----END PGP SIGNATURE-----

make some functions static

they are old, and now only used in one place

Alan T. DeKok at 2019-09-09T19:06:07Z
Files modified:
	* src/lib/server/util.c
	* src/lib/server/util.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1ba1b295c9b25c1b9f050133e26cd28e98c45073
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl12op8ACgkQfQ55zXdi
 Hs21kwf/YoYupMSvG6AwM/mz3LXBQxST/c8hPtrmYtp5IrkzWlkYZa6ZwFO1j1OU
 qv0uTjsM7QX4QO1U6DxB+MTOS6DJDmqwQZCF+pqSZIWDKDxDO68w4eW5zRsOMwvR
 RjjrF+s6G7vC3jxmMG+Yh4+itlVxO1tIjXNT2HRxO/wukCVH1K8Uv7unqKaCjRxl
 1FZe+mEf+Mu78Bf+5aL5j5oj1zmQyyPJCqjx1BhdjlQ0JPsaT5i9BpQHo0oV7Klt
 8rmt9VPiU3d5Mau8DnszbOaulGDvwSwCV7xbjtGUYma3JgDfohjbDrSuky58Lv62
 M2WXwZMQaPuZMTNKQv2t0Hd76rB9Qw==
 =HK63
 -----END PGP SIGNATURE-----

use tmpl_preparse(), which now does most necessary things

Alan T. DeKok at 2019-09-09T19:06:07Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6106bc955a0e272a496932c8b21ccaeb258fb2ca
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl12op8ACgkQfQ55zXdi
 Hs1kiAf9GN50AeOebxVhXCIZOVm5Y55CshMlbHBN+irT+2n2/sywQCL8sJH7/nzu
 nfyiQu/HSEixuGmdvDO/FOygkPNIpTj6x4LMjfs+cbZwvyO9cH/tea2it26fSOey
 tVTcw/JJa7Xcj15T9BU7yJ3BCid3PeWVIrIndHaAldNFcav2wdxzOMcJmMm7QGZs
 dZ7RfmFB2QpIknwMSWxrT+aQivTmZkoHc7MAwRTyDt58HcP/krrdGvrO1sPFy6LH
 Ou4pYCqZuEMG60vAtYS8zkte5MIh8ImTCD33u6Teje6WmiJIcKE6C2lY6Gybm50V
 MYs8tnXqtwD9pd/w1y/yOygRyZoHuw==
 =DkKM
 -----END PGP SIGNATURE-----

tmpl_preparse() is now capable of parsing %{...}

Alan T. DeKok at 2019-09-09T19:06:07Z
Files modified:
	* src/lib/server/cond_tokenize.c
	* src/lib/server/tmpl.c
	* src/lib/server/tmpl.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7f895a6fbc806f0f98ae0b4da2b1f4396e39adcc
====== 
Create an initial, empty CRL in DER encoding #2964

Jorge Pereira (via Alan DeKok)@2019-09-09T18:40:06Z
Files modified:
	* raddb/certs/.gitignore
	* raddb/certs/Makefile

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/92e89e42f08ac0b463938a8334e8229255a989a1
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl12du0ACgkQfQ55zXdi
 Hs0Rawf7BHbDXBkuKQQd0vQGLJrt3XUMQx1ASWPCtW/yojlOzwHxfCdjVdsAIlxE
 Hj0bhJnZI7IeuEkuohaClSlKa40EDw5MCkEWlF0p1VG368QWx/DKL4U1XzjFx5ni
 rjTPpWBKSNym/AFWl6Hw5F9mNTgJKZilOMpl98zqX6WAztT7xQQv6VgVxBuZwj1u
 lPe10pdq5eG/n9vHBnSO5bRAxL4w4LQoEDeionjU59NMPbpHAVNZ2xqS4PLgN1My
 7tSd7WNDbjH4APPWRXAYWJRtqe6LPs5LNOQmySXlbNIR17xcSan/CUn7101oGSKS
 Gnt/PBTjuaTknSkc1nwFHoNt6TLp0g==
 =L6u9
 -----END PGP SIGNATURE-----

be a bit more flexible about 'map'

map { ...} is OK in sigtran as a config section

Alan T. DeKok at 2019-09-09T15:59:23Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/cbdfe17152509745aa9f28b4372678fdd873cbd4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl12dnYACgkQfQ55zXdi
 Hs3g8Qf8C39wdGrdEzivO6brQgpTpLUNDUe6eZINujdy0uI8p92cobi2nn64KFj/
 dIgk9efRoYJLS9lLPOTA3AhPLcED2Jw5hE+0V3l2j8vmw1YBWEYLoSuDEWFcAt0T
 zpRs93v+zbCtlUtf5IkfE3TY7zZ+D0EXlU9+JCkaCms/6uGe4fxB1wISROD17z7D
 ZQBFLJZCM7CvliY/S22oaDaYkh/MyiObmk+Oix8ce1vRPVvYmBPeWg9ZVLYlu6d/
 yTtPO0Lzu5V41wKfdBY9ux8ilpx702y0az0xDzUdIKK0NhPjChxbv0oYwESVyj5f
 uc5GDvdvXcaq0+GnEIeye2wv7Yx0gA==
 =KDGr
 -----END PGP SIGNATURE-----

allow , and ; after words

Alan T. DeKok at 2019-09-09T15:57:34Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/50a4d34ba367594ccc683a0c80a185a5ac9784e9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl12c8gACgkQfQ55zXdi
 Hs3h4gf/b/yjn406XECmNA9aU/808+5xI1j2G2lbtJb48bqeC1Ut0UHQPuOHnjgT
 SUiH19AwOzWyLreTGsD0/aRDHOSqOn9Y8bmZrGOt+nXIbkVhXxwf5x8hRQD3nnFY
 HZIpTPioA2uY6h9ZnMYe3LVWhf0G54J8MK2t/bUKnCD3C4nxoHNZCoXG8Ibf/5RY
 f5us7jKOTv+qLxClFNzCVxIksTstkeEMKqs+B7AXyC1JX/yRwGRTrZtwdSJeqYeu
 QYI5HMggLgtU2/jKtqwwnMXWmvjrmH8jDD42ouQ+WkFg8Q5WVxO5xbnHlroEznAS
 Xu3g4x1rhlwEYDuiRHSyQezKfYf4KQ==
 =bcOH
 -----END PGP SIGNATURE-----

less code is better code

Alan T. DeKok at 2019-09-09T15:46:11Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/77eaa1cce7082b04ff8003c5f2e04232a74a07c4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl12XBEACgkQfQ55zXdi
 Hs3xCQgAgU8lcbHGiWFpl5oL/VsSYz3GeAWpH7sqc6y3/Acx6mZFkebfQTZbxvxw
 nZloH+93b6Lz4F+OVRNlg7OiPlQ2SPI5lb0cbBKM0QYgtEuf1nbBFMKWb6hJhFvI
 TrA1/bPrdJTZwkS9g6r1Wey6/4LfOdndaZDoOLJY0LxJd9WqRbMPldQI3Iit+N5b
 ZIK6Rf6SlOGVWdgMHrkxXrWMPI8tT+8hDhZJdJLFZlwNbTjkgIC0Ivi+8ECd6F1w
 4JJHyOcycaZuv4n2QJdxXtbQpC3WjVF1nKAlR1nKMoPg0t07LnfhU6YGE02tG+fn
 pDGmeaEGfUffpy19keZu/htvHea2KQ==
 =CmX+
 -----END PGP SIGNATURE-----

simplify the parser.

it's clearer to just check for characters directly, instead of
calling functions and then checking for token values

Alan T. DeKok at 2019-09-09T14:05:04Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7057d480441ce1d6e2f157591d86182a8504cd3f
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl12VogACgkQfQ55zXdi
 Hs3ggQf/SPGIZNqIFr5MDnLRLwUb8pTSxgEaDRiwhKGhBTkgt1fMt3Vf61apEHf0
 rfdq6GIOwbmvuLBIDogunMZFOHA9Pyb4wUXOZ2FL9/VhD3Ymte1sfR3jPFs9TE+h
 WbNKQgdCE8r6QXio0msIesswE08xwR8mT/MM5uMGFjOsUv+KS+NMhbjvjrVKt1/s
 sUaE7PRI/ZgifW3YYTbFt7ipcStFu/g9Pmt8YVCyqHprg3wEDjZ5G1eLn09kjbls
 XPLsCNQHWu8cZj4jQkrPRTml6vGP0/J+7IPXkUNZt6o4KPflSNMhKNNoHfnSdXpV
 aLXaiR8V6apwwxK3dS+mbPu82oGJPw==
 =gg32
 -----END PGP SIGNATURE-----

move "expand variables" into add_pair() function

Alan T. DeKok at 2019-09-09T13:41:20Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/61d45ff4f0eafcc73d68fa9a7d36b0e91ee969f5
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl12UX4ACgkQfQ55zXdi
 Hs0LKQf/XWNab5qLszZ5zQOl6IW9DJm1RGz95ptr6yWhHUy1rv8avgKw+Spp/K1D
 XtzP0eFcxMDY+KG2n9YMZD2ZlU5ibIcc6TCvFV38saEdKzlLFz0Hlk/PM4jhHjYn
 oG4FaVapvlry4STX6rVfnSYqXtNsiD7823X+V8J3jiAKwJU0g5fRLldKZx8c2NJW
 1k6ZkUMpzg1HhR0CtDX05G0RdXncQU2ZB3TkisFAG4hnKfWuNm4DH4u5VsYVKXtl
 ILKjNocGqXQDYX3Yw61tFhffQZnpbIvfossQzKom6fpVG2gxvNsX586iDo6I+gYN
 mMoMVtwpuEqWk8u4NNh7bGEhbhfVOQ==
 =1ZJ+
 -----END PGP SIGNATURE-----

move add_pair() to separate function

and start cleaning up the parser to be simpler and more understandable

Alan T. DeKok at 2019-09-09T13:19:36Z
Files modified:
	* src/lib/server/cf_file.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/aa512a23a51bba64735ff611736d0f2d36897613
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl12TRMACgkQfQ55zXdi
 Hs2NuQgAgcb5ybEHcm2iTWievThH/K81sEVhhADJwrfVj/VSz4vc4LW8ucHaVUW7
 htvRcKRFSBzWAqH8L0YcbrTkdNLvavz0AV0uvdf1GqsuWU9lBhkXbBJfPT3g6pK1
 fuxYSeohwegRaaZZAz/iHpjE99N5DEgdyz1geCmPs2Mot3R7BxHhD8zp8sLHMEcB
 t3WLsxKw0w8JQDpxFWyLs+4GfLRHRbbj2TU5YAJUUh6LZm2yd00JY2wkEk89ERsC
 8XG6GFdv6I4uIT63pQD5z0aTuNyfaBQNheqcRcPRA/3KNAAc+8SV4N/ck/BeTtLv
 gJEjtrQD5WRx2j/84hPK345PfevloA==
 =jqKD
 -----END PGP SIGNATURE-----

remove WITH_CONF_WRITE

unused, untested, likely not to work.  If we re-do the parser,
we can make this functionality part of the requirements.

Until then, this code is making refactoring mode difficult

Alan T. DeKok at 2019-09-09T13:01:06Z
Files modified:
	* src/lib/server/cf_file.c
	* src/lib/server/cf_priv.h
	* src/lib/server/cf_util.c
	* src/lib/server/main_config.c
	* src/lib/server/main_config.h
	* src/lib/unlang/compile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3e5da3d18a0976194a878134c45a7e6931c191a0
====== 
ue correct CA password when not the default "whatever"

without passin and passout, the CA passphrase is taken from ca.cnf where it is "whatever". In passwords.mk it is also "whatever" so that is usually okay.
However when changing the password in passwords.mk, the CA is still generated with "whatever" but subsequent cert generation commands use the custom password -> failure.

Stefan Winter (via Alan DeKok)@2019-09-09T12:32:11Z
Files modified:
	* raddb/certs/Makefile

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7aa17bd383a8a72bbc8dafbd65c4f7ee7e381097
====== 
-- 
This commit summary was generated @2019-09-10T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list