|
1 |
| -[](http://travis-ci.org/dcrosta/cookbook-simple-iptables) |
| 1 | +[](https://travis-ci.org/rtkwlf/cookbook-simple-iptables) |
2 | 2 |
|
3 | 3 | Description
|
4 | 4 | ===========
|
@@ -133,20 +133,23 @@ Suppose you had the following `simple_iptables` configuration:
|
133 | 133 | # for logical organization.
|
134 | 134 |
|
135 | 135 | # Allow all traffic on the loopback device
|
136 |
| - simple_iptables_rule "system" do |
| 136 | + simple_iptables_rule "loopback" do |
| 137 | + chain "system" |
137 | 138 | rule "--in-interface lo"
|
138 | 139 | jump "ACCEPT"
|
139 | 140 | end
|
140 | 141 |
|
141 | 142 | # Allow any established connections to continue, even
|
142 | 143 | # if they would be in violation of other rules.
|
143 |
| - simple_iptables_rule "system" do |
| 144 | + simple_iptables_rule "established" do |
| 145 | + chain "system" |
144 | 146 | rule "-m conntrack --ctstate ESTABLISHED,RELATED"
|
145 | 147 | jump "ACCEPT"
|
146 | 148 | end
|
147 | 149 |
|
148 | 150 | # Allow SSH
|
149 |
| - simple_iptables_rule "system" do |
| 151 | + simple_iptables_rule "ssh" do |
| 152 | + chain "system" |
150 | 153 | rule "--proto tcp --dport 22"
|
151 | 154 | jump "ACCEPT"
|
152 | 155 | end
|
@@ -245,9 +248,15 @@ Which results in the following iptables configuration:
|
245 | 248 | Changes
|
246 | 249 | =======
|
247 | 250 |
|
| 251 | +* 0.5.1 (March 18, 2014) |
| 252 | + * Update README example so Chef doesn't warn duplicate resources (#32 - Michael Parrott) |
| 253 | +* 0.5.0 (March 18, 2014) |
| 254 | + * Extend cleanup and test code (#31 - Sander van Harmelen) |
| 255 | + * Disallow adding built-in chains multiple times (#31 - Sander van Harmelen) |
248 | 256 | * 0.4.0 (May 9, 2013)
|
249 |
| - * Added support for mangle table (#? - Michael Hart) |
250 |
| - * Updated Gemfile to 11.4.4 (#? - Michael Hart) |
| 257 | + * Update foodcritic version used in Travis-CI (#29 - Michael Parrott) |
| 258 | + * Added support for mangle table (#18 - Michael Hart) |
| 259 | + * Updated Gemfile to 11.4.4 (#18 - Michael Hart) |
251 | 260 | * 0.3.0 (March 5, 2013)
|
252 | 261 | * Added support for nat table (#10 - Nathan Mische)
|
253 | 262 | * Updated Gemfile for Travis-CI integration (#10 - Nathan Mische)
|
|
0 commit comments