[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #7383 [Ooni]: Scapy sniff() should run in a separate thread and be stoppable
#7383: Scapy sniff() should run in a separate thread and be stoppable
---------------------+------------------------------------------------------
Reporter: hellais | Owner: hellais
Type: task | Status: new
Priority: major | Milestone:
Component: Ooni | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
We want the ability to have scapy start sniffing on the selected interface
when the test starts and have it stop when the test has finished.
The problem is that the scapy sniff() call in the stable version does not
have an easy way of telling it when it should stop sniffing.
There is a patch for sniff() to allow the termination of sniff() based on
the return value of a function:
http://trac.secdev.org/scapy/wiki/PatchSelectStopperTimeout
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7383>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs