Ethereal-users: [Ethereal-users] search for string in data?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Mathias Koerber <mathias@xxxxxxxxxxx>
Date: Thu, 12 Sep 2002 12:17:06 +0800
Hi ethereal experts,

how can I (display) filter on packets which contain an arbitrary
string anywhere inside the packet?

From the list of fields I can guess that I need to use the ´data´
field, but I cannot fgure out how to express the rest. The substring
functions seem to require me specifying known locations, but
as yet I have no idea where in the packet mystring will turn up.

IOW, I'm looking for something like
	$date =~ /mystring/;

Any hints are appreciated.


mk
--
Mathias Koerber
mathias@xxxxxxxxxxx