From: Smart Weblications GmbH - Florian Wiessner <f.wiessner@smart-weblications.de>
To: "王可 王" <klwangke@gmail.com>, netfilter@vger.kernel.org
Subject: Re: Can not see VM packets using Netfilter
Date: Tue, 02 Dec 2014 12:14:14 +0100 [thread overview]
Message-ID: <547D9F06.90602@smart-weblications.de> (raw)
In-Reply-To: <66549406-F09A-46F9-82B2-9BDF53A256E1@gmail.com>
Hi,
Am 02.12.2014 06:48, schrieb 王可 王:
> Hi all,
>
> I’m recently developing a simple program using netfilter and I’m having a tricky problem. My program is mainly to log the src and dst ip address of all the packets. This program is run in the host machine. I have several virtual machines on that host machine.
>
> The problem is, I can not capture the packets generated or destined at the VMs. All the VMs use bridging network to connect.
>
> Can anyone help me? A lot of thanks!
>
Depending on the interface you use (bridge) and the method you try to log
packets, you may try again with:
echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables
--
Mit freundlichen Grüßen,
Florian Wiessner
Smart Weblications GmbH
Martinsberger Str. 1
D-95119 Naila
fon.: +49 9282 9638 200
fax.: +49 9282 9638 205
24/7: +49 900 144 000 00 - 0,99 EUR/Min*
http://www.smart-weblications.de
--
Sitz der Gesellschaft: Naila
Geschäftsführer: Florian Wiessner
HRB-Nr.: HRB 3840 Amtsgericht Hof
*aus dem dt. Festnetz, ggf. abweichende Preise aus dem Mobilfunknetz
prev parent reply other threads:[~2014-12-02 11:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-02 5:48 Can not see VM packets using Netfilter 王可 王
2014-12-02 11:14 ` Smart Weblications GmbH - Florian Wiessner [this message]
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=547D9F06.90602@smart-weblications.de \
--to=f.wiessner@smart-weblications.de \
--cc=klwangke@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.