From af8bc0d0a8c6a93277d9bfb6ef959f2cc8005b7d Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Wed, 9 Jan 2013 09:08:12 +0100 Subject: [PATCH] Forward Firewall: added a customservices file with default values --- config/fwhosts/customservices | 22 ++++++++++++++++++++++ lfs/configroot | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 config/fwhosts/customservices diff --git a/config/fwhosts/customservices b/config/fwhosts/customservices new file mode 100644 index 0000000000..d115f9756f --- /dev/null +++ b/config/fwhosts/customservices @@ -0,0 +1,22 @@ +11,NTP,123,UDP,BLANK,0 +21,IMAPS,993,TCP,BLANK,0 +7,WINS,42,TCP,BLANK,0 +2,FTP-control,21,TCP,BLANK,0 +17,IRC,194,TCP,BLANK,0 +22,POP3S,995,TCP,BLANK,0 +1,FTP-data,20,TCP,BLANK,0 +18,HTTPS,443,TCP,BLANK,0 +16,SNMP,161,UDP,BLANK,0 +13,NetBIOS Datagramservice,138,TCP,BLANK,0 +6,TIME,37,TCP,BLANK,0 +3,SSH,22,TCP,BLANK,0 +9,POP3,110,TCP,BLANK,0 +12,NetBIOS nameservice,137,TCP,BLANK,0 +20,FTPS control,990,TCP,BLANK,0 +15,IMAP,143,TCP,BLANK,0 +14,NetBIOS Sessionservice,139,TCP,BLANK,0 +8,HTTP,80,TCP,BLANK,0 +4,TELNET,23,UDP,BLANK,0 +10,SFTP,115,TCP,BLANK,0 +19,FTPS data,989,TCP,BLANK,0 +5,SMTP,25,TCP,BLANK,0 diff --git a/lfs/configroot b/lfs/configroot index 62946f278b..704c690073 100644 --- a/lfs/configroot +++ b/lfs/configroot @@ -66,7 +66,7 @@ $(TARGET) : certs/index.txt ddns/config ddns/noipsettings ddns/settings ddns/ipcache dhcp/settings \ dhcp/fixleases dhcp/advoptions dhcp/dhcpd.conf.local dns/settings dnsforward/config ethernet/aliases ethernet/settings ethernet/known_nics ethernet/scanned_nics \ extrahd/scan extrahd/devices extrahd/partitions extrahd/settings forward/settings forward/config forward/input \ - fwhosts/customnetworks fwhosts/customhosts fwhosts/customgroups fwhosts/customservices fwhosts/customservicegrp fwlogs/ipsettings fwlogs/portsettings \ + fwhosts/customnetworks fwhosts/customhosts fwhosts/customgroups fwhosts/customservicegrp fwlogs/ipsettings fwlogs/portsettings \ isdn/settings mac/settings main/disable_nf_sip main/hosts main/routing main/settings net-traffic/settings optionsfw/settings \ ovpn/ccd.conf ovpn/ccdroute ovpn/ccdroute2 pakfire/settings portfw/config ppp/settings-1 ppp/settings-2 ppp/settings-3 ppp/settings-4 \ ppp/settings-5 ppp/settings proxy/settings proxy/advanced/settings proxy/advanced/cre/enable remote/settings qos/settings qos/classes qos/subclasses qos/level7config qos/portconfig \ @@ -104,6 +104,7 @@ $(TARGET) : cp $(DIR_SRC)/config/forwardfw/rules.pl $(CONFIG_ROOT)/forward/bin/rules.pl cp $(DIR_SRC)/config/forwardfw/firewall-lib.pl $(CONFIG_ROOT)/forward/bin/firewall-lib.pl cp $(DIR_SRC)/config/fwhosts/icmp-types $(CONFIG_ROOT)/fwhosts/icmp-types + cp $(DIR_SRC)/config/fwhosts/customservices $(CONFIG_ROOT)/fwhosts/customservices # Oneliner configfiles echo "ENABLED=off" > $(CONFIG_ROOT)/vpn/settings echo "VPN_DELAYED_START=0" >>$(CONFIG_ROOT)/vpn/settings -- 2.39.5