From: "Alexander W. Janssen" Subject: questions regarding fragmentation Date: Sat, 4 Oct 2003 15:40:05 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20031004134005.GC978@hackers-r-us.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tqI+Z3u+9OQ7kwn0" Return-path: Content-Disposition: inline Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: Netfilter Mailinglist --tqI+Z3u+9OQ7kwn0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, the filtering howto states: "If you are doing connection tracking or NAT, then all fragments will get merged back together before they reach the packet filtering code, so you need never worry about fragments." This fits to my observation regarding NAT: i send out fragmented ICMP packa= ges with sing and they were reassembled before they left the outbound wire. But it also says: "Usually it is regarded as safe to let second and further fragments throu= gh, since filtering will effect the first fragment, and thus prevent reassemb= ly on the target host; however, bugs have been known to allow crashing of machines simply by sending fragments. Your call." (talking about the -f flag) Does that mean that fragments allways will be reassembled before they get forwarded when you use connection tracking a/o NAT? It's looks like that for me - never had problems with fragments, though. I'm just asking because i'm just creating a big testcase-scenario for a accepta= nce of a new firewall i just build for a customer. I'm just curious. Haven't thought about it for a long time since the filtering-code became stateful... Thanks, Alex. --=20 "Obviously Linux owes its heritage to UNIX, but not its code. We would not, nor will not, make such a claim." -- Darl McBride, August 28th 2002 =20 --tqI+Z3u+9OQ7kwn0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/fs21EMMZKORQoYIRAjadAKCFdW53LoLRcsLHCJ3tawdxOgLv8QCfYT7c To5L5k8hhrC7ry8UPUhMOw4= =rbJA -----END PGP SIGNATURE----- --tqI+Z3u+9OQ7kwn0--