| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: ipftest.1,v 1.7 2006/04/04 16:17:18 martti Exp $ | | 1 | .\" $NetBSD: ipftest.1,v 1.8 2011/01/21 09:15:20 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .TH ipftest 1 | | 3 | .TH ipftest 1 |
4 | .SH NAME | | 4 | .SH NAME |
5 | ipftest \- test packet filter rules with arbitrary input. | | 5 | ipftest \- test packet filter rules with arbitrary input. |
6 | .SH SYNOPSIS | | 6 | .SH SYNOPSIS |
7 | .B ipftest | | 7 | .B ipftest |
8 | [ | | 8 | [ |
9 | .B \-6bCdDoRvx | | 9 | .B \-6bCdDoRvx |
10 | ] [ | | 10 | ] [ |
11 | .B \-F | | 11 | .B \-F |
12 | input-format | | 12 | input-format |
13 | ] [ | | 13 | ] [ |
14 | .B \-i | | 14 | .B \-i |
| @@ -168,27 +168,27 @@ Save output packets that would have been | | | @@ -168,27 +168,27 @@ Save output packets that would have been |
168 | a file /tmp/\fIinterface_name\fP in raw format. | | 168 | a file /tmp/\fIinterface_name\fP in raw format. |
169 | .TP | | 169 | .TP |
170 | .BR \-P \0<filename> | | 170 | .BR \-P \0<filename> |
171 | Read IP pool configuration information in \fBippool\fP(5) format from the | | 171 | Read IP pool configuration information in \fBippool\fP(5) format from the |
172 | specified file. | | 172 | specified file. |
173 | .TP | | 173 | .TP |
174 | .BR \-r \0<filename> | | 174 | .BR \-r \0<filename> |
175 | Specify the filename from which to read filter rules in \fBipf\fP(5) format. | | 175 | Specify the filename from which to read filter rules in \fBipf\fP(5) format. |
176 | .TP | | 176 | .TP |
177 | .B \-R | | 177 | .B \-R |
178 | Don't attempt to convert IP addresses to hostnames. | | 178 | Don't attempt to convert IP addresses to hostnames. |
179 | .TP | | 179 | .TP |
180 | .BR \-S \0<ip_address> | | 180 | .BR \-S \0<ip_address> |
181 | The IP address specifived with this option is used by ipftest to determine | | 181 | The IP address specified with this option is used by ipftest to determine |
182 | whether a packet should be treated as "input" or "output". If the source | | 182 | whether a packet should be treated as "input" or "output". If the source |
183 | address in an IP packet matches then it is considered to be inbound. If it | | 183 | address in an IP packet matches then it is considered to be inbound. If it |
184 | does not match then it is considered to be outbound. This is primarily | | 184 | does not match then it is considered to be outbound. This is primarily |
185 | for use with tcpdump (pcap) files where there is no in/out information | | 185 | for use with tcpdump (pcap) files where there is no in/out information |
186 | saved with each packet. | | 186 | saved with each packet. |
187 | .TP | | 187 | .TP |
188 | .BR \-T \0<optionlist> | | 188 | .BR \-T \0<optionlist> |
189 | This option simulates the run-time changing of IPFilter kernel variables | | 189 | This option simulates the run-time changing of IPFilter kernel variables |
190 | available with the \fB\-T\fP option of \fBipf\fP. | | 190 | available with the \fB\-T\fP option of \fBipf\fP. |
191 | The optionlist parameter is a comma separated list of tuning | | 191 | The optionlist parameter is a comma separated list of tuning |
192 | commands. A tuning command is either "list" (retrieve a list of all variables | | 192 | commands. A tuning command is either "list" (retrieve a list of all variables |
193 | in the kernel, their maximum, minimum and current value), a single variable | | 193 | in the kernel, their maximum, minimum and current value), a single variable |
194 | name (retrieve its current value) and a variable name with a following | | 194 | name (retrieve its current value) and a variable name with a following |