Blame extensions/libipt_REJECT.man

Packit 7b22a4
This is used to send back an error packet in response to the matched
Packit 7b22a4
packet: otherwise it is equivalent to
Packit 7b22a4
.B DROP
Packit 7b22a4
so it is a terminating TARGET, ending rule traversal.
Packit 7b22a4
This target is only valid in the
Packit 7b22a4
.BR INPUT ,
Packit 7b22a4
.B FORWARD
Packit 7b22a4
and
Packit 7b22a4
.B OUTPUT
Packit 7b22a4
chains, and user-defined chains which are only called from those
Packit 7b22a4
chains.  The following option controls the nature of the error packet
Packit 7b22a4
returned:
Packit 7b22a4
.TP
Packit 7b22a4
\fB\-\-reject\-with\fP \fItype\fP
Packit 7b22a4
The type given can be
Packit 7b22a4
\fBicmp\-net\-unreachable\fP,
Packit 7b22a4
\fBicmp\-host\-unreachable\fP,
Packit 7b22a4
\fBicmp\-port\-unreachable\fP,
Packit 7b22a4
\fBicmp\-proto\-unreachable\fP,
Packit 7b22a4
\fBicmp\-net\-prohibited\fP,
Packit 7b22a4
\fBicmp\-host\-prohibited\fP, or
Packit 7b22a4
\fBicmp\-admin\-prohibited\fP (*),
Packit 7b22a4
which return the appropriate ICMP error message (\fBicmp\-port\-unreachable\fP is
Packit 7b22a4
the default).  The option
Packit 7b22a4
\fBtcp\-reset\fP
Packit 7b22a4
can be used on rules which only match the TCP protocol: this causes a
Packit 7b22a4
TCP RST packet to be sent back.  This is mainly useful for blocking 
Packit 7b22a4
.I ident
Packit 7b22a4
(113/tcp) probes which frequently occur when sending mail to broken mail
Packit 7b22a4
hosts (which won't accept your mail otherwise).
Packit 7b22a4
.IP
Packit 7b22a4
(*) Using icmp\-admin\-prohibited with kernels that do not support it will result in a plain DROP instead of REJECT