Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 06:53:17 +0200
From:      Toomas Aas <toomas.aas@raad.tartu.ee>
To:        nightrecon@hotmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   RE: about pfctl
Message-ID:  <20140117065317.61967iefdlygzwo4@webmail.raad.tartu.ee>
In-Reply-To: <lb9g9j$lrg$1@ger.gmane.org>
References:  <102201ce0478$23453d90$69cfb8b0$@ihlas.net.tr> <44mwvh5lfn.fsf@lowell-desk.lan> <10a201ce049d$6c4375a0$44ca60e0$@ihlas.net.tr> <010801cf11ed$03a99340$0afcb9c0$@ihlas.net.tr> <20140116222918.319028hnbra5z85c@webmail.raad.tartu.ee> <lb9g9j$lrg$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

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

> Toomas Aas wrote:
>
>> On Wed, 15 Jan 2014 Ahmet Bulut <ahmet@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140117065317.61967iefdlygzwo4>