From: Jonas Berlin Subject: Re: About matching (also was: Multiple Targets) Date: Wed, 04 May 2005 13:54:57 +0000 Message-ID: <4278D431.5000606@outerspace.dyndns.org> References: <20050413152307.0312.LARK@linux.net.cn> <425CEFE3.2010200@rtij.nl> <20050413182822.0317.LARK@linux.net.cn> <425CFFE0.1000803@rtij.nl> <20050413112518.GB22865@oknodo.bof.de> <7174b1e40504140101b5138e0@mail.gmail.com> <425E3032.2060409@outerspace.dyndns.org> <425E6E4C.2010406@outerspace.dyndns.org> <42780DE4.9060808@outerspace.dyndns.org> <42787CEE.1090503@outerspace.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org Return-path: To: Jozsef Kadlecsik In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Quoting Jozsef Kadlecsik on 2005-05-04 08:09 UTC: >>And if that flag was set, netfilter would also assert that the return >>value of the target in question is IPT_CONTINUE ? > > No, targets may return other values. Something like this I know. But my point was, _should_ these targets with the "cascade flag" set be allowed to return anything else? For example LOG, MARK, CONNMARK and CLASSIFY targets always return IPT_CONTINUE. I could agree that NF_DROP could also be allowed if a bad packet was recognized or some other problem. But should NF_STOLEN or NF_REPEAT or others really be allowed from these targets with "cascade flag" set? If there wasn't any restriction on the return value, I don't know if there's much point of having a cascade flag either? - -- - - xkr47 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCeNQvxyF48ZTvn+4RAkPIAKCCUEHZkbRCX+1bMLjZOEqGYH9TCgCgjNBC 39EXx3x72L3by9iTJKyB7qo= =Xmdn -----END PGP SIGNATURE-----