All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Smith <edward.ralph.smith@gmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Current Script
Date: Tue, 14 Jun 2005 01:30:53 +0000	[thread overview]
Message-ID: <39458b0805061318306bc3eef3@mail.gmail.com> (raw)

I want to thank the list and Andy Furniss for helping me get started
with TC.  Here is my current script with some additional comments. 
Please note that I can't really endorse anything below, as I'm new at
this.  I can tell you that using the monitor_tc_top.pl script, I can
see traffic going into all these classes and that my users seem very
happy with the results (we are 57 people sharing a 2mbit/512k VSAT
link in Iraq).  Also, all of this code is ultimately stolen from some
online source, I would love to give credit, but I don't keep records
:)  I'll try to fill in some of where I found all of this as well as
compile a list of links on the page listed below.

Ok, pasting my code into this gmail window was getting ugly.  So I
posted my code at:

http://www.stardotstar.org/?page_idc

In case the script isn't clear, here is my overall idea:

4 kinds of traffic
1.  'Overhead Traffic' of ACKs and SYNs.  Latency is a big problem, so
I gave this a class of its own.
2.  'Interactive Traffic' Telnet, SSH, and since our main goal is to
use this to communicate with family during our deployment, webchat. 
I've tried to get a good method for matching this traffic but nothing
great has happenned.  I have L7 filters installed and will probably
start using them soon.  However, I also need some way to match video
and audio chat which I haven't seen yet.
For now there is an ugly hack which you will see.
3.  Web Traffic.  This is our secondary priority for our network.
4.  All else.

Within each of the above classes (1:10, 1:20, 1:30, 1:100
respectively), I create a class for each IP on my network.  I am using
shorewall, and have all of my IPs listed in /etc/ethers.  There is no
checking of IPs, which would be a good addition to this script.

Feedback is welcome, use anything at your own risk, area not in sight
from tower :)

Edward
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

                 reply	other threads:[~2005-06-14  1:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39458b0805061318306bc3eef3@mail.gmail.com \
    --to=edward.ralph.smith@gmail.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.