From: Harald Welte Subject: Re: changing packet length? Date: Sun, 29 May 2005 21:00:31 +0200 Message-ID: <20050529190031.GU13114@sunbeam.de.gnumonks.org> References: <20050503213406.GE13894@tigris.renesys.com> <20050506111410.GG30482@sunbeam.de.gnumonks.org> <20050506141159.GA17261@tigris.renesys.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NEawsVssxcwwq7sD" Cc: netfilter-devel@lists.netfilter.org Return-path: To: BJ Premore Content-Disposition: inline In-Reply-To: <20050506141159.GA17261@tigris.renesys.com> 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 --NEawsVssxcwwq7sD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 06, 2005 at 10:11:59AM -0400, BJ Premore wrote: > Hi Harald, >=20 > On Fri, May 06, 2005 at 01:14:10PM +0200, Harald Welte wrote: > > On Tue, May 03, 2005 at 05:34:06PM -0400, BJ Premore wrote: > > > So my hopefully simple question is, can packet sizes be > > > changed and then reinjected using ipq_set_verdict? =20 > >=20 > > Of course. you just reinject the packet with a different > > data_len. >=20 > That's what I thought too, but I get the problems described > in my original post (subsequent packets start looking > mangled, basically). Have you, or has anyone, gotten this > to work? I've been scouring the net for examples but in no > case has any code that I've found actually changed the > length of the packets before reinjecting them. sorry for not getting back to you earlier. Does the problem still persist? could you send me pcap files of the packets before and after the ip_queue issue? --=20 - Harald Welte http://netfilter.org/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie --NEawsVssxcwwq7sD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCmhFPXaXGVTD0i/8RAgbgAJ0WqUjC38Wn5IyrRz2oC0QfbPNsxQCfXNQQ le2vmSWFEAZaNhEg6g2eOsI= =XFXR -----END PGP SIGNATURE----- --NEawsVssxcwwq7sD--