about pfctl

Toomas Aas toomas.aas at raad.tartu.ee
Fri Jan 17 04:53:26 UTC 2014


Hello!

On Thu, 16 Jan 2014 Michael Powell <nightrecon at hotmail.com> wrote:

> Toomas Aas wrote:
>
>> On Wed, 15 Jan 2014 Ahmet Bulut <ahmet at ihlas.net.tr> wrote:
>>
>>> I have a serious problem about pfctl statics. When I put "pfctl -t
>>> tablename -vT show" I can not see the statics for each ip.
>>>
>>> I am getting the results like below,
>>>
>>>    192.168.3.115
>>>         Cleared:     Wed Jan 15 13:33:11 2014
>>>    192.168.3.116
>>>         Cleared:     Wed Jan 15 13:33:11 2014
>>>    192.168.3.117
>>>         Cleared:     Wed Jan 15 13:33:11 2014
>>>    192.168.3.118
>>>         Cleared:     Wed Jan 15 13:33:11 2014
>>>    192.168.3.239
>>>         Cleared:     Wed Jan 15 13:33:11 2014
>>>    192.168.3.242
>>>         Cleared:     Wed Jan 15 13:33:11 2014
>>
>> Me too. The command given by Ahmet works as expected on FreeBSD 8.4,
>> but not on 10.0-RC5.
>>
>> The pfctl manpage has an example of slightly different syntax:
>> # pfctl -t tablename -vTshow
>>
>> ...but that misbehaves exactly the same way.
>>
>
> Does is behave differently if you do: pfctl -T show -t irchost  - where
> 'irchost' is the table name for your table? That is what I do, but it is
> also on version 9.2 Release.

That command runs correctly for me on 10.0-RC5. Seems that only the -v  
switch is misbehaving.

-- 
Toomas Aas



More information about the freebsd-questions mailing list