Current Issue


Table of contents

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 12.0

Version 12.0 delivers every issue of Sys Admin from 1992 through 2006 and every
issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!

Sys Admin Magazine > Archives > 1997 > 9707

Listing 1: Help output of ipfwadm

ipfwadm 2.3.0, 1996/07/30

Usage: /sbin/ipfwadm -A [direction] command [options] (accounting)
/sbin/ipfwadm -F command [options] (forwarding firewall)
/sbin/ipfwadm -I command [options] (input firewall)
/sbin/ipfwadm -O command [options] (output firewall)
/sbin/ipfwadm -M [-s | -l] [options] (masquerading entries)
/sbin/ipfwadm -h (print this help information))

Commands:
-i [policy]    insert rule (no policy for accounting rules)
-a [policy]    append rule (no policy for accounting rules)
-d [policy]    delete rule (no policy for accounting rules)
-l        list all rules of this category
-z        reset packet/byte counters of all rules of this category
-f        remove all rules of this category
-p policy    change default policy (accept/deny/reject)
-s tcp tcpfin udp
set masuerading timeout values
-c        check acceptance of IP packet

Options:
-P        protocol (either tcp, udp, icmp, or all)
-S address[/mask] [port ...]
source specification
-D address[/mask] [port ...]
destination specification
-V address    network interface address
-W name    network interface name
-b        bidirectional match
-e        extended output mode
-k        match TCP packets only when ACK set
-m        masquerade packets as coming from local host
-n        numeric output of addresses and ports
-o        turn on kernel logging for matching packets
-r [port]    redirect packets to local port (transparent proxying)
-t and xor    and/xor masks for TOS field
-v        verbose mode
-x        expand numbers (display exact values)
-y        match TCP packets only when SYN set and ACK cleared


Back to Article




MarketPlace

NEW! Numara FootPrints 9 - Service Desk Management
IT Service Management that Delivers. Real Value. Real Flexibility. Real Results. Free Demo.

Online Crash Analysis
Automatically capture customer crash data, no debugger required. Support for .NET, C++, OS X, Java.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Visit Dell� Small and Medium Business Online Store
One Stop to Buy All Your Business IT Solutions. Browse Through Dell's Best Deals Online Now!

Wanna see your ad here?