OpenVZ Forum


Home » General » Support » sniffing with tcpdump (How to snif packets in promiscuous mode in the VE)
sniffing with tcpdump [message #39379] Mon, 12 April 2010 14:53 Go to next message
john33 is currently offline  john33
Messages: 10
Registered: September 2009
Location: France
Junior Member
Hi,

I'm trying to use tcpdump in the VE, but I read in the wiki that it is only possible with VETH (http://wiki.openvz.org/Differences_between_venet_and_veth)

To make sure I'm not using VENET I removed it from the modules loaded by /etc/init.d/vz, but now I get the following error message:

Quote:

unable to open proc/vz/veinfo



(As reported in this thread)

I read here that the venet module has to be loaded in order for the veinfo file to be created.

How can I be sure I use veth ?

Thanks Smile

[Updated on: Mon, 12 April 2010 15:51]

Report message to a moderator

Re: sniffing with tcpdump [message #39383 is a reply to message #39379] Tue, 13 April 2010 09:45 Go to previous message
john33 is currently offline  john33
Messages: 10
Registered: September 2009
Location: France
Junior Member
Ok, now I'm sure I use veth, as I have unloaded the venet module. OpenVZ is working despite the /proc not found file error.

But I still can't sniff packets in promiscuous mode, ie I see broadcast packets and packets destined to me, but not the other ones.

Has anyone ever managed to do this ?

Regards

[Updated on: Tue, 13 April 2010 09:45]

Report message to a moderator

Previous Topic: openvz instance can't assign or keep an IP address
Next Topic: IP Conntrack FTP in VE
Goto Forum:
  


Current Time: Mon Nov 04 17:01:38 GMT 2024

Total time taken to generate the page: 0.03656 seconds