From owner-freebsd-pf@FreeBSD.ORG Mon Jul 29 17:09:15 2013 Return-Path: Delivered-To: freebsd-pf@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 ESMTP id 7DB9FF46; Mon, 29 Jul 2013 17:09:15 +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 42BE92354; Mon, 29 Jul 2013 17:09:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netcrc.net (Postfix) with ESMTP id 7E9875343C6; Mon, 29 Jul 2013 11:09:14 -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 3EnabwuD6g15; Mon, 29 Jul 2013 11:09:13 -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 DA6275343C5; Mon, 29 Jul 2013 11:09:13 -0600 (CST) Message-ID: <51F6A1FA.8040109@netcrc.net> Date: Mon, 29 Jul 2013 11:10:18 -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: Gary Palmer Subject: Re: pf log script issue References: <51F30C00.2000007@netcrc.cr> <51F3F06F.4000101@netcrc.net> <166BA3A5-3876-4383-B78B-7BCB32BCDE80@dataix.net> <51F69A00.5080202@netcrc.net> <20130729164329.GB70888@in-addr.com> In-Reply-To: <20130729164329.GB70888@in-addr.com> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 17:09:15 -0000 Dude! that actually solved the problem... may I know why. Kind regards El 29/07/2013 10:43, Gary Palmer escribió: > On Mon, Jul 29, 2013 at 10:36:16AM -0600, Yeris Antonio Madrigal Castro wrote: >> 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 > If you specify the full path to the tcpdump binary, i.e. /usr/sbin/tcpdump, > does that fix the problem? > > Gary > >> 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 >>>> " >> _______________________________________________ >> 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"