Wireshark-users: Re: [Wireshark-users] filter for ONLY initial get request

From: David Alanis <canito@xxxxxxxx>
Date: Sat, 07 Aug 2010 23:02:43 -0500
Quoting Jeffs <jeffs@xxxxxxxxxxxxx>:

I am working on a project which requires that the traffic across the
network grab ONLY the initial get request for http requests.  Usually,
if I use something like wireshark or justniffer, on a single user's get
request for, say, http://www.nytimes.com, I will receive all the
following traffic and then some, based on just one request to
http://www.nytimes.com:

nytimes.com
timespeople.nytimes.com
c.brightcove.com
admin.brightcove.com
graphics8.nytimes.com
s0.2mdn.net


Is there  a way in wireshark or in any other network analysis tool to
grab or filter out just the initial http request for the domain and
disregard all the other follow up hosts (usually associated advertising)
that accompanies these requests?

In other words, all I want to log or see in the filter results, in the
above example, would be:

nytimes.com



Thank you.
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe


I put it a simple filter of:

http.request || tcp contains domain.com

and it appears to have accomplished what you asked.

Cheers-

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.