All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henrik Nordstrom <henrik@henriknordstrom.net>
To: Luis Campo Giralte <lcg223@tid.es>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Change Packet Payload
Date: Fri, 09 Feb 2007 10:48:36 +0100	[thread overview]
Message-ID: <1171014516.19283.41.camel@henriknordstrom.net> (raw)
In-Reply-To: <1171013512.18531.5.camel@localhost>

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

fre 2007-02-09 klockan 10:31 +0100 skrev Eric Leblond:
> Hi,
> 
> Le vendredi 09 février 2007 à 10:10 +0100, Luis Campo Giralte a écrit :
> > Hi every one!
> > im using libnetfilter_queue lib, its posible to change any value of the
> > packet, source address, icmp types, payload chars, or any data of the
> > packet received on the Handler (nfq_create_queue(h,0,&MyHandler,NULL))
> > and send it again with the correct checksum?
> 
> Yes, but you have to compute the checksum yourself.

And also make sure conntrack isn't loaded as it does not expect QUEUE to
rewrite things.. unless you QUEUE in the raw table PREROUTING before
conntrack is invoked..

Regards
Henrik

[-- Attachment #2: Detta är en digitalt signerad meddelandedel --]
[-- Type: application/pgp-signature, Size: 307 bytes --]

  reply	other threads:[~2007-02-09  9:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09  9:10 Change Packet Payload Luis Campo Giralte
2007-02-09  9:31 ` Eric Leblond
2007-02-09  9:48   ` Henrik Nordstrom [this message]
2007-02-13 22:10   ` Pablo Neira Ayuso
2007-02-14  9:39     ` Sebastien Tricaud
2007-02-14  9:47     ` Sebastien Tricaud
2007-02-14  9:52       ` Patrick McHardy
2007-02-14  9:55         ` Sebastien Tricaud
2007-02-14 10:05           ` Sebastien Tricaud
2007-02-14 10:09             ` Patrick McHardy
2007-02-15  0:36               ` Pablo Neira Ayuso
2007-02-15 14:45                 ` Sebastien Tricaud
2007-02-16 13:11                   ` Sebastien Tricaud

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=1171014516.19283.41.camel@henriknordstrom.net \
    --to=henrik@henriknordstrom.net \
    --cc=lcg223@tid.es \
    --cc=netfilter-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.