On 27/12/10 11:16, Jan Engelhardt wrote:
On Sunday 2010-12-26 22:43, Pascal Hambourg wrote:
Amos Jeffries a Ãcrit :
FWIW: we (Squid project) use the syntax "ip[-ip][/mask]".
I'm being curious : what is the meaning of "ip-ip/mask" when both the
range and mask are present ?
Sounds like
192.168.0.64-192.168.191/255.255.255.253
<=>
192.168.0.{64 65 68 69 72 73 76 77 77...}
Well, it's probably of use... to someone.
For yourselves I was thinking limit it to CIDR masks.
As in:
192.168.0.0/24 ==> 19.168.0.0-192.168.0.255
192.168.1.0-192.168.10.0/23 ==> 192.168.1.0-192.168.11.255
192.168.0.0-192.168.100.0/24 ==> 192.168.0.0-192.168.100.255
Netmasks get a bit tricky and as you say you don't have enough storage
space to hold the mask as well.
AYJ
Ps. sorry for the slow reply, holidays.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html