Opened 7 years ago

Closed 7 years ago

#7456 closed enhancement (fixed)

Sniffer should use ScapySocket

Reported by: hellais Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Keywords: ooni_tests, SponsorH201210
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Currently the function capturePackets in ooni/utils/net.py defers to a thread the scapy sniff() function.

This is not ideal since we have ooni/utils/txscapy.py that is made for using the scapy super socket file descriptor in a non-blocking way.

the capturePackets function should be refactored to use ScapyProtocol in ooni/utils/txscapy.py

Child Tickets

Change History (1)

comment:1 Changed 7 years ago by hellais

Resolution: fixed
Status: newclosed

This was implemented.

Note: See TracTickets for help on using tickets.