tcpdump mailing list archives
Re: Filter not working?
From: Guy Harris <guy () netapp com>
Date: Fri, 7 Feb 2003 16:16:25 -0800
On Fri, Feb 07, 2003 at 04:02:22PM -0800, Guy Harris wrote:
If I put your filter into a file, and do
.\windump -r {Ethernet capture file} -dF {filter file}
I get the same program.
...although I put the filter into a file on UNIX, so there were only LFs
at the ends of lines, not CR/LFs.
If I create the file with Notepad (good old Microsoft - they let me do
notepad e:\filterfile.txt
from the command line!), and then try
.\windump -r {capture file} -dF e:\filterfile.txt
I get
.\windump: short read e:\filterpoop.txt (156 != 162)
so perhaps tcpdump needs to read the file with O_BINARY set on Windows.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- Filter not working? Gisle Vanem (Feb 07)
- Re: Filter not working? Guy Harris (Feb 07)
- Re: Filter not working? Guy Harris (Feb 07)
- Re: Filter not working? Gisle Vanem (Feb 07)
- Re: Filter not working? Guy Harris (Feb 07)
- Re: Filter not working? Guy Harris (Feb 07)
- Re: Filter not working? Guy Harris (Feb 07)
