Endian banner

endian.ipsec.schema package

Submodules

endian.ipsec.schema.connection module

class IPsecTypeOptions(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'host', 'label': 'Host', 'ID': 'host', 'displayOrder': 'id', 'name': 'Host-to-Net (roadwarrior)'}, {'id': 'net', 'label': 'Net', 'ID': 'net', 'displayOrder': 'id', 'name': 'Net-to-Net'}, {'id': 'l2tp', 'label': 'L2TP', 'ID': 'l2tp', 'displayOrder': 'id', 'name': 'L2TP Host-to-Net (roadwarrior using L2TP)'}, {'id': 'xauth', 'label': 'XAuth', 'ID': 'xauth', 'displayOrder': 'id', 'name': 'XAuth Host-to-Net (roadwarrior using XAuth)'}]
class IPsecDeadPearActionOptions(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'restart', 'ID': 'restart', 'displayOrder': 'id', 'name': 'Restart'}, {'id': 'clear', 'ID': 'clear', 'displayOrder': 'id', 'name': 'Clear'}, {'id': 'hold', 'ID': 'hold', 'displayOrder': 'id', 'name': 'Hold'}]
class IPsecEncryption(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'aes256', 'ID': 'aes256', 'displayOrder': 'id', 'name': 'AES (256 bit)'}, {'id': 'aes192', 'ID': 'aes192', 'displayOrder': 'id', 'name': 'AES (192 bit)'}, {'id': 'aes128', 'ID': 'aes128', 'displayOrder': 'id', 'name': 'AES (128 bit)'}, {'id': 'blowfish256', 'ID': 'blowfish256', 'displayOrder': 'id', 'name': 'Blowfish (256 bit)'}, {'id': 'blowfish192', 'ID': 'blowfish192', 'displayOrder': 'id', 'name': 'Blowfish (192 bit)'}, {'id': 'blowfish128', 'ID': 'blowfish128', 'displayOrder': 'id', 'name': 'Blowfish (128 bit)'}, {'id': '3des', 'ID': '3des', 'displayOrder': 'id', 'name': '3DES'}, {'id': 'camellia128', 'ID': 'camellia128', 'displayOrder': 'id', 'name': 'Camellia (128 bit)'}, {'id': 'camellia192', 'ID': 'camellia192', 'displayOrder': 'id', 'name': 'Camellia (192 bit)'}, {'id': 'camellia256', 'ID': 'camellia256', 'displayOrder': 'id', 'name': 'Camellia (256 bit)'}, {'id': 'serpent128', 'ID': 'serpent128', 'displayOrder': 'id', 'name': 'Serpent (128 bit) - IKEv1 only'}, {'id': 'serpent192', 'ID': 'serpent192', 'displayOrder': 'id', 'name': 'Serpent (192 bit) - IKEv1 only'}, {'id': 'serpent256', 'ID': 'serpent256', 'displayOrder': 'id', 'name': 'Serpent (256 bit) - IKEv1 only'}, {'id': 'twofish128', 'ID': 'twofish128', 'displayOrder': 'id', 'name': 'Twofish (128 bit) - IKEv1 only'}, {'id': 'twofish192', 'ID': 'twofish192', 'displayOrder': 'id', 'name': 'Twofish (192 bit) - IKEv1 only'}, {'id': 'twofish256', 'ID': 'twofish256', 'displayOrder': 'id', 'name': 'Twofish (256 bit) - IKEv1 only'}, {'id': 'cast128', 'ID': 'cast128', 'displayOrder': 'id', 'name': 'CAST - IKEv2 only'}, {'id': 'null', 'ID': 'null', 'displayOrder': 'id', 'name': 'Null encryption'}]
class IPsecIKEIntegrity(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'sha1', 'ID': 'sha1', 'displayOrder': 'id', 'name': 'SHA1'}, {'id': 'md5', 'ID': 'md5', 'displayOrder': 'id', 'name': 'MD5'}, {'id': 'sha2_256', 'ID': 'sha2_256', 'displayOrder': 'id', 'name': 'SHA2 256'}, {'id': 'sha2_384', 'ID': 'sha2_384', 'displayOrder': 'id', 'name': 'SHA2 384'}, {'id': 'sha2_512', 'ID': 'sha2_512', 'displayOrder': 'id', 'name': 'SHA2 512'}]
class IPsecESPIntegrity(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'sha1', 'ID': 'sha1', 'displayOrder': 'id', 'name': 'SHA1'}, {'id': 'md5', 'ID': 'md5', 'displayOrder': 'id', 'name': 'MD5'}, {'id': 'sha2_256', 'ID': 'sha2_256', 'displayOrder': 'id', 'name': 'SHA2 256'}, {'id': 'sha2_384', 'ID': 'sha2_384', 'displayOrder': 'id', 'name': 'SHA2 384'}, {'id': 'sha2_512', 'ID': 'sha2_512', 'displayOrder': 'id', 'name': 'SHA2 512'}, {'id': 'aesxcbc', 'ID': 'aesxcbc', 'displayOrder': 'id', 'name': 'AES XCBC'}]
class IPsecGroupType(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': '8192', 'ID': '8192', 'displayOrder': 'id', 'name': 'DH group 18 (8192 bit)'}, {'id': '6144', 'ID': '6144', 'displayOrder': 'id', 'name': 'DH group 17 (6144 bit)'}, {'id': '4096', 'ID': '4096', 'displayOrder': 'id', 'name': 'DH group 16 (4096 bit)'}, {'id': '3072', 'ID': '3072', 'displayOrder': 'id', 'name': 'DH group 15 (3072 bit)'}, {'id': '2048', 'ID': '2048', 'displayOrder': 'id', 'name': 'DH group 14 (2048 bit)'}, {'id': '1536', 'ID': '1536', 'displayOrder': 'id', 'name': 'DH group 5 (1536 bit)'}, {'id': '1024', 'ID': '1024', 'displayOrder': 'id', 'name': 'DH group 2 (1024 bit)'}, {'id': '768', 'ID': '768', 'displayOrder': 'id', 'name': 'DH group 1 (768 bit)'}, {'id': '1024s160', 'ID': '1024s160', 'displayOrder': 'id', 'name': 'DH group 22 (1024 bit, sub 160 bit)'}, {'id': '2048s224', 'ID': '2048s224', 'displayOrder': 'id', 'name': 'DH group 23 (2048 bit, sub 224 bit)'}, {'id': '2048s256', 'ID': '2048s256', 'displayOrder': 'id', 'name': 'DH group 24 (2048 bit, sub 256 bit)'}]
class IPsecAuthenticationOptions(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'psk', 'label': 'PSK', 'ID': 'psk', 'displayOrder': 'id', 'name': 'Password (PSK)'}, {'id': 'hybrid', 'label': 'Hybrid', 'ID': 'hybrid', 'displayOrder': 'id', 'name': 'XAuth Hybrid'}, {'id': 'auth-dn', 'label': 'Auth-DN', 'ID': 'auth-dn', 'displayOrder': 'id', 'name': 'Peer is identified by either IPV4_ADDR, FQDN, USER_FQDN or DER_ASN1_DN string in remote ID field'}, {'id': 'cert', 'label': 'Certificate', 'ID': 'cert', 'displayOrder': 'id', 'name': 'Use an existing certificate'}, {'id': 'new_cert', 'label': 'Certificate', 'ID': 'new_cert', 'displayOrder': 'id', 'name': 'Generate a new certificate'}, {'id': 'upload_cert', 'label': 'Certificate', 'ID': 'upload_cert', 'displayOrder': 'id', 'name': 'Upload a certificate'}, {'id': 'upload_cert_req', 'label': 'Certificate', 'ID': 'upload_cert_req', 'displayOrder': 'id', 'name': 'Upload a certificate request'}]
class IPsecIKEVersionOptions(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': '', 'ID': '', 'displayOrder': 'id', 'name': 'Both IKEv1 and IKEv2'}, {'id': '1', 'ID': '1', 'displayOrder': 'id', 'name': 'IKEv1'}, {'id': '2', 'ID': '2', 'displayOrder': 'id', 'name': 'IKEv2'}]
class IPsecInterfaceOptions(**kwargs)

Bases: endian.emi.entities.entity.Entity

ID = None
classmethod all()
classmethod get_by_id(id)
label_field = None
mapper = None
name = None
table = None
values = <endian.core.lazylist.LazyList object at 0xb6e76ac>
class IPsecConnection(**kwargs)

Bases: endian.emi.entities.entity.Entity

ID = None
aggressive_mode = False
auth_dn
auth_type = None
auto = None
cert_filename = None
common_name = None
common_name_type
compression = False
connection_type = None
dpd_action = None
empty = False
enabled = True
esp_encryption = None
esp_grouptype = None
esp_integrity = None
esp_keylife = 8
ike_encryption = None
ike_grouptype = None
ike_integrity = None
ike_lifetime = 1
ike_version = None
interface = None
classmethod invalidate_open_connections_cache(clazz)
invalidate_open_connections_cache()

Invalidate the cached open connections list (force reexecuting the function at the next access to the list)

is_connected
label_field = None
local_peerid = None
local_subnet()
mapper = None
modeconfig = None
name = None
only_proposed = False
pfs = True
remark = None
remote_address = None
remote_peerid = None
remote_subnet = None
secret = None
side = None
status
table = None
type_label
vhost = False
class IPsecModeConfigOptions(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'pull', 'label': 'Pull', 'ID': 'pull', 'displayOrder': 'id', 'name': 'Pull'}, {'id': 'push', 'label': 'Push', 'ID': 'push', 'displayOrder': 'id', 'name': 'Push'}]
class IPsecAutoOptions(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'start', 'label': 'Start', 'ID': 'start', 'displayOrder': 'id', 'name': 'Brings the connection up immediately'}, {'id': 'route', 'label': 'Route', 'ID': 'route', 'displayOrder': 'id', 'name': 'Starts the connection if traffic is detected'}, {'id': 'add', 'label': 'Add', 'ID': 'add', 'displayOrder': 'id', 'name': 'Loads the connection without starting it'}]

