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

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


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


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


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


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


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


Compare: https://github.com/OpenSIPS/opensips/compare/df23995f69b4...8972a5d7f1a3


More information about the Devel mailing list