Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Slawa Olhovchenkov                   2:5030/500     24 May 2005  12:59:18
 To : All
 Subject : Вести с полей
 -------------------------------------------------------------------------------- 
 
 
 From: "Andrey V. Elsukov" <bu7cher@yandex.ru>
 
 Hello, Developers!
 
 Sorry, my english is bad. :(
 
 Patch to IPFW2 for adding restrictions of the traffic with use IPFW
 bytes counters.
 It include two parts:
 
 * First part is ipfw_bound.patch, this part add ipfw rule options "bound
 VALUE" and "check-bound NUM".
 Example:
 # ipfw add 100 allow ip from any to any bound 10K
 # ipfw add 200 deny ip from any to any
 
 While bytes counter of rule 100 below 10 KBytes, it work.
 
 Example:
 # ipfw add 100 allow ip from A.B.C.D to any out xmit internet
 check-bound 200
 # ipfw add 200 allow ip from any to A.B.C.D in recv internet bound 100M
 # ipfw add 300 deny ip from any to any via internet
 
 While bytes counter of rule 200 below 100 MBytes, rules 100 and 200 work.
 NOTE: Check-bound option search rule NUM like "ipfw skipto", but if rule
 NUM not contain bound option, then match fail.
 
 Second part is bound_change.patch, this part add control call to ipfw
 for boundary value change without bytes counter reset.
 Syntax:
 # ipfw bound NUM [set N] change VALUE.
 
 Files:
 For CURRENT:
 http://butcher.heavennet.ru/ipfw_bound/CURRENT/ipfw_bound.patch
 http://butcher.heavennet.ru/ipfw_bound/CURRENT/bound_change.patch
 
 For RELENG_5:
 http://butcher.heavennet.ru/ipfw_bound/RELENG_5/ipfw_bound.patch
 http://butcher.heavennet.ru/ipfw_bound/RELENG_5/bound_change.patch
 
 For RELENG_5_4:
 http://butcher.heavennet.ru/ipfw_bound/RELENG_5_4/ipfw_bound.patch
 http://butcher.heavennet.ru/ipfw_bound/RELENG_5_4/bound_change.patch
 
 -- 
 WBR, Andrey V. Elsukov
 
 ... И вновь я не замечен Plug-n-Play'ем...
 --- GoldED+/BSD 1.1.5
  * Origin:  (2:5030/500)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Вести с полей   Slawa Olhovchenkov   24 May 2005 12:59:18 
Архивное /ru.unix.bsd/22214292edbf.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional