From: Henrik Nordstrom Subject: Re: [PATCH 1/1] Re: dangerous? Setting mark in nat table Date: Wed, 14 Mar 2007 23:21:34 +0100 Message-ID: <1173910894.1760.89.camel@henriknordstrom.net> References: <45F6CD7C.40708@ufomechanic.net> <1173868532.26913.39.camel@henriknordstrom.net> <45F7D657.8070907@trash.net> <1173876211.26913.73.camel@henriknordstrom.net> <45F7F027.9050300@ufomechanic.net> <45F7F3C6.3060908@trash.net> <45F85C89.7070107@trash.net> <1173905134.1760.59.camel@henriknordstrom.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-2mNCpDVt4GEX9V8En8Lh" Cc: netfilter-devel@lists.netfilter.org, Patrick McHardy To: Jan Engelhardt Return-path: 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 --=-2mNCpDVt4GEX9V8En8Lh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable ons 2007-03-14 klockan 21:48 +0100 skrev Jan Engelhardt: > >And frankly speaking, that rerouting could just as well be done by a > >target. >=20 > Haha... are you implying ipt_ROUTE? :p Or whatever it will be in the successor to iptables.. just spewing ideas at this time. As Patrick I do not consider the core iptables worth the effort of such redesign and if redesigning stuff then something significantly better should be done. nf-HiPAC is one possible alternative where a lot is done much smarter even if communication between the projects is pretty distant at the moment. The point is that with a good infrastructure a lot can be acheived, without having to hardcode behavior such as mangle rerouting in the infrastructure. And with a little (not much) clever thinking not even the nat/filer distinction is needed even if nat mostly applies to the first packet only.. And regarding the ability to filter after nat: Remember that you have the connection backing you. A NAT mapping is not much different from a CONNMARK or other connection state.. it's just data which is known about the packet once the rule has executed. Regards Henrik --=-2mNCpDVt4GEX9V8En8Lh Content-Type: application/pgp-signature; name=signature.asc Content-Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQCVAwUARfh1aUNPQ5Kbx8daAQKiUAP+JH6ZcKplsOflAdWxRsRb/Jc/JR0Rov3t 8rAfJ4kF8eUqESBb2KAJnG83QUdKf0HsWWahS6gjZY6zIRCeYpsx7HBIGS/lIIyd R9ysSTQJ/igfcxDAPjeA5GYI9U8TlQL0keSZLYQLpB8hZvTPCAGFJHlUhCarTxqb T8U+RRHmYI4= =d+2z -----END PGP SIGNATURE----- --=-2mNCpDVt4GEX9V8En8Lh--