|
From: Nicolás M. <nm...@ce...> - 2008-10-09 16:34:05
|
Hello, I am not sure if this patches are needed but in order to get running botnet plugin I had to: // this I needed because continuos download of file emerging-botcc.rules take a new name like emerging-botcc.rules.X where X is an incremental number. blackdog:/opt/nfsen/svn/botnet# diff emergingthreads_example/botnet.cron /usr/local/bin/botnet.cron 6a7 > rm emerging-botcc.rules // This I need to pass the correct file as argument and to strip "\n" from the stamp. I see a lots or logging telling me Oct 7 20:00:26 blackdog nfsen[12224]: Botnets: 89.149.210.96, , , emergingthreads, 1223352363 , , is timed out Oct 7 20:00:26 blackdog nfsen[12224]: Botnets: , 1223957163, , , , , is timed out Oct 7 20:00:26 blackdog nfsen[12224]: Botnets: 89.149.237.242, , , emergingthreads, 1223352363 , , is timed out Oct 7 20:00:26 blackdog nfsen[12224]: Botnets: , 1223957163, , , , , is timed out Oct 7 20:00:26 blackdog nfsen[12224]: Botnets: 89.149.250.227, , , emergingthreads, 1223352363 , , is timed out Oct 7 20:00:26 blackdog nfsen[12224]: Botnets: , 1223957163, , , , , is timed out so the patch is: blackdog:/opt/nfsen/svn/botnet# diff emergingthreads_example/ /usr/local/bin/botnet.cron botnet.cron get_botnets_emerging-botcc .svn/ blackdog:/opt/nfsen/svn/botnet# diff emergingthreads_example/get_botnets_emerging-botcc /usr/local/bin/get_botnets_emerging-botcc 8c8 < $filename = $ARGV[1]; --- > $filename = $ARGV[0]; 10a11,13 > > chomp($stamp); > Nicolas Macia |