Module: sip-router
Branch: master
Commit: 1a0c0dd44a6d45d6193d7adb487a2d7665474d2f
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1a0c0dd…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Wed Aug 19 16:44:48 2009 +0200
cr: small fix in doxygen, fix obselete function description (port from r5897)
---
modules/carrierroute/cr_func.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/carrierroute/cr_func.c b/modules/carrierroute/cr_func.c
index 6e69ad2..74e3c8e 100644
--- a/modules/carrierroute/cr_func.c
+++ b/modules/carrierroute/cr_func.c
@@ -233,7 +233,7 @@ static int set_next_domain_recursor(struct dtrie_node_t *failure_node,
/**
* searches for a rule int rt with hash_index prob - 1
* If the rule with the desired hash index is deactivated,
- * the next working rule is used.
+ * the backup rule is used if available.
*
* @param rf the route_flags node to search for rule
* @param prob the hash index
Module: sip-router
Branch: master
Commit: bb0fac6ac04af672dceca9ae1f4ca43106fb56d1
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bb0fac6…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Wed Aug 19 16:54:53 2009 +0200
auth(k): fix proxy/ www_challenge function, extends docs a bit (port r5874)
- proxy_challenge / www_challenge was not sending any reply, in case
the nonce could not be created (with nonce_reuse = 0, default since 1.4)
- added a note to the docs about return-values from the auth-module
- regenerate README file
---
modules_k/auth/README | 548 +++++++++++++++++++-----------------
modules_k/auth/challenge.c | 5 +-
modules_k/auth/doc/auth_admin.xml | 8 +
3 files changed, 301 insertions(+), 260 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=bb0…
Module: sip-router
Branch: master
Commit: 5ec9f271fad97a4abbf151e55eaf509c3d9f5722
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5ec9f27…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Wed Aug 19 16:40:04 2009 +0200
cr: documentation extension related to the prime route behaviour (port r5898)
---
modules/carrierroute/README | 12 ++++++++++--
modules/carrierroute/doc/carrierroute_admin.xml | 12 +++++++++++-
2 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/modules/carrierroute/README b/modules/carrierroute/README
index eba27e5..7192926 100644
--- a/modules/carrierroute/README
+++ b/modules/carrierroute/README
@@ -511,8 +511,16 @@ rewrite_user, hash_source, descavp)
the destination or the number of channels. This function is
only usable with rewrite_user and prefix_matching containing a
valid string. This string needs to be numerical if the
- match_mode parameter is set to 10. It uses the prime hash
- algorithm to calculate the hash values.
+ match_mode parameter is set to 10.
+
+ It uses the prime hash algorithm to calculate the hash values.
+ This means that the fuction behaves different then the normal
+ routing function. If you don't know what this prime
+ functionality is, you should just use the cr_route function.
+ The prime routing algorithm not use the configured
+ probabilities in order to route requests, it just uses a fixed
+ hash distribution. If one of the hash targets is not available,
+ and no backup rule is configured, the function will return -1.
Meaning of the parameters is as follows:
* carrier - The routing tree to be used. Additional to a
diff --git a/modules/carrierroute/doc/carrierroute_admin.xml b/modules/carrierroute/doc/carrierroute_admin.xml
index d6b927f..7814d83 100644
--- a/modules/carrierroute/doc/carrierroute_admin.xml
+++ b/modules/carrierroute/doc/carrierroute_admin.xml
@@ -507,7 +507,17 @@ cr_tree_rewrite_uri(tree, domain)
number of channels.
This function is only usable with rewrite_user and prefix_matching
containing a valid string. This string needs to be numerical if the match_mode
- parameter is set to 10. It uses the prime hash algorithm to calculate the hash values.
+ parameter is set to 10.
+ </para>
+ <para>
+ It uses the prime hash algorithm to calculate the hash values. This
+ means that the fuction behaves different then the normal routing
+ function. If you don't know what this prime functionality is,
+ you should just use the <emphasis>cr_route</emphasis> function. The
+ prime routing algorithm not use the configured probabilities in
+ order to route requests, it just uses a fixed hash distribution. If
+ one of the hash targets is not available, and no backup rule is
+ configured, the function will return -1.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
Module: sip-router
Branch: master
Commit: 91d2ed7e550aee380a03333abff557cb427bf03d
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=91d2ed7…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Wed Aug 19 16:37:10 2009 +0200
auth_db(k): fix error in auth_db documentation for calc_ha1 (port from r5910)
---
modules_k/auth_db/README | 9 +++++----
modules_k/auth_db/doc/auth_db_admin.xml | 8 ++++----
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/modules_k/auth_db/README b/modules_k/auth_db/README
index 65772c6..79f79f3 100644
--- a/modules_k/auth_db/README
+++ b/modules_k/auth_db/README
@@ -168,10 +168,11 @@ modparam("auth_db", "password_column_2", "ha1_2")
1.3.6. calculate_ha1 (integer)
- This parameter tells the server whether it should use plaintext
- passwords or a pre-calculated HA1 string for authentification.
+ This parameter tells the server whether it should use a
+ pre-calculated HA1 string or plaintext passwords for
+ authentification.
- If the parameter is set to 1 and the username parameter of
+ If the parameter is set to 0 and the username parameter of
credentials contains also "@domain" (some user agents append
the domain to the username parameter), then the server will use
the HA1 values from the column specified in the
@@ -179,7 +180,7 @@ modparam("auth_db", "password_column_2", "ha1_2")
doesn't contain a domain, the server will use the HA1 values
from the column given in the "password_column"parameter.
- If the parameter is set to 0 then the HA1 value will be
+ If the parameter is set to 1 then the HA1 value will be
calculated from the column specified in the "password_column"
parameter.
diff --git a/modules_k/auth_db/doc/auth_db_admin.xml b/modules_k/auth_db/doc/auth_db_admin.xml
index 2609bce..71180ca 100644
--- a/modules_k/auth_db/doc/auth_db_admin.xml
+++ b/modules_k/auth_db/doc/auth_db_admin.xml
@@ -164,11 +164,11 @@ modparam("auth_db", "password_column_2", "ha1_2")
<section>
<title><varname>calculate_ha1</varname> (integer)</title>
<para>
- This parameter tells the server whether it should use plaintext
- passwords or a pre-calculated HA1 string for authentification.
+ This parameter tells the server whether it should use a pre-calculated
+ HA1 string or plaintext passwords for authentification.
</para>
<para>
- If the parameter is set to 1 and the username parameter of credentials
+ If the parameter is set to 0 and the username parameter of credentials
contains also <quote>@domain</quote> (some user agents append the
domain to the username parameter), then the server will use the HA1
values from the column specified in the
@@ -177,7 +177,7 @@ modparam("auth_db", "password_column_2", "ha1_2")
column given in the <quote>password_column</quote>parameter.
</para>
<para>
- If the parameter is set to 0 then the HA1 value will be calculated
+ If the parameter is set to 1 then the HA1 value will be calculated
from the column specified in the <quote>password_column</quote>
parameter.
</para>