Find a file
2018-10-08 19:10:24 +02:00
client Use 5s average and disable difference by default 2017-05-23 10:33:25 +02:00
doc added docs 2012-12-13 16:39:15 +00:00
realtimetrafficd Add version 2017-05-23 15:08:54 +02:00
.gitignore Add release targets and make static stripped compressed binaries 2017-05-23 14:22:19 +02:00
.travis.yml Add Go 1.9, 1.10, 1.11 to travis 2018-10-08 19:10:24 +02:00
dependencies.tsv Add godeps support via dependencies.tsv 2017-05-22 15:05:16 +02:00
grabber.go Reorganize code to be usable as module 2017-05-22 16:08:01 +02:00
interfacedata.go Reorganize code to be usable as module 2017-05-22 16:08:01 +02:00
LICENSE added docs 2012-12-13 16:39:15 +00:00
Makefile Use version name as part of binary release builds 2017-05-23 15:23:47 +02:00
README.md Update docs 2017-05-22 16:18:06 +02:00

Realtime Traffic

Realtime Traffic is a Linux realtime traffic monitoring tool, graphing rx and tx of a Linux network interface in realtime to any modern web browser supporting WebSockets and SVG, developed at struktur AG

Screenshot

Installation

Download the software, either using Git, or grab a ZIP and extract it somewhere.

Getting started:

$ wget -O rtt.zip https://github.com/longsleep/realtimetraffic/archive/master.zip
$ unzip rtt.zip
$ cd realtimetraffic-master
$ make
$ ./bin/realtimetrafficd

Now just open up your browser:

$ firefox http://127.0.0.1:8088/?autostart=1

See the usage information (-h) for options.

Server usage options

The trafficserver is basically a Websocket server pushing traffic data to any connected client.

Usage of ./bin/realtimetrafficd:
  -listen="127.0.0.1:8088": Listen address.

Client parameters

The client default parameters can be configured by URL query parameters.

url=ws://...  The trafficserver Websocket URL (defaults to URL of local server)
interf=eth0   Interhttp://localhost:8599/scripts/d3.v2.min.jsface Name to capture the traffic (default eth0).
autostart=1   Automatically connect to server on launch (defaults to off).

Authors

This library was developed by Simon Eisenmann at struktur AG

License

Copyright (C) 2012-2017 struktur AG

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.