MACTS 1.01

MACTS is a traffic shaper which uses MAC addresses which are associated with users to classify traffic.
MACTS project is a traffic shaper that uses MAC addresses which are associated with users to classify traffic.

This allows fair usage of bandwidth among many machines. Additionally, there is a statistics monitor which displays current statistics on the terminal or stores them in round robin databases.

The stored data may then be used to generate graphs with the included Perl/CGI scripts. The configuration file is straight-forward and requires little knowledge of networking or the underlying traffic control mechanism. Setup should be easy.


macts - This clears the current traffic classifiers and sets up new ones, as directed by /etc/macts/macts.conf. It also stores some temporary state data in /etc/macts/handles.cache.

macts-stats - With no args, this displays statistics on a terminal, including data rate (kb/s), packet rate (packets/s), and backlog (packets) for each machine. Given the -r flag, it stores the statistics in round robin databases (one for each machine), located in /etc/macts/stats/.

macts-chart - This is a CLI chart generator which reads data from RRDs stored in /etc/macts/stats/.

macts-chart.cgi - This is a CGI wrapper for macts-chart.


- mkdir /etc/macts
- mkdir /etc/macts/stats
- create /etc/macts/macts.conf
- add the following lines to /etc/sysctl.conf:
net.ipv4.conf.default.accept_source_route = 1 # is this necessary?
net.bridge.bridge-nf-filter-vlan-tagged = 0
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
- move macts, macts-stats, and macts-chart to /usr/local/bin/.
- (optional) install rrdtools and the perl rrdtool interface
- (optional) add the following line to root's cron:
*/5 * * * * /usr/local/bin/macts-stats -r 2&> /dev/null
- (optional) move macts-chart.cgi to your web server's cgi directory.

What's New in This Release:

Installation instructions have been fixed.

last updated on:
February 26th, 2006, 1:35 GMT
license type:
GPL (GNU General Public License) 
developed by:
William Knop
ROOT \ System \ Networking
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!

Add your review!