Detect open ports better to remove false positives.

This commit is contained in:
Jerry Seutter 2013-03-05 14:10:25 -07:00
parent f909c5fa30
commit 42a0d7ed08
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
82
83

View File

@ -9,5 +9,5 @@ set -e
openstack_ports=`env| awk -F '=' '(/OPENSTACK_PORT/){print $2}'`
for port in $openstack_ports
do
netstat -ln | grep -q $port
netstat -ln | grep -q ":$port "
done