namespace NetResponsibility

Overview

Classes: BlacklistCategory, BlacklistKeyword, BlacklistMatch, BootHistory, BypassRow, Bypasses, ConfigSubsystem, Database, Extension, Filter, History, HistoryRow, MainApplication, MyXml, Options, Report, ReportBase, ReportSubsystem, Request, Sniffer, SnifferSubsystem, SnifferThread, Warnings, oldutmp, sniff_ethernet, sniff_ip, sniff_tcp, utmplist

Types: Blacklist, Extensions, tcp_seq

Classes

struct BlacklistCategory

This struct holds each specific category. more...

struct BlacklistKeyword

This is a small struct to hold each keyword, as a string, compiled as separate regular expressions and the adherent strength. more...

struct BlacklistMatch

If the filter catches a match, in other words a suspicious URL, it's stored inside a BlacklistMatchmore...

class BootHistory

BootHistory processes the computer's boot history to determine whether or not Net Responsibility have been shut down manually. more...

struct BypassRow

A simple class to contain each Bypass. more...

class Bypasses

Bypasses is able to store all useful information about attempts to bypass the software. more...

class ConfigSubsystem

ConfigSubsystem is a Subsystem that takes care of the configuration. more...

class Database

Database handles all connections to the SQLite database. more...

struct Extension

The strength of the BlacklistMatch will also take the type of the URL in consideration. more...

class Filter

This class will run all test to find out if the URLs are appropriate or not. more...

class History

The History class is especially important to understand if you're writing a report plugin. more...

struct HistoryRow

A struct that contains each row of the urls table. more...

class MainApplication

MainApplication is the skeleton of Net Responsibility. more...

class MyXml

MyXml inherits XMLConfiguration and adds some extra functionality to it. more...

class Options

Poco::Util::ServerApplication is already handling configurations and arguments, but it's way too flexible for us. more...

class Report

This class is generating the reports. more...

class ReportBase

ReportBase provides basic functionality for making and sending reports, but must be inherited by Reportmore...

class ReportSubsystem

ReportSubsystem is a Poco::Util::Subsystem that determines if we should send a report, and makes sure it's done properly. more...

class Request

Request is in charge of interaction with the server. more...

class Sniffer

Sniffer sets up several SnifferThreads. more...

class SnifferSubsystem

SnifferSubsystem is a Subsystem that takes care of setting up Sniffermore...

class SnifferThread

SnifferThread is a thread that listens for HTTP requests on a specific interface, and makes sure they're getting logged. more...

class Warnings

Warnings is able to store all inappropriate URLs and useful additional info Iterate through it as with Historymore...

struct oldutmp

 more...

struct sniff_ethernet

 more...

struct sniff_ip

 more...

struct sniff_tcp

 more...

struct utmplist

Double linked list of struct utmp's more...

Types

Blacklist

typedef vector < BlacklistCategory > Blacklist;

Blacklist is the top-level container for all the blacklists.

Extensions

typedef vector < Extension > Extensions;

tcp_seq

typedef u_int tcp_seq;

Enumerations

BypassType

What kind of bypass is it?

BYPASS_UNKNOWN

BYPASS_SHUTDOWN

BYPASS_MISSING_FILE

BYPASS_MODIFIED_FILE

ReportType

REPORT_FALSE

REPORT_MANUAL

REPORT_SCHEDULED

REPORT_INSTANT

REPORT_TEST

REPORT_INSTALL

REPORT_UNINSTALL