|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Sharkoff A.S. 2:5020/400 05 May 2004 14:43:06 To : Vadim Guchenko Subject : Re: Форма записи блока адресов для ipfw --------------------------------------------------------------------------------
В man все есть
ip-addr:
A host or subnet address specified in one of the following
ways:
numeric-ip | hostname
Matches a single IPv4 address, specified as dotted-quad
or a hostname. Hostnames are resolved at the time the
rule is added to the firewall list.
addr/masklen
Matches all addresses with base addr (specified as a
dot-
ted quad or a hostname) and mask width of masklen bits.
As an example, 1.2.3.4/25 will match all IP numbers
from
1.2.3.0 to 1.2.3.127 .
addr:mask
Matches all addresses with base addr (specified as a
dot-
ted quad or a hostname) and the mask of mask, specified
as a dotted quad. As an example, 1.2.3.4/255.0.255.0
will match 1.*.3.*. We suggest to use this form only
for
non-contiguous masks, and resort to the addr/masklen
for-
mat for contiguous masks, which is more compact and
less
error-prone.
"Vadim Guchenko" <s0lver@kraslan.ru> сообщил/сообщила в новостях следующее:
news:c7a8fm$uo9$1@host.talk.ru...
> Hello, All!
>
> Какая форма записи блока адресов быстрее обрабатывается ipfw:
10.10.10.64/26
> или 10.10.10.0/24{64-127}? Или без разницы?
>
> With best regards, Vadim Guchenko. E-mail: s0lver@kraslan.ru
>
>
>
> --
> Отправлено через сервер Форумы@mail.ru - http://talk.mail.ru
--- ifmail v.2.15dev5.3
* Origin: Demos online service (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/65774bf7ad99.html, оценка из 5, голосов 10
|