Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 2f79fc4

Browse files
committed
Merge pull request #32 from rtkmparrott/readme_update
Readme update
2 parents d468039 + 0684828 commit 2f79fc4

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

README.md

+15-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://secure.travis-ci.org/dcrosta/cookbook-simple-iptables.png?branch=master)](http://travis-ci.org/dcrosta/cookbook-simple-iptables)
1+
[![Build Status](https://travis-ci.org/rtkwlf/cookbook-simple-iptables.png?branch=master)](https://travis-ci.org/rtkwlf/cookbook-simple-iptables)
22

33
Description
44
===========
@@ -133,20 +133,23 @@ Suppose you had the following `simple_iptables` configuration:
133133
# for logical organization.
134134

135135
# Allow all traffic on the loopback device
136-
simple_iptables_rule "system" do
136+
simple_iptables_rule "loopback" do
137+
chain "system"
137138
rule "--in-interface lo"
138139
jump "ACCEPT"
139140
end
140141

141142
# Allow any established connections to continue, even
142143
# if they would be in violation of other rules.
143-
simple_iptables_rule "system" do
144+
simple_iptables_rule "established" do
145+
chain "system"
144146
rule "-m conntrack --ctstate ESTABLISHED,RELATED"
145147
jump "ACCEPT"
146148
end
147149

148150
# Allow SSH
149-
simple_iptables_rule "system" do
151+
simple_iptables_rule "ssh" do
152+
chain "system"
150153
rule "--proto tcp --dport 22"
151154
jump "ACCEPT"
152155
end
@@ -245,9 +248,15 @@ Which results in the following iptables configuration:
245248
Changes
246249
=======
247250

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)
248256
* 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)
251260
* 0.3.0 (March 5, 2013)
252261
* Added support for nat table (#10 - Nathan Mische)
253262
* Updated Gemfile for Travis-CI integration (#10 - Nathan Mische)

metadata.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
maintainer "Dan Crosta"
2-
maintainer_email "[email protected]"
1+
maintainer "Arctic Wolf Networks"
2+
maintainer_email "[email protected]"
33
license "BSD"
44
description "Simple LWRP and recipe for managing iptables rules"
55
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
6-
version "0.3.0"
6+
version "0.5.1"
77
name "simple_iptables"
88

99
supports "debian", ">= 6.0"

0 commit comments

Comments
 (0)