endian.ipsec.schema.settings module

class IPsecCertificateTypeOptions(**kwargs)

Bases: endian.emi.entities.entity.Entity

id = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'selected', 'ID': 'selected', 'displayOrder': 'id', 'name': 'Use selected certificate'}, {'id': 'cert', 'ID': 'cert', 'displayOrder': 'id', 'name': 'Use an existing certificate'}, {'id': 'new_cert', 'ID': 'new_cert', 'displayOrder': 'id', 'name': 'Generate a new certificate'}, {'id': 'upload_cert', 'ID': 'upload_cert', 'displayOrder': 'id', 'name': 'Upload a certificate'}, {'id': 'upload_cert_req', 'ID': 'upload_cert_req', 'displayOrder': 'id', 'name': 'Upload a certificate signing request'}]
class IPsecSettings(**kwargs)

Bases: endian.emi.entities.entity.Entity

CA_FILENAME = None
CERT_FILENAME = None
DBG_ASN = False
DBG_CFG = False
DBG_CHD = False
DBG_DMN = False
DBG_ENC = False
DBG_IKE = False
DBG_IMC = False
DBG_IMV = False
DBG_JOB = False
DBG_KNL = False
DBG_LIB = False
DBG_MGR = False
DBG_NET = False
DBG_PTS = False
DBG_TLS = False
DBG_TNC = False
DPD_DELAY = 30
DPD_TIMEOUT = 120
ENABLED = False
VIRTUAL_IP_POOL = None
label_field = None
mapper = None
table = None

