Initial refactoring
Renamed rhizomatica_base_system to rhizo_base Split up the init.pp in different subclasses More work to follow
This commit is contained in:
parent
7b938abede
commit
1c7dffc32a
192 changed files with 547 additions and 430 deletions
10
modules/rhizo_base/files/bin/capture_traffic.sh
Executable file
10
modules/rhizo_base/files/bin/capture_traffic.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash -x
|
||||
TCPDUMP="/usr/sbin/tcpdump"
|
||||
CAPTURE_DEVICE="eth1"
|
||||
CAPTURE_PORTS="port 3002 or port 3003"
|
||||
CAPTURE_LIMIT="1024"
|
||||
CAPTURE_SIZE="1"
|
||||
CAPTURE_BASENAME="/tmp/tcpdump-capture-"
|
||||
CAPTURE_COMPRESS="-z /usr/sbin/tcpdump-compress"
|
||||
CAPTURE_OPTIONS="-pi $CAPTURE_DEVICE -s0 -w $CAPTURE_BASENAME -C $CAPTURE_SIZE -W $CAPTURE_LIMIT $CAPTURE_COMPRESS $CAPTURE_PORTS"
|
||||
$TCPDUMP $CAPTURE_OPTIONS
|
Loading…
Add table
Add a link
Reference in a new issue