Shaun T. Erickson wrote the following on 1/1/2007 9:39 AM -0800: > Has anyone come up with a clean way of starting and stopping p0f & > p0f-analyzer? On my CentOS 4.4 system, there is an init.d script for > p0f, but that's to use it standalone, logging to a file. I haven't > been able to figure out how to modify it to cleanly start and stop > both programs, while still piping them together as maRBL and > amavisd-new need them to be. > I tried the init script and was unsuccessful at making that work. Instead, try adding something like the following to /etc/rc.local:
/usr/sbin/p0f -f /etc/p0f/p0f.fp -l 'tcp dst port 25' 2>&1 | /usr/local/sbin/p0f-analyzer.pl 2345 & Use whatever recipe you currently use, but make sure you use full paths to all files. This will start both p0f & p0f-analyzer upon reboot. Bill ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
