Blame extensions/libip6t_REJECT.man
|
Packit Service |
d1fe03 |
This is used to send back an error packet in response to the matched
|
|
Packit Service |
d1fe03 |
packet: otherwise it is equivalent to
|
|
Packit Service |
d1fe03 |
.B DROP
|
|
Packit Service |
d1fe03 |
so it is a terminating TARGET, ending rule traversal.
|
|
Packit Service |
d1fe03 |
This target is only valid in the
|
|
Packit Service |
d1fe03 |
.BR INPUT ,
|
|
Packit Service |
d1fe03 |
.B FORWARD
|
|
Packit Service |
d1fe03 |
and
|
|
Packit Service |
d1fe03 |
.B OUTPUT
|
|
Packit Service |
d1fe03 |
chains, and user-defined chains which are only called from those
|
|
Packit Service |
d1fe03 |
chains. The following option controls the nature of the error packet
|
|
Packit Service |
d1fe03 |
returned:
|
|
Packit Service |
d1fe03 |
.TP
|
|
Packit Service |
d1fe03 |
\fB\-\-reject\-with\fP \fItype\fP
|
|
Packit Service |
d1fe03 |
The type given can be
|
|
Packit Service |
d1fe03 |
\fBicmp6\-no\-route\fP,
|
|
Packit Service |
d1fe03 |
\fBno\-route\fP,
|
|
Packit Service |
d1fe03 |
\fBicmp6\-adm\-prohibited\fP,
|
|
Packit Service |
d1fe03 |
\fBadm\-prohibited\fP,
|
|
Packit Service |
d1fe03 |
\fBicmp6\-addr\-unreachable\fP,
|
|
Packit Service |
d1fe03 |
\fBaddr\-unreach\fP, or
|
|
Packit Service |
d1fe03 |
\fBicmp6\-port\-unreachable\fP,
|
|
Packit Service |
d1fe03 |
which return the appropriate ICMPv6 error message (\fBicmp6\-port\-unreachable\fP is
|
|
Packit Service |
d1fe03 |
the default). Finally, the option
|
|
Packit Service |
d1fe03 |
\fBtcp\-reset\fP
|
|
Packit Service |
d1fe03 |
can be used on rules which only match the TCP protocol: this causes a
|
|
Packit Service |
d1fe03 |
TCP RST packet to be sent back. This is mainly useful for blocking
|
|
Packit Service |
d1fe03 |
.I ident
|
|
Packit Service |
d1fe03 |
(113/tcp) probes which frequently occur when sending mail to broken mail
|
|
Packit Service |
d1fe03 |
hosts (which won't accept your mail otherwise).
|
|
Packit Service |
d1fe03 |
\fBtcp\-reset\fP
|
|
Packit Service |
d1fe03 |
can only be used with kernel versions 2.6.14 or later.
|