Hi all,
(apologies to those on NZLUG mailing list who have seen this announcement)
Announcing alpha release of pyshaper v0.1.1
http://www.freenet.org.nz/python/pyshaper
What is pyshaper?
pyshaper is a program (linux only, sorry) which radically simplifies the
task of setting up traffic-shaping (bandwidth usage management),
especially for people running broadband on home systems and networks,
who need to keep an eye on their traffic usage.
It runs as a daemon which periodically scans the established TCP
connections on a box, matches them against a set of rules you provide in
a short simple config file, and transparently executes a bunch of 'tc'
commands to allocate bandwidth to these connections according to your
settings. In proactively scanning for connections and shaping them
against the rulebase, I guess I could call pyshaper a 'dynamic traffic
shaper'.
It is way simpler than using 'tc' directly. It's also much simpler
(IMHO) than the existing 'tc wrapper' programs such as shaper, shaperd
etc. It lets you focus on your high-level bandwidth management
requirements, without dragging you into the entrails of networking
technicalities, or requiring you to wade through megabytes of doco like
the LARTC Howto etc.
Flexible rule-definition syntax enables you to set up some very
interesting bandwidth throttles - for example, you can set your outgoing
web traffic to give optimal service to clients in NZ and Australia, poor
service to clients in USA, and nominal service to clients elsewhere. Or,
you can match against programs, userids, or program arguments, as well
as the usual host/port of each end.
I'm using pyshaper to manage the bandwidth usage of permanently-running
peer2peer networking programs like Freenet, Entropy and I2P. Results so
far - these normally bandwidth-hungry P2P apps are able to function, yet
I'm able to play online games with an acceptable ping.
Tarball available via above URL includes manpages, example scripts,
boilerplate config, plus a list of kernel options which need to be enabled.
This is an alpha release. Only tested so far on debian sid with linux
2.6.4. But it should be fine on any linux 2.4-2.6 box, as long as you
enable the QoS kernel options (refer INSTALL).
Bug reports, requests, suggestions, patches etc very welcome.
Cheers
David
--
leave this line intact so your email gets through my junk mail filter
To unsubscribe: send mail to majordomo@lists.unixathome.org
with "unsubscribe broadband" in the body of the message
Received on Mon Mar 15 19:18:14 2004