Skip to content

Commit

Permalink
Merge pull request #32 from rtkmparrott/readme_update
Browse files Browse the repository at this point in the history
Readme update
  • Loading branch information
rtkmparrott committed Mar 18, 2014
2 parents d468039 + 0684828 commit 2f79fc4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://secure.travis-ci.org/dcrosta/cookbook-simple-iptables.png?branch=master)](http://travis-ci.org/dcrosta/cookbook-simple-iptables)
[![Build Status](https://travis-ci.org/rtkwlf/cookbook-simple-iptables.png?branch=master)](https://travis-ci.org/rtkwlf/cookbook-simple-iptables)

Description
===========
Expand Down Expand Up @@ -133,20 +133,23 @@ Suppose you had the following `simple_iptables` configuration:
# for logical organization.

# Allow all traffic on the loopback device
simple_iptables_rule "system" do
simple_iptables_rule "loopback" do
chain "system"
rule "--in-interface lo"
jump "ACCEPT"
end

# Allow any established connections to continue, even
# if they would be in violation of other rules.
simple_iptables_rule "system" do
simple_iptables_rule "established" do
chain "system"
rule "-m conntrack --ctstate ESTABLISHED,RELATED"
jump "ACCEPT"
end

# Allow SSH
simple_iptables_rule "system" do
simple_iptables_rule "ssh" do
chain "system"
rule "--proto tcp --dport 22"
jump "ACCEPT"
end
Expand Down Expand Up @@ -245,9 +248,15 @@ Which results in the following iptables configuration:
Changes
=======

* 0.5.1 (March 18, 2014)
* Update README example so Chef doesn't warn duplicate resources (#32 - Michael Parrott)
* 0.5.0 (March 18, 2014)
* Extend cleanup and test code (#31 - Sander van Harmelen)
* Disallow adding built-in chains multiple times (#31 - Sander van Harmelen)
* 0.4.0 (May 9, 2013)
* Added support for mangle table (#? - Michael Hart)
* Updated Gemfile to 11.4.4 (#? - Michael Hart)
* Update foodcritic version used in Travis-CI (#29 - Michael Parrott)
* Added support for mangle table (#18 - Michael Hart)
* Updated Gemfile to 11.4.4 (#18 - Michael Hart)
* 0.3.0 (March 5, 2013)
* Added support for nat table (#10 - Nathan Mische)
* Updated Gemfile for Travis-CI integration (#10 - Nathan Mische)
Expand Down
6 changes: 3 additions & 3 deletions metadata.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
maintainer "Dan Crosta"
maintainer_email "[email protected]"
maintainer "Arctic Wolf Networks"
maintainer_email "[email protected]"
license "BSD"
description "Simple LWRP and recipe for managing iptables rules"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.3.0"
version "0.5.1"
name "simple_iptables"

supports "debian", ">= 6.0"
Expand Down

0 comments on commit 2f79fc4

Please sign in to comment.