Module: kamailio
Branch: master
Commit: ca12494ec776babab86897eba35b88424a707c69
URL: https://github.com/kamailio/kamailio/commit/ca12494ec776babab86897eba35b884…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-10-07T15:16:37+02:00
modules: readme files regenerated - tls ... [skip ci]
---
Modified: src/modules/tls/README
---
Diff: https://github.com/kamailio/kamailio/commit/ca12494ec776babab86897eba35b884…
Patch: https://github.com/kamailio/kamailio/commit/ca12494ec776babab86897eba35b884…
---
diff --git a/src/modules/tls/README b/src/modules/tls/README
index b0d9fa2601..650a964b58 100644
--- a/src/modules/tls/README
+++ b/src/modules/tls/README
@@ -1435,12 +1435,14 @@ end
The following options are avaialble:
* krand - use internal kam_rand() function
* fastrand - use internal fastrand function
- * cryptorand - use internal cryptorand function
+ * cryptorand - use internal cryptorand (fortuna) function
+
+ Note: the krand and fastrand engines are not recommended for use on
+ systems requiring strong security, as they may not generate numbers
+ with enough randomness.
The default value is empty (not set) for libssl v1.0.x or older, and
- "cryptorand" for libssl v1.1.x or newer. The krand and fastrand engines
- are not recommended for production use, as they will not generate
- secure enough random numbers.
+ "cryptorand" for libssl v1.1.x or newer.
Example 1.45. Set rand_engine parameter
...
Module: kamailio
Branch: 5.3
Commit: 398641926648a32b635f39f655ae3231038b9c3d
URL: https://github.com/kamailio/kamailio/commit/398641926648a32b635f39f655ae323…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-10-07T15:13:58+02:00
tls: docs - documented cryptorand engine for prng
---
Modified: src/modules/tls/doc/params.xml
---
Diff: https://github.com/kamailio/kamailio/commit/398641926648a32b635f39f655ae323…
Patch: https://github.com/kamailio/kamailio/commit/398641926648a32b635f39f655ae323…
---
diff --git a/src/modules/tls/doc/params.xml b/src/modules/tls/doc/params.xml
index 6028642b5f..dc6494c2db 100644
--- a/src/modules/tls/doc/params.xml
+++ b/src/modules/tls/doc/params.xml
@@ -1251,7 +1251,7 @@ end
is not designed for multi-process applications and can result in a crash.
Therefore set the PRNG engine to one of the options listed in this
section. If libssl 1.1.x (or newer) is detected at compile time, then
- the PRNG engine is set to "fastrand".
+ the PRNG engine is set to "cryptorand".
</para>
<para>
The following options are avaialble:
@@ -1259,10 +1259,16 @@ end
<itemizedlist>
<listitem><para>krand - use internal kam_rand() function</para></listitem>
<listitem><para>fastrand - use internal fastrand function</para></listitem>
+ <listitem><para>cryptorand - use internal cryptorand (fortuna) function</para></listitem>
</itemizedlist>
+ <para>
+ Note: the krand and fastrand engines are not recommended for use on
+ systems requiring strong security, as they may not generate numbers
+ with enough randomness.
+ </para>
<para>
The default value is empty (not set) for libssl v1.0.x or older, and
- "fastrand" for libssl v1.1.x or newer.
+ "cryptorand" for libssl v1.1.x or newer.
</para>
<example>
<title>Set <varname>rand_engine</varname> parameter</title>