O’Reilly Books Latest LAMP Titles: mod_perl Pocket Reference (Web server)

O’Reilly Books Latest LAMP Titles: mod_perl Pocket Reference SQL in a Nutshell Network Printing Books by topic: Linux Open Source Security System and Network Administration Unix Web and Internet O’Reilly Network Technologies: ONJava.com ONLamp.com openp2p.com Perl.com XML.com Apache BSD Java Javascript and CSS Linux Mac Mozilla .NET P2P Perl Policy PHP Python Web Services Wireless Count both incoming and outgoing packets; this is the default. -F IP forwarding firewall rules. -I IP input firewall rules. -M IP masquerading administration. Can be used only with the -l or -s command. -O IP output firewall rules. Commands The category is followed by a command indicating the specific action to be taken. Unless otherwise specified, only one action can be given on a command line. For the commands that can include a policy, the valid policies are: accept Allow matching packets to be received, sent, or forwarded. deny Block matching packets from being received, sent, or forwarded. reject Block matching packets from being received, sent, or forwarded and also return an ICMP error message to the sending host. The commands are: -a [policy] Append one or more rules to the end of the rules for the category. No policy is specified for accounting rules. For firewall rules, a policy is required. When the source and/or destination names resolve to more than one address, a rule is added for each possible address combination. -c Check whether this IP packet would be accepted, denied, or rejected by the type of firewall represented by this category. Valid only when the category is -I, -O, or -F. Requires the -V parameter to be specified (see “Parameters,” later). -d [policy] Delete one or more entries from the list of rules for the category. No policy is specified for accounting rules. The parameters specified with this command must exactly match the parameters from an append or insert command, or no match will be found and the rule will not be

Leave a Reply