| Method | Description |
|---|---|
| __init__(self, name, proxy_class, router, chainer, snat_policy, snat, dnat_policy, dnat, authentication_policy, authorization_policy, max_instances, max_sessions, auth_name, resolver_policy, auth, auth_policy, keepalive, encryption_policy, limit_target_zones_to, detector_config, detector_default_service_name, session_counting) | Constructor to initialize a Service instance. |
| startInstance(self, session) | Start a service instance. |
Table 5.103. Method summary
Method __init__(self, name, proxy_class, router, chainer, snat_policy, snat, dnat_policy, dnat, authentication_policy, authorization_policy, max_instances, max_sessions, auth_name, resolver_policy, auth, auth_policy, keepalive, encryption_policy, limit_target_zones_to, detector_config, detector_default_service_name, session_counting)
This contructor defines a Service with the specified parameters.
| authentication_policy (class) | |
|---|---|
| Default: None | |
| Name of the AuthenticationPolicy instance used to authenticate the clients. See Section 5.1, Module Auth for details. |
| authorization_policy (class) | |
|---|---|
| Default: None | |
| Name of the AuthorizationPolicy instance used to authorize the clients. See Section 5.1, Module Auth for details. |
| chainer (class) | |
|---|---|
| Default: None | |
| Name of the chainer instance used to connect to the destination server. Defaults to ConnectChainer if no other chainer is specified. |
| dnat_policy (class) | |
|---|---|
| Default: None | |
| Name of the NAT policy instance used to translate the destination addresses of the sessions. See Section 5.8, Module NAT for details. |
| encryption_policy (class) | |
|---|---|
| Default: None | |
| Name of the Encryption policy instance used to encrypt the sessions and verify the certificates used. For details, see Section 5.5, Module Encryption. |
| keepalive (integer) | |
|---|---|
| Default: Z_KEEPALIVE_NONE | |
| The TCP keepalive option, one of the Z_KEEPALIVE_NONE, Z_KEEPALIVE_CLIENT, Z_KEEPALIVE_SERVER, Z_KEEPALIVE_BOTH values. |
| max_instances (integer) | |
|---|---|
| Default: 0 | |
Permitted number of concurrent instances of this service. Usually each
service instance handles one connection. Default value: 0 (unlimited).
|
| proxy_class (class) | |
|---|---|
| Default: n/a | |
| Name of the proxy class instance used to analyze the traffic transferred in the session. See Section 5.10, Module Proxy for details. |
| resolver_policy (class) | |
|---|---|
| Default: None | |
Name of the ResolvePolicy instance used to resolve the destination domain names.
See Section 5.11, Module Resolver for details.
Default value: DNSResolver.
|
| router (class) | |
|---|---|
| Default: None | |
| Name of the router instance used to determine the destination address of the server. Defaults to TransparentRouter if no other router is specified. |
| snat_policy (class) | |
|---|---|
| Default: None | |
| Name of the NAT policy instance used to translate the source addresses of the sessions. See Section 5.8, Module NAT for details. |
Published on May 30, 2024
© BalaSys IT Ltd.
Send your comments to support@balasys.hu


