Не могу понять как заставить работать новые функции ipfw в FreeBSD 4.9 Release:1. Читаем Release Notes:
...............
2.3 Userland Changes
ipfw(8) list and show command now support ranges of rule numbers.а какой формат?
я хочу вывести правила с номерами от 1000 до 2000думал, что так: ipfw show 1000-2000
и получил: ipfw: invalid rule number: 100-10002.
2.2.4 Network Protocols
ipfw(4) rules now support C++-style comments. Each comment is stored together with its rule and appears using the ipfw(8) show command.Комментарий идет после //, долго игрался, но так и не получилось :(
>Не могу понять как заставить работать новые функции ipfw в FreeBSD 4.9
>Release:
>
>1. Читаем Release Notes:
>...............
>2.3 Userland Changes
>ipfw(8) list and show command now support ranges of rule numbers.
>
>а какой формат?
>я хочу вывести правила с номерами от 1000 до 2000
>
>думал, что так: ipfw show 1000-2000
>и получил: ipfw: invalid rule number: 100-1000
>
>2.
>2.2.4 Network Protocols
>ipfw(4) rules now support C++-style comments. Each comment is stored together with
>its rule and appears using the ipfw(8) show command.
>
>Комментарий идет после //, долго игрался, но так и не получилось :(
>man ipfw
......
USING IPFW2 IN FreeBSD-STABLE
ipfw2 is standard in FreeBSD CURRENT, whereas FreeBSD STABLE still uses
ipfw1 unless the kernel is compiled with options IPFW2, and /sbin/ipfw
and /usr/lib/libalias are recompiled with -DIPFW2 and reinstalled (the
same effect can be achieved by adding IPFW2=TRUE to /etc/make.conf before
a buildworld).
......может, в этом дело?