Module: kamailio Branch: master Commit: 593e3ec3546b645e0224d0dc633a263a56356f9e URL: https://github.com/kamailio/kamailio/commit/593e3ec3546b645e0224d0dc633a263a56356f9e
Author: Kamailio Dev <kamailio....@kamailio.org> Committer: Kamailio Dev <kamailio....@kamailio.org> Date: 2024-12-05T11:46:10+01:00 modules: readme files regenerated - ims_auth ... [skip ci] --- Modified: src/modules/ims_auth/README --- Diff: https://github.com/kamailio/kamailio/commit/593e3ec3546b645e0224d0dc633a263a56356f9e.diff Patch: https://github.com/kamailio/kamailio/commit/593e3ec3546b645e0224d0dc633a263a56356f9e.patch --- diff --git a/src/modules/ims_auth/README b/src/modules/ims_auth/README index 322bf3fe604..44ab1b76c12 100644 --- a/src/modules/ims_auth/README +++ b/src/modules/ims_auth/README @@ -55,6 +55,7 @@ Carsten Bock 3.13. add_authinfo_hdr (integer) 3.14. ignore_failed_auth (integer) 3.15. av_check_only_impu (integer) + 3.16. av_mode (integer) 4. Functions @@ -87,10 +88,11 @@ Carsten Bock 1.13. add_authinfo_hdr parameter usage 1.14. ignore_failed_auth parameter usage 1.15. av_check_only_impu parameter usage - 1.16. www_authorize usage - 1.17. ims_www_challenge usage + 1.16. av_mode parameter usage + 1.17. www_authorize usage 1.18. ims_www_challenge usage - 1.19. proxy_authorize usage + 1.19. ims_www_challenge usage + 1.20. proxy_authorize usage Chapter 1. Admin Guide @@ -119,6 +121,7 @@ Chapter 1. Admin Guide 3.13. add_authinfo_hdr (integer) 3.14. ignore_failed_auth (integer) 3.15. av_check_only_impu (integer) + 3.16. av_mode (integer) 4. Functions @@ -151,8 +154,9 @@ Chapter 1. Admin Guide The Following modules must be loaded before this module: * TM - Transaction Manager - * CDP - C Diameter Peer - * CDP_AVP - CDP AVP Applications + * CDP - C Diameter Peer (for av_mode=0) + * CDP_AVP - CDP AVP Applications (for av_mode=0) + * GCRYPT - GNU Crypto functions (for av_mode=1) 2.2. External Libraries or Applications @@ -175,6 +179,7 @@ Chapter 1. Admin Guide 3.13. add_authinfo_hdr (integer) 3.14. ignore_failed_auth (integer) 3.15. av_check_only_impu (integer) + 3.16. av_mode (integer) 3.1. name (string) @@ -363,6 +368,16 @@ modparam("ims_auth", "ignore_failed_auth", 1) modparam("ims_auth", "av_check_only_impu", 1) ... +3.16. av_mode (integer) + + Control how authentication vector is generated: 0 - get it from HSS via + DIAMETER; 1 - generate it locally. Default is 0. + + Example 1.16. av_mode parameter usage +... +modparam("ims_auth", "av_mode", 1) +... + 4. Functions 4.1. ims_www_authorize(realm, table) @@ -401,7 +416,7 @@ modparam("ims_auth", "av_check_only_impu", 1) This function can be used from REQUEST_ROUTE. - Example 1.16. www_authorize usage + Example 1.17. www_authorize usage ... if (!www_authorize("kamailio.org", "subscriber")) { www_challenge(""REG_MAR_REPLY"", "kamailio.org", "1"); @@ -440,7 +455,7 @@ if (!www_authorize("kamailio.org", "subscriber")) { This function can be used from REQUEST_ROUTE. - Example 1.17. ims_www_challenge usage + Example 1.18. ims_www_challenge usage ... if (!proxy_authorize("$fd", "subscriber)) { proxy_challenge(""REG_MAR_REPLY","$fd"); # Realm will be autogenerated @@ -485,7 +500,7 @@ e\n"); This function can be used from REQUEST_ROUTE. - Example 1.18. ims_www_challenge usage + Example 1.19. ims_www_challenge usage ... if (!ims_www_authenticate(NETWORKNAME)) { #user has not been authenticated. Lets send a challenge via 401 @@ -535,7 +550,7 @@ Unauthorized This function can be used from REQUEST_ROUTE. - Example 1.19. proxy_authorize usage + Example 1.20. proxy_authorize usage ... if (!proxy_authorize("$fd", "subscriber)) { proxy_challenge("REG_MAR_REPLY","$fd", "1"); # Realm will be autogenera _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!