Re: Arbitrary Netmasks

2002-06-13 Thread Patrick Schaaf
Hi, (removed netfilter-devel from the headers, this is not a development Q) Netfilter supports arbitrary netmasks for IP addresses which is more powerful than just those IP/x (0 = x = 32) expressions. For example one could use IP/255.0.255.255 (IP/23.13.42.0 would also work ;-). Are masks

Re: Arbitrary Netmasks

2002-06-13 Thread Henrik Nordstrom
On Tuesday 28 May 2002 15:18, Thomas Heinz wrote: Netfilter supports arbitrary netmasks for IP addresses which is more powerful than just those IP/x (0 = x = 32) expressions. For example one could use IP/255.0.255.255 (IP/23.13.42.0 would also work ;-). Yes, this is the fastest method when

Re: Arbitrary Netmasks

2002-06-13 Thread Thomas Lussnig
I've always wondered about the concept of useing wierd netmasks on private internal networks, just to thourouly confuse anyone who actually breaks into them (obsurity isn't security by itself, but any little bit you can add on and anything you can do that will break standard tools) never

Re: Arbitrary Netmasks

2002-06-13 Thread Joost Remijn
On Tue, 28 May 2002, Stephen Frost wrote: * Thomas Heinz ([EMAIL PROTECTED]) wrote: Netfilter supports arbitrary netmasks for IP addresses which is more powerful than just those IP/x (0 = x = 32) expressions. For example one could use IP/255.0.255.255 (IP/23.13.42.0 would also work

Re: Arbitrary Netmasks

2002-06-13 Thread Thomas Heinz
Hi Joost You wrote: But something like IP/255.255.255.192 is still valid and is probably used quite a lot. At least i use it. It's easy to use a $NETMASK variable in scripts for this. IP/255.255.255.192 == IP/26 Thomas

Re: Arbitrary Netmasks

2002-06-13 Thread Filipe Almeida
sized classes. At 15:18 28-05-2002 +0200, Thomas Heinz wrote: Hi Netfilter supports arbitrary netmasks for IP addresses which is more powerful than just those IP/x (0 = x = 32) expressions. For example one could use IP/255.0.255.255 (IP/23.13.42.0 would also work ;-). Are masks that cannot

Re: Arbitrary Netmasks

2002-06-13 Thread Henrik Nordstrom
Which is not generally a valid thing to assume.. the .255 and/or .0 address may be in use on larger networks, especially if addresses are assigned dynamically using a large DHCP scope.. On Tuesday 28 May 2002 16:07, Filipe Almeida wrote: I usually use: iptables -A FORWARD -s

Re: Arbitrary Netmasks

2002-06-13 Thread Filipe Almeida
True. I attach interface (-i/-o) matches so I will only filter my networks. I wrote those lines of the top of my head so I forgot the -i/-o. At 20:45 28-05-2002 +0200, Henrik Nordstrom wrote: Which is not generally a valid thing to assume.. the .255 and/or .0 address may be in use on larger

Re: Arbitrary Netmasks

2002-05-29 Thread Filipe Almeida
True. I attach interface (-i/-o) matches so I will only filter my networks. I wrote those lines of the top of my head so I forgot the -i/-o. At 20:45 28-05-2002 +0200, Henrik Nordstrom wrote: Which is not generally a valid thing to assume.. the .255 and/or .0 address may be in use on larger

Arbitrary Netmasks

2002-05-28 Thread Thomas Heinz
Hi Netfilter supports arbitrary netmasks for IP addresses which is more powerful than just those IP/x (0 = x = 32) expressions. For example one could use IP/255.0.255.255 (IP/23.13.42.0 would also work ;-). Are masks that cannot be expressed in the IP/x schmeme (at least not in one rule) used

Re: Arbitrary Netmasks

2002-05-28 Thread Stephen Frost
* Thomas Heinz ([EMAIL PROTECTED]) wrote: Netfilter supports arbitrary netmasks for IP addresses which is more powerful than just those IP/x (0 = x = 32) expressions. For example one could use IP/255.0.255.255 (IP/23.13.42.0 would also work ;-). Are masks that cannot be expressed

Re: Arbitrary Netmasks

2002-05-28 Thread Joost Remijn
On Tue, 28 May 2002, Stephen Frost wrote: * Thomas Heinz ([EMAIL PROTECTED]) wrote: Netfilter supports arbitrary netmasks for IP addresses which is more powerful than just those IP/x (0 = x = 32) expressions. For example one could use IP/255.0.255.255 (IP/23.13.42.0 would also work

Re: Arbitrary Netmasks

2002-05-28 Thread Thomas Heinz
Hi Joost You wrote: But something like IP/255.255.255.192 is still valid and is probably used quite a lot. At least i use it. It's easy to use a $NETMASK variable in scripts for this. IP/255.255.255.192 == IP/26 Thomas

Arbitrary Netmasks

2002-05-28 Thread Thomas Heinz
Hi Netfilter supports arbitrary netmasks for IP addresses which is more powerful than just those IP/x (0 = x = 32) expressions. For example one could use IP/255.0.255.255 (IP/23.13.42.0 would also work ;-). Are masks that cannot be expressed in the IP/x schmeme (at least not in one rule) used

Re: Arbitrary Netmasks

2002-05-28 Thread Stephen Frost
* Thomas Heinz ([EMAIL PROTECTED]) wrote: Netfilter supports arbitrary netmasks for IP addresses which is more powerful than just those IP/x (0 = x = 32) expressions. For example one could use IP/255.0.255.255 (IP/23.13.42.0 would also work ;-). Are masks that cannot be expressed

Re: Arbitrary Netmasks

2002-05-28 Thread rpjday
On Tue, 28 May 2002, Thomas Heinz wrote: Hi Netfilter supports arbitrary netmasks for IP addresses which is more powerful than just those IP/x (0 = x = 32) expressions. For example one could use IP/255.0.255.255 (IP/23.13.42.0 would also work ;-). Are masks that cannot be expressed

Re: Arbitrary Netmasks

2002-05-28 Thread Stephen Frost
* Joost Remijn ([EMAIL PROTECTED]) wrote: On Tue, 28 May 2002, Stephen Frost wrote: * Thomas Heinz ([EMAIL PROTECTED]) wrote: Netfilter supports arbitrary netmasks for IP addresses which is more powerful than just those IP/x (0 = x = 32) expressions. For example one could use IP

Re: Arbitrary Netmasks

2002-05-28 Thread Thomas Heinz
Hi Joost You wrote: But something like IP/255.255.255.192 is still valid and is probably used quite a lot. At least i use it. It's easy to use a $NETMASK variable in scripts for this. IP/255.255.255.192 == IP/26 Thomas .

Re: Arbitrary Netmasks

2002-05-28 Thread Antony Stone
On Tuesday 28 May 2002 11:06 pm, Erik C Elmshauser wrote: Hi, this is my first post to the list. I agree with Stephen, these netmasks are (as far as I can tell) meaningless. Because of the way that you compute network addresses by comparing a mask to an address the 255.255.0.128 mask just