Commit 36f19278 authored by Michael's avatar Michael
Browse files

added -U option for packetwise buffering to tcpdump

parent d3b938f1
Pipeline #8 canceled with stages
......@@ -9,7 +9,7 @@ LOCAL_IP="172.31.129.98"
touch "$DUMP_DIR/logfile"
echo "Starting capturing on interface $DUMP_IF to file $DUMP_DIR/$DUMP_FILE"
tcpdump -i "eth0" -z gzip -w "$DUMP_DIR/$DUMP_FILE" -s 0 -nn -vvv "(src host $LOCAL_IP and not src port $SSH_PORT) or (dst host $LOCAL_IP and not dst port $SSH_PORT)" >> "$DUMP_DIR/logfile" &
tcpdump -i "eth0" -z gzip -w "$DUMP_DIR/$DUMP_FILE" -s 0 -nn -U -vvv "(src host $LOCAL_IP and not src port $SSH_PORT) or (dst host $LOCAL_IP and not dst port $SSH_PORT)" >> "$DUMP_DIR/logfile" &
TCPDUMP_PID=$!
echo "Capturing works on PID $!"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment