fix default ipv6 rules file [release 4.6.12.1-2mamba;Thu Sep 10 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 17:47:15 +01:00
parent 123051c15d
commit 8d89225eae
5 changed files with 70 additions and 1 deletions

13
shorewall-interfaces6 Normal file
View File

@ -0,0 +1,13 @@
#
# 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
netv6 eth0 dhcp,tcpflags,routeback

14
shorewall-policy6 Normal file
View File

@ -0,0 +1,14 @@
#
# Shorewall6 version 4 - Policy File
#
# 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 LOG LIMIT: CONNLIMIT:
# LEVEL BURST MASK
fw all ACCEPT
netv6 all DROP info
all all REJECT info

18
shorewall-rules6 Normal file
View File

@ -0,0 +1,18 @@
#
# Shorewall6 version 4 - Rules File
#
# 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 DEST SOURCE ORIGINAL RATE USER/ MARK CONNLIMIT TIME HEADERS SWITCH HELPER
# PORT(S) PORT(S) DEST LIMIT GROUP
#SECTION ALL
#SECTION ESTABLISHED
#SECTION RELATED
#SECTION INVALID
#SECTION UNTRACKED
SECTION NEW
#ACCEPT netv6 all tcp 22

13
shorewall-zones6 Normal file
View File

@ -0,0 +1,13 @@
#
# Shorewall6 version 4 - Zones File
#
# 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 OUT
# OPTIONS OPTIONS
fw firewall
netv6 ipv6

View File

@ -2,7 +2,7 @@
%define maj3ver %(echo %version | cut -d. -f1-3)
Name: shorewall
Version: 4.6.12.1
Release: 1mamba
Release: 2mamba
Summary: Shoreline Firewall, a high-level tool for configuring Netfilter
Group: Network/Security
Vendor: openmamba
@ -19,6 +19,10 @@ Source6: http://slovakia.shorewall.net/pub/shorewall/%{majver}/shorewall-
#Source8: http://slovakia.shorewall.net/pub/shorewall/%{majver}/shorewall-%{version}/base/shorewall-perl-%{version}.tar.bz2
#Source9: http://slovakia.shorewall.net/pub/shorewall/%{majver}/shorewall-%{version}/base/shorewall-shell-%{version}.tar.bz2
Source10: http://slovakia.shorewall.net/pub/shorewall/%{majver}/shorewall-%{maj3ver}/shorewall6-%{version}.tar.bz2
Source12: shorewall-interfaces6
Source13: shorewall-policy6
Source14: shorewall-rules6
Source15: shorewall-zones6
License: GPL
BuildArch: noarch
## AUTOBUILDREQ-BEGIN
@ -68,6 +72,10 @@ install %{SOURCE2} %{buildroot}%{_sysconfdir}/shorewall/interfaces
install %{SOURCE3} %{buildroot}%{_sysconfdir}/shorewall/policy
install %{SOURCE4} %{buildroot}%{_sysconfdir}/shorewall/rules
install %{SOURCE5} %{buildroot}%{_sysconfdir}/shorewall/zones
install %{SOURCE12} %{buildroot}%{_sysconfdir}/shorewall6/interfaces
install %{SOURCE13} %{buildroot}%{_sysconfdir}/shorewall6/policy
install %{SOURCE14} %{buildroot}%{_sysconfdir}/shorewall6/rules
install %{SOURCE15} %{buildroot}%{_sysconfdir}/shorewall6/zones
install -D -m0644 shorewall.service.214 %{buildroot}%{_unitdir}/shorewall.service
rm -f %{buildroot}%{_sysconfdir}/init.d/shorewall
@ -115,6 +123,9 @@ fi
#README.txt
%changelog
* Thu Sep 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.12.1-2mamba
- fix default ipv6 rules file
* Tue Aug 25 2015 Automatic Build System <autodist@mambasoft.it> 4.6.12.1-1mamba
- automatic version update by autodist