mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
Copy and display host specific tcpdump.log files
This commit is contained in:
parent
b460fb1dd2
commit
669fc9f9ec
@ -598,6 +598,28 @@ do
|
||||
|
||||
done
|
||||
|
||||
cat >> $TESTRESULTDIR/index.html <<@EOF
|
||||
<h3>tcpdump</h3>
|
||||
<ul>
|
||||
@EOF
|
||||
|
||||
for host in $TCPDUMPHOSTS
|
||||
do
|
||||
eval HOSTLOGIN=root@\$ipv4_${host}
|
||||
|
||||
scp $SSHCONF $HOSTLOGIN:/tmp/tcpdump.log \
|
||||
$TESTRESULTDIR/${host}.tcpdump.log > /dev/null 2>&1
|
||||
|
||||
cat >> $TESTRESULTDIR/index.html <<@EOF
|
||||
<li><a href="$host.tcpdump.log">$host tcpdump.log</a></li>
|
||||
@EOF
|
||||
|
||||
done
|
||||
|
||||
cat >> $TESTRESULTDIR/index.html <<@EOF
|
||||
</ul>
|
||||
@EOF
|
||||
|
||||
cat >> $TESTRESULTDIR/index.html <<@EOF
|
||||
</td></tr>
|
||||
</table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user