Hi I was using this example for offline packet capture using JNETPCAP. But I am getting this exception all the time, illegalarguementexception wirelen < buffer len
Any idea how can I resolve this problem?
Hi I was using this example for offline packet capture using JNETPCAP. But I am getting this exception all the time, illegalarguementexception wirelen < buffer len
Any idea how can I resolve this problem?
In my case, Wireshark shows issues as well, for exactly the same packets where jnetpcap processing fails:
I'm using the nextEx(...)
API and was able to "skip" such problematic issues by catching the IllegalArgumentException
and just continue with the next call to nextEx(...)
and get through the file.