blob: 083c46981acdfc7886db9a1132ed63967cfd39b8 [file] [log] [blame]
Hervé Eychenne9e518062002-03-14 09:25:40 +00001.TH IPTABLES 8 "Mar 09, 2002" "" ""
Marc Bouchere6869a82000-03-20 06:03:29 +00002.\"
Hervé Eychenne9e518062002-03-14 09:25:40 +00003.\" Man page written by Herve Eychenne <rv@wallfire.org> (May 1999)
4.\" It is based on ipchains page.
Hervé Eychennecea2ca32002-05-27 11:16:09 +00005.\" TODO: add a word for protocol helpers (FTP, IRC, SNMP-ALG)
Marc Bouchere6869a82000-03-20 06:03:29 +00006.\"
7.\" ipchains page by Paul ``Rusty'' Russell March 1997
Hervé Eychenne9e518062002-03-14 09:25:40 +00008.\" Based on the original ipfwadm man page by Jos Vos <jos@xos.nl>
Marc Bouchere6869a82000-03-20 06:03:29 +00009.\"
10.\" This program is free software; you can redistribute it and/or modify
11.\" it under the terms of the GNU General Public License as published by
12.\" the Free Software Foundation; either version 2 of the License, or
13.\" (at your option) any later version.
14.\"
15.\" This program is distributed in the hope that it will be useful,
16.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18.\" GNU General Public License for more details.
19.\"
20.\" You should have received a copy of the GNU General Public License
21.\" along with this program; if not, write to the Free Software
22.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23.\"
24.\"
25.SH NAME
Hervé Eychennecea2ca32002-05-27 11:16:09 +000026iptables \- administration tool for IPv4 packet filtering and NAT
Marc Bouchere6869a82000-03-20 06:03:29 +000027.SH SYNOPSIS
Hervé Eychennee644cb02002-06-22 18:23:48 +000028.BR "iptables [-t table] -[ADC] " "chain rule-specification [options]"
Marc Bouchere6869a82000-03-20 06:03:29 +000029.br
Hervé Eychennee644cb02002-06-22 18:23:48 +000030.BR "iptables [-t table] -I " "chain [rulenum] rule-specification [options]"
Hervé Eychenne9e518062002-03-14 09:25:40 +000031.br
Hervé Eychennee644cb02002-06-22 18:23:48 +000032.BR "iptables [-t table] -R " "chain rulenum rule-specification [options]"
Marc Bouchere6869a82000-03-20 06:03:29 +000033.br
Hervé Eychennee644cb02002-06-22 18:23:48 +000034.BR "iptables [-t table] -D " "chain rulenum [options]"
Marc Bouchere6869a82000-03-20 06:03:29 +000035.br
Hervé Eychennee644cb02002-06-22 18:23:48 +000036.BR "iptables [-t table] -[LFZ] " "[chain] [options]"
Marc Bouchere6869a82000-03-20 06:03:29 +000037.br
Hervé Eychennee644cb02002-06-22 18:23:48 +000038.BR "iptables [-t table] -N " "chain"
Hervé Eychenne9e518062002-03-14 09:25:40 +000039.br
Hervé Eychennee644cb02002-06-22 18:23:48 +000040.BR "iptables [-t table] -X " "[chain]"
Marc Bouchere6869a82000-03-20 06:03:29 +000041.br
Hervé Eychennee644cb02002-06-22 18:23:48 +000042.BR "iptables [-t table] -P " "chain target [options]"
Marc Bouchere6869a82000-03-20 06:03:29 +000043.br
Hervé Eychennee644cb02002-06-22 18:23:48 +000044.BR "iptables [-t table] -E " "old-chain-name new-chain-name"
Marc Bouchere6869a82000-03-20 06:03:29 +000045.SH DESCRIPTION
46.B Iptables
47is used to set up, maintain, and inspect the tables of IP packet
Harald Welte0112abb2001-02-19 21:48:13 +000048filter rules in the Linux kernel. Several different tables
49may be defined. Each table contains a number of built-in
50chains and may also contain user-defined chains.
Marc Bouchere6869a82000-03-20 06:03:29 +000051
Harald Welte0112abb2001-02-19 21:48:13 +000052Each chain is a list of rules which can match a set of packets. Each
53rule specifies what to do with a packet that matches. This is called
Marc Bouchere6869a82000-03-20 06:03:29 +000054a `target', which may be a jump to a user-defined chain in the same
55table.
56
57.SH TARGETS
58A firewall rule specifies criteria for a packet, and a target. If the
59packet does not match, the next rule in the chain is the examined; if
60it does match, then the next rule is specified by the value of the
Harald Welte0112abb2001-02-19 21:48:13 +000061target, which can be the name of a user-defined chain or one of the
Marc Bouchere6869a82000-03-20 06:03:29 +000062special values
63.IR ACCEPT ,
64.IR DROP ,
65.IR QUEUE ,
66or
67.IR RETURN .
68.PP
69.I ACCEPT
70means to let the packet through.
71.I DROP
72means to drop the packet on the floor.
73.I QUEUE
Rusty Russell363112d2000-08-11 13:49:26 +000074means to pass the packet to userspace (if supported by the kernel).
Marc Bouchere6869a82000-03-20 06:03:29 +000075.I RETURN
Harald Welte0112abb2001-02-19 21:48:13 +000076means stop traversing this chain and resume at the next rule in the
77previous (calling) chain. If the end of a built-in chain is reached
Marc Bouchere6869a82000-03-20 06:03:29 +000078or a rule in a built-in chain with target
79.I RETURN
80is matched, the target specified by the chain policy determines the
81fate of the packet.
82.SH TABLES
Hervé Eychennee644cb02002-06-22 18:23:48 +000083There are currently three independent tables (which tables are present
Rusty Russell363112d2000-08-11 13:49:26 +000084at any time depends on the kernel configuration options and which
85modules are present).
Marc Bouchere6869a82000-03-20 06:03:29 +000086.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +000087.BI "-t, --table " "table"
Marc Bouchere6869a82000-03-20 06:03:29 +000088This option specifies the packet matching table which the command
89should operate on. If the kernel is configured with automatic module
90loading, an attempt will be made to load the appropriate module for
91that table if it is not already there.
92
93The tables are as follows:
Harald Welte87d4be42001-07-05 06:26:37 +000094.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +000095.B "filter"
Hervé Eychennee644cb02002-06-22 18:23:48 +000096This is the default table (if no -t option is passed). It contains
97the built-in chains
Hervé Eychennecea2ca32002-05-27 11:16:09 +000098.B INPUT
99(for packets coming into the box itself),
100.B FORWARD
101(for packets being routed through the box), and
102.B OUTPUT
103(for locally-generated packets).
Harald Welte87d4be42001-07-05 06:26:37 +0000104.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000105.B "nat"
Harald Welte0112abb2001-02-19 21:48:13 +0000106This table is consulted when a packet that creates a new
Hervé Eychennecea2ca32002-05-27 11:16:09 +0000107connection is encountered. It consists of three built-ins:
108.B PREROUTING
109(for altering packets as soon as they come in),
110.B OUTPUT
111(for altering locally-generated packets before routing), and
112.B POSTROUTING
113(for altering packets as they are about to go out).
Harald Welte87d4be42001-07-05 06:26:37 +0000114.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000115.B "mangle"
116This table is used for specialized packet alteration. Until kernel
Hervé Eychennecea2ca32002-05-27 11:16:09 +00001172.4.17 it had two built-in chains:
118.B PREROUTING
119(for altering incoming packets before routing) and
120.B OUTPUT
121(for altering locally-generated packets before routing).
122Since kernel 2.4.18, three other built-in chains are also supported:
123.B INPUT
124(for packets coming into the box itself),
125.B FORWARD
126(for altering packets being routed through the box), and
127.B POSTROUTING
128(for altering packets as they are about to go out).
Marc Bouchere6869a82000-03-20 06:03:29 +0000129.SH OPTIONS
130The options that are recognized by
131.B iptables
132can be divided into several different groups.
133.SS COMMANDS
Harald Welte0112abb2001-02-19 21:48:13 +0000134These options specify the specific action to perform. Only one of them
135can be specified on the command line unless otherwise specified
Marc Bouchere6869a82000-03-20 06:03:29 +0000136below. For all the long versions of the command and option names, you
Harald Welte0112abb2001-02-19 21:48:13 +0000137need to use only enough letters to ensure that
Marc Bouchere6869a82000-03-20 06:03:29 +0000138.B iptables
139can differentiate it from all other options.
140.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000141.BI "-A, --append " "chain rule-specification"
Marc Bouchere6869a82000-03-20 06:03:29 +0000142Append one or more rules to the end of the selected chain.
143When the source and/or destination names resolve to more than one
144address, a rule will be added for each possible address combination.
145.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000146.BI "-D, --delete " "chain rule-specification"
147.ns
148.TP
149.BI "-D, --delete " "chain rulenum"
Marc Bouchere6869a82000-03-20 06:03:29 +0000150Delete one or more rules from the selected chain. There are two
151versions of this command: the rule can be specified as a number in the
152chain (starting at 1 for the first rule) or a rule to match.
153.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000154.BR "-I, --insert " "\fIchain\fP [\fIrulenum\fP] \fIrule-specification\fP"
Marc Bouchere6869a82000-03-20 06:03:29 +0000155Insert one or more rules in the selected chain as the given rule
156number. So, if the rule number is 1, the rule or rules are inserted
157at the head of the chain. This is also the default if no rule number
158is specified.
159.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000160.BI "-R, --replace " "chain rulenum rule-specification"
161Replace a rule in the selected chain. If the source and/or
162destination names resolve to multiple addresses, the command will
163fail. Rules are numbered starting at 1.
164.TP
165.BR "-L, --list " "[\fIchain\fP]"
Marc Bouchere6869a82000-03-20 06:03:29 +0000166List all rules in the selected chain. If no chain is selected, all
Hervé Eychenne9e518062002-03-14 09:25:40 +0000167chains are listed. As every other iptables command, it applies to the
168specified table (filter is the default), so NAT rules get listed by
169.br
170 iptables -t nat -n -L
171.br
172Please note that it is often used with the
173.B -n
174option, in order to avoid long reverse DNS lookups.
175It is legal to specify the
Marc Bouchere6869a82000-03-20 06:03:29 +0000176.B -Z
177(zero) option as well, in which case the chain(s) will be atomically
Harald Welte0112abb2001-02-19 21:48:13 +0000178listed and zeroed. The exact output is affected by the other
Marc Bouchere6869a82000-03-20 06:03:29 +0000179arguments given.
180.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000181.BR "-F, --flush " "[\fIchain\fP]"
182Flush the selected chain (all the chains in the table if none is given).
183This is equivalent to deleting all the rules one by one.
Marc Bouchere6869a82000-03-20 06:03:29 +0000184.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000185.BR "-Z, --zero " "[\fIchain\fP]"
Marc Bouchere6869a82000-03-20 06:03:29 +0000186Zero the packet and byte counters in all chains. It is legal to
187specify the
188.B "-L, --list"
189(list) option as well, to see the counters immediately before they are
Harald Welte0112abb2001-02-19 21:48:13 +0000190cleared. (See above.)
Marc Bouchere6869a82000-03-20 06:03:29 +0000191.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000192.BI "-N, --new-chain " "chain"
Harald Welte0112abb2001-02-19 21:48:13 +0000193Create a new user-defined chain by the given name. There must be no
Marc Bouchere6869a82000-03-20 06:03:29 +0000194target of that name already.
195.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000196.BR "-X, --delete-chain " "[\fIchain\fP]"
197Delete the optional user-defined chain specified. There must be no references
Harald Welte0112abb2001-02-19 21:48:13 +0000198to the chain. If there are, you must delete or replace the referring
199rules before the chain can be deleted. If no argument is given, it
Rusty Russell363112d2000-08-11 13:49:26 +0000200will attempt to delete every non-builtin chain in the table.
Marc Bouchere6869a82000-03-20 06:03:29 +0000201.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000202.BI "-P, --policy " "chain target"
Marc Bouchere6869a82000-03-20 06:03:29 +0000203Set the policy for the chain to the given target. See the section
Rusty Russell363112d2000-08-11 13:49:26 +0000204.B TARGETS
Hervé Eychenne9e518062002-03-14 09:25:40 +0000205for the legal targets. Only built-in (non-user-defined) chains can have
206policies, and neither built-in nor user-defined chains can be policy
207targets.
Marc Bouchere6869a82000-03-20 06:03:29 +0000208.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000209.BI "-E, --rename-chain " "old-chain new-chain"
Harald Welte0112abb2001-02-19 21:48:13 +0000210Rename the user specified chain to the user supplied name. This is
Marc Bouchere6869a82000-03-20 06:03:29 +0000211cosmetic, and has no effect on the structure of the table.
Marc Bouchere6869a82000-03-20 06:03:29 +0000212.TP
213.B -h
214Help.
215Give a (currently very brief) description of the command syntax.
216.SS PARAMETERS
217The following parameters make up a rule specification (as used in the
Harald Welte0112abb2001-02-19 21:48:13 +0000218add, delete, insert, replace and append commands).
Marc Bouchere6869a82000-03-20 06:03:29 +0000219.TP
Rusty Russell2e0a3212000-04-19 11:23:18 +0000220.BR "-p, --protocol " "[!] \fIprotocol\fP"
Marc Bouchere6869a82000-03-20 06:03:29 +0000221The protocol of the rule or of the packet to check.
222The specified protocol can be one of
223.IR tcp ,
224.IR udp ,
225.IR icmp ,
226or
227.IR all ,
228or it can be a numeric value, representing one of these protocols or a
Rusty Russell363112d2000-08-11 13:49:26 +0000229different one. A protocol name from /etc/protocols is also allowed.
Marc Bouchere6869a82000-03-20 06:03:29 +0000230A "!" argument before the protocol inverts the
231test. The number zero is equivalent to
232.IR all .
233Protocol
234.I all
235will match with all protocols and is taken as default when this
236option is omitted.
Marc Bouchere6869a82000-03-20 06:03:29 +0000237.TP
238.BR "-s, --source " "[!] \fIaddress\fP[/\fImask\fP]"
239Source specification.
240.I Address
Hervé Eychenne9e518062002-03-14 09:25:40 +0000241can be either a network name, a hostname (please note that specifying
242any name to be resolved with a remote query such as DNS is a really bad idea),
243a network IP address (with /mask), or a plain IP address.
Marc Bouchere6869a82000-03-20 06:03:29 +0000244The
245.I mask
246can be either a network mask or a plain number,
247specifying the number of 1's at the left side of the network mask.
248Thus, a mask of
249.I 24
250is equivalent to
251.IR 255.255.255.0 .
252A "!" argument before the address specification inverts the sense of
253the address. The flag
254.B --src
Hervé Eychenne9e518062002-03-14 09:25:40 +0000255is an alias for this option.
Marc Bouchere6869a82000-03-20 06:03:29 +0000256.TP
257.BR "-d, --destination " "[!] \fIaddress\fP[/\fImask\fP]"
258Destination specification.
259See the description of the
260.B -s
261(source) flag for a detailed description of the syntax. The flag
262.B --dst
263is an alias for this option.
264.TP
265.BI "-j, --jump " "target"
Harald Welte0112abb2001-02-19 21:48:13 +0000266This specifies the target of the rule; i.e., what to do if the packet
267matches it. The target can be a user-defined chain (other than the
268one this rule is in), one of the special builtin targets which decide
269the fate of the packet immediately, or an extension (see
Marc Bouchere6869a82000-03-20 06:03:29 +0000270.B EXTENSIONS
271below). If this
272option is omitted in a rule, then matching the rule will have no
273effect on the packet's fate, but the counters on the rule will be
274incremented.
275.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000276.BR "-i, --in-interface " "[!] \fIname\fP"
277Name of an interface via which a packet is going to be received (only for
Marc Bouchere6869a82000-03-20 06:03:29 +0000278packets entering the
279.BR INPUT ,
280.B FORWARD
281and
282.B PREROUTING
283chains). When the "!" argument is used before the interface name, the
284sense is inverted. If the interface name ends in a "+", then any
285interface which begins with this name will match. If this option is
Hervé Eychenne9e518062002-03-14 09:25:40 +0000286omitted, any interface name will match.
Marc Bouchere6869a82000-03-20 06:03:29 +0000287.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000288.BR "-o, --out-interface " "[!] \fIname\fP"
289Name of an interface via which a packet is going to be sent (for packets
290entering the
Marc Bouchere6869a82000-03-20 06:03:29 +0000291.BR FORWARD ,
292.B OUTPUT
293and
294.B POSTROUTING
Hervé Eychenne9e518062002-03-14 09:25:40 +0000295chains). When the "!" argument is used before the interface name, the
296sense is inverted. If the interface name ends in a "+", then any
Marc Bouchere6869a82000-03-20 06:03:29 +0000297interface which begins with this name will match. If this option is
Hervé Eychenne9e518062002-03-14 09:25:40 +0000298omitted, any interface name will match.
Marc Bouchere6869a82000-03-20 06:03:29 +0000299.TP
300.B "[!] " "-f, --fragment"
301This means that the rule only refers to second and further fragments
302of fragmented packets. Since there is no way to tell the source or
303destination ports of such a packet (or ICMP type), such a packet will
304not match any rules which specify them. When the "!" argument
Rusty Russell363112d2000-08-11 13:49:26 +0000305precedes the "-f" flag, the rule will only match head fragments, or
306unfragmented packets.
Harald Welteccd49e52001-01-23 22:54:34 +0000307.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000308.BI "-c, --set-counters " "PKTS BYTES"
Fabrice MARIEb0d84602002-06-14 07:39:58 +0000309This enables the administrator to initialize the packet and byte
Harald Welteccd49e52001-01-23 22:54:34 +0000310counters of a rule (during
311.B INSERT,
312.B APPEND,
313.B REPLACE
Hervé Eychenne9e518062002-03-14 09:25:40 +0000314operations).
Marc Bouchere6869a82000-03-20 06:03:29 +0000315.SS "OTHER OPTIONS"
316The following additional options can be specified:
317.TP
318.B "-v, --verbose"
319Verbose output. This option makes the list command show the interface
320address, the rule options (if any), and the TOS masks. The packet and
321byte counters are also listed, with the suffix 'K', 'M' or 'G' for
3221000, 1,000,000 and 1,000,000,000 multipliers respectively (but see
323the
324.B -x
325flag to change this).
326For appending, insertion, deletion and replacement, this causes
327detailed information on the rule or rules to be printed.
328.TP
329.B "-n, --numeric"
330Numeric output.
331IP addresses and port numbers will be printed in numeric format.
332By default, the program will try to display them as host names,
333network names, or services (whenever applicable).
334.TP
335.B "-x, --exact"
336Expand numbers.
337Display the exact value of the packet and byte counters,
338instead of only the rounded number in K's (multiples of 1000)
339M's (multiples of 1000K) or G's (multiples of 1000M). This option is
Marc Boucherf127a192000-03-20 08:32:15 +0000340only relevant for the
Marc Bouchere6869a82000-03-20 06:03:29 +0000341.B -L
342command.
343.TP
344.B "--line-numbers"
345When listing rules, add line numbers to the beginning of each rule,
346corresponding to that rule's position in the chain.
Chapman Brad45493a82001-02-23 09:08:13 +0000347.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000348.B "--modprobe=command"
Chapman Brad45493a82001-02-23 09:08:13 +0000349When adding or inserting rules into a chain, use
350.B command
351to load any necessary modules (targets, match extensions, etc).
Marc Bouchere6869a82000-03-20 06:03:29 +0000352.SH MATCH EXTENSIONS
Rusty Russell363112d2000-08-11 13:49:26 +0000353iptables can use extended packet matching modules. These are loaded
354in two ways: implicitly, when
355.B -p
356or
357.B --protocol
358is specified, or with the
359.B -m
360or
361.B --match
362options, followed by the matching module name; after these, various
363extra command line options become available, depending on the specific
Hervé Eychenne9e518062002-03-14 09:25:40 +0000364module. You can specify multiple extended match modules in one line,
365and you can use the
Rusty Russell363112d2000-08-11 13:49:26 +0000366.B -h
367or
368.B --help
369options after the module has been specified to receive help specific
370to that module.
371
372The following are included in the base package, and most of these can
373be preceded by a
Marc Bouchere6869a82000-03-20 06:03:29 +0000374.B !
375to invert the sense of the match.
376.SS tcp
Rusty Russell363112d2000-08-11 13:49:26 +0000377These extensions are loaded if `--protocol tcp' is specified. It
378provides the following options:
Marc Bouchere6869a82000-03-20 06:03:29 +0000379.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000380.BR "--source-port " "[!] \fIport\fP[:\fIport\fP]"
Marc Bouchere6869a82000-03-20 06:03:29 +0000381Source port or port range specification. This can either be a service
382name or a port number. An inclusive range can also be specified,
383using the format
James Morris59e90fd2000-06-23 16:44:47 +0000384.IR port : port .
Marc Bouchere6869a82000-03-20 06:03:29 +0000385If the first port is omitted, "0" is assumed; if the last is omitted,
386"65535" is assumed.
387If the second port greater then the first they will be swapped.
388The flag
389.B --sport
Hervé Eychenne9e518062002-03-14 09:25:40 +0000390is a convenient alias for this option.
Marc Bouchere6869a82000-03-20 06:03:29 +0000391.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000392.BR "--destination-port " "[!] \fIport\fP[:\fIport\fP]"
393Destination port or port range specification. The flag
Marc Bouchere6869a82000-03-20 06:03:29 +0000394.B --dport
Hervé Eychenne9e518062002-03-14 09:25:40 +0000395is a convenient alias for this option.
Marc Bouchere6869a82000-03-20 06:03:29 +0000396.TP
397.BR "--tcp-flags " "[!] \fImask\fP \fIcomp\fP"
398Match when the TCP flags are as specified. The first argument is the
399flags which we should examine, written as a comma-separated list, and
400the second argument is a comma-separated list of flags which must be
401set. Flags are:
402.BR "SYN ACK FIN RST URG PSH ALL NONE" .
403Hence the command
404.br
Marc Boucherf127a192000-03-20 08:32:15 +0000405 iptables -A FORWARD -p tcp --tcp-flags SYN,ACK,FIN,RST SYN
Marc Bouchere6869a82000-03-20 06:03:29 +0000406.br
407will only match packets with the SYN flag set, and the ACK, FIN and
408RST flags unset.
409.TP
410.B "[!] --syn"
411Only match TCP packets with the SYN bit set and the ACK and FIN bits
412cleared. Such packets are used to request TCP connection initiation;
413for example, blocking such packets coming in an interface will prevent
414incoming TCP connections, but outgoing TCP connections will be
415unaffected.
416It is equivalent to \fB--tcp-flags SYN,RST,ACK SYN\fP.
417If the "!" flag precedes the "--syn", the sense of the
418option is inverted.
419.TP
420.BR "--tcp-option " "[!] \fInumber\fP"
421Match if TCP option set.
Hervé Eychenne9e518062002-03-14 09:25:40 +0000422.TP
423.BR "--mss " "\fIvalue\fP[:\fIvalue\fP]"
424Match TCP SYN or SYN/ACK packets with the specified MSS value (or range),
425which control the maximum packet size for that connection.
Marc Bouchere6869a82000-03-20 06:03:29 +0000426.SS udp
Rusty Russell363112d2000-08-11 13:49:26 +0000427These extensions are loaded if `--protocol udp' is specified. It
428provides the following options:
Marc Bouchere6869a82000-03-20 06:03:29 +0000429.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000430.BR "--source-port " "[!] \fIport\fP[:\fIport\fP]"
Marc Bouchere6869a82000-03-20 06:03:29 +0000431Source port or port range specification.
432See the description of the
433.B --source-port
434option of the TCP extension for details.
435.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000436.BR "--destination-port " "[!] \fIport\fP[:\fIport\fP]"
Marc Bouchere6869a82000-03-20 06:03:29 +0000437Destination port or port range specification.
438See the description of the
439.B --destination-port
440option of the TCP extension for details.
441.SS icmp
Rusty Russell363112d2000-08-11 13:49:26 +0000442This extension is loaded if `--protocol icmp' is specified. It
443provides the following option:
Marc Bouchere6869a82000-03-20 06:03:29 +0000444.TP
445.BR "--icmp-type " "[!] \fItypename\fP"
446This allows specification of the ICMP type, which can be a numeric
447ICMP type, or one of the ICMP type names shown by the command
448.br
449 iptables -p icmp -h
450.br
451.SS mac
452.TP
453.BR "--mac-source " "[!] \fIaddress\fP"
454Match source MAC address. It must be of the form XX:XX:XX:XX:XX:XX.
Hervé Eychenne9e518062002-03-14 09:25:40 +0000455Note that this only makes sense for packets coming from an Ethernet device
456and entering the
Marc Bouchere6869a82000-03-20 06:03:29 +0000457.BR PREROUTING ,
Rusty Russell4b3c03d2000-07-03 10:11:55 +0000458.B FORWARD
Marc Bouchere6869a82000-03-20 06:03:29 +0000459or
460.B INPUT
Hervé Eychenne9e518062002-03-14 09:25:40 +0000461chains.
Marc Bouchere6869a82000-03-20 06:03:29 +0000462.SS limit
Hervé Eychenne9e518062002-03-14 09:25:40 +0000463This module matches at a limited rate using a token bucket filter.
464A rule using this extension will match until this limit is reached
465(unless the `!' flag is used). It can be used in combination with the
Rusty Russell363112d2000-08-11 13:49:26 +0000466.B LOG
Hervé Eychenne9e518062002-03-14 09:25:40 +0000467target to give limited logging, for example.
Marc Bouchere6869a82000-03-20 06:03:29 +0000468.TP
469.BI "--limit " "rate"
470Maximum average matching rate: specified as a number, with an optional
471`/second', `/minute', `/hour', or `/day' suffix; the default is
4723/hour.
473.TP
474.BI "--limit-burst " "number"
Hervé Eychenne9e518062002-03-14 09:25:40 +0000475Maximum initial number of packets to match: this number gets
Marc Bouchere6869a82000-03-20 06:03:29 +0000476recharged by one every time the limit specified above is not reached,
477up to this number; the default is 5.
478.SS multiport
Hervé Eychenne9e518062002-03-14 09:25:40 +0000479This module matches a set of source or destination ports. Up to 15
480ports can be specified. It can only be used in conjunction with
Marc Bouchere6869a82000-03-20 06:03:29 +0000481.B "-p tcp"
482or
483.BR "-p udp" .
484.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000485.BR "--source-ports " "\fIport\fP[,\fIport\fP[,\fIport\fP...]]"
486Match if the source port is one of the given ports. The flag
487.B --sports
488is a convenient alias for this option.
Marc Bouchere6869a82000-03-20 06:03:29 +0000489.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000490.BR "--destination-ports " "\fIport\fP[,\fIport\fP[,\fIport\fP...]]"
491Match if the destination port is one of the given ports. The flag
492.B --dports
493is a convenient alias for this option.
Marc Bouchere6869a82000-03-20 06:03:29 +0000494.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000495.BR "--ports " "\fIport\fP[,\fIport\fP[,\fIport\fP...]]"
Marc Bouchere6869a82000-03-20 06:03:29 +0000496Match if the both the source and destination ports are equal to each
497other and to one of the given ports.
498.SS mark
499This module matches the netfilter mark field associated with a packet
500(which can be set using the
501.B MARK
502target below).
503.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000504.BR "--mark " "\fIvalue\fP[/\fImask\fP]"
Marc Bouchere6869a82000-03-20 06:03:29 +0000505Matches packets with the given unsigned mark value (if a mask is
Harald Welte87d4be42001-07-05 06:26:37 +0000506specified, this is logically ANDed with the mask before the
Marc Bouchere6869a82000-03-20 06:03:29 +0000507comparison).
508.SS owner
509This module attempts to match various characteristics of the packet
510creator, for locally-generated packets. It is only valid in the
Rusty Russell363112d2000-08-11 13:49:26 +0000511.B OUTPUT
512chain, and even this some packets (such as ICMP ping responses) may
513have no owner, and hence never match.
Marc Bouchere6869a82000-03-20 06:03:29 +0000514.TP
Bert Hubert20ecf7a2000-03-24 01:56:37 +0000515.BI "--uid-owner " "userid"
Marc Bouchere6869a82000-03-20 06:03:29 +0000516Matches if the packet was created by a process with the given
517effective user id.
518.TP
Bert Hubert20ecf7a2000-03-24 01:56:37 +0000519.BI "--gid-owner " "groupid"
Marc Bouchere6869a82000-03-20 06:03:29 +0000520Matches if the packet was created by a process with the given
521effective group id.
522.TP
Bert Hubert20ecf7a2000-03-24 01:56:37 +0000523.BI "--pid-owner " "processid"
Marc Bouchere6869a82000-03-20 06:03:29 +0000524Matches if the packet was created by a process with the given
525process id.
526.TP
Bert Hubert20ecf7a2000-03-24 01:56:37 +0000527.BI "--sid-owner " "sessionid"
Marc Bouchere6869a82000-03-20 06:03:29 +0000528Matches if the packet was created by a process in the given session
529group.
Marc Boucherf5c32d62002-01-19 12:46:04 +0000530.TP
531.BI "--cmd-owner " "name"
532Matches if the packet was created by a process with the given command name.
533(this option is present only if iptables was compiled under a kernel
534supporting this feature)
Marc Bouchere6869a82000-03-20 06:03:29 +0000535.SS state
536This module, when combined with connection tracking, allows access to
537the connection tracking state for this packet.
538.TP
Bert Hubert20ecf7a2000-03-24 01:56:37 +0000539.BI "--state " "state"
Marc Bouchere6869a82000-03-20 06:03:29 +0000540Where state is a comma separated list of the connection states to
541match. Possible states are
542.B INVALID
543meaning that the packet is associated with no known connection,
544.B ESTABLISHED
545meaning that the packet is associated with a connection which has seen
546packets in both directions,
547.B NEW
548meaning that the packet has started a new connection, or otherwise
549associated with a connection which has not seen packets in both
550directions, and
551.B RELATED
552meaning that the packet is starting a new connection, but is
553associated with an existing connection, such as an FTP data transfer,
554or an ICMP error.
Marc Bouchere6869a82000-03-20 06:03:29 +0000555.SS tos
556This module matches the 8 bits of Type of Service field in the IP
557header (ie. including the precedence bits).
558.TP
Bert Hubert20ecf7a2000-03-24 01:56:37 +0000559.BI "--tos " "tos"
Marc Bouchere6869a82000-03-20 06:03:29 +0000560The argument is either a standard name, (use
561.br
562 iptables -m tos -h
563.br
564to see the list), or a numeric value to match.
Hervé Eychenne9e518062002-03-14 09:25:40 +0000565.SS ah
566This module matches the SPIs in AH header of IPSec packets.
567.TP
568.BR "--ahspi " "[!] \fIspi\fP[:\fIspi\fP]"
569.SS esp
570This module matches the SPIs in ESP header of IPSec packets.
571.TP
572.BR "--espspi " "[!] \fIspi\fP[:\fIspi\fP]"
573.SS length
574This module matches the length of a packet against a specific value
575or range of values.
576.TP
577.BR "--length " "\fIlength\fP[:\fIlength\fP]"
578.SS ttl
579This module matches the time to live field in the IP header.
580.TP
581.BI "--ttl " "ttl"
582Matches the given TTL value.
Hervé Eychenne9e518062002-03-14 09:25:40 +0000583.SS unclean
584This module takes no options, but attempts to match packets which seem
585malformed or unusual. This is regarded as experimental.
Marc Bouchere6869a82000-03-20 06:03:29 +0000586.SH TARGET EXTENSIONS
587iptables can use extended target modules: the following are included
588in the standard distribution.
589.SS LOG
590Turn on kernel logging of matching packets. When this option is set
591for a rule, the Linux kernel will print some information on all
Rusty Russell363112d2000-08-11 13:49:26 +0000592matching packets (like most IP header fields) via the kernel log
593(where it can be read with
594.I dmesg
595or
596.IR syslogd (8)).
Hervé Eychenne9e518062002-03-14 09:25:40 +0000597This is a "non-terminating target", i.e. rule traversal continues at
598the next rule. So if you want to LOG the packets you refuse, use two
Hervé Eychennee644cb02002-06-22 18:23:48 +0000599separate rules with the same matching criteria, first using target LOG
Hervé Eychenne9e518062002-03-14 09:25:40 +0000600then DROP (or REJECT).
Marc Bouchere6869a82000-03-20 06:03:29 +0000601.TP
602.BI "--log-level " "level"
603Level of logging (numeric or see \fIsyslog.conf\fP(5)).
604.TP
605.BI "--log-prefix " "prefix"
Rusty Russellf81427e2000-09-13 04:20:38 +0000606Prefix log messages with the specified prefix; up to 29 letters long,
Marc Bouchere6869a82000-03-20 06:03:29 +0000607and useful for distinguishing messages in the logs.
608.TP
609.B --log-tcp-sequence
610Log TCP sequence numbers. This is a security risk if the log is
611readable by users.
612.TP
613.B --log-tcp-options
614Log options from the TCP packet header.
615.TP
616.B --log-ip-options
617Log options from the IP packet header.
618.SS MARK
619This is used to set the netfilter mark value associated with the
620packet. It is only valid in the
621.B mangle
Hervé Eychenne9e518062002-03-14 09:25:40 +0000622table. It can for example be used in conjunction with iproute2.
Marc Bouchere6869a82000-03-20 06:03:29 +0000623.TP
Bert Hubert20ecf7a2000-03-24 01:56:37 +0000624.BI "--set-mark " "mark"
Marc Bouchere6869a82000-03-20 06:03:29 +0000625.SS REJECT
626This is used to send back an error packet in response to the matched
627packet: otherwise it is equivalent to
Hervé Eychenne9e518062002-03-14 09:25:40 +0000628.B DROP
629so it is a terminating TARGET, ending rule traversal.
Marc Bouchere6869a82000-03-20 06:03:29 +0000630This target is only valid in the
631.BR INPUT ,
632.B FORWARD
633and
634.B OUTPUT
Rusty Russell9cadb432000-05-10 00:18:06 +0000635chains, and user-defined chains which are only called from those
Hervé Eychenne9e518062002-03-14 09:25:40 +0000636chains. The following option controls the nature of the error packet
Marc Bouchere6869a82000-03-20 06:03:29 +0000637returned:
638.TP
Bert Hubert20ecf7a2000-03-24 01:56:37 +0000639.BI "--reject-with " "type"
Marc Bouchere6869a82000-03-20 06:03:29 +0000640The type given can be
641.BR icmp-net-unreachable ,
642.BR icmp-host-unreachable ,
Rusty Russell14f390f2000-07-30 01:10:04 +0000643.BR icmp-port-unreachable ,
644.BR icmp-proto-unreachable ,
Hervé Eychenne9e518062002-03-14 09:25:40 +0000645.BR "icmp-net-prohibited or"
Rusty Russell14f390f2000-07-30 01:10:04 +0000646.BR icmp-host-prohibited ,
Hervé Eychenne9e518062002-03-14 09:25:40 +0000647which return the appropriate ICMP error message (\fBport-unreachable\fP is
648the default). The option
Rusty Russell14f390f2000-07-30 01:10:04 +0000649.B tcp-reset
Rusty Russell363112d2000-08-11 13:49:26 +0000650can be used on rules which only match the TCP protocol: this causes a
651TCP RST packet to be sent back. This is mainly useful for blocking
652.I ident
Hervé Eychenne9e518062002-03-14 09:25:40 +0000653(113/tcp) probes which frequently occur when sending mail to broken mail
654hosts (which won't accept your mail otherwise).
Marc Bouchere6869a82000-03-20 06:03:29 +0000655.SS TOS
656This is used to set the 8-bit Type of Service field in the IP header.
657It is only valid in the
658.B mangle
659table.
660.TP
Bert Hubert20ecf7a2000-03-24 01:56:37 +0000661.BI "--set-tos " "tos"
Marc Bouchere6869a82000-03-20 06:03:29 +0000662You can use a numeric TOS values, or use
663.br
664 iptables -j TOS -h
665.br
666to see the list of valid TOS names.
667.SS MIRROR
668This is an experimental demonstration target which inverts the source
669and destination fields in the IP header and retransmits the packet.
670It is only valid in the
671.BR INPUT ,
672.B FORWARD
673and
Rusty Russell363112d2000-08-11 13:49:26 +0000674.B PREROUTING
675chains, and user-defined chains which are only called from those
676chains. Note that the outgoing packets are
677.B NOT
678seen by any packet filtering chains, connection tracking or NAT, to
679avoid loops and other problems.
Marc Bouchere6869a82000-03-20 06:03:29 +0000680.SS SNAT
681This target is only valid in the
682.B nat
683table, in the
684.B POSTROUTING
685chain. It specifies that the source address of the packet should be
686modified (and all future packets in this connection will also be
Hervé Eychennee644cb02002-06-22 18:23:48 +0000687mangled), and rules should cease being examined. It takes one type
688of option:
Marc Bouchere6869a82000-03-20 06:03:29 +0000689.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000690.BR "--to-source " "\fIipaddr\fP[-\fIipaddr\fP][:\fIport\fP-\fIport\fP]"
Marc Bouchere6869a82000-03-20 06:03:29 +0000691which can specify a single new source IP address, an inclusive range
692of IP addresses, and optionally, a port range (which is only valid if
693the rule also specifies
694.B "-p tcp"
695or
696.BR "-p udp" ).
697If no port range is specified, then source ports below 512 will be
Harald Welte0112abb2001-02-19 21:48:13 +0000698mapped to other ports below 512: those between 512 and 1023 inclusive
699will be mapped to ports below 1024, and other ports will be mapped to
7001024 or above. Where possible, no port alteration will occur.
Hervé Eychennee644cb02002-06-22 18:23:48 +0000701.TP
702You can add several --to-source options. If you specify more
703than one source address, either via an address range or multiple
704--to-source options, a simple round-robin (one after another in
705cycle) takes place between these adresses.
Marc Bouchere6869a82000-03-20 06:03:29 +0000706.SS DNAT
707This target is only valid in the
708.B nat
709table, in the
710.B PREROUTING
711and
712.B OUTPUT
Rusty Russell9cadb432000-05-10 00:18:06 +0000713chains, and user-defined chains which are only called from those
Marc Bouchere6869a82000-03-20 06:03:29 +0000714chains. It specifies that the destination address of the packet
715should be modified (and all future packets in this connection will
716also be mangled), and rules should cease being examined. It takes one
Hervé Eychennee644cb02002-06-22 18:23:48 +0000717type of option:
Marc Bouchere6869a82000-03-20 06:03:29 +0000718.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000719.BR "--to-destination " "\fIipaddr\fP[-\fIipaddr\fP][:\fIport\fP-\fIport\fP]"
Marc Bouchere6869a82000-03-20 06:03:29 +0000720which can specify a single new destination IP address, an inclusive
721range of IP addresses, and optionally, a port range (which is only
722valid if the rule also specifies
723.B "-p tcp"
724or
725.BR "-p udp" ).
726If no port range is specified, then the destination port will never be
727modified.
Hervé Eychennee644cb02002-06-22 18:23:48 +0000728.TP
729You can add several --to-destination options. If you specify more
730than one destination address, either via an address range or multiple
731--to-destination options, a simple round-robin (one after another in
732cycle) load balancing takes place between these adresses.
Marc Bouchere6869a82000-03-20 06:03:29 +0000733.SS MASQUERADE
734This target is only valid in the
735.B nat
736table, in the
737.B POSTROUTING
738chain. It should only be used with dynamically assigned IP (dialup)
739connections: if you have a static IP address, you should use the SNAT
740target. Masquerading is equivalent to specifying a mapping to the IP
741address of the interface the packet is going out, but also has the
742effect that connections are
743.I forgotten
Marc Boucherf127a192000-03-20 08:32:15 +0000744when the interface goes down. This is the correct behavior when the
Marc Bouchere6869a82000-03-20 06:03:29 +0000745next dialup is unlikely to have the same interface address (and hence
746any established connections are lost anyway). It takes one option:
747.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000748.BR "--to-ports " "\fIport\fP[-\fIport\fP]"
Marc Bouchere6869a82000-03-20 06:03:29 +0000749This specifies a range of source ports to use, overriding the default
750.B SNAT
Hervé Eychenne9e518062002-03-14 09:25:40 +0000751source port-selection heuristics (see above). This is only valid
Marc Bouchere6869a82000-03-20 06:03:29 +0000752if the rule also specifies
753.B "-p tcp"
754or
Hervé Eychenne9e518062002-03-14 09:25:40 +0000755.BR "-p udp" .
Marc Bouchere6869a82000-03-20 06:03:29 +0000756.SS REDIRECT
757This target is only valid in the
758.B nat
759table, in the
760.B PREROUTING
761and
762.B OUTPUT
Rusty Russell9cadb432000-05-10 00:18:06 +0000763chains, and user-defined chains which are only called from those
Marc Bouchere6869a82000-03-20 06:03:29 +0000764chains. It alters the destination IP address to send the packet to
765the machine itself (locally-generated packets are mapped to the
Rusty Russell9cadb432000-05-10 00:18:06 +0000766127.0.0.1 address). It takes one option:
Marc Bouchere6869a82000-03-20 06:03:29 +0000767.TP
Hervé Eychenne9e518062002-03-14 09:25:40 +0000768.BR "--to-ports " "\fIport\fP[-\fIport\fP]"
769This specifies a destination port or range of ports to use: without
770this, the destination port is never altered. This is only valid
Marc Bouchere6869a82000-03-20 06:03:29 +0000771if the rule also specifies
772.B "-p tcp"
773or
Hervé Eychenne9e518062002-03-14 09:25:40 +0000774.BR "-p udp" .
775.SS ULOG
776This target provides userspace logging of matching packets. When this
777target is set for a rule, the Linux kernel will multicast this packet
778through a
779.IR netlink
780socket. One or more userspace processes may then subscribe to various
781multicast groups and receive the packets.
Hervé Eychennecea2ca32002-05-27 11:16:09 +0000782Like LOG, this is a "non-terminating target", i.e. rule traversal
783continues at the next rule.
Hervé Eychenne9e518062002-03-14 09:25:40 +0000784.TP
785.BI "--ulog-nlgroup " "nlgroup"
786This specifies the netlink group (1-32) to which the packet is sent.
787Default value is 1.
788.TP
789.BI "--ulog-prefix " "prefix"
790Prefix log messages with the specified prefix; up to 32 characters
Hervé Eychennecea2ca32002-05-27 11:16:09 +0000791long, and useful for distinguishing messages in the logs.
Hervé Eychenne9e518062002-03-14 09:25:40 +0000792.TP
793.BI "--ulog-cprange " "size"
Hervé Eychennecea2ca32002-05-27 11:16:09 +0000794Number of bytes to be copied to userspace. A value of 0 always copies
795the entire packet, regardless of its size. Default is 0.
Hervé Eychenne9e518062002-03-14 09:25:40 +0000796.TP
797.BI "--ulog-qthreshold " "size"
Hervé Eychennecea2ca32002-05-27 11:16:09 +0000798Number of packet to queue inside kernel. Setting this value to, e.g. 10
Hervé Eychenne9e518062002-03-14 09:25:40 +0000799accumulates ten packets inside the kernel and transmits them as one
800netlink multipart message to userspace. Default is 1 (for backwards
801compatibility).
802.SS TCPMSS
803This target allows to alter the MSS value of TCP SYN packets, to control
804the maximum size for that connection (usually limiting it to your
Hervé Eychennecea2ca32002-05-27 11:16:09 +0000805outgoing interface's MTU minus 40). Of course, it can only be used
Hervé Eychenne9e518062002-03-14 09:25:40 +0000806in conjunction with
807.BR "-p tcp" .
808.br
809This target is used to overcome criminally braindead ISPs or servers
810which block ICMP Fragmentation Needed packets. The symptoms of this
811problem are that everything works fine from your Linux
812firewall/router, but machines behind it can never exchange large
813packets:
814.br
815 1) Web browsers connect, then hang with no data received.
816.br
817 2) Small mail works fine, but large emails hang.
818.br
819 3) ssh works fine, but scp hangs after initial handshaking.
820.br
821Workaround: activate this option and add a rule to your firewall
822configuration like:
823.br
824 iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN \\
825.br
826 -j TCPMSS --clamp-mss-to-pmtu
827.TP
828.BI "--set-mss " "value"
829Explicitly set MSS option to specified value.
830.TP
831.B "--clamp-mss-to-pmtu"
832Automatically clamp MSS value to (path_MTU - 40).
833.TP
834These options are mutually exclusive.
Rusty Russell86573e52000-10-11 06:01:13 +0000835.SH DIAGNOSTICS
836Various error messages are printed to standard error. The exit code
837is 0 for correct functioning. Errors which appear to be caused by
838invalid or abused command line parameters cause an exit code of 2, and
839other errors cause an exit code of 1.
Marc Bouchere6869a82000-03-20 06:03:29 +0000840.SH BUGS
Hervé Eychennecea2ca32002-05-27 11:16:09 +0000841Bugs? What's this? ;-)
Hervé Eychennee644cb02002-06-22 18:23:48 +0000842Well... the counters are not reliable on sparc64.
Marc Bouchere6869a82000-03-20 06:03:29 +0000843.SH COMPATIBILITY WITH IPCHAINS
844This
845.B iptables
846is very similar to ipchains by Rusty Russell. The main difference is
847that the chains
848.B INPUT
849and
850.B OUTPUT
851are only traversed for packets coming into the local host and
852originating from the local host respectively. Hence every packet only
853passes through one of the three chains; previously a forwarded packet
854would pass through all three.
855.PP
856The other main difference is that
857.B -i
858refers to the input interface;
859.B -o
860refers to the output interface, and both are available for packets
861entering the
862.B FORWARD
863chain.
864.PP The various forms of NAT have been separated out;
865.B iptables
866is a pure packet filter when using the default `filter' table, with
867optional extension modules. This should simplify much of the previous
868confusion over the combination of IP masquerading and packet filtering
869seen previously. So the following options are handled differently:
870.br
871 -j MASQ
872.br
873 -M -S
874.br
875 -M -L
876.br
877There are several other changes in iptables.
878.SH SEE ALSO
Hervé Eychennecea2ca32002-05-27 11:16:09 +0000879.BR iptables-save (8),
880.BR iptables-restore (8),
881.BR ip6tables (8),
882.BR ip6tables-save (8),
883.BR ip6tables-restore(8).
884.P
885The packet-filtering-HOWTO details iptables usage for
886packet filtering, the NAT-HOWTO details NAT,
887the netfilter-extensions-HOWTO details the extensions that are
888not in the standard distribution,
889and the netfilter-hacking-HOWTO details the netfilter internals.
Hervé Eychenne9e518062002-03-14 09:25:40 +0000890.br
891See
892.BR "http://www.netfilter.org/" .
Marc Boucherf127a192000-03-20 08:32:15 +0000893.SH AUTHORS
Marc Bouchere6869a82000-03-20 06:03:29 +0000894Rusty Russell wrote iptables, in early consultation with Michael
895Neuling.
896.PP
Marc Boucherf127a192000-03-20 08:32:15 +0000897Marc Boucher made Rusty abandon ipnatctl by lobbying for a generic packet
898selection framework in iptables, then wrote the mangle table, the owner match,
899the mark stuff, and ran around doing cool stuff everywhere.
Marc Bouchere6869a82000-03-20 06:03:29 +0000900.PP
901James Morris wrote the TOS target, and tos match.
902.PP
903Jozsef Kadlecsik wrote the REJECT target.
904.PP
Rusty Russell86573e52000-10-11 06:01:13 +0000905Harald Welte wrote the ULOG target, TTL match+target and libipulog.
Rusty Russell52451822000-08-27 07:47:46 +0000906.PP
James Morrisedfce4e2001-12-07 10:23:22 +0000907The Netfilter Core Team is: Marc Boucher, Jozsef Kadlecsik, James Morris,
908Harald Welte and Rusty Russell.
Hervé Eychenne9e518062002-03-14 09:25:40 +0000909.PP
910Man page written by Herve Eychenne <rv@wallfire.org>.
Hervé Eychennecea2ca32002-05-27 11:16:09 +0000911
Marc Bouchere6869a82000-03-20 06:03:29 +0000912.\" .. and did I mention that we are incredibly cool people?
Rusty Russell363112d2000-08-11 13:49:26 +0000913.\" .. sexy, too ..
Rusty Russell86573e52000-10-11 06:01:13 +0000914.\" .. witty, charming, powerful ..
James Morris060ae4c2000-10-29 01:29:57 +0000915.\" .. and most of all, modest ..