Skip to content
DevCybran edited this page Nov 21, 2014 · 13 revisions

Features

  • realtime monitoring for tc
  • visualization of qdiscs and classes (and htb rate and ceil)
  • configurable interface-specific maximum throughput
  • commenting qdiscs and classes
  • view qdisc and class statistics
  • persistent storage of user-defined settings
  • pure HTML5/canvas GUI, PHP backend

Caveats

  • poor GUI performance on heavy traffic (reducing the particle count in warpgate.config.js may help)
  • though there are some checks against malformed requests, I do not guarantee security in any way. Make sure only system admins or trusted users have access to tc-warpgate.
  • currently, additional information is only processed for htb classes (you may add a ticket requesting special treatment of other classes, together with an example tc setup for testing purposes)
  • tested only using pfifo_fast, pfifo, sfq and htb. Should also work for any other qdiscs / classes though.

Installation instructions

  1. Install a webserver and php module on the server which should be monitored (if not already present)
    example (ubuntu): sudo apt-get update && sudo apt-get install apache2 php5
  2. Copy all files from the repository to your webserver data directory
    example directory: /var/www/html/
  3. make the config.json file writable for the webserver:
    example: sudo chown www-data /var/www/html/config.json && sudo chmod 644 /var/www/html/config.json
  4. finished! Open up the webservers address in a browser to start monitoring.

Usage instructions

Clone this wiki locally