From owner-freebsd-ipfw@FreeBSD.ORG Sat Apr 19 07:45:23 2014 Return-Path: Delivered-To: freebsd-ipfw@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 AD17951B for ; Sat, 19 Apr 2014 07:45:23 +0000 (UTC) Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 830261822 for ; Sat, 19 Apr 2014 07:45:23 +0000 (UTC) Received: by mail-pd0-f180.google.com with SMTP id v10so2091932pde.25 for ; Sat, 19 Apr 2014 00:45:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=k7+7SABDKyXR9gnlkUKZThLWCATq3EhYNyAjuKj6uDU=; b=z+iFTfBP2ndty1MlihuAlUu6XbDEqKxtcYZYEX2MeF7lDMnUdNO/GXWjBtP4lAh5uP flfoN1ESfH2A4lNU1Em+4FmCn9I9VdiR3EHXK6F7Dk1U990LkbOYngM9nldCBJEx+vTP E+FUAbT/ONeqhkoNILCIwckP3+wT5nOHwUQXU4mJVzdGD0rWV37+GZ3JvSW1oORXFGos 24JaC3k4tYpKlKi3KCYD9UznfCJ30Zo5medEYHCAPz1ptpUGUi8EqHNulYnMhO50OFWb rlw7aIkfABA+5KbuuJC6SBTGB/jXKPPFwLVLo79UwmlVh9muU1pyHTveSOfL7N1/G+kd CRow== X-Received: by 10.68.139.137 with SMTP id qy9mr26300855pbb.11.1397893523156; Sat, 19 Apr 2014 00:45:23 -0700 (PDT) Received: from [192.168.1.100] ([183.90.37.157]) by mx.google.com with ESMTPSA id f3sm64326535pbg.60.2014.04.19.00.45.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 19 Apr 2014 00:45:22 -0700 (PDT) Message-ID: <5352298C.2090902@gmail.com> Date: Sat, 19 Apr 2014 15:45:16 +0800 From: bycn82 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0 MIME-Version: 1.0 To: freebsd-ipfw@freebsd.org Subject: how does it pass in the rule sets Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2014 07:45:23 -0000 Hi, can someone help to explain how does the user land command `ipfw` pass the rule set into the hook function in the kernel? I assume that it must be hardcoded in somewhere, but I did not find it yet. Best Regards Bycn82