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

Class, enums, and functions related to network traffic. More...

#include <set>
#include <string>
Include dependency graph for Traffic.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  Myra::Traffic::Types
 A std::set<> of Traffic::Type. More...
 

Namespaces

 Myra
 Namespace declaration for all of the Myra Canyon helper functions.
 
 Myra::Traffic
 Namespace to group everything related to network traffic.
 

Enumerations

enum  Myra::Traffic::Type {
  Myra::Traffic::Type::Unknown = 0,
  Myra::Traffic::Type::StopAnalysis = 1,
  Myra::Traffic::Type::FlowStart = 2,
  Myra::Traffic::Type::FlowEnded = 3,
  Myra::Traffic::Type::PortBased = 4,
  Myra::Traffic::Type::Recovered = 5,
  Myra::Traffic::Type::ARP = 70,
  Myra::Traffic::Type::IP = 71,
  Myra::Traffic::Type::IPv4 = 72,
  Myra::Traffic::Type::IPv6 = 73,
  Myra::Traffic::Type::TCP = 100,
  Myra::Traffic::Type::UDP = 101,
  Myra::Traffic::Type::ICMP = 102,
  Myra::Traffic::Type::NameResolution = 1000,
  Myra::Traffic::Type::HTTP = 1001,
  Myra::Traffic::Type::SPDY = 1002,
  Myra::Traffic::Type::PING = 1003,
  Myra::Traffic::Type::SSH = 1004,
  Myra::Traffic::Type::FTP = 1005,
  Myra::Traffic::Type::FTPData = 1006,
  Myra::Traffic::Type::GoogleTalk = 1007,
  Myra::Traffic::Type::NTP = 1008,
  Myra::Traffic::Type::EPSConduits = 1009,
  Myra::Traffic::Type::SVN = 1010,
  Myra::Traffic::Type::Flash = 1011,
  Myra::Traffic::Type::FlashRTMP = 1012,
  Myra::Traffic::Type::QUIC = 1013,
  Myra::Traffic::Type::HTTPS = 1014,
  Myra::Traffic::Type::RFB = 1015,
  Myra::Traffic::Type::BitTorrent = 1016,
  Myra::Traffic::Type::Bencode = 1017,
  Myra::Traffic::Type::ICMPUnreachable = 1018,
  Myra::Traffic::Type::TLS = 1019,
  Myra::Traffic::Type::SIP = 1020
}
 Traffic can identify as several different things at once. More...
 

Functions

std::string Myra::Traffic::to_string (const Myra::Traffic::Type &t)
 Convert the type to a single-word text string. More...
 
std::string Myra::Traffic::to_string (const Types &types)
 Convert an entire Types container to a string. More...
 
bool Myra::Traffic::examine_first_packet (Flow &flow, const Myra::PktInfo &info)
 Function to do the very first packet analysis for Flow. More...
 
bool Myra::Traffic::examine_tcp_packet (Flow &flow, const Myra::PktInfo &info)
 Quickly examine a TCP packet for 3 key flags (SYN, FIN, and RST). More...
 
bool Myra::Traffic::debug_unknown_packet (Flow &flow, const Myra::PktInfo &info)
 Log debugging information on unknown flow packets. More...
 

Detailed Description

Class, enums, and functions related to network traffic.