Peter Matulis wrote the following on 12/20/2006 5:00 PM -0800: > --- Bill Landry <[EMAIL PROTECTED]> wrote: > > >> Does anyone have any suggestions on how to start p0f/p0f-analyzer.pl >> automatically at system boot time with Fedora? I have tried using an >> >> init script with chkconfig and that presented strange results. I >> also >> tried adding the following to /etc/rc.local: >> >> /bin/sh /usr/bin/nohup /bin/p0f.sh & >> >> with p0f.sh containing: >> >> p0f -l 'tcp dst port 25' 2>&1 | p0f-analyzer.pl 2345 & >> >> However, that doesn't appear to work either (although executing >> p0f.sh >> manually works). Any suggestions? What are others doing? >> > > You may need to specify the absolute path. > > On OpenBSD, I just put the following command in my /etc/rc.local file: > > /usr/loca/sbin/p0f -l 'dst host <my_ip> and tcp dst port 25' 2>&1 | > /usr/local/sbin/p0f-analyzer.pl 2345 & Ah yes, that worked perfectly. Thanks Peter!
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/
