Date: Wed, 15 Jan 2014 14:26:27 +0200 From: "Ahmet Bulut" <ahmet@ihlas.net.tr> To: <freebsd-questions@freebsd.org> Subject: RE: about pfctl Message-ID: <010801cf11ed$03a99340$0afcb9c0$@ihlas.net.tr> In-Reply-To: <10a201ce049d$6c4375a0$44ca60e0$@ihlas.net.tr> References: <102201ce0478$23453d90$69cfb8b0$@ihlas.net.tr> <44mwvh5lfn.fsf@lowell-desk.lan> <10a201ce049d$6c4375a0$44ca60e0$@ihlas.net.tr>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
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
What do you think about that?
Thank you very much for your kindly helps,
Ahmet Bulut
-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Yavuz Maslak
Sent: 06 =AAubat 2013 =C7ar=BAamba 21:09
To: freebsd-questions@freebsd.org
Subject: RE: about pfctl
> I have a freebsd box and pf Works on it.
> I wish to see use of data for each ip address.
>
> When i execute "pfctl -t tablename -vT show" I can see usages of
these
> ips. Pfctl lists all of ips.
>
> But how can i filter it for each ip address ? because i want to=20
> insert these data for each ip into a mysql table.
>Sounds like a job for sed(1)...
Could you give me an example related to that ?
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to =
"freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010801cf11ed$03a99340$0afcb9c0$>
