Jefferson Ogata wrote:
MMatos wrote:
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
Alexander Dupuy wrote:
Note also that there is a bug in the libpcap BPF optimizer (as of 0.8.3)
that breaks the hack described above,
Try it with the top-of-tree CVS version; I've made some optimizer fixes
that will, I think, fix this.
However, the libpcap 0.7 optimizer not only generates
MMatos wrote:
Jefferson Ogata wrote:
Jefferson Ogata wrote:
MMatos wrote:
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