GithubHelp home page GithubHelp logo

marioaugustorama / ttraff Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iamacarpet/ttraff

0.0 0.0 0.0 16 KB

Simple C++ Traffic Volume Logger - Designed for router appliance environments.

C++ 98.25% C 0.52% Makefile 1.23%

ttraff's Introduction

ttraff Network Bandwidth Logger

The ttraff tool is an program to log how much bandwidth is moving through each interface and log it out to a database.

The traffic is logged per date and per interface.

An embedded webserver is also included to view graphs of the recorded data.

WARNING

PLEASE NOTE:

This software was written by me to help build a legal case against my old ISP - adapted from code inside DD-WRT.

It was written in a short period of time to be run on a very low RAM, x86 embedded Linux router running Ubuntu, without much care taken for making things easy for other people to use, or much testing.

I have very little experiance of C++, so I can't say the code is very secure.

Please use at your own risk and NOT IN PRODUCTION!

Features

  • Traffic Bandwidth Totals Logging
  • SQLite Storage Backend
  • Embedded webserver
  • Pretty graphs

Installation

On Ubuntu 10.04, make sure you install: apt-get install libsqlite3-dev libmicrohttpd-dev

Then cd into the src folder, make && make install

Documentation & Usage

Run the program with the ttraffd command.

Visit it at http://serverip:8888/

View traffic graphs - That's about all there is to it.

Open Source Projects Used

This was origionally based on the code from the DD-WRT project along with some other libs and SQLite.

I'll add full details here when I can.

License

The GPL version 3, read it at http://www.gnu.org/licenses/gpl.txt

##Contributing

Any help is always welcome, please contact sam [at] infitialis.com and we can discuss any help you would like to give.

ttraff's People

Contributors

iamacarpet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.