wok rev 13380
Added dummynet kernel module and ipfw userspace tool
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Sep 20 19:49:11 2012 +0000 (2012-09-20) |
parents | 3895a599efa3 |
children | b7a58cabbb13 |
files | dummynet/description.txt dummynet/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dummynet/description.txt Thu Sep 20 19:49:11 2012 +0000 1.3 @@ -0,0 +1,6 @@ 1.4 +dummynet is a live network emulation tool, originally designed for testing 1.5 +networking protocols, and since then used for a variety of applications 1.6 +including bandwidth management. It simulates/enforces queue and bandwidth 1.7 +limitations, delays, packet losses, and multipath effects. It also implements 1.8 +various scheduling algorithms. dummynet can be used on the machine running the 1.9 +user's application, or on external boxes acting as routers or bridges.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/dummynet/receipt Thu Sep 20 19:49:11 2012 +0000 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="dummynet" 2.7 +VERSION="20120812" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="Network testing/emulation tool." 2.10 +MAINTAINER="samuel_trassare@yahoo.com" 2.11 +WEB_SITE="http://info.iet.unipi.it/~luigi/dummynet/" 2.12 +TARBALL="$VERSION-ipfw3.tgz" 2.13 +WGET_URL="http://info.iet.unipi.it/~luigi/doc/$TARBALL" 2.14 + 2.15 +BUILD_DEPENDS="linux-module-headers" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + make 2.21 +} 2.22 + 2.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.24 +genpkg_rules() 2.25 +{ 2.26 + mkdir -p $fs/usr/bin \ 2.27 + $fs/lib/modules/`uname -r`/kernel/net 2.28 + cp -a $src/ipfw/ipfw $fs/usr/bin 2.29 + cp -a $src/kipfw-mod/ipfw_mod.ko $fs/lib/modules/`uname -r`/kernel/net 2.30 +} 2.31 + 2.32 +post_install() 2.33 +{ 2.34 + echo "/lib/modules/`uname -r`/kernel/net/ipfw_mod.ko" >> /lib/modules/modules.dep 2.35 + depmod 2.36 +}