Re: [Wireshark-users] Capture filter with multiple VLANs

2019-08-05 Thread Todd Adamson
Ah. And that is why we ask the questions.  I didn't think of moving farther down the stack for the capture filters.  Thanks to everyone who sent the idea. Todd On 8/1/2019 8:52 AM, Maynard, Chris via Wireshark-users wrote: How about a capture filter such as this? "vlan and not

Re: [Wireshark-users] Capture filter with multiple VLANs

2019-08-01 Thread Maynard, Chris via Wireshark-users
How about a capture filter such as this? "vlan and not (ether[14:2]&0x0fff = 20 or ether[14:2]&0x0fff = 30)" - Chris See also: https://ask.wireshark.org/question/3877/vlan-filter/ > -Original Message- > From: Wireshark-users [mailto:wireshark-users-boun...@wireshark.org] On > Behalf

Re: [Wireshark-users] Capture filter with multiple VLANs

2019-07-31 Thread Jaap Keuter
Hi, For this you have to go lower in the stack and access the packet bytes directly. Have a look at proto [ expr : size ], where proto is ether. Now you can access the bytes in the ethernet frame directly. So start looking for 8100 as the ethertype, then extend the expression to make

Re: [Wireshark-users] Capture Filter Help

2008-02-06 Thread Sake Blok
On Wed, Feb 06, 2008 at 01:51:43PM -0500, James Pifer wrote: Hi. I've been googling and using the wiki but I can't figure out if this is possible. I'm trying setup a capture filter to capture only data where the ip address contains a certain part of an ip address. We have a lot of servers

Re: [Wireshark-users] Capture Filter Help

2008-02-06 Thread Guy Harris
James Pifer wrote: I'm trying setup a capture filter to capture only data where the ip address contains a certain part of an ip address. We have a lot of servers on a distributed network that have standard addresses. For example, I'd like to capture data on port 137 if the ip address is

Re: [Wireshark-users] Capture Filter Help

2008-02-06 Thread James Pifer
How'bout looking at the specific locations within the ip-packet for src address or destination address: ip[0xc]==192 and ip[0xf]==11 Would match any packet from 192.x.x.11 and ip[0x10]=192 and ip[0x13]==11 would match and packet to 192.x.x.11. So the full filter would be:

Re: [Wireshark-users] Capture Filter Help

2008-02-06 Thread Sake Blok
On Wed, Feb 06, 2008 at 02:46:21PM -0500, James Pifer wrote: I would also like to filter NBNS protocol. Right now I have a display filter like this: nbns.flags == 0x2810 || nbns.flags == 0x2910 Again, I'd rather have this in a capture filter in case I want to start saving it. You could

Re: [Wireshark-users] Capture Filter Help

2008-02-06 Thread Sake Blok
On Wed, Feb 06, 2008 at 10:14:29PM +0100, Sake Blok wrote: On Wed, Feb 06, 2008 at 02:46:21PM -0500, James Pifer wrote: I would also like to filter NBNS protocol. Right now I have a display filter like this: nbns.flags == 0x2810 || nbns.flags == 0x2910 Again, I'd rather have this in

Re: [Wireshark-users] Capture filter for MAC addresses

2008-01-25 Thread Guy Harris
On Jan 25, 2008, at 4:24 PM, Frank Bulk wrote: I've looked at the wiki page (http://wiki.wireshark.org/Ethernet) but it's not entirely clear to me how I would capture the traffic from all those devices that share the same OUI. For example, if the OUI of interest was Cisco (00:1b:0d),

Re: [Wireshark-users] Capture filter for MAC addresses

