Opened 7 years ago

Closed 6 years ago

#6071 closed task (implemented)

PCAP read/writer

Reported by: hellais Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Keywords: SponsorH201208
Cc: ioerror, isis Actual Points:
Parent ID: #5869 Points:
Reviewer: Sponsor:

Description

OONI probe needs to be able to read and write pcap data.

We need a way to read all the data that is sent and received by a certain test. This can be achieved with one of three ways:

1) The writer of a test specifies the BPF filter [1] that packets generated by it's test will adhere to
2) The packets generated by the test are marked in a way that it is then possible to retrieve them from the midst of other packets.
3) We create a tun/tap device specific for ooni probe or one for each test and route the traffic of the test through it.

For pcap support in python there is pypcap: http://code.google.com/p/pypcap/

[1] http://biot.com/capstats/bpf.html

Child Tickets

Change History (2)

comment:1 Changed 7 years ago by karsten

Keywords: SponsorH201208 added
Milestone: Sponsor H: August 2012

Switching from using milestones to keywords for sponsor deliverables. See #6365 for details.

comment:2 Changed 6 years ago by hellais

Resolution: implemented
Status: newclosed
Note: See TracTickets for help on using tickets.