Begin work on making a deb package

master
bbruns 2010-08-24 17:46:47 +00:00
parent 95c2688ea3
commit 27c378b9db
2 changed files with 18 additions and 4 deletions

17
debian/control vendored Normal file
View File

@ -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 <bruns@2mbit.com>
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.

View File

@ -378,10 +378,7 @@ fi
#================[IPv6]================ #================[IPv6]================
if [ $IPV6 ]; then if [ $IPV6 ]; then
$IP6TABLES --flush &>/dev/null iptables_rules_flush ipv6
$IP6TABLES -F OUTPUT &>/dev/null
$IP6TABLES -F PREROUTING &>/dev/null
$IP6TABLES -F POSTROUTING &>/dev/null
if [ -s "$BASEDIR/include/ipv6_custom_flush" ]; then if [ -s "$BASEDIR/include/ipv6_custom_flush" ]; then
display_c YELLOW "Loading custom IPv6 flush rules..." display_c YELLOW "Loading custom IPv6 flush rules..."
. "$BASEDIR/include/ipv6_custom_flush" . "$BASEDIR/include/ipv6_custom_flush"