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

Liviu Chircu noreply at github.com
Tue Jun 15 18:58:31 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e00a71cb65814fff1929df02450dc2bfb3904ba9
      https://github.com/OpenSIPS/opensips/commit/e00a71cb65814fff1929df02450dc2bfb3904ba9
  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


  Commit: 5139dfa01cb7bb0c7fed273f1ac2a8e1316a5d41
      https://github.com/OpenSIPS/opensips/commit/5139dfa01cb7bb0c7fed273f1ac2a8e1316a5d41
  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");

	...
    }


  Commit: 8661d315d07009d75075665c34279a139d0f9700
      https://github.com/OpenSIPS/opensips/commit/8661d315d07009d75075665c34279a139d0f9700
  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


Compare: https://github.com/OpenSIPS/opensips/compare/57df749c7d2b...8661d315d070



More information about the Devel mailing list