cvs commit: src/sbin/ipfw ipfw2.c

Maxim Konovalov maxim at FreeBSD.org
Mon Sep 15 06:34:43 PDT 2003


On Mon, 15 Sep 2003, 03:27-0700, Luigi Rizzo wrote:

> luigi       2003/09/15 03:27:03 PDT
>
>   FreeBSD src repository
>
>   Modified files:        (Branch: RELENG_4)
>     sbin/ipfw            ipfw2.c
>   Log:
>   MFC (almost) of 3 bugs reported recently:
>    + fix aligmnent issues on 64-bit architectures (1.40);
>    + better argument checking when enabling/disabling ipfw-related
>      sysctl variables (1.39)
>    + fix handling of foo/0 as an alias for "any";
-----^^^^^^^^^^^^^^^^^^^^^^^

This bug is not fixed in -current yet.

And a lot others:

# ipfw -n add count all from any to not any
00000 count ip from any to any

# ipfw -n add count all from not any to any
00000 count ip from any to any

# ipfw -n add count all from any to { 1.1.1.1/1 or not any }
00000 count ip from any to { 0.0.0.0/1 or

# ipfw -n add count all from any to { 1.1.1.1/1 or any }
00000 count ip from any to { 0.0.0.0/1 or

# ipfw -n add count all from any to { 1.1.1.1/1 or 0.0.0.0/0 }
00000 count ip from any to { 0.0.0.0/1 or

and so on.

-- 
Maxim Konovalov, maxim at macomnet.ru, maxim at FreeBSD.org


More information about the cvs-src mailing list