mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
farp scenario requires logging of arp packets
This commit is contained in:
parent
eb11d1c58c
commit
a287bdd46c
@ -348,7 +348,7 @@ do
|
||||
do
|
||||
host=`echo $host_iface | awk -F ":" '{print $1}'`
|
||||
iface=`echo $host_iface | awk -F ":" '{if ($2 != "") { print $2 } else { printf("eth0") }}'`
|
||||
tcpdump_cmd="tcpdump -i $iface not port ssh and not port domain and not arp > /tmp/tcpdump.log 2>&1 &"
|
||||
tcpdump_cmd="tcpdump -i $iface not port ssh and not port domain > /tmp/tcpdump.log 2>&1 &"
|
||||
echo "${host}# $tcpdump_cmd" >> $CONSOLE_LOG
|
||||
ssh root@`eval echo \\\$ipv4_$host '$tcpdump_cmd'`
|
||||
eval TDUP_${host}="true"
|
||||
|
Loading…
x
Reference in New Issue
Block a user