pf log script issue

Yeris Antonio Madrigal Castro yeris at netcrc.net
Mon Jul 29 17:09:15 UTC 2013


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 at DataIX.net <mailto:jhellenthal at DataIX.net>
>>>  Voice: +1 (616) 953-0176
>>>  JJH48-ARIN
>>>
>>>
>>> On Jul 27, 2013, at 12:08, Yeris Antonio Madrigal Castro
>>> <yeris at netcrc.net <mailto:yeris at 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 at freebsd.org <mailto:freebsd-pf at freebsd.org> mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
>>>> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org
>>>> <mailto:freebsd-pf-unsubscribe at freebsd.org>"
>> _______________________________________________
>> freebsd-pf at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
>> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"



More information about the freebsd-pf mailing list