All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: ilker <ilkery@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: nfqueue ethernet packet frame capture
Date: Wed, 17 Mar 2021 15:37:14 +0100	[thread overview]
Message-ID: <20210317143713.GA3781@salvia> (raw)
In-Reply-To: <CADtAAp7ReZoa1kLSm4oc7um9-vQ_XUnq9t80mN4T8igZQjyxUA@mail.gmail.com>

On Wed, Mar 17, 2021 at 03:35:56PM +0300, ilker wrote:
> Hi All,
> 
> I am working on nfqueue to capture packets from networks.
> I am not able to capture destination MAC addresses using NFQUEUE.
> Is there a way to capture a full ethernet frame (especially
> destination MAC address) using NFQUEUE library?

nfq_get_packet_hw() might help?

  reply	other threads:[~2021-03-17 14:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-17 12:35 nfqueue ethernet packet frame capture ilker
2021-03-17 14:37 ` Pablo Neira Ayuso [this message]
     [not found]   ` <CADtAAp7Da8BtAK2zvhnT-RTG1myzbZ6k0xZgmifhsuYLAukDCQ@mail.gmail.com>
     [not found]     ` <20210317155251.GA1140@salvia>
2021-03-17 15:53       ` Pablo Neira Ayuso
2021-03-17 15:54         ` Pablo Neira Ayuso
2021-03-17 17:49           ` ilker
2021-03-18  0:39             ` Pablo Neira Ayuso

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=20210317143713.GA3781@salvia \
    --to=pablo@netfilter.org \
    --cc=ilkery@gmail.com \
    --cc=netfilter@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 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.