kamene icon indicating copy to clipboard operation
kamene copied to clipboard

Pickle packets

Open DaGuich opened this issue 7 years ago • 6 comments

Is there any method to send packets over a queue? I can't extract necessary data before pushing it through the queue.

DaGuich avatar Sep 25 '17 11:09 DaGuich

Can you be more specific which queue are you referring to?

phaethon avatar Sep 25 '17 11:09 phaethon

multiprocessing.Queue Only picklable objects can be sent over those IPC classes

DaGuich avatar Sep 25 '17 22:09 DaGuich

I faced with the same problem. I have a sniffer process that sniffs for packets and sends them over the Queue. However, during testing I realized that I cannot do this.

zyrikby avatar Dec 13 '17 10:12 zyrikby

Apparently, in scapy for python2, this PR solves the issue: https://github.com/secdev/scapy/pull/537

zyrikby avatar Dec 13 '17 10:12 zyrikby

@zyrikby can you create a PR for this?

phaethon avatar Dec 13 '17 13:12 phaethon

@phaethon Sorry, I do not have time now for this.

zyrikby avatar Dec 13 '17 13:12 zyrikby