From: Michael Rigoni <michael.rigoni@gmail.com>
To: netfilter@vger.kernel.org
Subject: nftables: udp port matching on bridge
Date: Sun, 03 Aug 2014 23:04:36 +0200 [thread overview]
Message-ID: <53DEA3E4.9020008@gmail.com> (raw)
Hi all,
I was trying out nftables and as a test I wanted to log dhcp packets
from a given bridge port but I could not make it work (kernel 3.15.8 and
nft v0.3).
# nft list table bridge test
table bridge test {
chain forward {
type filter hook forward priority -200;
iif eth1.5 ip protocol udp udp dport bootps log group 2
}
}
Nothing shows up in the logs, however when logging udp packets (iif
eth1.5 ip protocol udp log group2), I do see the DHCP packets in the
logs. Any clues on what I am doing wrong ?
Also, is there an equivalent of iptables'--physdev-in for ip/ip6/inet
tables ?
Michael
reply other threads:[~2014-08-03 21:04 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=53DEA3E4.9020008@gmail.com \
--to=michael.rigoni@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 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).