From owner-freebsd-pf@FreeBSD.ORG Tue Mar 6 18:01:47 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 39EFE16A400 for ; Tue, 6 Mar 2007 18:01:47 +0000 (UTC) (envelope-from msgs_for_me@mail.ru) Received: from mx27.mail.ru (mx27.mail.ru [194.67.23.64]) by mx1.freebsd.org (Postfix) with ESMTP id ED3C013C4A7 for ; Tue, 6 Mar 2007 18:01:46 +0000 (UTC) (envelope-from msgs_for_me@mail.ru) Received: from [80.244.229.35] (port=45704 helo=VLADIMIR) by mx27.mail.ru with asmtp id 1HOdyq-0003ov-00 for freebsd-pf@freebsd.org; Tue, 06 Mar 2007 21:01:44 +0300 X-Nat-Received: from [192.168.1.110]:1227 [ident-empty] by smtp-proxy.vltele.com with TPROXY id 1173203907.30171 Date: Tue, 6 Mar 2007 21:01:41 +0300 From: Vladimir Kapustin X-Mailer: The Bat! (v3.85.03) Professional Organization: vltele.com X-Priority: 3 (Normal) Message-ID: <8035201.20070306210141@mail.ru> To: freebsd-pf@freebsd.org References: 20070306164250.n8w9y8c39x204cs0@webmail.frontiernet.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: adding to pf rules dynamically via a script X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vladimir Kapustin List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 18:01:47 -0000 >> could someone be so kind as to point to an example I can study as to >> how to add pf rules via a log monitoring script Im trying to port from >> linux. >> >> I know it can be done, but none of the docs I'm reading show how. >> >> I think I'm understanding that this is done with an anchor. >> >> but I'm having trouble finding a documented example I can study and >> learn from. >> >> Anybody know of a good doc on this, or have a well documented example >> they woulnt mind sharing? > >What's wrong with http://www.openbsd.org/faq/pf/anchors.html or the >pf.conf(5) and pfctl(8) manpages? I'll tell you what's wrong: http://lists.freebsd.org/pipermail/freebsd-pf/2007-March/003114.html