pf.conf's example of tables using ports

2006-09-05 Thread Pablo Halamaj

maybe i'm plain stupid or i have a weird install.

All you have the following line at pf.conf ,that comes with OpenBSd 3.9,?

#table httport { 80, 443 }

I have readed the pf.conf 's man page also the FAQ at www.openbsd.org
and it says

A table is used to hold a group of IPv4 and/or IPv6 addresses

PF don't want to load the pf.conf with that line uncommented.
Is that a problem on my version or is a bug ;o) in base install?



Re: pf.conf's example of tables using ports

2006-09-05 Thread Pablo Halamaj

On 06/09/06, Nick Holland [EMAIL PROTECTED] wrote:

Pablo Halamaj wrote:
 maybe i'm plain stupid or i have a weird install.

 All you have the following line at pf.conf ,that comes with OpenBSd 3.9,?

 #table httport { 80, 443 }

no, that's something you (or someone) put in your machine.


Thankz to all, i will track down why that line was at my machine.
i just want to know if the problem was mine.


 I have readed the pf.conf 's man page also the FAQ at www.openbsd.org
 and it says

 A table is used to hold a group of IPv4 and/or IPv6 addresses

 PF don't want to load the pf.conf with that line uncommented.

good.

 Is that a problem on my version or is a bug ;o) in base install?

No and no.

You are trying to use it as a table of ports.  That's not what it is
for.  It's for addresses, like you quoted.  Those aren't valid IP
addresses.

For two items, use a macro:

httpport={ 80, 443 }

Nick.



Pablo