Myra Canyon  v0.0.1-768
network control
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BitTorrent.hpp File Reference

BitTorrent is used to detect and examine peer-to-peer BitTorrent traffic. More...

#include "Network.hpp"
#include "Flow.hpp"
Include dependency graph for BitTorrent.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 Myra
 Namespace declaration for all of the Myra Canyon helper functions.
 
 Myra::Traffic
 Namespace to group everything related to network traffic.
 
 Myra::Traffic::BitTorrent
 Detect and examine BitTorrent packets.
 

Functions

bool Myra::Traffic::BitTorrent::examine_udp_bencode (Flow &flow, const Myra::PktInfo &info)
 Examine a udp packet for BitTorrent bencode, and mark the flow if found. More...
 
bool Myra::Traffic::BitTorrent::examine_udp_num_dht (Flow &flow, const Myra::PktInfo &info)
 Examine a udp packet for Number DHT (distributed hash table). More...
 
bool Myra::Traffic::BitTorrent::examine_tcp_protocol (Flow &flow, const Myra::PktInfo &info)
 Examine a tcp packet for the "BitTorrent protocol" signature, and mark the flow if found. More...
 

Detailed Description

BitTorrent is used to detect and examine peer-to-peer BitTorrent traffic.