Network configuration |
modules/Firewall.ycp |
Firewall data |
|
|
Uses SuSEfirewall2.rpm. Only operates on
.sysconfig.personal-firewall.REJECT_ALL_INCOMING_CONNECTIONS.
See also the standalone module yast2-firewall.rpm, SuSEFirewall2.ycp
to which we eventually should migrate.
Imports
Includes
- network/routines.ycp
- network/runtime.ycp
Global Functions
Local Variables
Local Functions
|
|
|
local devices -> list<string>
|
|
Firewalled devices
global Read () -> boolean
|
|
Read firewall settings
- Return value:
global Write () -> boolean
|
|
Write firewall settings and apply changes
- Return value:
global Import (list<string> settings) -> boolean
|
|
Get all the firewall configuration from a map.
When called by *_auto (preparing autoinstallation data)
the list may be empty.
- Parameters:
settings |
autoinstallation settings |
- Return value:
Dump the firewall settings to a list, for autoinstallation use.
- Return value:
|
autoinstallation settings |
local device2fw (string device) -> string
|
|
Convert real device to the firewall device specification
The firewall was one of the first to feel the pain of changing
interface names so it uses "modem" for pppX.
- Parameters:
- Return value:
global Change (string device, boolean fw) -> boolean
|
|
Update firewall information about device
- Parameters:
device |
given device |
fw |
true for firewalled device |
- Return value:
global Query (string device) -> boolean
|
|
Check if the device is firewalled
- Parameters:
- Return value:
|