Python Forum
Pyshark filter message - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Networking (https://python-forum.io/forum-12.html)
+--- Thread: Pyshark filter message (/thread-25579.html)



Pyshark filter message - ziv_t - Apr-03-2020

Hi ,

Im using:
file_capture = pyshark.FileCapture(file_name,display_filter=display_filter, only_summaries=False,
                                   keep_packets=False, override_prefs=pref,custom_parameters=lua_param)
On Wireshark after applying the filter i got 1 packet.
The same with pyshark returns 0 packets.

It seems that first packet is missing
using latest pyshark 2.4.9

Any advice -
1. If there is any way to get the packet?
2. If there is a different way to get filtered packets

Thanks!