[OpenSIPS-Devel] [OpenSIPS/opensips] 4f352c: aaa_diameter: Re-structure code; Share common AVPs...

Liviu Chircu noreply at github.com
Tue Jun 15 19:06:31 EST 2021


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4f352c8224e477b923276c96877a91383b5a75c0
      https://github.com/OpenSIPS/opensips/commit/4f352c8224e477b923276c96877a91383b5a75c0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M modules/aaa_diameter/Makefile
    M modules/aaa_diameter/aaa_impl.c
    M modules/aaa_diameter/aaa_impl.h

  Log Message:
  -----------
  aaa_diameter: Re-structure code; Share common AVPs with fD app

(cherry picked from commit e00a71cb65814fff1929df02450dc2bfb3904ba9)


  Commit: 9bc98e10fd61a1b1d56b928f044a6bb5b7b2d818
      https://github.com/OpenSIPS/opensips/commit/9bc98e10fd61a1b1d56b928f044a6bb5b7b2d818
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M modules/aaa_diameter/aaa_diameter.c
    M modules/aaa_diameter/aaa_impl.c
    M modules/aaa_diameter/aaa_impl.h
    M modules/aaa_diameter/peer.c

  Log Message:
  -----------
  aaa_diameter: Improve handling for digest auth Result-Code

Add synchronization between SIP workers and freeDiameter peer threads,
in order to pass the value of the Result-Code to the blocked SIP worker.

As a next iteration, there is also the option of making this entire
process asynchronous, possibly with something like:

	...
	async (aaa_proxy_authorize("sipdomain.invalid"), resume_route);
    }

    route [resume_route] {
        if ($rc < 0)
	    proxy_challenge("sipdomain.invalid");

	...
    }

(cherry picked from commit 5139dfa01cb7bb0c7fed273f1ac2a8e1316a5d41)


  Commit: 2498904f858ad6f4a7bc67e9bbc1b466a6c924cb
      https://github.com/OpenSIPS/opensips/commit/2498904f858ad6f4a7bc67e9bbc1b466a6c924cb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M modules/auth_aaa/sterman.c

  Log Message:
  -----------
  auth_aaa: Downgrade auth failure log to DEBUG

This will prevent unnecessary log spam

(cherry picked from commit 8661d315d07009d75075665c34279a139d0f9700)


  Commit: e6daa9e4acd6d34924b611283940e4d22e303cee
      https://github.com/OpenSIPS/opensips/commit/e6daa9e4acd6d34924b611283940e4d22e303cee
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    A modules/aaa_diameter/app_opensips/CMakeLists.txt
    A modules/aaa_diameter/app_opensips/app_opensips.c
    A modules/aaa_diameter/app_opensips/avps.c
    A modules/aaa_diameter/app_opensips/avps.h

  Log Message:
  -----------
  aaa_diameter: Add the "app_opensips" freeDiameter application

This is the server-side component of the Diameter integration,
permanently maintaining an open-connection to the "aaa_diameter"
module's Diameter peer in OpenSIPS (or at least, ideally).

The main goals of the app:
    * to offer support for all Diameter applications and interactions,
	e.g. accounting, digest authentication, etc.

    * to be fully pluggable into commonly-found package-based
	freeDiameter installs on newer distros (e.g. Debian 10+,
	Ubuntu 20+, possibly others).

(cherry picked from commit ed397f948b5ff65479e41646e491bdc6bc83031e)


Compare: https://github.com/OpenSIPS/opensips/compare/9990960211e7...e6daa9e4acd6



More information about the Devel mailing list