Re: OpenBSD 4.5: pfctl -s info fails to give me the right interface statistics

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: patrick keshishian
Date: Friday, October 2, 2009 - 11:21 pm

On Fri, Oct 2, 2009 at 10:43 PM, Alvaro Mantilla Gimenez
<alvaro@dydnetworks.com> wrote:

It does not look like it based on your provided output below:

[...]

Not the same thing. The reverse; which indicates that only the last
`set loginterface $if' is used; that is, you may not specify multiple
`set loginterface $if' options.

Try, adding your re0 and cdce0 to a single user defined group and use
that group in your pf.conf for `set loginterface $thegroup'. But I
suspect, this may not be what you are looking for.

$ sudo ifconfig re0 group alvaro
$ sudo ifconfig cdce0 group alvaro
$ ifconfig

to verify group names, then change your /etc/pf.conf to include:

set loginterface alvaro

reload rules:

$ sudo pfctl -f /etc/pf.conf
$ sudo pfctl -si

That should give you stats for all interfaces belonging to the group
"alvaro". But, once again, this may not be what you want.

--patrick
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OpenBSD 4.5: pfctl -s info fails to give me the right inte ..., Alvaro Mantilla Gimenez, (Fri Oct 2, 8:21 pm)
Re: OpenBSD 4.5: pfctl -s info fails to give me the right ..., patrick keshishian, (Fri Oct 2, 9:15 pm)
Re: OpenBSD 4.5: pfctl -s info fails to give me the right ..., Alvaro Mantilla Gimenez, (Fri Oct 2, 10:43 pm)
Re2: OpenBSD 4.5: pfctl -s info fails to give me the right ..., Alvaro Mantilla Gimenez, (Fri Oct 2, 10:49 pm)
Re: OpenBSD 4.5: pfctl -s info fails to give me the right ..., patrick keshishian, (Fri Oct 2, 11:21 pm)
Re: OpenBSD 4.5: pfctl -s info fails to give me the right ..., Alvaro Mantilla Gimenez, (Sat Oct 3, 6:43 am)
Re: Re2: OpenBSD 4.5: pfctl -s info fails to give me the r ..., Alvaro Mantilla Gimenez, (Sat Oct 3, 6:53 am)
Re: OpenBSD 4.5: pfctl -s info fails to give me the right ..., Peter N. M. Hansteen, (Sat Oct 3, 7:16 am)
Re: OpenBSD 4.5: pfctl -s info fails to give me the right ..., Alvaro Mantilla Gimenez, (Sat Oct 3, 9:03 am)