From: "Piotr =?iso-8859-2?Q?Gasid=B3o?=" Subject: Changing packet data Date: Sat, 17 Apr 2004 14:32:52 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <20040417123252.GA22087@pandora.barbara.eu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_pandora.barbara.ds.polsl.gliwice.pl-17304-1082205172-0001-2" Return-path: To: netfilter-devel@lists.netfilter.org Content-Disposition: inline Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_pandora.barbara.ds.polsl.gliwice.pl-17304-1082205172-0001-2 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I'm trying to develop match which is able to change packet data according to perl regular expression, s/.../.../. Finding match is very easy. But I'm stuck in replacing it. One thing that bothers me it's how to resize packet (replacement can be shorter or taller than match) in match() function. I'm only beginner in functions, which should I use? And whether this is possible to do it in match (not in TARGET). --=20 Piotr 'QuakeR' Gasid=B3o, BOFH @ pandora.barbara.eu.org ############## sending lusers to /dev/null since 1998 ##### Waiting for tomorrow, for a little ray of light ### Waiting for tomorrow just to see your smile again --=_pandora.barbara.ds.polsl.gliwice.pl-17304-1082205172-0001-2 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAgSP0gEmu6PNADqoRAsSyAJ4xRvNbGxeHQr6sfAXoJ7KHldYK9gCgjMKj fF1lUPKZL9L6+B5OOzvIrew= =92Po -----END PGP SIGNATURE----- --=_pandora.barbara.ds.polsl.gliwice.pl-17304-1082205172-0001-2--