firewall
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:A simple firewall management tool based on iptables.
firewall - A simple firewall management tool based on iptables.
---------------------------------------------------------------

    The scope of this tool is to provide a simple iptables management solution
    intended to be used by a user as well as part of system init while providing
    an easy way to set up and manage sets of firewall rules.

    To deploy rules using the default target, create a script in
    /etc/firewall/rules.d that accepts 'start' and 'stop' as parameters.
    When called with the 'start' parameter, the script should take whatever
    steps are nessecarry to deploy its ruleset, 'stop' should revert these steps.

    firewall will automaticall evaluate all scripts
    in the directory that are both executable and have a ".rules" ending.
    To disable a ruleset, rename the file to ".rules.disabled"
    or remove the executable flag.

    firewall will not flush your tablespace or perform any cleanup beyond what
    is defined in the active rules file. Before disabling a ruleset,
    it is often nessecarry to call first stop the given ruleset by running
    'firewall stop '.

    Example:
    /etc/firewall/rules.d/apache.rules

    #!/bin/sh
    # Set up rules for port 80 access to an apache web server

    case $1 in
        start)
            /sbin/iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT

        stop)
            /sbin/iptables -D INPUT -i eth0 -p tcp --dport 80 -j ACCEPT

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。