Ipsecmodule
- group IPsecModule
Functions
-
void IPsecStart(API_HANDLE api, const char *subdirectory)
Starts the IPsec daemon.
- Parameters:
subdirectory – Output log directory
-
void IPsecRestart(API_HANDLE api, const char *subdirectory)
Restarts the IPsec daemon.
- Parameters:
subdirectory – Output log directory
-
void IPsecStop(API_HANDLE api)
Stops the IPsec daemon.
-
void IPsecKill(API_HANDLE api)
Kills the IPsec daemon process.
-
STRING_LIST_HANDLE IPsecListIkeSas(API_HANDLE api)
Gets the existing IKE Security Associations.
- Returns:
List of IKE SA names
-
STRING_HANDLE IPsecGetConnectionName(API_HANDLE api)
Gets the existing connection name.
- Returns:
Connection name
-
void IPsecRekey(API_HANDLE api, const char *ike_sa)
Performs the rekey of a specific Security Association.
- Parameters:
ike_sa – SA to rekey
-
void IPsecTerminateConnection(API_HANDLE api)
Terminates the connection.
-
void IPsecTerminateAllIkeSa(API_HANDLE api)
Terminates all IKE SA instances of the connection.
-
void IPsecTerminateAllChildSa(API_HANDLE api)
Terminates all child SA instances of the connection.
-
IPSEC_KEY_INFO_LIST_HANDLE IPsecGetIKEv2Keys(API_HANDLE api)
Gets the IKEv2 key information.
- Returns:
List of IKE2 keys
-
void IPsecStart(API_HANDLE api, const char *subdirectory)