2008-01-25 Thread Frank Bulk
[mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 8:22 PM To: [EMAIL PROTECTED]; Community support list for Wireshark Subject: Re: [Wireshark-users] Capture filter for MAC addresses On Jan 25, 2008, at 4:24 PM, Frank Bulk wrote: I've looked at the wiki page (http://wiki.wireshark.org

Re: [Wireshark-users] Capture filter for MAC addresses

2008-01-25 Thread Guy Harris
Frank Bulk wrote: Now, to take it one step farther, I need to apply that capture filter to the client field (labeled in the display filter 'bootp.hw.mac_addr'). Is that possible in a capture filter? And if you're going to ask if the offset from the start of the packet is consistent, it's

Re: [Wireshark-users] Capture filter for ARP, DNS and PING

2008-01-06 Thread Troopy .
Try icmp or dns or arp Regards TRoopy -- Original Message -- From: nilay yildirim [EMAIL PROTECTED] Reply-To: Community support list for Wireshark wireshark-users@wireshark.org Date: Sun, 6 Jan 2008 16:21:59 -0500 Hi, How can I set up a capture filter

Re: [Wireshark-users] Capture filter for ARP, DNS and PING

2008-01-06 Thread Guy Harris
nilay yildirim wrote: How can I set up a capture filter just to capture ARP, DNS and PING? DNS generally means traffic to or from the Domain Name System port, and PING generally means ICMP Echo and Echo Reply packets, so: arp or port domain or icmp[icmptype] = icmp-echo or

Re: [Wireshark-users] Capture filter for ARP, DNS and PING

2008-01-06 Thread nilay yildirim
Thanks. So how about if I wanted to only capture all packets to and from 10.10.10.10 ( host ip adress) but just arp, dns and ping? What does this changes? Or I need to create another filter??? arp or port domain or icmp[icmptype] = icmp-echo or icmp[icmptype] = icmp-echoreply On Jan 6, 2008

Re: [Wireshark-users] Capture filter for ARP, DNS and PING

2008-01-06 Thread Frank Bulk
Perhaps this has been asked and answered, but is there a tool or utility to convert between capture and display syntax? Frank From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of nilay yildirim Sent: Sunday, January 06, 2008 3:22 PM To:

Re: [Wireshark-users] Capture filter for ARP, DNS and PING

2008-01-06 Thread Guy Harris
nilay yildirim wrote: Thanks. So how about if I wanted to only capture all packets to and from 10.10.10.10 http://10.10.10.10 ( host ip adress) but just arp, dns and ping? What does this changes? Or I need to create another filter??? ARP packets don't go to or from IP addresses - they go to

Re: [Wireshark-users] capture filter of PPP LCP

2007-12-25 Thread Guy Harris
[EMAIL PROTECTED] wrote: ppp[0:2]=0xc021 is a capture filter, not dispaly filter. I have solved this problem, because in my case, ppp is encapsulated in PPPoE, not directly in Ether, Presumably you mean PPP is encapsulated over Ethernet using PPPoE, rather than being the link layer.

Re: [Wireshark-users] capture filter of PPP LCP

2007-12-24 Thread cw
Hi! ppp[0:2]=0xc021 is a capture filter, not dispaly filter. I have solved this problem, because in my case, ppp is encapsulated in PPPoE, not directly in Ether, so ppp[0:2]=0xc021 can not capture PPP LCP packets. Thanks a lot!

Re: [Wireshark-users] Capture Filter

2007-12-03 Thread Sake Blok
On Mon, Dec 03, 2007 at 10:05:39AM +0300, Asif wrote: Stephen Fisher wrote: On Mon, Dec 03, 2007 at 09:33:19AM +0300, Asif wrote: I want help on how to create Capture Filter for a specific host. See: http://www.wireshark.org/docs/wsug_html_chunked/ChCapCaptureFilterSection.html

Re: [Wireshark-users] Capture Filter

2007-12-03 Thread Trevor Tolk
: Re: [Wireshark-users] Capture Filter On Mon, Dec 03, 2007 at 10:05:39AM +0300, Asif wrote: Stephen Fisher wrote: On Mon, Dec 03, 2007 at 09:33:19AM +0300, Asif wrote: I want help on how to create Capture Filter for a specific host. See: http://www.wireshark.org/docs

Re: [Wireshark-users] Capture filter not working?

2007-11-19 Thread Trevor Tolk
Subject: Re: [Wireshark-users] Capture filter not working? On Thu, Nov 15, 2007 at 05:49:57PM -0800, Trevor Tolk wrote: capture filter: host 65.98.143.227 Could it be that the frames coming from the mirrored port are vlan-tagged (if so, they have a [802.1q] header in the packet detail pane

Re: [Wireshark-users] Capture filter not working?

2007-11-19 Thread Sake Blok
On Mon, Nov 19, 2007 at 02:11:41PM -0800, Trevor Tolk wrote: H. Well, I see the problem, though it opens different questions... I'm using an HP 2600 series switch. I'm afraid I don't have any experience with HP switches I have 3 vlans, but no ports are tagged (they are all untagged).

Re: [Wireshark-users] Capture filter not working?

2007-11-16 Thread Sake Blok
On Thu, Nov 15, 2007 at 05:49:57PM -0800, Trevor Tolk wrote: capture filter: host 65.98.143.227 Could it be that the frames coming from the mirrored port are vlan-tagged (if so, they have a [802.1q] header in the packet detail pane). If they are, you must use the capture filter vlan and

Re: [Wireshark-users] Capture filter not working?

2007-11-15 Thread Stephen Fisher
On Thu, Nov 15, 2007 at 03:26:06PM -0800, Trevor Tolk wrote: When I use an IP (host) or tcp/udp capture filter on the monitoring nic, it captures no traffic. When I use the same filter on the nic connected to the normal network, the filter works fine. I can use an ether capture filter an it

Re: [Wireshark-users] Capture filter not working?

2007-11-15 Thread Trevor Tolk
capture filter: host 65.98.143.227 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Fisher Sent: 2007-11-15 16:42 To: Community support list for Wireshark Subject: Re: [Wireshark-users] Capture filter not working? On Thu, Nov 15, 2007 at 03:26

Re: [Wireshark-users] Capture filter problem

2007-10-17 Thread Zhenyu Zhao
Have you tried ether host a.a.a.a capture filter? This can dig down to layer two... Zhen On Wed, 17 Oct 2007, Bogorev Andrey wrote: Hello All, I am experiencing in a problem with capture filter. I log in to sniffer PC(Windows 2000) remotely and define capture filter as host a.a.a.a and

Re: [Wireshark-users] Capture filter problem

2007-10-17 Thread Sake Blok
On Wed, Oct 17, 2007 at 01:17:53PM +0300, Bogorev Andrey wrote: I am experiencing in a problem with capture filter. I log in to sniffer PC(Windows 2000) remotely and define capture filter as host a.a.a.a and after that start ping from a.a.a.a to b.b.b.b but I see just reply from b.b.b.b to

Re: [Wireshark-users] capture filter

2007-05-04 Thread Guy Harris
Tom Greaser wrote: Thanks Guy.. JUST want i was asking for i will remember to man tcpdump next time .. Well, the man page is a start, but the expr relop expr section is a bit of Full Frontal Capture Filter[*] - you have to know that the capability is there, and you then have to go from that

Re: [Wireshark-users] Capture filter for tcp retransmissions

2006-11-13 Thread Guy Harris
Paul Jacobs wrote: I found the display filter for tcp retransmissions but is there a capture filter for this? No - libpcap's capture filter mechanism doesn't support any form of state kept between packets; each packet is treated independently from previous packets, so it'd be impossible for

Re: [Wireshark-users] capture filter tcp port 20 and port 21

2006-09-18 Thread Ulf Lamping
i want to capture ftp download from a server to a client. what is the capture filter to be used at both server and client so i can get only traffic from/to port 20 and port 21? i tried this -- tcp port 20 and tcp port 21 but no traffic is captured. The correct syntax for what you

Re: [Wireshark-users] capture filter tcp port 20 and port 21

2006-09-18 Thread Becky Vict
thank you jaap and ulf.i had tried this -- tcp port 20 or tcp port 21 and it works beautifully!ulf, if i use active mode, would my data port be negotiated for every transfer?thanks.Ulf Lamping [EMAIL PROTECTED] wrote: i want to capture ftp download from a server to a client. what is the capture