Firewall Services, Ports Aliases. |
modules/SuSEFirewallServices.ycp |
| Definition of Supported Firewall Services and Port Aliases. |
|
|
|
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 ,
"udp_ports" : list ,
"rpc_ports" : list ,
"ip_protocols" : list ,
"broadcast_ports" : list ,
],
|
global IsKnownService (string service_id) -> boolean
|
|
Function returns if the service_id is a known (defined) service
- Parameters:
- Return value:
|
global GetSupportedServices () -> map <string, string>
|
|
Function returns the map of supported (known) services.
- Return value:
|
|
[service_id, service_name] |
|
global GetNeededTCPPorts (string service) -> list <string>
|
|
Function returns needed TCP ports for service
- Parameters:
- Return value:
|
|
[string] of needed TCP ports |
|
global GetNeededUDPPorts (string service) -> list <string>
|
|
Function returns needed UDP ports for service
- Parameters:
- Return value:
|
|
[string] of needed UDP ports |
|
global GetNeededRPCPorts (string service) -> list <string>
|
|
Function returns needed RPC ports for service
- Parameters:
- Return value:
|
|
[string] of needed RPC ports |
|
global GetNeededIPProtocols (string service) -> list <string>
|
|
Function returns needed IP protocols for service
- Parameters:
- Return value:
|
|
[string] of needed IP protocols |
|
global GetNeededBroadcastPorts (string service) -> list <string>
|
|
Function returns needed ports allowing broadcast
- Parameters:
- Return value:
|
|
[string] of needed broadcast ports |
|
global GetNeededPortsAndProtocols (string service) -> map <string, list <string> >
|
|
Function returns needed ports and protocols for service.
Function cares about if the service is defined or not.
- Parameters:
- Return value:
|
global GetPossiblyConflictServices () -> list <string>
|
|
Function returns list of possibly conflicting services.
Conflicting services are for instance nis-client and nis-server.
- Return value:
|
|
[string] of conflicting services |
|