From owner-freebsd-questions@FreeBSD.ORG Wed Feb 6 19:09:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CB751F21 for ; Wed, 6 Feb 2013 19:09:02 +0000 (UTC) (envelope-from yavuz.maslak@ihlas.net.tr) Received: from pop3.ihlas.net.tr (pop3.ihlas.net.tr [213.238.128.115]) by mx1.freebsd.org (Postfix) with ESMTP id 12188232 for ; Wed, 6 Feb 2013 19:09:01 +0000 (UTC) Received: (qmail 14962 invoked by uid 89); 6 Feb 2013 21:09:00 +0200 Received: from unknown (HELO com2007) (yavuz.maslak@ihlas.net.tr@213.238.150.220) by pop3.ihlas.net.tr with SMTP; 6 Feb 2013 21:09:00 +0200 From: =?UTF-8?Q?Yavuz_Ma=C5=9Flak?= To: References: <102201ce0478$23453d90$69cfb8b0$@ihlas.net.tr> <44mwvh5lfn.fsf@lowell-desk.lan> In-Reply-To: <44mwvh5lfn.fsf@lowell-desk.lan> Subject: RE: about pfctl Date: Wed, 6 Feb 2013 21:09:01 +0200 Message-ID: <10a201ce049d$6c4375a0$44ca60e0$@ihlas.net.tr> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIbLtbCOoJnpXUFyQfCc2GuVoZDaQGMf7/8l8Z4/BA= Content-Language: tr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 19:09:02 -0000 > 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 ?