[tor-bugs] #7383 [Ooni]: Scapy sniff() should run in a separate thread and be stoppable
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Nov 8 17:21:12 UTC 2012
#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
More information about the tor-bugs
mailing list