Firewall Services, Ports Aliases. |
modules/SuSEFirewallServices.ycp |
Definition of Supported Firewall Services and Port Aliases. | |
|
|
This module has an unstable interface. |
Global Definition of Firewall Services
Defined using TCP, UDP and RPC ports and IP protocols and Broadcast UDP
ports. Results are cached, so repeating requests are answered faster.
Global Functions
|
Format of SERVICES
"service-id" : $[
"name" : _("Service Name"),
"tcp_ports" : list
Function returns if the service_id is a known (defined) service
- Parameters:
-
service_id
- Return value:
-
if is known (defined)
Function returns the map of supported (known) services.
- Return value:
-
[service_id, service_name]
Function returns needed TCP ports for service
- Parameters:
-
service
- Return value:
-
[string] of needed TCP ports
Function returns needed UDP ports for service
- Parameters:
-
service
- Return value:
-
[string] of needed UDP ports
Function returns needed RPC ports for service
- Parameters:
-
service
- Return value:
-
[string] of needed RPC ports
Function returns needed IP protocols for service
- Parameters:
-
service
- Return value:
-
[string] of needed IP protocols
Function returns needed ports allowing broadcast
- Parameters:
-
service
- Return value:
-
[string] of needed broadcast ports
Function returns needed ports and protocols for service. Function cares about if the service is defined or not.
- Parameters:
-
service
- Return value:
-
[list, string] of needs
Function returns list of possibly conflicting services. Conflicting services are for instance nis-client and nis-server.
- Return value:
-
[string] of conflicting services