diff options
Diffstat (limited to 'applications/luci-app-p2pblock')
31 files changed, 1178 insertions, 0 deletions
diff --git a/applications/luci-app-p2pblock/Makefile b/applications/luci-app-p2pblock/Makefile new file mode 100644 index 000000000..4dbeb5eaa --- /dev/null +++ b/applications/luci-app-p2pblock/Makefile @@ -0,0 +1,14 @@ +# +# Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org> +# +# This is free software, licensed under the Apache License, Version 2.0 . +# + +include $(TOPDIR)/rules.mk + +LUCI_TITLE:=LuCI Support for the Freifunk P2P-Block addon +LUCI_DEPENDS:=+luci-app-firewall +freifunk-p2pblock + +include ../../luci.mk + +# call BuildPackage - OpenWrt buildroot signature diff --git a/applications/luci-app-p2pblock/ipkg/postinst b/applications/luci-app-p2pblock/ipkg/postinst new file mode 100755 index 000000000..448025b76 --- /dev/null +++ b/applications/luci-app-p2pblock/ipkg/postinst @@ -0,0 +1,6 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-p2pblock ) && rm -f /etc/uci-defaults/luci-p2pblock + /etc/init.d/freifunk-p2pblock enabled || /etc/init.d/freifunk-p2pblock enable + exit 0 +} diff --git a/applications/luci-app-p2pblock/luasrc/controller/ff_p2pblock.lua b/applications/luci-app-p2pblock/luasrc/controller/ff_p2pblock.lua new file mode 100644 index 000000000..887f18756 --- /dev/null +++ b/applications/luci-app-p2pblock/luasrc/controller/ff_p2pblock.lua @@ -0,0 +1,20 @@ +--[[ +LuCI - Lua Configuration Interface + +Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +$Id$ +]]-- + +module("luci.controller.ff_p2pblock", package.seeall) + +function index() + entry({"admin", "network", "firewall", "p2pblock"}, cbi("luci_fw/p2pblock"), + _("P2P-Block"), 40) +end diff --git a/applications/luci-app-p2pblock/luasrc/model/cbi/luci_fw/p2pblock.lua b/applications/luci-app-p2pblock/luasrc/model/cbi/luci_fw/p2pblock.lua new file mode 100644 index 000000000..35f76cd2b --- /dev/null +++ b/applications/luci-app-p2pblock/luasrc/model/cbi/luci_fw/p2pblock.lua @@ -0,0 +1,77 @@ +--[[ +LuCI - Lua Configuration Interface + +Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +$Id$ +]]-- + +local sys = require "luci.sys" + +m = Map("freifunk_p2pblock", translate("P2P-Block"), + translate("P2P-Block is a greylisting mechanism to block various peer-to-peer protocols for non-whitelisted clients.")) + +s = m:section(NamedSection, "p2pblock", "settings", "Settings") +s.anonymous = true +s.addremove = false + +en = s:option(Flag, "_enabled", translate("Enable P2P-Block")) +en.rmempty = false + +function en.cfgvalue() + return ( sys.init.enabled("freifunk-p2pblock") and "1" or "0" ) +end + +function en.write(self, section, val) + if val == "1" then + sys.init.enable("freifunk-p2pblock") + else + sys.init.disable("freifunk-p2pblock") + end +end + +s:option(Value, "portrange", translate("Portrange")) + +s:option(Value, "blocktime", translate("Block Time"), + translate("seconds")) + +s:option(DynamicList, "whitelist", translate("Whitelisted IPs")) + +l7 = s:option(MultiValue, "layer7", translate("Layer7-Protocols")) +l7.widget = "checkbox" +l7:value("aim", "AIM Chat") +l7:value("bittorrent", "Bittorrent") +l7:value("edonkey", "eDonkey, eMule, Kademlia") +l7:value("fasttrack", "Fasttrack Protocol") +l7:value("ftp", "File Transfer Protocol") +l7:value("gnutella", "Gnutella") +l7:value("http", "Hypertext Transfer Protocol") +l7:value("ident", "Ident Protocol") +l7:value("irc", "Internet Relay Chat") +l7:value("jabber", "Jabber/XMPP") +l7:value("msnmessenger", "MSN Messenger") +l7:value("ntp", "Network Time Protocol") +l7:value("pop3", "POP3 Protocol") +l7:value("smtp", "SMTP Protocol") +l7:value("ssl", "SSL Protocol") +l7:value("vnc", "VNC Protocol") + +ipp2p = s:option(MultiValue, "ipp2p", translate("IP-P2P")) +ipp2p.widget = "checkbox" +ipp2p:value("edk", "eDonkey, eMule, Kademlia") +ipp2p:value("kazaa", "KaZaA, FastTrack") +ipp2p:value("gnu", "Gnutella") +ipp2p:value("dc", "Direct Connect") +ipp2p:value("bit", "BitTorrent, extended BT") +ipp2p:value("apple", "AppleJuice") +ipp2p:value("winmx", "WinMX") +ipp2p:value("soul", "SoulSeek") +ipp2p:value("ares", "AresLite") + +return m diff --git a/applications/luci-app-p2pblock/po/ca/p2pblock.po b/applications/luci-app-p2pblock/po/ca/p2pblock.po new file mode 100644 index 000000000..fe99a772e --- /dev/null +++ b/applications/luci-app-p2pblock/po/ca/p2pblock.po @@ -0,0 +1,46 @@ +# default.pot +# generated from ./i18n/english/luasrc/i18n/default.en.lua +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-06-10 03:40+0200\n" +"PO-Revision-Date: 2011-02-14 17:43+0100\n" +"Last-Translator: Manuel Munz <freifunk@somakoma.de>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Pootle 1.1.0\n" + +msgid "Block Time" +msgstr "Temps de bloqueig" + +msgid "Enable P2P-Block" +msgstr "Habilita el Blocat P2P" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Protocols de capa 7" + +msgid "P2P-Block" +msgstr "Blocat P2P" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"El Blocat P2P és un mecanisme de llista grisa per blocar diversos protocols " +"peer-tp-peer per clients que no estiguin a la llista blanca." + +msgid "Portrange" +msgstr "Rang de ports" + +msgid "Whitelisted IPs" +msgstr "IPs a la llista blanca" + +msgid "seconds" +msgstr "segons" diff --git a/applications/luci-app-p2pblock/po/cs/p2pblock.po b/applications/luci-app-p2pblock/po/cs/p2pblock.po new file mode 100644 index 000000000..02eafef45 --- /dev/null +++ b/applications/luci-app-p2pblock/po/cs/p2pblock.po @@ -0,0 +1,41 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2014-08-04 22:44+0200\n" +"Last-Translator: koli <lukas.koluch@gmail.com>\n" +"Language-Team: none\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Block Time" +msgstr "Doba blokování" + +msgid "Enable P2P-Block" +msgstr "Povolit P2P-Block" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Layer7-Protokoly" + +msgid "P2P-Block" +msgstr "P2P-Block" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" + +msgid "Portrange" +msgstr "Rozsah portů" + +msgid "Whitelisted IPs" +msgstr "Povolené IP adresy" + +msgid "seconds" +msgstr "sekundy" diff --git a/applications/luci-app-p2pblock/po/de/p2pblock.po b/applications/luci-app-p2pblock/po/de/p2pblock.po new file mode 100644 index 000000000..e3613d650 --- /dev/null +++ b/applications/luci-app-p2pblock/po/de/p2pblock.po @@ -0,0 +1,44 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-05-26 17:57+0200\n" +"PO-Revision-Date: 2011-02-14 17:44+0100\n" +"Last-Translator: Manuel Munz <freifunk@somakoma.de>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Translate Toolkit 1.1.1\n" + +msgid "Block Time" +msgstr "Sperr-Zeitraum" + +msgid "Enable P2P-Block" +msgstr "P2P-Sperr-Mechanismus aktivieren" + +msgid "IP-P2P" +msgstr "IPP2P" + +msgid "Layer7-Protocols" +msgstr "Layer7-Protokolle" + +msgid "P2P-Block" +msgstr "P2P-Sperre" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"P2P-Block ist ein Mechanismus zum vorrübergehendem Sperren von Peer-to-Peer " +"Protokollen für nicht auf der Whitelist stehende Clients. " + +msgid "Portrange" +msgstr "Überwachter Port-Bereich" + +msgid "Whitelisted IPs" +msgstr "Freigeschaltete IP-Adressen" + +msgid "seconds" +msgstr "Angabe in Sekunden" diff --git a/applications/luci-app-p2pblock/po/el/p2pblock.po b/applications/luci-app-p2pblock/po/el/p2pblock.po new file mode 100644 index 000000000..9db357ac5 --- /dev/null +++ b/applications/luci-app-p2pblock/po/el/p2pblock.po @@ -0,0 +1,43 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-03-18 15:23+0200\n" +"PO-Revision-Date: 2012-03-18 15:23+0200\n" +"Last-Translator: Vasilis <acinonyx@openwrt.gr>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Block Time" +msgstr "" + +msgid "Enable P2P-Block" +msgstr "" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "" + +msgid "P2P-Block" +msgstr "" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" + +msgid "Portrange" +msgstr "" + +msgid "Whitelisted IPs" +msgstr "" + +msgid "seconds" +msgstr "δευτερόλεπτα" diff --git a/applications/luci-app-p2pblock/po/en/p2pblock.po b/applications/luci-app-p2pblock/po/en/p2pblock.po new file mode 100644 index 000000000..00cccc8e6 --- /dev/null +++ b/applications/luci-app-p2pblock/po/en/p2pblock.po @@ -0,0 +1,28 @@ +msgid "Block Time" +msgstr "" + +msgid "Enable P2P-Block" +msgstr "" + +msgid "IP-P2P" +msgstr "" + +msgid "Layer7-Protocols" +msgstr "" + +msgid "P2P-Block" +msgstr "" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" + +msgid "Portrange" +msgstr "" + +msgid "Whitelisted IPs" +msgstr "" + +msgid "seconds" +msgstr "" diff --git a/applications/luci-app-p2pblock/po/es/p2pblock.po b/applications/luci-app-p2pblock/po/es/p2pblock.po new file mode 100644 index 000000000..1edc53304 --- /dev/null +++ b/applications/luci-app-p2pblock/po/es/p2pblock.po @@ -0,0 +1,45 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-08-19 16:56+0200\n" +"PO-Revision-Date: 2012-08-19 16:56+0200\n" +"Last-Translator: josevteg <josevteg@gmail.com>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Block Time" +msgstr "Tiempo de bloqueo" + +msgid "Enable P2P-Block" +msgstr "Activar bloqueo P2P" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Protocolo Layer7" + +msgid "P2P-Block" +msgstr "Bloqueo de P2P" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"El bloqueo de P2P es un mecanismo de lista gris para bloquear varios " +"protocolos punto a punto a clientes que no están en lista blanca." + +msgid "Portrange" +msgstr "Rango de puertos" + +msgid "Whitelisted IPs" +msgstr "IPs en la lista blanca" + +msgid "seconds" +msgstr "segundos" diff --git a/applications/luci-app-p2pblock/po/fr/p2pblock.po b/applications/luci-app-p2pblock/po/fr/p2pblock.po new file mode 100644 index 000000000..524d3d085 --- /dev/null +++ b/applications/luci-app-p2pblock/po/fr/p2pblock.po @@ -0,0 +1,45 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-13 21:39+0200\n" +"PO-Revision-Date: 2012-01-15 07:06+0200\n" +"Last-Translator: desillu <ledesillusionniste@hotmail.com>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Block Time" +msgstr "Temps de blocage" + +msgid "Enable P2P-Block" +msgstr "Activer le blocage P2P" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Protocoles de couche 7" + +msgid "P2P-Block" +msgstr "Blocage P2P" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"Le blocage P2P est un mécanisme de liste grise pour bloquer divers " +"protocoles de pair-à-pair de clients non autorisés." + +msgid "Portrange" +msgstr "Gamme de ports" + +msgid "Whitelisted IPs" +msgstr "Adresses IP autorisées" + +msgid "seconds" +msgstr "secondes" diff --git a/applications/luci-app-p2pblock/po/he/p2pblock.po b/applications/luci-app-p2pblock/po/he/p2pblock.po new file mode 100644 index 000000000..5b2679b4b --- /dev/null +++ b/applications/luci-app-p2pblock/po/he/p2pblock.po @@ -0,0 +1,43 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2012-09-10 03:39+0200\n" +"Last-Translator: Snoof <sagim9@gmail.com>\n" +"Language-Team: none\n" +"Language: he\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Block Time" +msgstr "זמן חסימה" + +msgid "Enable P2P-Block" +msgstr "אפשר חסימת P2P" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "פרוטוקולי Layer7" + +msgid "P2P-Block" +msgstr "חסימת P2P" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"חסימת P2P הינו מנגנון ליצירת 'רשימה אפורה', במטרה לחסום סוגים שונים של " +"פרוטוקולי P2P עבור לקוחות שאינם ב'רשימה הלבנה'." + +msgid "Portrange" +msgstr "טווח פורטים" + +msgid "Whitelisted IPs" +msgstr "כתובות IP ברשימה הלבנה" + +msgid "seconds" +msgstr "שניות" diff --git a/applications/luci-app-p2pblock/po/hu/p2pblock.po b/applications/luci-app-p2pblock/po/hu/p2pblock.po new file mode 100644 index 000000000..4f1dffa20 --- /dev/null +++ b/applications/luci-app-p2pblock/po/hu/p2pblock.po @@ -0,0 +1,43 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2012-04-01 19:16+0200\n" +"Last-Translator: juhosg <juhosg@openwrt.org>\n" +"Language-Team: none\n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Block Time" +msgstr "Blokkolási idő" + +msgid "Enable P2P-Block" +msgstr "P2P-Block engedélyezése" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Layer7 protokollok" + +msgid "P2P-Block" +msgstr "P2P-Block" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"A P2P-Block különféle peer-to-peer protokollok blokkolására szolgáló " +"mechanizmus, a fehérlistában nem szereplő ügyfelek részére." + +msgid "Portrange" +msgstr "Port tartomány" + +msgid "Whitelisted IPs" +msgstr "Fehérlistás IP címek" + +msgid "seconds" +msgstr "másodperc" diff --git a/applications/luci-app-p2pblock/po/it/p2pblock.po b/applications/luci-app-p2pblock/po/it/p2pblock.po new file mode 100644 index 000000000..3be501051 --- /dev/null +++ b/applications/luci-app-p2pblock/po/it/p2pblock.po @@ -0,0 +1,45 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-20 10:18+0200\n" +"PO-Revision-Date: 2012-04-20 10:21+0200\n" +"Last-Translator: claudyus <claudyus84@gmail.com>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Block Time" +msgstr "Periodo di censura" + +msgid "Enable P2P-Block" +msgstr "Abilita la censura del P2P" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Protocolli di Layer7" + +msgid "P2P-Block" +msgstr "Censura P2P" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"La censura, block, del P2P è un meccanismo per bloccare diversi protocolli " +"peer-to-peer da parte di clienti non apparteneti alla whitelist." + +msgid "Portrange" +msgstr "Range delle porte" + +msgid "Whitelisted IPs" +msgstr "IP in whitelist" + +msgid "seconds" +msgstr "secondi" diff --git a/applications/luci-app-p2pblock/po/ja/p2pblock.po b/applications/luci-app-p2pblock/po/ja/p2pblock.po new file mode 100644 index 000000000..00cccc8e6 --- /dev/null +++ b/applications/luci-app-p2pblock/po/ja/p2pblock.po @@ -0,0 +1,28 @@ +msgid "Block Time" +msgstr "" + +msgid "Enable P2P-Block" +msgstr "" + +msgid "IP-P2P" +msgstr "" + +msgid "Layer7-Protocols" +msgstr "" + +msgid "P2P-Block" +msgstr "" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" + +msgid "Portrange" +msgstr "" + +msgid "Whitelisted IPs" +msgstr "" + +msgid "seconds" +msgstr "" diff --git a/applications/luci-app-p2pblock/po/ms/p2pblock.po b/applications/luci-app-p2pblock/po/ms/p2pblock.po new file mode 100644 index 000000000..00cccc8e6 --- /dev/null +++ b/applications/luci-app-p2pblock/po/ms/p2pblock.po @@ -0,0 +1,28 @@ +msgid "Block Time" +msgstr "" + +msgid "Enable P2P-Block" +msgstr "" + +msgid "IP-P2P" +msgstr "" + +msgid "Layer7-Protocols" +msgstr "" + +msgid "P2P-Block" +msgstr "" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" + +msgid "Portrange" +msgstr "" + +msgid "Whitelisted IPs" +msgstr "" + +msgid "seconds" +msgstr "" diff --git a/applications/luci-app-p2pblock/po/no/p2pblock.po b/applications/luci-app-p2pblock/po/no/p2pblock.po new file mode 100644 index 000000000..af9c25ea3 --- /dev/null +++ b/applications/luci-app-p2pblock/po/no/p2pblock.po @@ -0,0 +1,36 @@ +msgid "" +msgstr "" +"Last-Translator: Lars Hardy <lars.hardy@gmail.com>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "Block Time" +msgstr "Blokkerings tid" + +msgid "Enable P2P-Block" +msgstr "Aktiver P2P-Blokkering" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Lag7-Protokoller" + +msgid "P2P-Block" +msgstr "P2P-Blokkering" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"P2P-blokkering er en mekanisme for å blokkere ulike peer-to-peer protokoller " +"for klienter som ikke er hvitelistede." + +msgid "Portrange" +msgstr "Portområde" + +msgid "Whitelisted IPs" +msgstr "Hvitelistede IP'er" + +msgid "seconds" +msgstr "sekunder" diff --git a/applications/luci-app-p2pblock/po/pl/p2pblock.po b/applications/luci-app-p2pblock/po/pl/p2pblock.po new file mode 100644 index 000000000..9222a0863 --- /dev/null +++ b/applications/luci-app-p2pblock/po/pl/p2pblock.po @@ -0,0 +1,46 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-03-29 10:53+0200\n" +"PO-Revision-Date: 2012-03-29 10:55+0200\n" +"Last-Translator: Anonymous Pootle User\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Block Time" +msgstr "Czas blokowania" + +msgid "Enable P2P-Block" +msgstr "Włącz P2P-Block" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Protokoły Layer7" + +msgid "P2P-Block" +msgstr "P2P-Block" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"P2P-Block jest mechanizmem który blokuje rozmaite protokoły peer-to-peer dla " +"klientów spoza dozwolonej listy." + +msgid "Portrange" +msgstr "Zakres portów" + +msgid "Whitelisted IPs" +msgstr "Dozwolone adresy IP" + +msgid "seconds" +msgstr "sekund" diff --git a/applications/luci-app-p2pblock/po/pt-br/p2pblock.po b/applications/luci-app-p2pblock/po/pt-br/p2pblock.po new file mode 100644 index 000000000..de3638164 --- /dev/null +++ b/applications/luci-app-p2pblock/po/pt-br/p2pblock.po @@ -0,0 +1,30 @@ +msgid "Block Time" +msgstr "Tempo de bloqueio" + +msgid "Enable P2P-Block" +msgstr "Habilite o bloqueio P2P" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Protocolos da camada de aplicação" + +msgid "P2P-Block" +msgstr "P2P-Block" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"P2P-Block é um mecanismo de lista cinza para bloquear vários protocolos " +"peer-to-peer para clientes fora da lista branca." + +msgid "Portrange" +msgstr "Faixa de porta" + +msgid "Whitelisted IPs" +msgstr "IPs na lista branca" + +msgid "seconds" +msgstr "segundos" diff --git a/applications/luci-app-p2pblock/po/pt/p2pblock.po b/applications/luci-app-p2pblock/po/pt/p2pblock.po new file mode 100644 index 000000000..365f9f277 --- /dev/null +++ b/applications/luci-app-p2pblock/po/pt/p2pblock.po @@ -0,0 +1,45 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-05-01 01:17+0200\n" +"PO-Revision-Date: 2013-05-01 01:30+0200\n" +"Last-Translator: pedromrgoncalves <pedromrgoncalves@gmail.com>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Block Time" +msgstr "Tempo a bloquear" + +msgid "Enable P2P-Block" +msgstr "Activar Bloqueio P2P" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Portocolos Layer7" + +msgid "P2P-Block" +msgstr "Bloqueio P2P" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"Bloqueio P2P é um mecanismo lista verde para bloquear vários protocolos " +"peer-to-peer para clientes que não se encontram na lista branca" + +msgid "Portrange" +msgstr "Intervalo de Portas" + +msgid "Whitelisted IPs" +msgstr "IPs na lista branca" + +msgid "seconds" +msgstr "segundos" diff --git a/applications/luci-app-p2pblock/po/ro/p2pblock.po b/applications/luci-app-p2pblock/po/ro/p2pblock.po new file mode 100644 index 000000000..2f7d74e7f --- /dev/null +++ b/applications/luci-app-p2pblock/po/ro/p2pblock.po @@ -0,0 +1,44 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2011-10-07 17:09+0200\n" +"Last-Translator: Daniel <daniel.petre@pitesti.rcs-rds.ro>\n" +"Language-Team: none\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);;\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Block Time" +msgstr "Durata de blocare" + +msgid "Enable P2P-Block" +msgstr "Activeaza blocarea P2P" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Protocoale Layer7" + +msgid "P2P-Block" +msgstr "Blocare P2P" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"Blocarea P2P este un mecanism de blocare a diferitelor protocoale pentru " +"clienti necunoscuti." + +msgid "Portrange" +msgstr "Gama de porturi" + +msgid "Whitelisted IPs" +msgstr "Adrese IP de incredere" + +msgid "seconds" +msgstr "secunde" diff --git a/applications/luci-app-p2pblock/po/ru/p2pblock.po b/applications/luci-app-p2pblock/po/ru/p2pblock.po new file mode 100644 index 000000000..f6a27401b --- /dev/null +++ b/applications/luci-app-p2pblock/po/ru/p2pblock.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: LuCI: p2pblock\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-01 12:02+0200\n" +"PO-Revision-Date: 2013-11-13 18:46+0200\n" +"Last-Translator: Роман <x.wserfer@gmail.com>\n" +"Language-Team: Russian <x12ozmouse@ya.ru>\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Pootle 2.0.6\n" +"X-Poedit-SourceCharset: UTF-8\n" + +msgid "Block Time" +msgstr "Время блокировки" + +msgid "Enable P2P-Block" +msgstr "Включить блокировку P2P" + +#, fuzzy +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Протоколы 7-го уровня" + +msgid "P2P-Block" +msgstr "Блокировка P2P" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"Блокировка P2P позволяет запретить P2P-протоколы для клиентов вне белого " +"списка." + +msgid "Portrange" +msgstr "Диапазон портов" + +msgid "Whitelisted IPs" +msgstr "Белый список IP" + +msgid "seconds" +msgstr "секунды" diff --git a/applications/luci-app-p2pblock/po/sk/p2pblock.po b/applications/luci-app-p2pblock/po/sk/p2pblock.po new file mode 100644 index 000000000..1881b3ceb --- /dev/null +++ b/applications/luci-app-p2pblock/po/sk/p2pblock.po @@ -0,0 +1,38 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +msgid "Block Time" +msgstr "" + +msgid "Enable P2P-Block" +msgstr "" + +msgid "IP-P2P" +msgstr "" + +msgid "Layer7-Protocols" +msgstr "" + +msgid "P2P-Block" +msgstr "" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" + +msgid "Portrange" +msgstr "" + +msgid "Whitelisted IPs" +msgstr "" + +msgid "seconds" +msgstr "" diff --git a/applications/luci-app-p2pblock/po/sv/p2pblock.po b/applications/luci-app-p2pblock/po/sv/p2pblock.po new file mode 100644 index 000000000..de6e66a89 --- /dev/null +++ b/applications/luci-app-p2pblock/po/sv/p2pblock.po @@ -0,0 +1,39 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Block Time" +msgstr "" + +msgid "Enable P2P-Block" +msgstr "" + +msgid "IP-P2P" +msgstr "" + +msgid "Layer7-Protocols" +msgstr "" + +msgid "P2P-Block" +msgstr "" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" + +msgid "Portrange" +msgstr "" + +msgid "Whitelisted IPs" +msgstr "" + +msgid "seconds" +msgstr "" diff --git a/applications/luci-app-p2pblock/po/templates/p2pblock.pot b/applications/luci-app-p2pblock/po/templates/p2pblock.pot new file mode 100644 index 000000000..6fa5da110 --- /dev/null +++ b/applications/luci-app-p2pblock/po/templates/p2pblock.pot @@ -0,0 +1,31 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8" + +msgid "Block Time" +msgstr "" + +msgid "Enable P2P-Block" +msgstr "" + +msgid "IP-P2P" +msgstr "" + +msgid "Layer7-Protocols" +msgstr "" + +msgid "P2P-Block" +msgstr "" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" + +msgid "Portrange" +msgstr "" + +msgid "Whitelisted IPs" +msgstr "" + +msgid "seconds" +msgstr "" diff --git a/applications/luci-app-p2pblock/po/tr/p2pblock.po b/applications/luci-app-p2pblock/po/tr/p2pblock.po new file mode 100644 index 000000000..7c670d8ec --- /dev/null +++ b/applications/luci-app-p2pblock/po/tr/p2pblock.po @@ -0,0 +1,43 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2012-10-11 22:45+0200\n" +"Last-Translator: vincenzo <tayfun_ozturk@hotmail.com>\n" +"Language-Team: none\n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Block Time" +msgstr "Engel Zamanı" + +msgid "Enable P2P-Block" +msgstr "P2P-Bloğu'nu Aç" + +msgid "IP-P2P" +msgstr "iP-P2P" + +msgid "Layer7-Protocols" +msgstr "Layer7 - Protokolleri" + +msgid "P2P-Block" +msgstr "P2P-Bloğu" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"P2P-Bloğu bir engel (greylist) mekanizmasıdır. izin verilenler listesinde " +"(Beyaz Liste) olmayan istemciler için p2p protokolünü engeller." + +msgid "Portrange" +msgstr "Portrange" + +msgid "Whitelisted IPs" +msgstr "Beyaz Liste iPleri" + +msgid "seconds" +msgstr "saniye" diff --git a/applications/luci-app-p2pblock/po/uk/p2pblock.po b/applications/luci-app-p2pblock/po/uk/p2pblock.po new file mode 100644 index 000000000..3e7dff9fa --- /dev/null +++ b/applications/luci-app-p2pblock/po/uk/p2pblock.po @@ -0,0 +1,45 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2013-08-13 16:04+0200\n" +"Last-Translator: zubr_139 <zubr139@ukr.net>\n" +"Language-Team: none\n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Block Time" +msgstr "Загальний час" + +msgid "Enable P2P-Block" +msgstr "Активувати блокування P2P" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Протокол Layer7" + +msgid "P2P-Block" +msgstr "P2P блоковано" + +#, fuzzy +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"P2P-блокування являє собою механізм сірих списків для блокування різних " +"рівний-однотипних протоколів для НЕ-білого списку клієнтів." + +msgid "Portrange" +msgstr "Діапазон портів" + +msgid "Whitelisted IPs" +msgstr "Білий список IP-адрес" + +msgid "seconds" +msgstr "секунд" diff --git a/applications/luci-app-p2pblock/po/vi/p2pblock.po b/applications/luci-app-p2pblock/po/vi/p2pblock.po new file mode 100644 index 000000000..4bad09046 --- /dev/null +++ b/applications/luci-app-p2pblock/po/vi/p2pblock.po @@ -0,0 +1,42 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: Manuel Munz <freifunk@somakoma.de>\n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "Block Time" +msgstr "Thá»i gian Block" + +msgid "Enable P2P-Block" +msgstr "KÃch hoạt P2P-Block" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "Layer7-protocols" + +msgid "P2P-Block" +msgstr "P2P-Block" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "" +"P2P-Block là má»t cÆ¡ chế greylisting Äá» chặn các peer-to-peer " +"protocols cho khách hà ng không nằm trên whitelisted." + +msgid "Portrange" +msgstr "Portrange" + +msgid "Whitelisted IPs" +msgstr "Whitelisted IPs" + +msgid "seconds" +msgstr "giây" diff --git a/applications/luci-app-p2pblock/po/zh-cn/p2pblock.po b/applications/luci-app-p2pblock/po/zh-cn/p2pblock.po new file mode 100644 index 000000000..66725be6e --- /dev/null +++ b/applications/luci-app-p2pblock/po/zh-cn/p2pblock.po @@ -0,0 +1,43 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-17 19:11+0200\n" +"PO-Revision-Date: 2013-10-08 15:22+0200\n" +"Last-Translator: Tanyingyu <Tanyingyu@163.com>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Block Time" +msgstr "封锁时间" + +msgid "Enable P2P-Block" +msgstr "启动P2P封锁" + +msgid "IP-P2P" +msgstr "IP-P2P" + +msgid "Layer7-Protocols" +msgstr "第7层协议" + +msgid "P2P-Block" +msgstr "P2P封锁" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "P2P封锁使用灰名单机制,以阻止非白名单客户的各种P2P协议。" + +msgid "Portrange" +msgstr "端口范围" + +msgid "Whitelisted IPs" +msgstr "白名单IP地址" + +msgid "seconds" +msgstr "秒" diff --git a/applications/luci-app-p2pblock/po/zh-tw/p2pblock.po b/applications/luci-app-p2pblock/po/zh-tw/p2pblock.po new file mode 100644 index 000000000..f542f7794 --- /dev/null +++ b/applications/luci-app-p2pblock/po/zh-tw/p2pblock.po @@ -0,0 +1,41 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2014-05-14 11:09+0200\n" +"Last-Translator: omnistack <omnistack@gmail.com>\n" +"Language-Team: none\n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Block Time" +msgstr "阻斷時間" + +msgid "Enable P2P-Block" +msgstr "啓用P2P禁斷" + +msgid "IP-P2P" +msgstr "IP點對點協定" + +msgid "Layer7-Protocols" +msgstr "第七層協定" + +msgid "P2P-Block" +msgstr "P2P禁斷" + +msgid "" +"P2P-Block is a greylisting mechanism to block various peer-to-peer protocols " +"for non-whitelisted clients." +msgstr "P2P-Block是一個灰名單機制, 針對不在白名單清單裡面的用戶, 阻斷各種類的P2P點對點協定." + +msgid "Portrange" +msgstr "範圍埠" + +msgid "Whitelisted IPs" +msgstr "白名單列表IP" + +msgid "seconds" +msgstr "秒數" diff --git a/applications/luci-app-p2pblock/root/etc/uci-defaults/luci-p2pblock b/applications/luci-app-p2pblock/root/etc/uci-defaults/luci-p2pblock new file mode 100755 index 000000000..030ebbed1 --- /dev/null +++ b/applications/luci-app-p2pblock/root/etc/uci-defaults/luci-p2pblock @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete citrack.@freifunk_p2pblock[-1] + add ucitrack freifunk_p2pblock + set ucitrack.@freifunk_p2pblock[-1].init=freifunk-p2pblock + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 |