From owner-freebsd-pf@FreeBSD.ORG Mon Jul 29 16:35:20 2013 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 26C67FF4 for ; Mon, 29 Jul 2013 16:35:20 +0000 (UTC) (envelope-from yeris@netcrc.net) Received: from mail.netcrc.net (mail.netcrc.net [190.124.246.246]) by mx1.freebsd.org (Postfix) with ESMTP id B7ED120DE for ; Mon, 29 Jul 2013 16:35:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netcrc.net (Postfix) with ESMTP id 64BF35343C6; Mon, 29 Jul 2013 10:35:13 -0600 (CST) X-Virus-Scanned: Debian amavisd-new at mail.netcrc.net Received: from mail.netcrc.net ([127.0.0.1]) by localhost (mail.netcrc.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bzPrqtL88IiL; Mon, 29 Jul 2013 10:35:12 -0600 (CST) Received: from [192.168.50.110] (unknown [190.124.246.29]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: yeris@netcrc.net) by mail.netcrc.net (Postfix) with ESMTPSA id 6D1EA5343C5; Mon, 29 Jul 2013 10:35:12 -0600 (CST) Message-ID: <51F69A00.5080202@netcrc.net> Date: Mon, 29 Jul 2013 10:36:16 -0600 From: Yeris Antonio Madrigal Castro User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Jason Hellenthal Subject: Re: pf log script issue References: <51F30C00.2000007@netcrc.cr> <51F3F06F.4000101@netcrc.net> <166BA3A5-3876-4383-B78B-7BCB32BCDE80@dataix.net> In-Reply-To: <166BA3A5-3876-4383-B78B-7BCB32BCDE80@dataix.net> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-pf@freebsd.org" X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.14 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, 29 Jul 2013 16:35:20 -0000 No, I am actually using the crontab as root, just the line with tcpdump is not working, but if I runt the script manually all works. Regards El 27/07/2013 10:17, Jason Hellenthal escribió: > Are you using /etc/crontab ? > > -- > Jason Hellenthal > Inbox: jhellenthal@DataIX.net > Voice: +1 (616) 953-0176 > JJH48-ARIN > > > On Jul 27, 2013, at 12:08, Yeris Antonio Madrigal Castro > > wrote: > >> >> Hi >> >> I am using freebsd 9.1 R, and i am trying to make the pf firewall to log >> to the syslog. >> >> I am using the script at the openbsd fag: >> >> http://www.openbsd.org/faq/pf/logging.html >> >> The script works 100% if I run it manually, but when crontab runs it as >> root, the tcpdump wont work. >> >> I would appreciate any help. >> >> Regards >> >> ** >> ** >> >> >> >> _______________________________________________ >> freebsd-pf@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-pf >> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org >> "