win Posted April 2, 2007 Posted April 2, 2007 есть сервер на free bsd (10.1.1.1) и есть допустим нехороший юзер ословод (10.1.1.6) пытаюсь зарезать ему одному скорость ipfw pipe 3000 config bw 64Kbit/s ipfw add 2000 pipe 3000 all from 10.1.1.1 to 10.1.1.6 out правила успешно добавляются, но результат нулевой -скорость не режится. в ядре опции HZ=1000 DUMMYNET IPFIREWALL Вставить ник Quote
Мика Posted April 2, 2007 Posted April 2, 2007 у меня таким образом вообще сделаны безлимитные тарифы для пользователей: ipfw queue 5000 config weight 4 pipe 5000 ipfw pipe 5000 config bw 65Kbit ipfw add 5000 queue 5000 ip from not 192.168.0.0/24 to $ip via ed1 ipfw add 5000 queue 5000 ip from $ip to not 192.168.0.0/24 via ed1 Вставить ник Quote
balamutang Posted April 2, 2007 Posted April 2, 2007 ipfw add 2000 pipe 3000 all from 10.1.1.1 to 10.1.1.6 out ipfw add 2000 pipe 3000 all from any to 10.1.1.6 out Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.