Skip to content

pyshark.liveCapture drop packets? #3

Open
@Lzhou2020

Description

@Lzhou2020

When comparing the packets captured in "live_cap.pcap" by the function:
cap = pyshark.LiveCapture(interface='eth0',bpf_filter="ip", output_file = “live_cap.pcap”)
with the packets captured simultaneously by Wireshark in a pcap file, the packets in "live_cap.pcap" is much less.
Please help to answer whether there is packet drop issue in the pyshark.live_capture function, or some parameter setting is wrong, how to resolve the packet missing problem?
(this problem was posted in KimiNewt/pyshark#495, no answer yet)
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions