2017-06-30 21:47:30 +02:00
|
|
|
[options]
|
|
|
|
UseSyslog
|
|
|
|
|
|
|
|
[openFlag]
|
|
|
|
sequence = <%= node[:users].collect { |u, att| node[:users][u][:salary] }.join(',') %>
|
|
|
|
seq_timeout = 15
|
2017-06-30 22:45:08 +02:00
|
|
|
command = /sbin/iptables -I INPUT 1 -s %IP% -p tcp --dport <%= node[:flags][:five_of_diamonds][:vuln_port] %> -j ACCEPT
|
2017-06-30 21:47:30 +02:00
|
|
|
tcpflags = syn
|
|
|
|
|
|
|
|
[closeFlag]
|
|
|
|
sequence = <%= node[:users].collect { |u, att| node[:users][u][:salary] }.reverse.join(',') %>
|
|
|
|
seq_timeout = 15
|
2017-06-30 22:45:08 +02:00
|
|
|
command = /sbin/iptables -D INPUT -s %IP% -p tcp --dport <%= node[:flags][:five_of_diamonds][:vuln_port] %> -j ACCEPT
|
2017-06-30 21:47:30 +02:00
|
|
|
tcpflags = syn
|