]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Testsuite update.
authorRusty Russell <rusty@linuxcare.com.au>
Fri, 24 Mar 2000 08:39:16 +0000 (08:39 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 24 Mar 2000 08:39:16 +0000 (08:39 +0000)
extensions/libipt_REJECT.c
iptables.8

index f174c6a3a5e54365dfbd672a975b5155ac3ae09c..3f5c128a3eeae2eed43d3b853800235cc3623c1d 100644 (file)
@@ -26,10 +26,8 @@ static const struct reject_names reject_table[] = {
                IPT_ICMP_PORT_UNREACHABLE, "ICMP port unreachable (default)"},
        {"icmp-proto-unreachable", "proto-unreach",
                IPT_ICMP_PROT_UNREACHABLE, "ICMP protocol unreachable"},
-       {"tcp-reset", "rst",
-               IPT_TCP_RESET, "for TCP only: faked TCP RST"},
        {"echo-reply", "echoreply",
-               IPT_ICMP_ECHOREPLY, "for ICMP echo only: faked ICMP echo reply"},
+               IPT_ICMP_ECHOREPLY, "for ICMP echo only: faked ICMP echo reply"}
 };
 
 static void
index 8422711d5cc5ea5f8a174fb617b54e554f5fe6f7..c226cef90bb2543744c67306d323247d8ded8fbb 100644 (file)
@@ -533,16 +533,10 @@ The type given can be
 .BR icmp-port-unreachable or
 .BR icmp-proto-unreachable
 which return the appropriate ICMP error message (net-unreachable is
-the default).  The following special types are also allowed:
-.B tcp-reset 
-is only valid if the rule also specifies 
-.BR "-p tcp" ,
-and generates a TCP reset packet in response.  This is generally not a
-good idea (modern stacks should deal with ICMPs on TCP connection
-initiation attempts).
+the default).  The option 
 .B echo-reply
-can only be used for rules which specify an ICMP ping packet, and
-generates a ping reply.
+is also allowed; it can only be used for rules which specify an ICMP
+ping packet, and generates a ping reply.
 .SS TOS
 This is used to set the 8-bit Type of Service field in the IP header.
 It is only valid in the