UTM 5.2.1.005 под Gentoo 2007
Тестим: тяну файл на скорости 20-25 Кбайт/сек.
Воткнул Dynashape. В настройках прописал переменную (1, эт айди моего тарифа) и значение (0-64;) Создал скриптик из мануала. Прописал в консоль все команды из мануала ("Предполагается, что..."). Запускаю utm5_dynashape -i, всё ок. В /netup/utm5/log/dynashape.tmp лёг файл с содержанием
Код: Выделить всё
2001 192.168.0.14 32 255.255.255.255 64 1
Затем запускаем utm5_dynashape без ключа -i.
С dynashape.cfg всё так же ОК.
Тестим)))
Тот же файл с инета тянем на скорости 80-90 Кбайт/сек))
Ясно-понятно, что подъем скорости с dynashape не связан, но все равно прикольно получилось)
Итак, как же ж мне скорость-то порезать?
Вот dynashape.cfg:
Код: Выделить всё
localhost ~ # cat /netup/utm5/dynashape.cfg
##
## /netup/utm5/dynashape.cfg
## DynaShape configuration file
##
## tmp_file
## Description: A temporary file to store information on executed commands.
## Possible values: <path>
## Required field.
tmp_file=/netup/utm5/log/dynashape.tmp
## core_host
## Description: IP address of the host running UTM5 core.
## Possible values: IP address or 0.0.0.0
## Default value: 127.0.0.1
core_host=127.0.0.1
## core_port
## Description: Port where UTM5 is listening to URFA.
## Possible values: an integer from 1 to 65534
## Default value: 11758
core_port=11758
## core_login
## Description: Login of the system user to access the UTM5 core. The user
## should have rights to call the urfa-function with ID = 0x12001.
## Possible values: <string>
## Default value: init
core_login=*****
## core_password
## Description: Password of the system user to access the UTM5 core.
## Possible values: <string>
## Default value: init
core_password=*****
## group_id
## Description: ID of the group of users for which the shaper management
## commands are executed.
## Possible values: an integer
## Default value: unset
## t_class
## Description: Traffic classes to include in calculation of
## downloaded traffic.
## Possible values: a comma-separated list of positive integers
## Default value: unset
t_class=10
## firewall_path
## Description: Name of the executable file managing the software shaper.
## Possible values: <name of an executable file>
## Default value: unset
firewall_path=/netup/utm5/dynash
## fw_rule_offset
## Description: Sets the value to be added to user id to derive
## the value of RULE_ID.
## Possible values: <positive integer>
## Default value: unset
fw_rule_offset=2000
## vpn_only
## Description: Regulates use of 'non-VPN' option when setting IP groups that
## are used for creating the commands.
## Possible values: 0, 1, 2
## ---------------------------------------------------------
## | Value | 'non-VPN' option value for IP traffic service |
## |-------+-----------------------------------------------|
## | 0 | the option is unset |
## | 1 | the option is set |
## | 2 | the option is ignored |
## ---------------------------------------------------------
## Default value: 0
vpn_only=0
Кстати, всех с наступившим!!))