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 +4 -4
- data/CHANGELOG +8 -0
- data/lib/rubber/cloud/base.rb +2 -1
- data/lib/rubber/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e7a99961b1006e819cfc27dd6f658889c4526b1
|
|
4
|
+
data.tar.gz: 1b11e0d75a560e070be1c4d40e1d2e6427717f8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/rubber/cloud/base.rb
CHANGED
|
@@ -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
|
|
169
|
+
iptables-save > /etc/iptables.rules
|
|
169
170
|
if [ -f /etc/iptables.downrules ]; then
|
|
170
171
|
iptables-restore < /etc/iptables.downrules
|
|
171
172
|
fi
|
data/lib/rubber/version.rb
CHANGED