Module contents

class IPsecSettings(**kwargs)

Bases: endian.emi.entities.entity.Entity

CA_FILENAME = None
CERT_FILENAME = None
DBG_ASN = False
DBG_CFG = False
DBG_CHD = False
DBG_DMN = False
DBG_ENC = False
DBG_IKE = False
DBG_IMC = False
DBG_IMV = False
DBG_JOB = False
DBG_KNL = False
DBG_LIB = False
DBG_MGR = False
DBG_NET = False
DBG_PTS = False
DBG_TLS = False
DBG_TNC = False
DPD_DELAY = 30
DPD_TIMEOUT = 120
ENABLED = False
VIRTUAL_IP_POOL = None
label_field = None
mapper = None
table = None
class IPsecTypeOptions(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'host', 'label': 'Host', 'ID': 'host', 'displayOrder': 'id', 'name': 'Host-to-Net (roadwarrior)'}, {'id': 'net', 'label': 'Net', 'ID': 'net', 'displayOrder': 'id', 'name': 'Net-to-Net'}, {'id': 'l2tp', 'label': 'L2TP', 'ID': 'l2tp', 'displayOrder': 'id', 'name': 'L2TP Host-to-Net (roadwarrior using L2TP)'}, {'id': 'xauth', 'label': 'XAuth', 'ID': 'xauth', 'displayOrder': 'id', 'name': 'XAuth Host-to-Net (roadwarrior using XAuth)'}]
class IPsecDeadPearActionOptions(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'restart', 'ID': 'restart', 'displayOrder': 'id', 'name': 'Restart'}, {'id': 'clear', 'ID': 'clear', 'displayOrder': 'id', 'name': 'Clear'}, {'id': 'hold', 'ID': 'hold', 'displayOrder': 'id', 'name': 'Hold'}]
class IPsecAuthenticationOptions(**kwargs)

