Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 08:35:30 +0200
From:      Fritz Heinrichmeyer <Fritz.Heinrichmeyer@FernUni-Hagen.de>
To:        freebsd-stable@freebsd.org
Cc:        luigi@freebsd.org
Subject:   Syntax of ipfw2 configuration
Message-ID:  <20020726063530.GA30593@jfh00.fernuni-hagen.de>
In-Reply-To: <3D40E460.D3A5F753@pantherdragon.org>
References:  <20020710175614.7F3535D03@ptavv.es.net> <a05200306b966775f18a9@[64.81.19.109]> <3D40E460.D3A5F753@pantherdragon.org>

next in thread | previous in thread | raw e-mail | index | archive | help

ipfw2 -h says

IPLIST: IPADDR | ( IPADDR or ... or IPADDR )
IPADDR: [not] { any | me | ip | ip/bits | ip:mask | ip/bits{x,y,z} }

committing email says

        ... ip from 1.2.3.0/24{50,6,27,158} to ...
        ... ip from { 1.2.3.4/26 or 5.6.7.8/22 } to ...
        ... ip from any 5-7,9-66,1020-3000,4000-5000 to ...

should i use parentheses or curly braces for the "or"-rule?

The next question is asked only to be 100% shure:

ip/bits{x,y,z} means that the list in braces fills the rest bits, i.e.
132.176.7/24{1,2,3,4} means 

132.176.7.1 132.176.7.2 132.176.7.3 132.176.7.4

is that right?

Greetings
-- 
Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de
FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany)
tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020726063530.GA30593>