Скорость не работает обновился

Ответить
Sasha462
Сообщения: 225
Зарегистрирован: Ср дек 27, 2006 2:45 pm
Откуда: Львов

Скорость не работает обновился

Сообщение Sasha462 »

: ${abills_shaper_enable="NO"}
: ${abills_shaper_if=""}
: ${abills_nas_id=""}
: ${abills_ip_sessions=""}
: ${abills_nat=""}
: ${abills_dhcp_shaper="NO"}
: ${abills_dhcp_shaper_nas_ids=""}
: ${abills_neg_deposit="NO"}
: ${abills_neg_deposit_speed=""}
: ${abills_portal_ip="re0"}
: ${abills_mikrotik_shaper=""}
: ${abills_squid_redirect="NO"}

: ${abills_ipn_nas_id=""}
: ${abills_ipn_if=""}
: ${abills_ipn_allow_ip=""}

firewall_enable="YES"
firewall_type="OPEN"
#firewall_script="/root/script/fw6.sh"
#firewall_nat_enable="YES"

#firewall_type="/etc/rc.ipfw"
#firewall_quiet="YES"

# MPD
mpd_enable="YES"
mpd_flags="-b"

ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipnat_enable="YES" # Set to YES to enable ipnat functionality
ipnat_program="/sbin/ipnat" # where the ipnat program lives
ipnat_rules="/etc/ipnat.rules" # rules definition file for ipnat
abills_shaper_enable="YES"
abills_nas_id="1"


/usr/abills/libexec/billd checkspeed NAS_IDS=1 SHOW_SPEED=1
test:
0 IN: 2048 OUT: 2048


./abills_shaper.sh start
ABillS Shapper start
ng_car shapperkldload: can't load ng_ether: File exists
kldload: can't load ng_car: File exists
kldload: can't load ng_ipfw: File exists
Traffic: 2
09980 skipto 10120 ip from table(12) to table(2) in recv "ng*"
09985 skipto 10125 ip from table(2) to table(13) out xmit "ng*"
10120 netgraph tablearg ip from table(12) to any in recv "ng*"
10125 netgraph tablearg ip from any to table(13) out xmit "ng*"
10220 allow ip from table(9) to table(2) in recv "ng*"
10225 allow ip from table(2) to table(9) out xmit "ng*"
Traffic: 3
09970 skipto 10130 ip from table(14) to table(3) in recv "ng*"
09975 skipto 10135 ip from table(3) to table(15) out xmit "ng*"
10130 netgraph tablearg ip from table(14) to any in recv "ng*"
10135 netgraph tablearg ip from any to table(15) out xmit "ng*"
10230 allow ip from table(9) to table(3) in recv "ng*"
10235 allow ip from table(3) to table(9) out xmit "ng*"
Global shaper
10000 netgraph tablearg ip from table(10) to any in recv "ng*"
10010 netgraph tablearg ip from any to table(11) out xmit "ng*"
10020 allow ip from table(9) to any in recv "ng*"
10025 allow ip from any to table(9) out xmit "ng*"



/abills_shaper.sh stop
ABillS Shapper stop
ng_car shapper
ipfw: rule 9125: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9120: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9020: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9025: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9135: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9130: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9030: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9035: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9000: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9005: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 10015: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 8000: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 8010: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9010: setsockopt(IP_FW_DEL): Invalid argument




ngctl list | grep test
Name: class0_test Type: car ID: 00000050 Num hooks: 2


ipfw show | grep netg
10000 0 0 netgraph tablearg ip from table(10) to any in recv "ng*"
10010 0 0 netgraph tablearg ip from any to table(11) out xmit "ng*"
10120 0 0 netgraph tablearg ip from table(12) to any in recv "ng*"
10125 0 0 netgraph tablearg ip from any to table(13) out xmit "ng*"
10130 0 0 netgraph tablearg ip from table(14) to any in recv "ng*"
10135 0 0 netgraph tablearg ip from any to table(15) out xmit "ng*"



: ${abills_portal_ip="me"} - стоит поумолчание должна бить внешняя карточка ???

ipfw pipe list - пусто


ipfw table all list
---table(10)---
10.10.10.55/32 10008
---table(11)---
10.10.10.55/32 20008

Sasha462
Сообщения: 225
Зарегистрирован: Ср дек 27, 2006 2:45 pm
Откуда: Львов

Re: Скорость не работает обновился

Сообщение Sasha462 »

+++++++++++++++++++++++++++++++++++++++++++++++++

НУ У МЕНЯ НАОБОРОТ ПОЛУЧИЛОСЬ

#$conf{ng_car}=1;

$conf{mpd_filters}=1;

/abills_shaper.sh start
ABillS Shapper start
DUMMYNET shaper
Change TP: 1 Class: 0 Pipe: 5001 IN: Not set -> 2048
Change TP: 1 Class: 0 Pipe: 6001 OUT: Not set -> 2048

