Module: kamailio
Branch: master
Commit: 3203c53ea2e00bdbec2746de3d9eb19f6f7f2a71
URL:
https://github.com/kamailio/kamailio/commit/3203c53ea2e00bdbec2746de3d9eb19…
Author: Aleksandar Yosifov <alexyosifov(a)gmail.com>
Committer: Aleksandar Yosifov <alexyosifov(a)gmail.com>
Date: 2019-07-04T10:37:06+03:00
ims_ipsec_pcscf: support for multiple TCP connections
- spi list : fixed a bug with infinity loop.
- port generator: added port generator based on SPI list.
The port generator is used to generate free Client and Server
ports for IPSEC UDP/TCP connections.
- Added a method for parsing of the security parameters.
Used for Re-registration process.
- Remove SA/Policy: Fixed the methods for removing
SA/Policy. Now created SA/Policy are removed properly based
on their IPs, Ports, SPIs.
- Added a configurable parameter for IPSEC maximum connections.
It's necessary because all listen sockets should be initialized
in mod_init().
- Changes in ipsec_create(): Register user callback only for
initial Registration. For Re-registration through IPSEC, it's
not needed to register a user callback for contact expire/delete.
- Set search flag for contact depending of msg type - Request or Reply.
- Added description of a new parameter used for
the IPSec connections - ipsec_max_connections.
---
Added: src/modules/ims_ipsec_pcscf/port_gen.c
Added: src/modules/ims_ipsec_pcscf/port_gen.h
Added: src/modules/ims_ipsec_pcscf/sec_agree.c
Added: src/modules/ims_ipsec_pcscf/sec_agree.h
Modified: src/modules/ims_ipsec_pcscf/cmd.c
Modified: src/modules/ims_ipsec_pcscf/cmd.h
Modified: src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
Modified: src/modules/ims_ipsec_pcscf/ims_ipsec_pcscf_mod.c
Modified: src/modules/ims_ipsec_pcscf/ipsec.c
Modified: src/modules/ims_ipsec_pcscf/ipsec.h
Modified: src/modules/ims_ipsec_pcscf/spi_gen.c
Modified: src/modules/ims_ipsec_pcscf/spi_list.c
Modified: src/modules/ims_ipsec_pcscf/spi_list_tests.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3203c53ea2e00bdbec2746de3d9eb19…
Patch:
https://github.com/kamailio/kamailio/commit/3203c53ea2e00bdbec2746de3d9eb19…