Date: Mon, 29 Jul 2013 12:43:30 -0400 From: Gary Palmer <gpalmer@freebsd.org> To: Yeris Antonio Madrigal Castro <yeris@netcrc.net> Cc: "freebsd-pf@freebsd.org" <freebsd-pf@freebsd.org> Subject: Re: pf log script issue Message-ID: <20130729164329.GB70888@in-addr.com> In-Reply-To: <51F69A00.5080202@netcrc.net> References: <51F30C00.2000007@netcrc.cr> <51F3F06F.4000101@netcrc.net> <166BA3A5-3876-4383-B78B-7BCB32BCDE80@dataix.net> <51F69A00.5080202@netcrc.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mailto:jhellenthal@DataIX.net> > > Voice: +1 (616) 953-0176 > > JJH48-ARIN > > > > > > On Jul 27, 2013, at 12:08, Yeris Antonio Madrigal Castro > > <yeris@netcrc.net <mailto:yeris@netcrc.net>> 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 <mailto: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 > >> <mailto: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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130729164329.GB70888>
