tcpdump mailing list archives

Re: Sniffing ranges of ips


From: Avelino Rego <avelinorego () netcabo pt>
Date: Fri, 19 Nov 2004 02:27:54 +0000

MMatos wrote:


Hi there!

I want to write a little program that analyses packets within a given ip range.

My current problem is to set a filter that work with ip ranges.

For example I want to dump all traffic that arrives to my box from ips 192.168.2.15 to 192.168.2.40 I could write all the ips in the range but that's not a good solution, so how can implement that filter correctly using the range?

some kind of
$tcpdump "src 192.168.2.15/40"           :)

TIA

MMatos

que cena, eu estou subscrito na mailing list, e não recebi o email.
Ou então ainda não recebi...

--
lino

-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: