Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Marcin Giedz <marcin.giedz@eulerhermes.pl>
To: netfilter@lists.netfilter.org
Subject: question
Date: Thu, 27 Oct 2005 09:55:20 +0200	[thread overview]
Message-ID: <200510270955.20466.marcin.giedz@eulerhermes.pl> (raw)

Hi,


I'd like to ask if it possible to change "data" field (its content) in TCP 
packet on fly? I don't need to change data's lenght but only change few bytes 
in it.

Example:
0000  ff ff ff ff ff ff 00 11 25 31 ad e0 08 00 45 00   ........%1....E.
0010  00 c1 0a b1 00 00 80 11 82 0f ac 13 01 59 ff ff   .............Y..
0020  ff ff 04 2d 01 db 00 ad 60 78 ad a7 5b de 9f 26   ...-....`x..[..&
0030  ec 98 2d 26 ec 18 2d 26 ec 18 2d 26 ec 18 2d 26   ..-&..-&..-&..-&
0040  ec 18 2d 26 ec 18 2d 26 ec 18 2d 26 ec 18 2d 26   ..-&..-&..-&..-&

First line contains MAC address 00:11:25:31:ad:e0 - I need to change it to 
other value. 

Is it possible at all?

Marcin


             reply	other threads:[~2005-10-27  7:55 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-27  7:55 Marcin Giedz [this message]
2005-10-27  8:18 ` question Ruprecht Helms
2005-10-27  8:39   ` question Marcin Giedz
2005-10-27  9:09     ` question Ruprecht Helms
2005-10-27  9:28       ` question Sorin Panca
2005-10-27  9:40       ` question Marcin Giedz
2005-10-27 10:04         ` question Oskar Andreasson
2005-10-27 10:25           ` question Marcin Giedz
2005-10-27 10:37             ` question Oskar Andreasson
2005-10-27 11:18               ` question Marcin Giedz
2005-10-27 13:28                 ` question Oskar Andreasson
  -- strict thread matches above, loose matches on Subject: below --
2008-04-28  9:01 Question Karim Reda Fakhir
2008-04-28 10:11 ` Question Jan Engelhardt
2008-04-29  1:51   ` Question Diego Lacerda
2006-06-21 12:14 question Fabio S. Silva
2006-06-21 12:23 ` question Sietse van Zanen
2003-09-25 14:04 question emiliano
2003-06-12 22:11 question George Vieira
2003-06-12 20:41 question Sander Sneekes
2002-06-21 17:33 Question Krish Ahya
2002-06-21 17:40 ` Question Antony Stone
2002-06-21 18:31   ` Question James Mello
2002-06-21 23:12     ` Question Antony Stone
2002-06-21 23:16       ` Question James Mello
2002-06-21 23:26         ` Question Antony Stone
2002-06-22  2:11       ` Question Jack Bowling
2002-06-22 15:25         ` Question Stephen Frost
2002-06-22 15:42           ` Question Ramin Alidousti
2002-06-21 18:59 ` Question Nick Drage
2002-06-21 19:41   ` Question Rowan Reid
2002-06-22  0:26 ` Question Sascha Reissner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510270955.20466.marcin.giedz@eulerhermes.pl \
    --to=marcin.giedz@eulerhermes.pl \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox