[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [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:  closed 
    Priority:  major        |   Milestone:         
   Component:  Ooni         |     Version:         
  Resolution:  implemented  |    Keywords:         
      Parent:               |      Points:         
Actualpoints:               |  
----------------------------+-----------------------------------------------
Changes (by hellais):

  * status:  new => closed
  * resolution:  => implemented


Comment:

 This has been implemented in https://gitweb.torproject.org/ooni-
 probe.git/commit/6a3ee55b574adaa8740ccafe2e4a01719dc0e86e.

 It is still somewhat hacking especially the escamotage that is used to
 kill the thread that has the sniffer running inside of.

 Ideally we would want to write our own sniff() function that does not rely
 on calling the scapy sniff.

 This is also what is recommend by the author of scapy in a mailing list
 thread.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7383#comment:1>
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