Originally Posted by
Basile
1. Перейти на
прошивку энтузиастов. Есть
стабильные сборки, а есть
ночные сборки (Внимание! Здесь прошивки заархивированы). Есть 2 ветки: на ядре 2.4 (wl/-d-) и на ядре 2.6 (rtn), но под каждую ветку есть свой файл modules, который лежит рядом с прошивкой.
2. Пока хватит?
Зачем мне слышать про какие то "ночные сборки"? у меня конкретная прошивка RT-N16-1.9.2.7-rtn-r2274.trx.
Code:
$ lsmod | egrep 'layer7'
xt_layer7 15248 0
А как реально настроить вот тут написано все понятно
http://wiki.openwrt.org/oldwiki/MiniHowtos/QoSHowto
но линк не работает
http://downloads.openwrt.org/people/nbd/qos/
а попробовал дальше отсюда Another Qos Package, выдает ошибки...
Code:
ipkg install http://files.eschauzier.org/qos-re_1.0_all.ipk
Downloading http://files.eschauzier.org/qos-re_1.0_all.ipk
Installing qos-re (1.0) to /opt/...
Nothing to be done
An error ocurred, return value: 1.
Collected errors:
ERROR: Cannot satisfy the following dependencies for qos-re:
kmod-sched kmod-ipt-conntrack iptables-mod-conntrack kmod-ipt-ipopt ipt ables-mod-ipopt kmod-ipt-extra iptables-mod-extra ip kmod-imq iptables-mod-imq t c kmod-ipt-filter iptables-mod-filter
Вот еще How to L7-filter Userspace Version:
http://l7-filter.sourceforge.net/HOWTO-userspace#Doing
Загрузил netfilter-layer7-v2.22.tar.gz отсюда-
wget http://sourceforge.net/projects/l7-f...ar.gz/download
У меня
Code:
uname -a
Linux Asus 2.6.22.19 #1 Sun Aug 15 14:55:34 YEKST 2010 mips GNU/Linux
Code:
vi README
- iptables-1.4.3forward-for-kernel-2.6.20forward/libxt_layer7.{c,man}
Use these files if you are compiling iptables 1.4.3 or later against Linux
2.6.20 or later.
- for_older_iptables/
Use these files if you are using an older version of iptables or Linux.
Note that not all combinations are supported. This includes, but is not
limited to:
-- Compiling iptables 1.4.x against Linux 2.6.19.x or earlier.
-- iptables 1.4.1, period.
General notes:
- You do NOT need to recompile iptables if you change your running kernel
version across the 2.6.20 boundary and you already have a working iptables.
- You DO need to recompile iptables if you switch from a kernel patched
with l7-filter <= v2.10 to one patched with l7-filter >= v2.11.
Также имея iptables v1.3.8 но непонятно где находиться "patched kernel source"?
Code:
iptables 1.4.0 and older
Use the appropriate iptables patch to to patch[1] iptables. Compile iptables, pointing it at your patched kernel source:
Run "chmod +x extensions/.layer7-test" (information about file permissions can't be contained in the patch)
Then "make KERNEL_DIR=/path/to/patched/kernel_source" (you must have configured your kernel source before this step)
And install (as root): "make install KERNEL_DIR=/path/to/patched/kernel_source"
Как compile into your kernel module ip_conntrack_netlink or nf_conntrack_netlink?
Code:
Either way, you need either the module ip_conntrack_netlink or nf_conntrack_netlink or the same code compiled into your kernel.
Вопрос - кто нибуть реально смог настроить QoS на Layer 7?