From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 15 00:47:47 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4F321065686 for ; Wed, 15 Oct 2008 00:47:47 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 8C46D8FC2D for ; Wed, 15 Oct 2008 00:47:47 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: by gxk9 with SMTP id 9so5222204gxk.19 for ; Tue, 14 Oct 2008 17:47:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=pHtBwmHXHqr8Apj7DyG9L9Un/xE37P7mAdp3SMNRcOE=; b=SxMqsgPNX/HfXxHRrFr0RhfWB6j1+WHKk8WL3hjE3T3vrG4z3m/SaIMdJEYn/JRzbC VU1dfIH6tcv0H72ZJqHbUtZkPQLIbATlQdSLAKLc7twzxLUHLRD9DsSv1e39/3vpt28q Hp1Rjt9Nid6t39cSQZbSUegkHohVndIlMdt7o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=aHQrTZDVna9CK9GwqOYRIFDgzY4RtypnlqEPqNuIdKPVD+dhdbiH83ctnLbEaSfHoY H3pfyJhU79mJm5HPporHL1Xnp4KJF5VLrkh7yXDRLXQgVbJzNab+YUIZPl7GxHis5pJT CvgkSKCk0yPAJ3nMNDPRzFlluxIsSHWBUFfNg= Received: by 10.151.41.21 with SMTP id t21mr750673ybj.223.1224031666805; Tue, 14 Oct 2008 17:47:46 -0700 (PDT) Received: by 10.150.191.21 with HTTP; Tue, 14 Oct 2008 17:47:46 -0700 (PDT) Message-ID: <290865fd0810141747l39b80e2ao329c8212061a67c1@mail.gmail.com> Date: Tue, 14 Oct 2008 17:47:46 -0700 From: "alan yang" To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: tracing pf code X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 00:47:47 -0000 hello, for pf port on freebsd, i would like to trace the packet flow, looking at from ether_input -> etiher_demux -> ip_input -> tcp_input where / how pf handles / process the packet. can people shed some lights where to start. really appreciate.