On Thu, Nov 20, 2008 at 11:01 AM, John Wright <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 19, 2008 at 08:18:00PM -0800, Jeff Simmons wrote:
>> I need, at a minimum, which virtual server at a particular IP address is 
>> being
>> accessed, and the contents of any GET commands (methods). If there's a way to
>> get this via tcpdump I haven't found it yet.
>
> Just increase the snaplen.
>
> tcpdump -s 65000 -w dump port 80
>
> ^C when you're done and vim the dump.  Raw packets but you'll see the GET in
> there.

You can make the dump ASCII-safe with strings(1).

-- 
Jacek Artymiak
http://devGuide.net

Installing OpenBSD 4.4 web seminar
http://www.devguide.net/training/webinars/openbsd001

vi(1) Tips: Essential vi/vim Editor Skills, 1st ed.
http://www.devguide.net/books/vitips1

Reply via email to