Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91873 - p0f initscript could use conf.d/p0f
Summary: p0f initscript could use conf.d/p0f
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-08 03:49 UTC by Lorinc Czegledi
Modified: 2005-06-18 18:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorinc Czegledi 2005-05-08 03:49:04 UTC
some little updates to the initscript and the ebuild could come handy:

create /etc/conf.d/p0f including:
P0FLOGFILE=/var/log/p0f-audit.log
P0FDEVICE=ppp0
P0FOPTIONS="-rtdl"

modded initscript:

start-stop-daemon --start --quiet --exec /usr/sbin/p0f -- -i "${P0FDEVICE}" "${P0FOPTIONS}" "${P0FLOGFILE}" "${BpfFilter}" >> "/var/log/p0f" 2>&1 &

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
will use output logfile as specified in conf.d
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2005-06-18 18:54:56 UTC
Thanks for reporting, in cvs.
By default, I am not using the -r option since the man pages recommend against
it. Also, the -d option requires -o.