[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #6071 [Ooni]: PCAP read/writer
#6071: PCAP read/writer
---------------------+------------------------------------------------------
Reporter: hellais | Owner: hellais
Type: task | Status: new
Priority: normal | Milestone: Sponsor H: August 2012
Component: Ooni | Version:
Keywords: | Parent: #5869
Points: | Actualpoints:
---------------------+------------------------------------------------------
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
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6071>
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