abusesa: Add abusesa::recorder
This commit is contained in:
parent
f0a48f506c
commit
995d01d38e
3 changed files with 260 additions and 0 deletions
11
abusesa/templates/recorder/probe.erb
Normal file
11
abusesa/templates/recorder/probe.erb
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
NETWORK_IFC="<%= @interface_real %>"
|
||||
CAPTURE_DIR="/var/lib/recorder/<%= @name %>"
|
||||
SNAPLEN="<%= @snaplen %>"
|
||||
KEEPTIME="<%= @keeptime %>"
|
||||
BLOCKSIZE="<%= @blocksize %>"
|
||||
FILTER="<%= @filter %>"
|
||||
OPTIONS="<%= @probeopt %>"
|
||||
|
||||
. /etc/abusesa/abusesa-functions
|
Loading…
Add table
Add a link
Reference in a new issue