40. CWMFirewallInterfaces

Routines for selecting interfaces opened in firewall

40.1. Authors

  • Jiri Srain <jsrain@suse.cz>

40.2. Summary of Module Globals

List of Global Functions

List of Global Variables

    40.3. Global Functions

    40.3.1. CreateInterfacesWidget

    Get the widget description map

    Function parameters

    • map<string,any> settings

    Return value

    • map<string,any> - the widget description map

    40.3.2. CreateOpenFirewallWidget

    Get the widget description map of the firewall enablement widget

    Function parameters

    • map<string,any> settings

    Return value

    • map<string,any> - the widget description map

    40.3.3. DisableOpenFirewallWidget

    Disable the whole firewal widget

    Return value

    • void

    40.3.4. DisplayDetailsPopup

    Display the firewall interfaces selection as a popup

    Function parameters

    • map<string,any> settings

    Return value

    • symbol - return value of the dialog

    40.3.5. EnableOpenFirewallWidget

    Enable the whole firewal widget

    Return value

    • void

    40.3.6. InitAllowedInterfaces

    Initialize the list of allowed interfaces Changes the internal variables

    Function parameters

    • list<string> services

    Return value

    • void

    40.3.7. InterfacesHandle

    Handle function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • symbol - for wizard sequencer or nil

    40.3.8. InterfacesHandleWrapper

    Handle function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • symbol - for wizard sequencer or nil

    40.3.9. InterfacesInit

    Init function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    Return value

    • void

    40.3.10. InterfacesInitWrapper

    Init function of the widget

    Function parameters

    • string key

    Return value

    • void

    40.3.11. InterfacesStore

    Store function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • void

    40.3.12. InterfacesStoreWrapper

    Store function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • void

    40.3.13. InterfacesValidate

    Validate function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • boolean - true if validation succeeded, false otherwise

    40.3.14. InterfacesValidateWrapper

    Validate function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • boolean - true if validation succeeded, false otherwise

    40.3.15. Modified

    Check if settings were modified by the user

    Return value

    • boolean - true if settings were modified

    40.3.16. OpenFirewallHandle

    Handle the immediate start and stop of the service

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • symbol - always nil

    40.3.17. OpenFirewallHandleWrapper

    Handle the immediate start and stop of the service

    Function parameters

    • string key

    • map event

    Return value

    • symbol - always nil

    40.3.18. OpenFirewallHelp

    Get the help text to the firewall opening widget

    Function parameters

    • boolean restart_displayed

    Return value

    • string - help text

    40.3.19. OpenFirewallHelpTemplate

    Get the template for the help text to the firewall opening widget

    Function parameters

    • boolean restart_displayed

    Return value

    • string - help text template with %1 and %2 placeholders

    40.3.20. OpenFirewallInit

    Initialize the open firewall widget

    Function parameters

    • map<string,any> widget

    • string key

    Return value

    • void

    40.3.21. OpenFirewallInitWrapper

    Init function of the widget

    Function parameters

    • string key

    Return value

    • void

    40.3.22. OpenFirewallModified

    Check if the widget was modified

    Function parameters

    • string key

    Return value

    • boolean - true if widget was modified

    40.3.23. OpenFirewallStore

    Store function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • void

    40.3.24. OpenFirewallStoreWrapper

    Store function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • void

    40.3.25. OpenFirewallWidgetExists

    Check whether the whole firewall widget ( open port checkbox and fw details button) exists

    Return value

    • boolean - true if both widgets exist

    40.3.26. StoreAllowedInterfaces

    Store the list of allowed interfaces Users the internal variables

    Function parameters

    • list<string> services

    Return value

    • void

    40.4. Global Variables

    40.5. Module Requirements

    40.5.1. Module Imports

    • CWM
    • Label
    • Mode
    • NetworkInterfaces
    • Popup
    • Report
    • Stage
    • SuSEFirewall
    • SuSEFirewallProposal

    40.5.2. Module Includes