Skip to content

Question: how to process realtime pcap stream #156

@newinnovations

Description

@newinnovations

Thanks for fixing #155.

I want to capture http traffic from a pod in kubernetes. For this I am running tcpdump in the pod and I am receiving the live pcap stream as stdout on my local computer and want to pipe it to a python script that will log the http requests and responses.

Is it possible PyPCAPKit will be reading pcap from stdin or a pipe and fire a callback each time a reassembled packet is found?

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