Re: [tcpdump-workers] capturing packets with identical MAC for source and destination

2013-09-03 Thread Lentes, Bernd
Gisle wrote: > > "Lentes, Bernd" wrote: > > > I'd like to capture all packets which have the same > MAC-address for sender and destination. > > But i don't know the MAC which is causing these messages. > So i have to use an universal filter. > > I tried to use "tcpdump 'ether[8:6] = ether[14:6]'"

Re: [tcpdump-workers] capturing packets with identical MAC for source and destination

2013-09-03 Thread Gisle Vanem
"Lentes, Bernd" wrote: I'd like to capture all packets which have the same MAC-address for sender and destination. But i don't know the MAC which is causing these messages. So i have to use an universal filter. I tried to use "tcpdump 'ether[8:6] = ether[14:6]'". Beginning with byte 8 is the

Re: [tcpdump-workers] capturing packets with identical MAC for sourceand destination

2013-09-03 Thread David Laight
> currently we are expierencing bad network performance. And in the log of a > linux-server i have a lot > of these messages: > > Sep 2 10:16:08 pc60181 kernel: [4286760.823563] br0: received packet on eth0 > with own address as > source address Since you know your own MAC address, you can jus

[tcpdump-workers] capturing packets with identical MAC for source and destination

2013-09-03 Thread Lentes, Bernd
Hi, currently we are expierencing bad network performance. And in the log of a linux-server i have a lot of these messages: Sep 2 10:16:08 pc60181 kernel: [4286760.823563] br0: received packet on eth0 with own address as source address Sep 2 10:16:08 pc60181 kernel: [4286760.823680] br0: rece

Re: [tcpdump-workers] capturing packets

2010-04-27 Thread Edgar, Thomas
Sorry all, ignore my last message. I sent it to the wrong mailing list on accident. Sorry, Thomas W. Edgar - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

Re: [tcpdump-workers] capturing packets

2010-04-27 Thread Edgar, Thomas
I have a variable length protocol trailer (which is only known by the end devices) to parse and there is no way to figure it out during the framing process. Is there a way to determine how many bytes the subdissectors actually used after a return from dissector_try_port/heuristic? Is there som

Re: [tcpdump-workers] capturing packets

2010-04-27 Thread Gianluca Varenni
-- From: "Madhusudan KR" Sent: Tuesday, April 27, 2010 7:29 AM To: Subject: [tcpdump-workers] capturing packets Hi, I have a system which has two ethernet interfaces, namely eth0 and eth1. I need to capture the packets fro

[tcpdump-workers] capturing packets

2010-04-27 Thread Madhusudan KR
Hi, I have a system which has two ethernet interfaces, namely eth0 and eth1. I need to capture the packets from both the interfaces. I am planning to spawn two threads, one each for eth0 and eth1. In these threads I shall be using the following two pcap calls. pcap_open_live pcap_next_ex I shal

Re: [tcpdump-workers] Capturing packets content using libpcap

2009-04-19 Thread Shameem Ahamed
ct: [tcpdump-workers] Capturing packets content using libpcap > > Hi everybody, > Currently I'm using libpcap to develop a sniffing tool. I've read some > tutorials and I can get the packet header, is it possible to capture the > plain-text content using libpcap also ? ( l

[tcpdump-workers] Capturing packets content using libpcap

2009-04-19 Thread Huy Phan
Hi everybody, Currently I'm using libpcap to develop a sniffing tool. I've read some tutorials and I can get the packet header, is it possible to capture the plain-text content using libpcap also ? ( like http request content ... ) I've tried to search on Google, looked at the documentation of t

Re: [tcpdump-workers] capturing packets in many concurrent processes

2004-07-06 Thread Bruce M Simpson
On Tue, Jul 06, 2004 at 06:11:06PM -0700, Anthony D. Minkoff wrote: > I'm implementing several programs that use libpcap to monitor and > analyze network traffic. I understand that each of these programs uses > a BPF device, so that the number of such processes I can have running > on a system

[tcpdump-workers] capturing packets in many concurrent processes

2004-07-06 Thread Anthony D. Minkoff
TCPDUMP newbie here. Newbie to a number of things, actually. I'm implementing several programs that use libpcap to monitor and analyze network traffic. I understand that each of these programs uses a BPF device, so that the number of such processes I can have running on a system concurrently i