Re: PF Table Oddities - Possible bug ?

2009-01-28 Thread OpenBSD User
Hi,

Just a note of thanks to the community for their swift replies.

Indeed
it was just me putting things on different lines, I got confused by the
pf.conf man page example !

Ben



Re: PF Table Oddities - Possible bug ?

2009-01-27 Thread Bojidara Marinchovska

Hello ,

cat /etc/pf.conf | grep test
table test const persist {10.0.0/24}

pfctl -T show -t test
 10.0.0.0/24


a b wrote:

Hi all,

First post here, so please be gentle.;-)

Let's get the
environmentals out of the way first :
-- OpenBSD 4.4 on i386 architecture
--
All errata up to and including 008 (14 Jan 2009) installed

Here's what I'm
seeing (IP addresses obfuscated to protect the innocent) :

(1)  ATTEMPT 1
The following in pf.conf 


table my_mgmt_net2  const
{10.0.170.0/24,172.16.200.70,172.16.100.98,192.168.155.174}
table
my_mgmt_net2   persist

I observe the following behaviour :

pfctl -t
my_mgmt_net2 -T show  returns nothing
pfctl -vvsTables does not list
my_mgmt_net2

(2) ATTEMPT 2

The following in pf.conf 


table my_mgmt_net2
{10.0.170.0/24,172.16.200.70,172.16.100.98,192.168.155.174}
table
my_mgmt_net2   persist

I observe the following behaviour :

pfctl -t
my_mgmt_net2 -T show  returns nothing
pfctl -vvsTables DOES list my_mgmt_net2
Am I doing something incredibly silly, or is there a bug in the works ?

Bye
for now !




Re: PF Table Oddities - Possible bug ?

2009-01-27 Thread Bojidara Marinchovska

Hello ,

cat /etc/pf.conf | grep test
table test const persist {10.0.0/24}

pfctl -T show -t test
  10.0.0.0/24



a b wrote:

Hi all,

First post here, so please be gentle.;-)

Let's get the
environmentals out of the way first :
-- OpenBSD 4.4 on i386 architecture
--
All errata up to and including 008 (14 Jan 2009) installed

Here's what I'm
seeing (IP addresses obfuscated to protect the innocent) :

(1)  ATTEMPT 1
The following in pf.conf 


table my_mgmt_net2  const
{10.0.170.0/24,172.16.200.70,172.16.100.98,192.168.155.174}
table
my_mgmt_net2   persist

I observe the following behaviour :

pfctl -t
my_mgmt_net2 -T show  returns nothing
pfctl -vvsTables does not list
my_mgmt_net2

(2) ATTEMPT 2

The following in pf.conf 


table my_mgmt_net2
{10.0.170.0/24,172.16.200.70,172.16.100.98,192.168.155.174}
table
my_mgmt_net2   persist

I observe the following behaviour :

pfctl -t
my_mgmt_net2 -T show  returns nothing
pfctl -vvsTables DOES list my_mgmt_net2
Am I doing something incredibly silly, or is there a bug in the works ?

Bye
for now !