Tcpdump filter

From: Subba Rao (subba9@home.com)
Date: 08/17/01


Date: Fri, 17 Aug 2001 11:16:07 +0000
From: Subba Rao <subba9@home.com>
To: Focus IDS <FOCUS-IDS@SECURITYFOCUS.COM>
Subject: Tcpdump filter
Message-ID: <20010817111607.A6159@home.com>

Hi,

I have written a filter to avoid logging,
        - ARP broadcasts
        - ESP packets
        - POP3 mail packets
        - News packets

not arp and not ip[9] = 50 and
 (
   (not (src host 1.1.1.1 and dst port 110)) and
   (not (src host M.M.M.M and src port 110))
 )
and
 (
   (not (src host 1.1.1.1 and dst port 119)) and
   (not (src host N.N.N.N and src port 119))
 )

This filter is not capturing the Code Red probes. IPChains is logging the
Code Red attempts on this machine but the filter fails to capture it.
Can anyone spot what I am doing wrong here? The outbound Web access is being
captured but not the Code Red access. Apart from the above listed packets, I
would like to capture the rest of the packets.

Thank you in advance.

-- 

Subba Rao subba9@home.com http://members.home.net/subba9/

GPG public key ID 27FC9217 Key fingerprint = 2B4C 498E 1860 5A2B 6570 5852 7527 882A 27FC 9217



Relevant Pages

  • Same problem
    ... Just found out that HTC devices ship with a filter named "HTC SourceFilter". ... delved into it a bit and found that it was a capture filter from HTC ... HRESULT hResult = S_OK; ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Ping Ken Maltby re ATI Avivo
    ... If you haven't used GraphEdit to access the property pages, ... A File Writer or "Dump" filter. ... I have used GraphEdit to capture from my ... hardware MPEG capture card (that most programs can't seem to ...
    (rec.video.desktop)
  • Re: Need to add a pin property/Filter property page to my BDA driver
    ... Yes I want to add a custom pin and filter property. ... static HRESULT CreateRegKey(HKEY hParentKey, LPWSTR wszSubkey, HKEY* ... memset(wszKey, 0, sizeof(wszKey)); ... // The filter descriptor for the capture device. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: DirectShow @ WM 5.0: Capture camera to memory?
    ... The still image pin will most likely expose higher resolutions than ... the capture pin which could negativly impact your performance, ... You'll need to create a sink filter that does your processing, RGB video ...
    (microsoft.public.pocketpc.developer)
  • Re: Converting YUY2 format video to AVI
    ... XviD is that i tried looking around how to convert YUY2 to wmv or asf ... Windows media encoder sdk to convert avi to wmv. ... His capture card is the following - ... filter graph instance in the "Running Object Table", ...
    (rec.video.desktop)

Quantcast