Visualizza - Garr
Visualizza - Garr
Visualizza - Garr
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Esempio: plugin DoS<br />
• Alert plugin: DOS_alert.pm:<br />
sub alert_action {<br />
……<br />
}<br />
package DOS_alert;<br />
my $nf_filter = 'proto UDP';<br />
my @output = `$nfdump -M $netflow_sources -T -r \<br />
nfcapd.$timeslot -n 10 -s ip/flows \<br />
'$nf_filter'`;<br />
system ("/mnt/nfsen/plugins/elaboro_DOS $timeslot \<br />
2> /mnt/nfsen/plugins/log_DOS");<br />
…..<br />
112<br />
Nino Ciurleo, Alessandro Inzerilli, Simona Venuti<br />
GARR WS9, Roma, 15.06.2009