From: Gregor Maier <gregor@net.in.tum.de>
To: netfilter-devel@lists.netfilter.org
Subject: libnetfilter_queue: get link layer header
Date: Tue, 21 Feb 2006 18:10:33 +0100 [thread overview]
Message-ID: <43FB4989.7070901@net.in.tum.de> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I was wondering if it's somehow possible to aquire the complete link
level header in libnetfilter_queue. I can get the HW Protocol
(Ethertype) and the SRC MAC but it is also possible to get the DST MAC.
I know that for outgoing packets the information is only available after
the arp lookup (so in/after POSTROUTING) but for INPUT / FORWARD packets
the DST Mac is always available. Maybe it would be a solution to set the
DST MAC to all zeros if it's not yet known and then add a mechanism to
pass the DST Mac to the userspace app listeing on the queue.
cu
gregor
- --
Gregor Maier Lehrstuhl Informatik 8
gregor@net.in.tum.de Tel: +49 89 289-18010
http://www.net.in.tum.de TU Muenchen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD+0mIdGiwgbikMYMRAgzZAKCjSvZq0gxe3ZtxX+CfnHX+cYG7hgCfXL40
QYqK7Jyt1gbbtmNKi1mP+YQ=
=QoqI
-----END PGP SIGNATURE-----
next reply other threads:[~2006-02-21 17:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-21 17:10 Gregor Maier [this message]
2006-02-23 10:03 ` libnetfilter_queue: get link layer header Patrick McHardy
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=43FB4989.7070901@net.in.tum.de \
--to=gregor@net.in.tum.de \
--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.