From: Scott MacKay <scottmackay@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: Re: handle packets by libipq
Date: Fri, 6 Aug 2004 05:09:20 -0700 (PDT) [thread overview]
Message-ID: <20040806120920.49351.qmail@web13910.mail.yahoo.com> (raw)
In-Reply-To: <20040806061445.88423.qmail@web41510.mail.yahoo.com>
You re-inject using ipq_set_verdict. Moving a packet
from ipv4 to ipv6...dunno. ipv4 and ipv6 use 2
different interfaces ( ipq_create_handle(0, PF_INET)
vs ipq_create_handle(0, PF_INET6) and 2 different
ip_queues (ip_queue.o, ip6_queue.o), so not sure if
you can. More likely would need to drop from 1 and
regenerate on the other, but not sure on that one.
-Scott
--- Dan Nguyen <dnguyenanh@yahoo.com> wrote:
> Hi all,
>
> I posted this in devel- mailling, but it seem is
> wrong place. So I
> post here to hope the helping.
>
> I plan to use libipq to do the following:
> 1. capture all packet (both ipv4 and ipv6) on
> user-space.
> 2. Modify the captured packet (may tranlate even
> protocol, i.e
> replace ipv4 packet by ipv6 packet).
> 3. Reinject modified packet to kernel.
>
> The 1st and 2nd tasks had solution by modify the
> libipq and use rfc.
> But I had not have solution in 3nd task.
>
> Please help me to roadmap.
>
> Thanks for your considering.
> Dan Nguyen
> PS: Sorry if I send to the wrong mailling.
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We
> finish.
> http://promotions.yahoo.com/new_mail
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
prev parent reply other threads:[~2004-08-06 12:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-06 6:14 handle packets by libipq Dan Nguyen
2004-08-06 12:09 ` Scott MacKay [this message]
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=20040806120920.49351.qmail@web13910.mail.yahoo.com \
--to=scottmackay@yahoo.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