From 27c378b9dbc37b4ddcc4656c74caf69c8ffdf97e Mon Sep 17 00:00:00 2001 From: bbruns Date: Tue, 24 Aug 2010 17:46:47 +0000 Subject: [PATCH] Begin work on making a deb package --- debian/control | 17 +++++++++++++++++ rc.firewall | 5 +---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 debian/control diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ae6f29d --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Package: firewall-sosdg +Version: 0.9.5-b1 +Section: net +Priority: optional +Architecture: all +Essential: no +Depends: iptables (>= 1.2.7), iproute, ${shlibs:Depends} +Pre-Depends: bash (>= 2.0) | dash +Suggests: conntrack, iptstate, fail2ban, dnsmasq +Maintainer: Brielle Bruns +Conflicts: ipkungfu +Provides: firewall +Description: iptables based Linux firewall + Firewall/SOSDG is a Linux Netfilter firewall designed + to be simple and effective. Features include NAT support, + port forwarding, basic routing/forwarding of packets, and + ipv6 firewalling support. diff --git a/rc.firewall b/rc.firewall index 6f2cffb..b9cc894 100755 --- a/rc.firewall +++ b/rc.firewall @@ -378,10 +378,7 @@ fi #================[IPv6]================ if [ $IPV6 ]; then - $IP6TABLES --flush &>/dev/null - $IP6TABLES -F OUTPUT &>/dev/null - $IP6TABLES -F PREROUTING &>/dev/null - $IP6TABLES -F POSTROUTING &>/dev/null + iptables_rules_flush ipv6 if [ -s "$BASEDIR/include/ipv6_custom_flush" ]; then display_c YELLOW "Loading custom IPv6 flush rules..." . "$BASEDIR/include/ipv6_custom_flush"