Up to [LON-CAPA] / loncom / configuration
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: PRINT_INCOMPLETE
- get_fw_chain() renamed get_fw_chains() - return array of chains in use - Reference to this array of chains is second arg for: &firewall_close_port() and &firewall_open_port() - Replace backticks with opened pipe to extract information about chains. - Streamline code in firewall_is_port_open() to eliminate loop for each iptables line. - When using &firewall_open_port() check if entry already exists for specific IP for LON-CAPA port before calling system command to add one.