Bases: endian.emi.entities.entity.Entity

classmethod all()
classmethod get_by_id(id)
id = None
label = None
label_field = None
mapper = None
name = None
table = None
values = [{'id': 'psk', 'label': 'PSK', 'ID': 'psk', 'displayOrder': 'id', 'name': 'Password (PSK)'}, {'id': 'hybrid', 'label': 'Hybrid', 'ID': 'hybrid', 'displayOrder': 'id', 'name': 'XAuth Hybrid'}, {'id': 'auth-dn', 'label': 'Auth-DN', 'ID': 'auth-dn', 'displayOrder': 'id', 'name': 'Peer is identified by either IPV4_ADDR, FQDN, USER_FQDN or DER_ASN1_DN string in remote ID field'}, {'id': 'cert', 'label': 'Certificate', 'ID': 'cert', 'displayOrder': 'id', 'name': 'Use an existing certificate'}, {'id': 'new_cert', 'label': 'Certificate', 'ID': 'new_cert', 'displayOrder': 'id', 'name': 'Generate a new certificate'}, {'id': 'upload_cert', 'label': 'Certificate', 'ID': 'upload_cert', 'displayOrder': 'id', 'name': 'Upload a certificate'}, {'id': 'upload_cert_req', 'label': 'Certificate', 'ID': 'upload_cert_req', 'displayOrder': 'id', 'name': 'Upload a certificate request'}]
class IPsecConnection(**kwargs)

Bases: endian.emi.entities.entity.Entity

ID = None
aggressive_mode = False
auth_dn
auth_type = None
auto = None
cert_filename = None
common_name = None
common_name_type
compression = False
connection_type = None
dpd_action = None
empty = False
enabled = True
esp_encryption = None
esp_grouptype = None
esp_integrity = None
esp_keylife = 8
ike_encryption = None
ike_grouptype = None
ike_integrity = None
ike_lifetime = 1
ike_version = None
interface = None
classmethod invalidate_open_connections_cache(clazz)
invalidate_open_connections_cache()

Invalidate the cached open connections list (force reexecuting the function at the next access to the list)

is_connected
label_field = None
local_peerid = None
local_subnet()
mapper = None
modeconfig = None
name = None
only_proposed = False
pfs = True
remark = None
remote_address = None
remote_peerid = None
remote_subnet = None
secret = None
side = None
status
table = None
type_label
vhost = False

Table Of Contents

Previous topic

endian.ipsec package

Next topic

endian.ipsec.web package