[OpenSIPS-Devel] [OpenSIPS/opensips] 4975a9: tls_mgm: properly get the domain name and address ...

rvlad-patrascu vladp at opensips.org
Wed Apr 26 08:52:23 EDT 2017


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4975a9fab79b5e12bbc8c64d9ccbef798618da23
      https://github.com/OpenSIPS/opensips/commit/4975a9fab79b5e12bbc8c64d9ccbef798618da23
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M db/schema/tls_mgm.xml
    M modules/tls_mgm/tls_config.c
    M modules/tls_mgm/tls_config.h
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c
    M modules/tls_mgm/tls_params.h
    M scripts/db_berkeley/opensips/tls_mgm
    M scripts/dbtext/opensips/tls_mgm
    M scripts/mysql/tls_mgm-create.sql
    M scripts/oracle/tls_mgm-create.sql
    M scripts/postgres/tls_mgm-create.sql
    M scripts/sqlite/tls_mgm-create.sql

  Log Message:
  -----------
  tls_mgm: properly get the domain name and address from the corresponing DB columns

Previously, the value of the domain column was only an id and the actual domain name
was taken from the address column when it's value was not in the "ip:port" format.
This was somewhat misleading and consequently the domain column now expects the
domain name, and the address column an ip address and port.
Also drop the not null constraint from the domain and address DB columns, as server
domains only need and address and client domains can be either socket or name based.

(cherry picked from commit c27405ec6b7095d2d012da85599c1e10c01282e0)


  Commit: bd4b40105769ffcf31ecc609672d58c73a1b14f2
      https://github.com/OpenSIPS/opensips/commit/bd4b40105769ffcf31ecc609672d58c73a1b14f2
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_domain.h
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c

  Log Message:
  -----------
  tls_mgm: allow defining TLS domains both from DB and script

(cherry picked from commit 35981e0aaf271a587168d83702a6a220eb9bf06f)


  Commit: 3d9d03791479dc40618043c08e2b8195623f8134
      https://github.com/OpenSIPS/opensips/commit/3d9d03791479dc40618043c08e2b8195623f8134
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_domain.h
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c
    M modules/tls_mgm/tls_params.h

  Log Message:
  -----------
  tls_mgm: allow defining default TLS domains in DB

(cherry picked from commit cbbb232e9b2b8e8a9ed35a1da3f8d2eec0611334)


  Commit: 29a8432134dda8a4eea792332f573c7f0cb98bb9
      https://github.com/OpenSIPS/opensips/commit/29a8432134dda8a4eea792332f573c7f0cb98bb9
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M db/schema/tls_mgm.xml
    M modules/db_mysql/db_mysql.c
    M modules/tls_mgm/api.h
    M modules/tls_mgm/tls_config_helper.h
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_domain.h
    M modules/tls_mgm/tls_helper.h
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c
    M modules/tls_mgm/tls_params.h
    M scripts/db_berkeley/opensips/tls_mgm
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/tls_mgm
    M scripts/dbtext/opensips/version
    M scripts/mysql/tls_mgm-create.sql
    M scripts/oracle/tls_mgm-create.sql
    M scripts/postgres/tls_mgm-create.sql
    M scripts/sqlite/tls_mgm-create.sql

  Log Message:
  -----------
  tls_mgm: use the domain name as an unique identifier for a TLS domain specificiation (both from DB and script)

The 'domain' DB column is now mandatory and represents the domain name and identifier.
When defining a domain through the script parameters 'server_domain' or 'client_domain'
the syntax is now 'domain_name=IP:port' with the address part optional for client domains.
Also, improve loading of default domains from DB and fix some issues: overriding script
domains with DB domains at startup, crash when defining clients domains without address.

(cherry picked from commit ece42ab71c56c03c8aba581e5c978d033e56ff9a)


  Commit: 2411deafceb1cc5be2e7a0aea3cae0c05e78d090
      https://github.com/OpenSIPS/opensips/commit/2411deafceb1cc5be2e7a0aea3cae0c05e78d090
  Author: rvlad-patrascu <vladp at opensips.org>
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/tls_mgm.xml
    M modules/tls_mgm/doc/tls_mgm_admin.xml

  Log Message:
  -----------
  tls_mgm: update docs

(cherry picked from commit 8972a5d7f1a3becbcc35d2523929e959da9b30b0)


Compare: https://github.com/OpenSIPS/opensips/compare/502347e6d9cd...2411deafceb1


More information about the Devel mailing list