From 7f9d1c39693c49b767a40dd226b47adf83ffbef1 Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Tue, 15 Jan 2013 12:37:27 +0100 Subject: [PATCH] Forward Firewall: added p2protocols to /var/ipfire/forward/ for p2pblocking options --- config/forwardfw/p2protocols | 9 +++++++++ config/rootfiles/common/configroot | 1 + lfs/configroot | 1 + 3 files changed, 11 insertions(+) create mode 100644 config/forwardfw/p2protocols diff --git a/config/forwardfw/p2protocols b/config/forwardfw/p2protocols new file mode 100644 index 0000000000..d8998095c1 --- /dev/null +++ b/config/forwardfw/p2protocols @@ -0,0 +1,9 @@ +Applejuice;apple;on; +Ares;ares;on; +Bittorrent;bit;on; +DirectConnect;dc;on; +Edonkey;edk;on; +Gnutella;gnu;on; +KaZaA;kazaa;on; +SoulSeek;soul;on; +WinMX;winmx;on; diff --git a/config/rootfiles/common/configroot b/config/rootfiles/common/configroot index bd6c4be07b..f15df7699f 100644 --- a/config/rootfiles/common/configroot +++ b/config/rootfiles/common/configroot @@ -51,6 +51,7 @@ var/ipfire/forward/bin/firewall-lib.pl var/ipfire/forward/settings var/ipfire/forward/config var/ipfire/forward/input +var/ipfire/forward/p2protocols var/ipfire/fwhosts var/ipfire/fwhosts/icmp-types var/ipfire/fwhosts/customhosts diff --git a/lfs/configroot b/lfs/configroot index d0cbd08ad7..829e124c52 100644 --- a/lfs/configroot +++ b/lfs/configroot @@ -101,6 +101,7 @@ $(TARGET) : cp $(DIR_SRC)/config/cfgroot/ethernet-vlans $(CONFIG_ROOT)/ethernet/vlans cp $(DIR_SRC)/langs/list $(CONFIG_ROOT)/langs/ cp $(DIR_SRC)/config/forwardfw/rules.pl $(CONFIG_ROOT)/forward/bin/rules.pl + cp $(DIR_SRC)/config/forwardfw/p2protocols $(CONFIG_ROOT)/forward/p2protocols cp $(DIR_SRC)/config/forwardfw/firewall-lib.pl $(CONFIG_ROOT)/forward/bin/firewall-lib.pl cp $(DIR_SRC)/config/forwardfw/firewall-forward-policy /usr/sbin/firewall-forward-policy cp $(DIR_SRC)/config/fwhosts/icmp-types $(CONFIG_ROOT)/fwhosts/icmp-types -- 2.39.5