From: Ching Tai <j1133s@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: Is there a filter for Ethernet packets ?
Date: Wed, 4 Aug 2004 11:57:09 -0700 (PDT) [thread overview]
Message-ID: <20040804185709.55744.qmail@web10708.mail.yahoo.com> (raw)
Dear Netfilter users,
From looking through the code (mainly just grepping
for "NF_HOOK" in the kernel's net subdirectory), I
find that there seems to be hooks for ipv4, ipv6,
decnet, and bridge.
I'd like to write a filter for all the Ethernet
frames recevied on an Ethernet interface. I'm
wondering if there is something in Netfilter for
me to use.
I think I can do that with the bridging Netfilter
(where I'd create a fake interface and bridge
traffic to it, perform filtering on the bridge input,
make the fake interface's transmit function send that
data back into whichever real interface it should go),
but that seems like an overly complicated way to do
a simple filtering. Also, it opens my code up to
changes in kernel's network device interfacing, etc.
I'd really appreciate it if somebody could help me
with:
1. If Netfilter can filter Ethernet frames, please
let me know which NF_... to use.
2. If Netfilter cannot do it, is there another way
to do what I need. (Basically, I'd like to examine
each Ethernet frame and decide pass/drop on each one.)
Thank you!
Ching
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
next reply other threads:[~2004-08-04 18:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-04 18:57 Ching Tai [this message]
2004-08-04 19:30 ` Is there a filter for Ethernet packets ? raido
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=20040804185709.55744.qmail@web10708.mail.yahoo.com \
--to=j1133s@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 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.