Unknown YCP Module |
|
This module has an unstable interface. |
Copyright 2004, Novell, Inc. All rights reserved.
File: modules/SuSEFirewall4Network.ycp
Package: Network Configuration
Summary: Module for handling interfaces in SuSEfirewall2
Authors: Lukas Ocilka
Function reads configuration of SuSEFirewall.
- Return value:
-
if successful
Function writes configuration of SuSEFirewall.
- Return value:
-
if successful
- Return value:
-
whether enabled and started
Function returns list of items for combo box with all known firewall zones. There's also an item for "" (no zone or fw off).
- Return value:
-
item list for CWM
Function returns if interface is protected by firewall. It means: Firewall is Running and Enabled. Interface is included in any protected firewall zone (means EXT, DMZ or INT).
- Parameters:
-
interface
- Return value:
-
if it is protected
Function returns the firewall zone of interface, "" if no zone includes the interface. Error is reported when interface is found in multiple firewall zones, then the first appearance is returned. If firewall is off, "" is returned.
- Parameters:
-
interface
- Return value:
-
zone
Functions sets protection of interface by the protect-status.
protect==true -> add interface into selected firewall zone, sets firewall
to be started and enabled when booting.
protect==false -> removes interface from all firewall zones, if there
are no other interfaces protected by firewall, stops it
and removes it from boot process.
- Parameters:
-
interface zone protect_status
- Return value:
-
if successful
- Return value:
-
Whether the UI should warn about interfaces that are not in any zone
Function sets that a firewall proposal was changed by user by editing firewall zone of network interface (applicable during 2nd stage of installation only)
- Parameters:
-
changed
Returns whether the firewall package is installed
- Return value:
-
if installed
Sets whether firewall should be enabled
- Parameters:
-
enabled
Returns whether firewall is supposed to be enabled
- Return value:
-
whether enabled
Sets whether SSH port should be opened in firewall
- Parameters:
-
enabled
Returns whether SSH port is supposed to be open in firewall
Sets whether VNC ports should be opened in firewall
- Parameters:
-
enabled
Returns whether VNC ports are supposed to be open in firewall