From owner-freebsd-pf@FreeBSD.ORG Tue Apr 4 06:28:12 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 0088616A400 for ; Tue, 4 Apr 2006 06:28:12 +0000 (UTC) (envelope-from siseci@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DA2743D45 for ; Tue, 4 Apr 2006 06:28:11 +0000 (GMT) (envelope-from siseci@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so548688nfc for ; Mon, 03 Apr 2006 23:28:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:content-type:date:message-id:mime-version:x-mailer; b=PodqjmIPnolA6ofiZDMWQ7xHh7tsVkox+baImmcEiQtiD1wdoBVOCkItutE/TNi5Ei07rYebV7lMghN/A+d2AYyJGGNY/l74Mtsb/VO3ouz7ig9D4HT84mTqhvBmy5nFLOh/eqBAzD10VSp4+k0j/CrHTHqY4jvDun61+EtxJwo= Received: by 10.49.93.20 with SMTP id v20mr146730nfl; Mon, 03 Apr 2006 23:28:10 -0700 (PDT) Received: from localhost.localdomain ( [193.140.74.2]) by mx.gmail.com with ESMTP id k9sm411221nfc.2006.04.03.23.28.09; Mon, 03 Apr 2006 23:28:09 -0700 (PDT) From: "N. Ersen SISECI" To: freebsd-pf@FreeBSD.org Date: Tue, 04 Apr 2006 09:29:52 +0300 Message-Id: <1144132192.47587.8.camel@siseci.gdg.gov.tr> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Log tag 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: Tue, 04 Apr 2006 06:28:12 -0000 Hi, Is it possible to label the log entries? We can do it in IPF with set-tag (log=48). Is there a similiar method in PF? IPF Rule: pass in log first quick on bge0 proto tcp from any to 10.1.2.3 port = 22 flags S/SA keep state keep frags set-tag (log=110) IPF Log entry: 04/04/2006 09:26:00.982095 bge0 @0:3 p 10.1.2.3,57221 -> 192.168.90.12,22 PR tcp len 20 64 -S K-S K-F OUT log-tag 110 Thanks, N. Ersen SISECI http://www.enderunix.org