From owner-freebsd-questions@FreeBSD.ORG Wed Jan 15 12:33:11 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 70144F39 for ; Wed, 15 Jan 2014 12:33:11 +0000 (UTC) Received: from pop3.ihlas.net.tr (pop3.ihlas.net.tr [213.238.128.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BE5111F34 for ; Wed, 15 Jan 2014 12:33:10 +0000 (UTC) Received: (qmail 97403 invoked by uid 89); 15 Jan 2014 14:26:26 +0200 X-Mail-Scanner: Scanned by qSheff-II-2.1-r3 (http://www.enderunix.org/qsheff/) Received: from whatsup.bagcilar.bel.tr (HELO AHMBLTPC) (ahmet@ihlas.net.tr@213.238.156.34) by pop3.ihlas.net.tr with SMTP; 15 Jan 2014 14:26:25 +0200 From: "Ahmet Bulut" To: References: <102201ce0478$23453d90$69cfb8b0$@ihlas.net.tr> <44mwvh5lfn.fsf@lowell-desk.lan> <10a201ce049d$6c4375a0$44ca60e0$@ihlas.net.tr> In-Reply-To: <10a201ce049d$6c4375a0$44ca60e0$@ihlas.net.tr> Subject: RE: about pfctl Date: Wed, 15 Jan 2014 14:26:27 +0200 Message-ID: <010801cf11ed$03a99340$0afcb9c0$@ihlas.net.tr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIbLtbCOoJnpXUFyQfCc2GuVoZDaQGMf7/8AmhsIMOZzdO2YA== Content-Language: tr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jan 2014 12:33:11 -0000 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"