I don’t want to write it to a pcap file and then read it in.. i want to be able to process data packets as they come in, in real time. I’ve tried using named pipes as the intermediary but since they block while the writer is writing, I can’t read it concurrently. I tried piping to stdin but I’m unable to read it using pythons dpkt package. This is what I’m using to parse the data packets captured. Can this even be done? Can somebody point me to the right way? I’ve spent two full days trying to figure this out.
scapy
pcapy
Scapy helped. Thank you kind stranger!
Are you running this over a tap or do you have access to the box that runs the client/server ?
The latter.
-l
Tried that.. that just spits out each packets header iteratively.. that doesnt help the fact that I can’t read this stream in real-time and unpack..
Thanks, will check this out.
Urmm.. why is that?
so sad... Alexa play Despacito