From c44283d088ee2f37475a0f25d7fb6a3f8e059fd6 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 3 Feb 2011 08:40:39 -0800 Subject: [PATCH] Add IPv6 tcfilters file --- Shorewall6/install.sh | 10 ++++++++++ Shorewall6/tcfilters | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 Shorewall6/tcfilters diff --git a/Shorewall6/install.sh b/Shorewall6/install.sh index a6f865cfc..19a1b4098 100755 --- a/Shorewall6/install.sh +++ b/Shorewall6/install.sh @@ -498,6 +498,16 @@ if [ -z "$SPARSE" -a ! -f ${DESTDIR}/etc/shorewall6/tcdevices ]; then echo "TC Devices file installed as ${DESTDIR}/etc/shorewall6/tcdevices" fi +# +# Install the tcfilters file +# +run_install $OWNERSHIP -m 0644 tcfilters ${DESTDIR}/usr/share/shorewall6/configfiles/tcfilters + +if [ -z "$SPARSE" -a ! -f ${DESTDIR}/etc/shorewall6/tcfilters ]; then + run_install $OWNERSHIP -m 0600 tcfilters ${DESTDIR}/etc/shorewall6/tcfilters + echo "TC Filters file installed as ${DESTDIR}/etc/shorewall6/tcfilters" +fi + # # Install the Notrack file # diff --git a/Shorewall6/tcfilters b/Shorewall6/tcfilters new file mode 100644 index 000000000..f745e9cbd --- /dev/null +++ b/Shorewall6/tcfilters @@ -0,0 +1,10 @@ +# +# Shorewall6 version 4 - Tcfilters File +# +# For information about entries in this file, type "man shorewall6-tcfilters" +# +# See http://shorewall.net/traffic_shaping.htm for additional information. +# +############################################################################################## +#INTERFACE: SOURCE DEST PROTO DEST SOURCE TOS LENGTH +#CLASS PORT(S) PORT(S)