» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with hardy + shorewall

Fix for Traffic Shaping in Shorewall firewall on Ubuntu Hardy

Summary: Traffic Shaping in Shorewall 4.0.6 in Hardy breaks on compile and wondershaper will fail. To fix you need to replace iproute.


ERROR:

Setting up Traffic Control...
What is "flowid"?
Illegal "police"
ERROR: Command "tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate 500kbps burst 10k drop flowid :1" Failed

FIX:

Enter root:

sudo -i

Install tools:

apt-get install build-essential fakeroot devscripts

Make a working directory:

mkdir /tmp/iproutefix && cd /tmp/iproutefix

Download DebDiff:

wget http://launchpadlibrarian.net/15355596/iproute_20071016-2ubuntu2.debdiff

Get the package source tree:

apt-get source iproute

Install libraries needed to build the source package:

apt-get build-dep -y iproute

Apply the debdiff changes:

cd iproute-* && patch -p1
Build the new source package:

debuild -uc -us

Install the resulting binary package:

dpkg -i ../iproute*.deb

Ubuntu: OnlyUbuntu Tutorials

Fix for Traffic Shaping in Shorewall firewall on Ubuntu Hardy

Summary: Traffic Shaping in Shorewall 4.0.6 in Hardy breaks on compile and wondershaper will fail. To fix you need to replace iproute.


ERROR:

Setting up Traffic Control...
What is "flowid"?
Illegal "police"
ERROR: Command "tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate 500kbps burst 10k drop flowid :1" Failed

FIX:

Enter root:

sudo -i

Install tools:

apt-get install build-essential fakeroot devscripts

Make a working directory:

mkdir /tmp/iproutefix && cd /tmp/iproutefix

Download DebDiff:

wget http://launchpadlibrarian.net/15355596/iproute_20071016-2ubuntu2.debdiff

Get the package source tree:

apt-get source iproute

Install libraries needed to build the source package:

apt-get build-dep -y iproute

Apply the debdiff changes:

cd iproute-* && patch -p1
Build the new source package:

debuild -uc -us

Install the resulting binary package:

dpkg -i ../iproute*.deb

Ubuntu: Only Ubuntu