Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Mike Auty <mike.auty@gmail.com>
To: David Vogt <beunlovable@gmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: libnetfilter_queue conditions required to rewrite packets...
Date: Tue, 11 Apr 2006 11:58:57 +0100	[thread overview]
Message-ID: <443B8BF1.2090907@gmail.com> (raw)
In-Reply-To: <859616420604070655n35ced2eau5c6968f5d2e3f029@mail.gmail.com>

Ok,
	So yesterday I needed to use a small program to rewrite packets flowing 
through my transparent bridge.  I started using the an ipq 
implementation and after a bit of jiggery pokery fixing up all the 
checksums, it seemed to be working a treat.  I then knocked up an 
nfqueue implementation using the code I'd been writing that did exactly 
the same job, and using the the subversion copies of libnetfilter_queue 
(0.0.12) and libnfnetlink (0.0.16), I did manage to mangle the packets 
successfully...
	I still don't seem to be able to send out packets with a broken 
checksum, but I haven't yet verified whether that's the target end 
dropping them or the linux kernel killing them before they get on the 
wire.  I hope this helps...
	Mike  5:)


  parent reply	other threads:[~2006-04-11 10:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-06  3:25 libnetfilter_queue conditions required to rewrite packets Mike Auty
2006-04-06  6:30 ` David Vogt
2006-04-07 13:55   ` David Vogt
2006-04-08  1:50     ` Mike Auty
2006-04-11 10:58     ` Mike Auty [this message]
2006-04-11 14:49       ` David Vogt
2006-04-20 12:56       ` David Vogt

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=443B8BF1.2090907@gmail.com \
    --to=mike.auty@gmail.com \
    --cc=beunlovable@gmail.com \
    --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