YaST2 Developers Documentation: Configuration YaST2 Firewall | ![]() |
![]() functions files intro |
void ExampleInit(string key) { y2milestone("Example Init"); } symbol ExampleHandle(string key, map event) { any ret = event["ID"]:nil; y2milestone("Example Handle"); return nil; } void ExampleStore(string key, map event) { any ret = event["ID"]:nil; y2milestone("Example Store"); }
Function disables the back button. Fake function for CWM Tree Widget.
Function saves configuration and restarts firewall
Function starts Firewall services and sets firewall to be started after exiting YaST
Function stops Firewall services and sets firewall to be stopped after exiting YaST
Function redraws Interfaces Table
Function initializes Interfaces table and known_device_names
Function handles popup dialog witch setting Interface into Zone
Function handles popup with additional settings in zones
Function handles whole firewall-interfaces dialg
Function checks list of ports if they exist (are known).
Function sets UI for Masquerade Table (and buttons) enabled or disabled
Function returns if masquerading is possible. Masquerading needs at least two interfaces in two different firewall zones. One of them has to be External.
Function checks port number got as parameter. If check fails SetFocus is called and an empty string is returned.
|
YaST2 Developers Documentation | ![]() |