◆ jikev2() [1/2]
Standard constructor
- Parameters
-
| logger | - Logger object to write to |
◆ jikev2() [2/2]
Constructor with configuration file
- Parameters
-
| config | - Configuration(s) to initiate connection with |
| logger | - Logger object to write to |
◆ add_sa()
Add a new security association to the key ring, Updates the security association if it already exists
- Parameters
-
| sa | - Security Association to add to the ring |
- Returns
- status for adding the key
◆ comms()
Create a Security Association with the negotiated parameters
- Parameters
-
| input | - input packet |
| output | - output packet |
| wait | - use blocking socket |
◆ delete_sa()
Delete a security association in the key ring
- Parameters
-
| spi | - security protocol index for the IKE connection |
| spisize | - size of the SPI in bytes (4 or 8) |
- Returns
- - status of the lookup
◆ findsa()
Find a security association in the key ring
- Parameters
-
| spi | - security protocol index for the IKE connection |
| sa | - Security Association to return from the ring |
- Returns
- - status of the lookup
◆ get_fields() [1/2]
Parse the input and fill the Security Association(s)
- Parameters
-
| input | - input packet |
| sa1 | - Security Association (IKE) |
◆ get_fields() [2/2]
Parse the input and fill the Security Association(s)
- Parameters
-
| input | - input packet |
| sa1 | - Security Association (ESP_IN) |
| sa2 | - Security Association (ESP_OUT) |
◆ propose()
Propose a new connection
- Parameters
-
| policy | - New policy to add to database |
| connect | - Create the connection as initiator |
- Returns
- True for success, False for connection failure
◆ reload()
reload the configuration for IKEv2 with new configuration
- Parameters
-
| config | - New configuration file |
- Returns
- True for success, False for connection failure
The documentation for this class was generated from the following file: