Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
Merge pull request #494 from dguitarbite/release/tex/master
Browse files Browse the repository at this point in the history
Update VNCBLOCK to close rejected connections.
  • Loading branch information
dirkmueller committed Feb 4, 2016
2 parents c3a226e + d953dbe commit 497f5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chef/cookbooks/nova/recipes/compute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def set_boot_kernel_and_trigger_reboot(flavor='default')
-m u32 --u32 "0>>22&0x3C@ 12>>26&0x3C@ 0=0x52464220" \
-m string --algo kmp --string "RFB 003." --to 130 \
-j VNCBLOCK
iptables -I VNCBLOCK -p tcp -j REJECT --reject-with tcp-reset
iptables -I VNCBLOCK -p tcp -j REJECT
EOH
not_if "iptables -L INPUT | grep -q VNCBLOCK"
end
Expand Down

0 comments on commit 497f5ae

Please sign in to comment.