diff options
author | spag <spag@golwen.net> | 2013-02-03 20:03:28 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-02-03 20:03:28 +0100 |
commit | ecdbd88b2059ccfcf79e000d07efb9ffddde9aed (patch) | |
tree | 3126039793ee6af48947164d6eee80c5509ede0e /db/migrate | |
parent | 077234ab170416d8aac9bf5887aa2093b2d9c5c9 (diff) |
try to ban only once
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20130203165800_add_perimeter_parameters.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20130203165800_add_perimeter_parameters.rb b/db/migrate/20130203165800_add_perimeter_parameters.rb index 9ef41d0..d229b29 100644 --- a/db/migrate/20130203165800_add_perimeter_parameters.rb +++ b/db/migrate/20130203165800_add_perimeter_parameters.rb @@ -4,7 +4,7 @@ class AddPerimeterParameters < ActiveRecord::Migration GsParameter.create(:entity => 'perimeter', :section => 'general', :name => 'contact_span_threshold', :value => '2', :class_type => 'Integer', :description => '') GsParameter.create(:entity => 'perimeter', :section => 'general', :name => 'name_changes_threshold', :value => '2', :class_type => 'Integer', :description => '') GsParameter.create(:entity => 'perimeter', :section => 'general', :name => 'ban_threshold', :value => '20', :class_type => 'Integer', :description => '') - GsParameter.create(:entity => 'perimeter', :section => 'general', :name => 'ban_tries', :value => '2', :class_type => 'Integer', :description => '') + GsParameter.create(:entity => 'perimeter', :section => 'general', :name => 'ban_tries', :value => '1', :class_type => 'Integer', :description => '') GsParameter.create(:entity => 'perimeter', :section => 'general', :name => 'blacklist_file', :value => '/var/opt/gemeinschaft/firewall/blacklist', :class_type => 'String', :description => '') GsParameter.create(:entity => 'perimeter', :section => 'general', :name => 'blacklist_file_comment', :value => '# PERIMETER_BAN - points: {points}, generated: {date}', :class_type => 'String', :description => '') GsParameter.create(:entity => 'perimeter', :section => 'general', :name => 'blacklist_file_entry', :value => '{received_ip} udp 5060', :class_type => 'String', :description => '') |