From d11b179b1b2f6083c0987e4650d89ad7831863e6 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 7 Apr 2017 18:07:44 +0200 Subject: add mgmt of files for shorewall6 --- files/boilerplate6/zones.header | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 files/boilerplate6/zones.header (limited to 'files') diff --git a/files/boilerplate6/zones.header b/files/boilerplate6/zones.header new file mode 100644 index 0000000..3e445c5 --- /dev/null +++ b/files/boilerplate6/zones.header @@ -0,0 +1,11 @@ +# +# Shorewall6 -- /etc/shorewall6/zones +# +# For information about this file, type "man shorewall6-zones" +# +# The manpage is also online at +# http://www.shorewall.net/manpages6/shorewall6-zones.html +# +############################################################################### +#ZONE TYPE OPTIONS IN_OPTIONS OUT_OPTIONS + -- cgit v1.2.3 From 312dd4b7b990f0fad0b55f050e4c5c8e17c7e20d Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 7 Apr 2017 18:14:03 +0200 Subject: we need this --- files/boilerplate6/zones.header | 1 + 1 file changed, 1 insertion(+) (limited to 'files') diff --git a/files/boilerplate6/zones.header b/files/boilerplate6/zones.header index 3e445c5..6ebe49b 100644 --- a/files/boilerplate6/zones.header +++ b/files/boilerplate6/zones.header @@ -9,3 +9,4 @@ ############################################################################### #ZONE TYPE OPTIONS IN_OPTIONS OUT_OPTIONS +fw firewall -- cgit v1.2.3 From 0a9d42a755723374b32571a9ed225493b1d36f58 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 8 Apr 2017 13:25:56 +0200 Subject: add missing file --- files/boilerplate6/interfaces.header | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 files/boilerplate6/interfaces.header (limited to 'files') diff --git a/files/boilerplate6/interfaces.header b/files/boilerplate6/interfaces.header new file mode 100644 index 0000000..be98744 --- /dev/null +++ b/files/boilerplate6/interfaces.header @@ -0,0 +1,11 @@ +# +# Shorewall6 -- /etc/shorewall6/interfaces +# +# For information about entries in this file, type "man shorewall6-interfaces" +# +# The manpage is also online at +# http://www.shorewall.net/manpages6/shorewall6-interfaces.html +# +?FORMAT 2 +############################################################################### +#ZONE INTERFACE OPTIONS -- cgit v1.2.3 From e89e367f4a70b13bb2889203642ee5ec31367b75 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 8 Apr 2017 13:59:11 +0200 Subject: add missing file --- files/boilerplate6/params.header | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 files/boilerplate6/params.header (limited to 'files') diff --git a/files/boilerplate6/params.header b/files/boilerplate6/params.header new file mode 100644 index 0000000..cf40b53 --- /dev/null +++ b/files/boilerplate6/params.header @@ -0,0 +1,23 @@ +# +# Shorewall6 -- /etc/shorewall6/params +# +# Assign any variables that you need here. +# +# It is suggested that variable names begin with an upper case letter +# to distinguish them from variables used internally within the +# Shorewall6 programs +# +# Example: +# +# NET_IF=eth0 +# NET_OPTIONS=dhcp,nosmurfs +# +# Example (/etc/shorewall6/interfaces record): +# +# net $NET_IF - $NET_OPTIONS +# +# The result will be the same as if the record had been written +# +# net eth0 - dhcp,nosmurfs +# +############################################################################### -- cgit v1.2.3 From 28a72736071330261ba8fa9dd5ca4e1202c1247f Mon Sep 17 00:00:00 2001 From: mh Date: Sun, 9 Apr 2017 18:57:53 +0200 Subject: make it possible to manage rules for ipv4 & ipv6 + add some more modern headers for certain versions --- files/boilerplate6/rules.header | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 files/boilerplate6/rules.header (limited to 'files') diff --git a/files/boilerplate6/rules.header b/files/boilerplate6/rules.header new file mode 100644 index 0000000..91e57a8 --- /dev/null +++ b/files/boilerplate6/rules.header @@ -0,0 +1,11 @@ +# +# Shorewall6 -- /etc/shorewall6/rules +# +# For information on the settings in this file, type "man shorewall6-rules" +# +# The manpage is also online at +# http://www.shorewall.net/manpages6/shorewall6-rules.html +# +############################################################################################################################################################## +#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER MARK CONNLIMIT TIME HEADERS SWITCH HELPER + -- cgit v1.2.3 From 265cf2afa424b5bf9c48b6e8512308d8911a1eca Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 25 Apr 2017 17:24:50 +0200 Subject: add missing file --- files/boilerplate6/policy.header | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 files/boilerplate6/policy.header (limited to 'files') diff --git a/files/boilerplate6/policy.header b/files/boilerplate6/policy.header new file mode 100644 index 0000000..aee2ff0 --- /dev/null +++ b/files/boilerplate6/policy.header @@ -0,0 +1,10 @@ +# +# Shorewall6 -- /etc/shorewall6/policy +# +# For information about entries in this file, type "man shorewall6-policy" +# +# The manpage is also online at +# http://www.shorewall.net/manpages6/shorewall6-policy.html +# +############################################################################### +#SOURCE DEST POLICY LOGLEVEL LIMIT CONNLIMIT -- cgit v1.2.3 From db26643a43b74f5718f81a821316d6a58855b371 Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 1 May 2017 17:37:05 +0200 Subject: also support EL6 style files --- files/boilerplate6/interfaces.header.CentOS.6 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 files/boilerplate6/interfaces.header.CentOS.6 (limited to 'files') diff --git a/files/boilerplate6/interfaces.header.CentOS.6 b/files/boilerplate6/interfaces.header.CentOS.6 new file mode 100644 index 0000000..944bd94 --- /dev/null +++ b/files/boilerplate6/interfaces.header.CentOS.6 @@ -0,0 +1,12 @@ +# +# Shorewall6 version 4 - Interfaces File +# +# For information about entries in this file, type "man shorewall6-interfaces" +# +# The manpage is also online at +# http://www.shorewall.net/manpages6/shorewall6-interfaces.html +# +############################################################################### +FORMAT 2 +############################################################################### +#ZONE INTERFACE OPTIONS -- cgit v1.2.3 From 4112e79844623b76e0fc47e647a38f99c6d60d9e Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 1 May 2017 21:08:58 +0200 Subject: correct snippet --- files/boilerplate6/interfaces.header.CentOS.6 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'files') diff --git a/files/boilerplate6/interfaces.header.CentOS.6 b/files/boilerplate6/interfaces.header.CentOS.6 index 944bd94..2e5bd3d 100644 --- a/files/boilerplate6/interfaces.header.CentOS.6 +++ b/files/boilerplate6/interfaces.header.CentOS.6 @@ -1,12 +1,11 @@ # -# Shorewall6 version 4 - Interfaces File +# Shorewall6 -- /etc/shorewall6/interfaces # # For information about entries in this file, type "man shorewall6-interfaces" # # The manpage is also online at # http://www.shorewall.net/manpages6/shorewall6-interfaces.html # -############################################################################### FORMAT 2 ############################################################################### #ZONE INTERFACE OPTIONS -- cgit v1.2.3