All of lore.kernel.org
 help / color / mirror / Atom feed
* Can not see VM packets using Netfilter
@ 2014-12-02  5:48 王可 王
  2014-12-02 11:14 ` Smart Weblications GmbH - Florian Wiessner
  0 siblings, 1 reply; 2+ messages in thread
From: 王可 王 @ 2014-12-02  5:48 UTC (permalink / raw)
  To: netfilter

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!

Best,

Ke

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can not see VM packets using Netfilter
  2014-12-02  5:48 Can not see VM packets using Netfilter 王可 王
@ 2014-12-02 11:14 ` Smart Weblications GmbH - Florian Wiessner
  0 siblings, 0 replies; 2+ messages in thread
From: Smart Weblications GmbH - Florian Wiessner @ 2014-12-02 11:14 UTC (permalink / raw)
  To: 王可 王, netfilter

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-02 11:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-02  5:48 Can not see VM packets using Netfilter 王可 王
2014-12-02 11:14 ` Smart Weblications GmbH - Florian Wiessner

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.