ipfw pipe list
06001: 2.048 Mbit/s 0 ms burst 0
q137073 204 KB 0 flows (1 buckets) sched 71537 weight 0 lmax 0 pri 0 droptail
sched 71537 type FIFO flags 0x1 64 buckets 0 active
mask: 0x00 0xffffffff/0x0000 -> 0x00000000/0x0000
05001: 2.048 Mbit/s 0 ms burst 0
q136073 204 KB 0 flows (1 buckets) sched 70537 weight 0 lmax 0 pri 0 droptail
sched 70537 type FIFO flags 0x1 64 buckets 0 active
mask: 0x00 0x00000000/0x0000 -> 0xffffffff/0x0000

~AsmodeuS~
Site Admin
Сообщения: 5746
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: Скорость не работает обновился

Сообщение ~AsmodeuS~ »

Sasha462 писал(а):: ${abills_shaper_enable="NO"}
: ${abills_shaper_if=""}
: ${abills_nas_id=""}
: ${abills_ip_sessions=""}
: ${abills_nat=""}
: ${abills_dhcp_shaper="NO"}
: ${abills_dhcp_shaper_nas_ids=""}
: ${abills_neg_deposit="NO"}
: ${abills_neg_deposit_speed=""}
: ${abills_portal_ip="re0"}
: ${abills_mikrotik_shaper=""}
: ${abills_squid_redirect="NO"}

: ${abills_ipn_nas_id=""}
: ${abills_ipn_if=""}
: ${abills_ipn_allow_ip=""}

firewall_enable="YES"
firewall_type="OPEN"
#firewall_script="/root/script/fw6.sh"
#firewall_nat_enable="YES"

#firewall_type="/etc/rc.ipfw"
#firewall_quiet="YES"

# MPD
mpd_enable="YES"
mpd_flags="-b"

ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipnat_enable="YES" # Set to YES to enable ipnat functionality
ipnat_program="/sbin/ipnat" # where the ipnat program lives
ipnat_rules="/etc/ipnat.rules" # rules definition file for ipnat
abills_shaper_enable="YES"
abills_nas_id="1"


/usr/abills/libexec/billd checkspeed NAS_IDS=1 SHOW_SPEED=1
test:
0 IN: 2048 OUT: 2048


./abills_shaper.sh start
ABillS Shapper start
ng_car shapperkldload: can't load ng_ether: File exists
kldload: can't load ng_car: File exists
kldload: can't load ng_ipfw: File exists
Traffic: 2
09980 skipto 10120 ip from table(12) to table(2) in recv "ng*"
09985 skipto 10125 ip from table(2) to table(13) out xmit "ng*"
10120 netgraph tablearg ip from table(12) to any in recv "ng*"
10125 netgraph tablearg ip from any to table(13) out xmit "ng*"
10220 allow ip from table(9) to table(2) in recv "ng*"
10225 allow ip from table(2) to table(9) out xmit "ng*"
Traffic: 3
09970 skipto 10130 ip from table(14) to table(3) in recv "ng*"
09975 skipto 10135 ip from table(3) to table(15) out xmit "ng*"
10130 netgraph tablearg ip from table(14) to any in recv "ng*"
10135 netgraph tablearg ip from any to table(15) out xmit "ng*"
10230 allow ip from table(9) to table(3) in recv "ng*"
10235 allow ip from table(3) to table(9) out xmit "ng*"
Global shaper
10000 netgraph tablearg ip from table(10) to any in recv "ng*"
10010 netgraph tablearg ip from any to table(11) out xmit "ng*"
10020 allow ip from table(9) to any in recv "ng*"
10025 allow ip from any to table(9) out xmit "ng*"



/abills_shaper.sh stop
ABillS Shapper stop
ng_car shapper
ipfw: rule 9125: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9120: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9020: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9025: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9135: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9130: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9030: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9035: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9000: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9005: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 10015: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 8000: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 8010: setsockopt(IP_FW_DEL): Invalid argument
ipfw: rule 9010: setsockopt(IP_FW_DEL): Invalid argument




ngctl list | grep test
Name: class0_test Type: car ID: 00000050 Num hooks: 2


ipfw show | grep netg
10000 0 0 netgraph tablearg ip from table(10) to any in recv "ng*"
10010 0 0 netgraph tablearg ip from any to table(11) out xmit "ng*"
10120 0 0 netgraph tablearg ip from table(12) to any in recv "ng*"
10125 0 0 netgraph tablearg ip from any to table(13) out xmit "ng*"
10130 0 0 netgraph tablearg ip from table(14) to any in recv "ng*"
10135 0 0 netgraph tablearg ip from any to table(15) out xmit "ng*"



: ${abills_portal_ip="me"} - стоит поумолчание должна бить внешняя карточка ???

ipfw pipe list - пусто


ipfw table all list
---table(10)---
10.10.10.55/32 10008
---table(11)---
10.10.10.55/32 20008

где то прописано $conf{ng_car}=1;

Ответить