rubber 2.7.2 → 2.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6940ea5e0cb81d87cfaa82db6de3ee16f6d5d168
4
- data.tar.gz: b1b6733ea20d6cf90fc1ca8fecb4387116f7ea29
3
+ metadata.gz: 6e7a99961b1006e819cfc27dd6f658889c4526b1
4
+ data.tar.gz: 1b11e0d75a560e070be1c4d40e1d2e6427717f8f
5
5
  SHA512:
6
- metadata.gz: bdccc42cb87b92a3e8a5b01c10fb5fb54eb3e58745c8bf67cfb4f4ae6021394a67103a788039fcd22d937751b2084c890bdb7613d359a7647e18c0bccc299352
7
- data.tar.gz: 6d997b7772bd6f6af261ef99938d91bef879093830a31383277b74fb32c0938966db6e7eb56fbb597b5e783eb7706ba364de91251f5a0f3935f2e700ac8faf9d
6
+ metadata.gz: 5f6acec4f31be2c0102cd2b5c4b8dc53162964235d0eba49def86396c4fd9e4cf3bcba24890f557a068e339392b47238b33162c0a7b6c408bf67b27056300b0c
7
+ data.tar.gz: bd08595766808d2a7433c557128ff3f4491864f89743f0af9717c53f1b6a0e444ed634a1cb4c1738a4735c91895ce1365704772ba2294f4d4b0d764de3b3f79a
data/CHANGELOG CHANGED
@@ -1,3 +1,11 @@
1
+ 2.7.3 (02/12/2014)
2
+
3
+ Improvements:
4
+ ============
5
+
6
+ [core] Be more aggressive about saving iptables rules to guard against unexpected shutdowns. <9c62aa1#
7
+
8
+
1
9
  2.7.2 (02/12/2014)
2
10
 
3
11
  *SECURITY WARNING*: Versions of rubber prior to this release will not save your iptables rules. Upon reboot of your
@@ -154,6 +154,7 @@ module Rubber
154
154
  end
155
155
 
156
156
  script << "\niptables -A INPUT -j DROP -m comment --comment 'Disable all other connections.'"
157
+ script << "\niptables-save > /etc/iptables.rules"
157
158
 
158
159
  iptables_load = <<-FILE
159
160
  #!/bin/sh
@@ -165,7 +166,7 @@ exit 0
165
166
  iptables_save = <<-FILE
166
167
  #!/bin/sh
167
168
 
168
- iptables-save -c > /etc/iptables.rules
169
+ iptables-save > /etc/iptables.rules
169
170
  if [ -f /etc/iptables.downrules ]; then
170
171
  iptables-restore < /etc/iptables.downrules
171
172
  fi
@@ -1,3 +1,3 @@
1
1
  module Rubber
2
- VERSION = "2.7.2"
2
+ VERSION = "2.7.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubber
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.2
4
+ version: 2.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Conway