From owner-freebsd-pf@FreeBSD.ORG Mon Sep 25 14:49:21 2006 Return-Path: X-Original-To: freebsd-pf@FreeBSD.org Delivered-To: freebsd-pf@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B54A16A47B for ; Mon, 25 Sep 2006 14:49:21 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id A02C243D53 for ; Mon, 25 Sep 2006 14:49:20 +0000 (GMT) (envelope-from ermal.luci@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so2515510pye for ; Mon, 25 Sep 2006 07:49:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Ahdy3PnenOB9u2BGf+RnhTs1UFvzcikbRGzFKb7LzjBy0fXD/Wze+FsG06yPDUyA4w4JdEytLTsZyJ3Mn90vcduqiKOvrHmvmgLDR0nm4GavQzG3KFA8WzkJ2skfkShD9nePH/PkK2dQe5kYdup+L2tGTa+IKJxrRG28pULXQwE= Received: by 10.35.65.17 with SMTP id s17mr7917920pyk; Mon, 25 Sep 2006 07:49:19 -0700 (PDT) Received: by 10.35.126.6 with HTTP; Mon, 25 Sep 2006 07:49:14 -0700 (PDT) Message-ID: <9a542da30609250749i52f966a3x7a9402872d33b976@mail.gmail.com> Date: Mon, 25 Sep 2006 16:49:14 +0200 From: "=?ISO-8859-1?Q?Ermal_Lu=E7i?=" To: freebsd-pf@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: netgraph related question X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Mon, 25 Sep 2006 14:49:21 -0000 I am curios how difficult would it be to write an netgraph module for pf kinda ng_ipfw. And maybe looking for a pointer to which function this hooking needs to be added. After studing a little bit ng_ipfw and ipfw functions ipfw_check() is the function which does the magic by a simple global variable, at least as far a i can tell. Now can it be done using the same ideas in PF too! Ah, the reason i am asking this is just to integrate PF with ng_tag which can do L7 filtering. Thanks.