diff options
author | Darren Reed <darrenr@FreeBSD.org> | 2002-06-07 09:01:41 +0000 |
---|---|---|
committer | Darren Reed <darrenr@FreeBSD.org> | 2002-06-07 09:01:41 +0000 |
commit | edf0752ebe776afed540c804c3f5b2c276fd7341 (patch) | |
tree | 7f5d814cf49593c349eab3bf708f8d18f9e0a015 /contrib/ipfilter/man | |
parent | 47ec634d3e42616e6d063177ad55550f8f78b57f (diff) | |
download | src-edf0752ebe776afed540c804c3f5b2c276fd7341.tar.gz src-edf0752ebe776afed540c804c3f5b2c276fd7341.zip |
Commit changes that happened in IPFilter versions 3.4.27 - 3.4.28
Notes
Notes:
svn path=/head/; revision=98011
Diffstat (limited to 'contrib/ipfilter/man')
-rw-r--r-- | contrib/ipfilter/man/ipftest.1 | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/contrib/ipfilter/man/ipftest.1 b/contrib/ipfilter/man/ipftest.1 index eadd7866dbeb..9d2965b082df 100644 --- a/contrib/ipfilter/man/ipftest.1 +++ b/contrib/ipfilter/man/ipftest.1 @@ -1,10 +1,11 @@ +.\" $FreeBSD$ .TH ipftest 1 .SH NAME ipftest \- test packet filter rules with arbitrary input. .SH SYNOPSIS .B ipftest [ -.B \-vbdPSTEHX +.B \-vbdPRSTEHX ] [ .B \-I interface @@ -76,6 +77,10 @@ The input file specified by \fB\-i\fP is a binary file produced using libpcap (i.e., tcpdump version 3). Packets are read from this file as being input (for rule purposes). An interface maybe specified using \fB\-I\fP. .TP +.B \-R +Remove rules rather than load them. This is not a toggle option, so once +set, it cannot be reset by further use of -R. +.TP .B \-S The input file is to be in "snoop" format (see RFC 1761). Packets are read from this file and used as input from any interface. This is perhaps the @@ -98,7 +103,12 @@ option combinations: .B \-H The input file is to be hex digits, representing the binary makeup of the packet. No length correction is made, if an incorrect length is put in -the IP header. +the IP header. A packet may be broken up over several lines of hex digits, +a blank line indicating the end of the packet. It is possible to specify +both the interface name and direction of the packet (for filtering purposes) +at the start of the line using this format: [direction,interface] To define +a packet going in on le0, we would use \fB[in,le0]\fP - the []'s are required +and part of the input syntax. .TP .B \-X The input file is composed of text descriptions of IP packets. |