netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: JieYue Ma <xiaoma80.dev@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: reason that iptables mac module only has mac-source option
Date: Thu, 24 May 2012 12:47:44 +0800	[thread overview]
Message-ID: <CAJ6iH_i17NBvEA_2NgmvErsu310-_reZxMjSpnn61rMPF60siA@mail.gmail.com> (raw)

hi guys,

I am working on the mac module, and I added some arp related options
in it. I noticed that this module originally has only --mac-source
options in it. At first I think maybe author didn't want touch any
output packet. But now I doubt that maybe iptables hook point doesn't
support to do so. That is why I came here asking you guys for help. I
think in iptables OUTPUT hook point, it has not yet generate any 2nd
level information in the skb buffer, hasn't it? That is why mac module
can only touch incoming packet because only the incoming packet takes
the mac information in iptables

anybody can answer me? thanks a lot

BRs
jerry ma

                 reply	other threads:[~2012-05-24  4:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAJ6iH_i17NBvEA_2NgmvErsu310-_reZxMjSpnn61rMPF60siA@mail.gmail.com \
    --to=xiaoma80.dev@gmail.com \
    --cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).