Initial commit - v1.3.1-18
This commit is contained in:
commit
26f1ecc659
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# smeserver-xt_geoip
|
||||
|
||||
from cvs koozali.org ( T E S T )
|
251
smeserver-xt_geoip.spec
Normal file
251
smeserver-xt_geoip.spec
Normal file
@ -0,0 +1,251 @@
|
||||
%define name smeserver-xt_geoip
|
||||
%define version 1.3.1
|
||||
%define release 18
|
||||
|
||||
Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: GNU GPL version 2
|
||||
URL: http://wiki.contribs.org/Main_Page
|
||||
Group: SMEserver/addon
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Patch0: %{name}-%{version}-comp_e-smith-manager.patch
|
||||
Patch1: %{name}-%{version}-update_base.patch
|
||||
Patch2: smeserver-xt_geoip-1.3.1-update-event-oldManager.patch
|
||||
Patch3: %{name}-%{version}-logfiles_changes.patch
|
||||
Patch4: smeserver-xt_geoip-1.3.1-locale-2021-08-25.patch
|
||||
Patch5: smeserver-xt_geoip-1.3.1-locale-2021-09-23.patch
|
||||
Patch6: smeserver-xt_geoip-1.3.1-locale-2021-10-28.patch
|
||||
Patch7: smeserver-xt_geoip-1.3.1-SME_11676.patch
|
||||
Patch8: smeserver-xt_geoip-1.3.1-Add-class-to-div-for-AdminLTE.patch
|
||||
Patch9: smeserver-xt_geoip-1.3.1-SME_11887.patch
|
||||
Patch10: smeserver-xt_geoip-1.3.1-bz12029_backup-bz10863_bases.patch
|
||||
Patch11: smeserver-xt_geoip-1.3.1-bz12097_fix_logs_date_test.patch
|
||||
Patch12: smeserver-xt_geoip-1.3.1-bz12098_add_fail2ban_stats.patch
|
||||
Patch13: smeserver-xt_geoip-1.3.1-locale-2022-11-11.patch
|
||||
Patch14: smeserver-xt_geoip-1.3.1-bz12291_module_state.patch
|
||||
|
||||
BuildArchitectures: noarch
|
||||
BuildRoot: /var/tmp/%{name}-%{version}
|
||||
BuildRequires: e-smith-devtools
|
||||
Requires: e-smith-release >= 10.0
|
||||
Requires: server-manager >= 0.1.0-23
|
||||
Requires: xtables-addons = 2.14
|
||||
Requires: GeoIP >= 1.5.0
|
||||
Requires: libmaxminddb >= 1.1.1
|
||||
Requires: libmaxminddb-devel >= 1.1.1
|
||||
Requires: geolite2-country
|
||||
Requires: geolite2-city
|
||||
AutoReqProv: no
|
||||
|
||||
%description
|
||||
smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
|
||||
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
# tmp fix before new source archive
|
||||
rm -rf root/etc/e-smith/events/bootstrap-console-save/templates2expand
|
||||
rm -rf root/etc/e-smith/events/console-save/templates2expand
|
||||
rm -rf root/etc/e-smith/events/xt_geoip-modify/templates2expand/usr
|
||||
rm -rf root/etc/e-smith/events/xt_geoip-update/templates2expand/usr
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
|
||||
%build
|
||||
perl createlinks
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||
rm -f %{name}-%{version}-filelist
|
||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||||
--file /usr/share/xt_geoip/geoip_countries_list.txt 'attr(0755, root, root)'\
|
||||
--file /usr/share/xt_geoip/geoip_exstat 'attr(0755, root, root)'\
|
||||
--file /usr/share/xt_geoip/geoip_listat 'attr(0755, root, root)'\
|
||||
--file /usr/share/xt_geoip/geoip_look 'attr(0755, root, root)'\
|
||||
--file /usr/share/xt_geoip/geoip_stats 'attr(0755, root, root)'\
|
||||
--file /usr/share/xt_geoip/xt_geoip_dl 'attr(0750, root, root)'\
|
||||
--file /usr/share/xt_geoip/update_base 'attr(0750, root, root)'\
|
||||
> %{name}-%{version}-filelist
|
||||
echo "%doc COPYING" >> %{name}-%{version}-filelist
|
||||
|
||||
%clean
|
||||
cd ..
|
||||
rm -rf %{name}-%{version}
|
||||
|
||||
%pre
|
||||
%preun
|
||||
|
||||
%post
|
||||
|
||||
%postun
|
||||
|
||||
%files -f %{name}-%{version}-filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 11 2023 Michel Begue <mab974@misouk.com> 1.3.1-18.sme
|
||||
- add a message if module xt_geoip is missing or not loaded [SME: 12291]
|
||||
- add a message if chain XTGeoIP is missing (iptables) [SME: 12291]
|
||||
|
||||
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-17.sme
|
||||
- apply locale 2022-11-11 patch
|
||||
|
||||
* Wed Jul 13 2022 Michel Begue <mab974@misouk.com> 1.3.1-16.sme
|
||||
- add fail2ban stats [SME: 12098]
|
||||
|
||||
* Mon Jul 11 2022 Michel Begue <mab974@misouk.com> 1.3.1-15.sme
|
||||
- fix logs date test [SME: 12097]
|
||||
|
||||
* Thu Jul 07 2022 Michel Begue <mab974@misouk.com> 1.3.1-14.sme
|
||||
- add xt_geoip to backup list [SME: 12029]
|
||||
- archive and clean up Ip & Country bases [SME: 10863]
|
||||
|
||||
* Wed Mar 09 2022 Michel Begue <mab974@misouk.com> 1.3.1-13.sme
|
||||
- fix Other and Reverse parameters for SM2 [SME: 11887]
|
||||
|
||||
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.1-12.sme
|
||||
- Add-class-to-div-for-AdminLTE [SME: 11839]
|
||||
|
||||
* Fri Oct 29 2021 Michel Begue <mab974@misouk.com> 1.3.1-11.sme
|
||||
- fix multiple_rpm_owners [SME: 11676]
|
||||
- add event for smeserver-manager
|
||||
- delete expand-template for update_base
|
||||
|
||||
* Thu Oct 28 2021 Michel Begue <mab974@gmail.com> 1.3.1-10.sme
|
||||
- apply locale 2021-10-28 patch
|
||||
|
||||
* Fri Sep 24 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-09.sme
|
||||
- apply locale 2021-09-23 patch
|
||||
|
||||
* Wed Aug 25 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-08.sme
|
||||
- apply locale 2021-08-25 patch
|
||||
|
||||
* Tue Mar 16 2021 Michel Begue <mab974@gmail.com> 1.3.1-07.sme
|
||||
- Fix script as logfiles change (sshd - iptables)
|
||||
|
||||
* Sun Mar 14 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-06.sme
|
||||
- change Geoip requirement to >= 1.5
|
||||
|
||||
* Sat Mar 13 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-05.sme
|
||||
- readded changelog from contribs9
|
||||
- moved changelog to the end of spec
|
||||
- TODO review the two section of %files
|
||||
- added link to wrapper for e-smith-manager
|
||||
|
||||
* Wed Jan 06 2021 Michel Begue <mab974@gmail.com> 1.3.1-03.sme
|
||||
- Back to compatibility with e-smith-manager
|
||||
- (s)qpsmtpd replace (s)smtpd (services)
|
||||
- remove 'update_base' script template
|
||||
|
||||
* Fri Jul 31 2020 Michel Begue <mab974@gmail.com> 1.3.1-01.sme
|
||||
- initial release for smeserver-manager (sme10)
|
||||
- [1.0.1-26 sme9]
|
||||
- xtables-addons v2.14
|
||||
|
||||
* Mon Feb 24 2020 Michel Begue <mab974@gmail.com> 1.0.1-26.sme
|
||||
- add localhost to whitelist [SME: 10881]
|
||||
|
||||
* Tue Jan 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-25.sme
|
||||
- add requirement for mmdb provided by rpm to allow accounting [SME: 10860]
|
||||
|
||||
* Sat Jan 18 2020 Michel Begue <mab974@gmail.com> 1.0.1-24.sme
|
||||
- new download script adapted to SME (from xtables-addons) [SME: 10860]
|
||||
- change geoiplookup to mmdblookup
|
||||
|
||||
* Sat Jan 11 2020 Michel Begue <mab974@gmail.com> 1.0.1-23.sme
|
||||
- add license_key in config db and test in panel [SME: 10860]
|
||||
|
||||
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.0.1-21.sme
|
||||
- apply locale 2019-12-07 patch
|
||||
|
||||
* Wed Oct 16 2019 Michel Begue <mab974@gmail.com> 1.0.1-20.sme
|
||||
- panel to add services [SME: 10792]
|
||||
- french translation
|
||||
|
||||
* Mon Sep 30 2019 Michel Begue <mab974@gmail.com> 1.0.1-19.sme
|
||||
- add country code list [SME: 10791]
|
||||
- fix stats SSH errors [SME: 10807]
|
||||
- improved panel [SME: 10788]
|
||||
|
||||
* Sat Sep 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-18.sme
|
||||
- add more service [SME: 10789]
|
||||
- no email from log analysis by default [SME: 10797]
|
||||
|
||||
* Sun Jul 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-17.sme
|
||||
- fix empty global filter disable all geoip iptables rules [SME: 10794]
|
||||
- tidy masq templates for xt geoip [SME: 10794]
|
||||
|
||||
* Wed Jul 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-16.sme
|
||||
- add missing file to patch [SME: 10760]
|
||||
- workaround link issue in source [SME: 10790]
|
||||
|
||||
* Tue Jul 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-15.sme
|
||||
- improved per service filtering [SME: 10760]
|
||||
- remove A1 forced as default and allow empty filter [SME: 10785]
|
||||
|
||||
* Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-13.sme
|
||||
- fix network lock out on adjust [SME: 10760]
|
||||
this arised on initial install with a simple masq adjust
|
||||
or if XT_geoip is disbaled on any masq restart or adjust
|
||||
|
||||
* Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-12.sme
|
||||
- add per service management of GeoIP bans [SME: 10760]
|
||||
- move panel to Security [SME: 10773]
|
||||
|
||||
* Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme
|
||||
- add stats access in the panel [SME: 10745]
|
||||
- add control of maximum number of countries [SME: 10749]
|
||||
|
||||
* Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme
|
||||
- add stats of geoip blocked countries [SME: 10745]
|
||||
- add stats of ssh attacks not geoip blocked [SME: 10744]
|
||||
- expand /etc/crontab on update
|
||||
|
||||
* Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-6.sme
|
||||
- fix unable to load iptables rules [SME: 10739]
|
||||
fix warning localtime
|
||||
fix warning "enabled" isn't numeric in numeric eq (==)
|
||||
|
||||
* Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-5.sme
|
||||
- first import to SME buildsys
|
||||
|
||||
* Sun Oct 29 2017 Michel Begue <mab974@gmail.com>
|
||||
- bug in crontab update job,
|
||||
- [1.0.1-4]
|
||||
|
||||
* Mon Oct 16 2017 Michel Begue <mab974@gmail.com>
|
||||
- new message : inactive GeoIP,
|
||||
- value of country code added in message "country not found",
|
||||
- [1.0.1-3]
|
||||
|
||||
* Sat Oct 07 2017 Michel Begue <mab974@gmail.com>
|
||||
- test kernel module presence in "/lib/modules/weak-updates" directory
|
||||
- [1.0.1-2]
|
||||
|
||||
* Wed Sep 20 2017 Michel Begue <mab974@gmail.com>
|
||||
- panel added in server manager
|
||||
- [1.0.1-1]
|
||||
|
||||
* Tue Sep 12 2017 Michel Begue <mab974@gmail.com>
|
||||
- initial release
|
||||
- [1.0.0-1]
|
340
source/COPYING
Normal file
340
source/COPYING
Normal file
@ -0,0 +1,340 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) 19yy <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) 19yy name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
0
source/README
Normal file
0
source/README
Normal file
57
source/createlinks
Normal file
57
source/createlinks
Normal file
@ -0,0 +1,57 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use esmith::Build::CreateLinks qw(:all);
|
||||
|
||||
#--------------------------------------------------
|
||||
# actions for geoip-update event
|
||||
#--------------------------------------------------
|
||||
|
||||
# links to add
|
||||
panel_link("xt_geoip","manager");
|
||||
|
||||
# templates to expand
|
||||
for my $event (qw(xt_geoip-modify xt_geoip-update xt_geoip-service
|
||||
smeserver-xt_geoip-update))
|
||||
{
|
||||
templates2events("/etc/rc.d/init.d/masq", $event);
|
||||
templates2events("/etc/crontab", $event);
|
||||
}
|
||||
|
||||
|
||||
# services to launch on event
|
||||
for my $event (qw(xt_geoip-modify xt_geoip-update smeserver-xt_geoip-update))
|
||||
{
|
||||
safe_symlink("restart",
|
||||
"root/etc/e-smith/events/$event/services2adjust/masq");
|
||||
}
|
||||
|
||||
for my $event (qw(xt_geoip-service))
|
||||
{
|
||||
safe_symlink("adjust",
|
||||
"root/etc/e-smith/events/$event/services2adjust/masq");
|
||||
}
|
||||
|
||||
# actions to perform
|
||||
|
||||
for my $event (qw(xt_geoip-update bootstrap-console-save
|
||||
console-save smeserver-xt_geoip-update))
|
||||
{
|
||||
event_link("smeserver-xt_geoip-download-action", $event, "10");
|
||||
}
|
||||
|
||||
# for smeserver-manager
|
||||
my $event= "smeserver-xt_geoip-update";
|
||||
safe_symlink('restart', "root/etc/e-smith/events/$event/services2adjust/smanager");
|
||||
event_link('navigation2-conf', "$event", '80');
|
||||
event_link('routes2-conf', "$event", '80');
|
||||
event_link('locales2-conf', "$event", '80');
|
||||
|
||||
use esmith::Build::Backup qw(:all);
|
||||
backup_includes("smeserver-xt_geoip", qw(
|
||||
/usr/share/xt_geoip/BE/
|
||||
/usr/share/xt_geoip/LE/
|
||||
/var/lib/xt_geoip/
|
||||
));
|
||||
backup_excludes("smeserver-xt_geoip", qw(
|
||||
/var/lib/xt_geoip/README.txt
|
||||
));
|
@ -0,0 +1 @@
|
||||
enabled
|
@ -0,0 +1 @@
|
||||
imaps,pop3s,sshd,ftp,sqpsmtpd
|
20
source/root/etc/e-smith/db/configuration/migrate/20xt_geoip
Normal file
20
source/root/etc/e-smith/db/configuration/migrate/20xt_geoip
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
my @addexclude = split(/,/,"imap,imaps,pop3,pop3s,pptpd,sshd,ftp,qpsmtpd,sqpsmtpd");
|
||||
my $masq = $DB->get('masq') or return;
|
||||
|
||||
my @exclude = split(/,/, $masq->prop('XtServices') || '');
|
||||
push @exclude, @addexclude;
|
||||
# remove duplicates
|
||||
undef %saw;
|
||||
@exclude = grep(!$saw{$_}++, @exclude);
|
||||
if ($#exclude > 0)
|
||||
{
|
||||
$masq->set_prop('XtServices', join(',', @exclude));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
$masq->delete_prop('XtServices');
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
cd /usr/share/xt_geoip
|
||||
if [ -f ./LE/A1.iv4 ]
|
||||
then
|
||||
FILES=$(find ./LE -name A1.iv4 -type f -mtime +7)
|
||||
if [ -z $FILES ]
|
||||
then
|
||||
echo "recent base, no download"
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
echo "download base for xt_geoip"
|
||||
./update_base > /dev/null 2>&1
|
||||
exit 0
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="bg">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[Администрация на XTABLES-ADDONS<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>Имаше грешка при актуализацията на xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Успешна промяна... Сега IP филтрирането ще вземе предвид въведените държави.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP филтрирането може да бъде включено или изключено със съответния бутон</li> <li>Кодовете на държавите за забраняване могат да бъдат въведени в съответното поле</li> <li>Незабавна актуализация на таблицата може да бъде заявена тук</li></ul> <p><i>Внимавайте да не забраните IP адресите необходими за работата на сървъра!</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>Няма промяна... няма актуализация!</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Текущо филтриране на GEOIP:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>Искано филтриране на GEOIP:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Трябва ли филтрирането по държави на произход да се активира?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">Филтрирането на GEOIP <b>не е активно</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Текущ списък на забранени кодове на държави:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Кодът на държавата(те) не съществува(т) на сървъра: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Достигнат максимум за кодове на държави: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>Ще се използват нови кодове на държави:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>Списък на кодове на държави (с главни букви и разделени със запетая).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Последна актуализация на таблицата на GeoIP:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Форсиране на актуализация на таблицата на GeoIP:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>Таблицата на GeoIP се актуализира всяка седмица, но можете ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Щракнете тук за да видите статистиката на предотвратените връзки</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Филтриран</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Щракнете тук за да видите статистиката на SSH грешките от неблокиран достъп</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>SSH грешки</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Щракнете тук за да видите статистиката на предотвратените връзки</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>забранени</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Генерирана статистика</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Край на статистиката</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Грешен тип статистика</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Статистика за Xt_GeoIP</h3><ul> <li>За три периода: ден, седмица и месец</li> <li>Забранените IP адреси по държави сортирани по номер</li> <li>SSH грешки по държави сортирани по номер</li> </ul><p><i>XX означава че държавата не е намерена!</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Щракнете тук за да видите <b>списък на наличните кодове на държави</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Кодове на държави:</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Кодове на държави</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>Списък</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Край на списъка с кодове</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Филтриране по услуги за Xtables GeoIP</h2><ul> <li>Ако искате различно филтриране, базирано на услуги</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Име на услуга:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Услуги</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Добави или промени филтриране по услуги</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>Избирате определена държава за филтриране на тази услуга</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Изтриване на филтриране по услуга</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>Изтривате филтриране по услуга. Ще бъде приложено общо филтриране.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>Нефилтрирана услуга.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>Няма услуги.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Списък на отхвърлените кодове на държави за услугата:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Успешно изтриване на филтриране по услуга... Ново филтриране ще бъде взето предвид.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Черен списък</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Твърде много държави са избрани: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Отхвърли ако</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>Следната опция позволява да изберете ако искате да отхвърлите посетители от списък с държави (==) което е по подразбиране, или ако искате да им позволите само на тях да влизат (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>Стандартен филтър за услугите без правила</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Изберете ако искате стандартния филтър да бъде приложен за всички входящи връзки или ако не искате да филтрирате портовете вече определени с дадено правило за услуга. Това би позволило да имате услуги, по-малко ограничени от стандартното правило, ако го включите.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Щракнете тук за да изберете <b>нови </b>услуги от <b>наличните услуги list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Кодове на услуги:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>Списък</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> Избиране на нови услуги</h2> <ul><li>Изберете тук от другите услуги, които не се управляват самостоятелно. </li><li>Можете да изберете един или повече елементи. Стандартно <b>включени и публични</b>. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Налични услуги</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">Не е наличен лицензен ключ за GEOIP. Свалянето <b>не е активно</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="da">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>filtreret</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>fejl</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>forbudt</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistik</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Vis statistik</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Afsenderstatistik</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Kildekode</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Kildekode</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Slutning på rapporten</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Tjeneste</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Tjeneste</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Tilføj eller ændre en post.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>ufiltreret</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>DNS tjenester</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Sortlistet</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Afvis</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Tjeneste</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Tilgængelige pakker</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="de">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>gefiltert</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Fehler</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>gesperrt</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistiken</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Statistik anzeigen</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Senderstatistik</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Country codes :</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Country codes</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>Liste</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Ende der Resultate.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Dienst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Dienst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Erzeuge oder ändere einen Datensatz.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>ungefiltert</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>DNS Dienste</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklisten</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Ablehnen</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Dienst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>Liste</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Jabber services</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="el">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtered</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Κλείδες SSH</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistics generated</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Προβολή στατιστικών</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Στατιστικά αποστολέων</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Country codes :</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Country codes</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Τέλος Αναφοράς</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Επισκόπηση</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>Unfiltered service.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>No services.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Απόρριψη</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Επισκόπηση</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Διαθέσιμα πακέτα</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,315 @@
|
||||
<lexicon lang="en-us">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]> </trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>
|
||||
Successful change... Now IP filtering takes into account the countries entered.
|
||||
</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul>
|
||||
<li>IP filtering can be enabled or disabled with the appropriate button</li>
|
||||
<li>Codes of the countries to be banished can be entered in the corresponding field</li>
|
||||
<li>An immediate update of the table can be requested here</li></ul>
|
||||
<p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]>
|
||||
</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !
|
||||
</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering : </trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired : </trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes : </trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]>
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtered</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]>
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>SSH errors</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]>
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistics generated</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>End of Statistics</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Invalid type of statistics</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul>
|
||||
<li>For 3 periods : Day, Week and Month</li>
|
||||
<li>Banned Ips by country sorted by number</li>
|
||||
<li>Ssh errors by country sorted by number</li>
|
||||
<li>Fail2ban banned IPs by country sorted by number</li>
|
||||
</ul><p><i>XX means Country not found !</i></p> ]]>
|
||||
</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul>
|
||||
<li>Click here to see a <b>list of available country codes</b></li>
|
||||
</ul> ]]>
|
||||
</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Country codes : </trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Country codes</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>End of code list</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul>
|
||||
<li>If you want different filtering based on services</li>
|
||||
</ul><p><i></i></p> ]]>
|
||||
</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name : </trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Services</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>Unfiltered service.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>No services.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service : </trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Reject if</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul>
|
||||
<li>Click here to select <b>new </b>services among an <b>available services list</b></li>
|
||||
</ul> ]]>
|
||||
</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Service codes : </trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2>
|
||||
<ul><li>Select here among the other services not yet managed individually.
|
||||
</li><li>You may select one or more elements. Generally <b>enabled and public</b> ones.
|
||||
</li></ul> ]]>
|
||||
</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Available Services</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_MISSING_MODULE</base>
|
||||
<trans><![CDATA[ <font color="red">Module xt_geoip is missing. GeoIP based filtering is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UNLOADED_MODULE</base>
|
||||
<trans><![CDATA[ <font color="red">Module xt_geoip not loaded. GeoIP based filtering is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FILTER_CHAIN_MISSING</base>
|
||||
<trans><![CDATA[ <font color="red">Filtering chain XTGeoIP is not in use. GeoIP based filtering is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="es">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtro</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>error</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>banner</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Estadísticas</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Mostrar estadísticas</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Estadísticas del remitente</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Código fuente</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Código fuente</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>Lista Cosas por hacer</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Fin de los resultados.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Estado del Servicio</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Estado del Servicio</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>servicio gratuito</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>Servicios Jabber</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>lista</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Rechazar</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Estado del Servicio</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>Lista Cosas por hacer</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Paquetes disponibles</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="et">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtered</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>SSH Keys</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistics generated</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Näita statistikat</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Saatjate statistika</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Country codes :</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Country codes</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Raporti lõpp</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>tasuta teenus</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>tasuta teenus</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>tasuta teenus</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Keeldu</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>tasuta teenus</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Saadolevad pakid</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="fr">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[Administration XTABLES-ADDONS <br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>Il y a eu une erreur en mettant à jour xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Modifié avec succès... Maintenant le filtrage IP prend en compte les pays entrés.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>Le filtrage IP peut être activé ou désactivé avec le bouton approprié</li> <li>Les codes de pays à bannir peuvent être entrés dans le champs correspondant</li> <li>Une mise à jour immédiate de la table peut être demandée ici</li></ul> <p><i>Faites attention de ne pas bannir d'IP ou de régions qui sont nécessaires pour le bon fonctionnement de votre serveur !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>Pas de changement... Pas de mise à jour !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Filtrage GeoIP courant:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>Filtrage GeoIP désiré :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Le filtrage par pays d'origine doit-il être activé ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">Le filtrage GeoIP est <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Liste des pays actuellement bannis :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Le(s) code(s) de pays n'existe(nt) pas sur le serveur: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Code(s) pays maximum atteint: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>Nouveau code de pays à utiliser :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>Liste des codes de pays (en majuscule et séparé par des virgules).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Dernière mise à jour de la table GeoIP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Forcer la mise à jour de la table GeoIP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>La table GeoIP est mise à jour chaque semaine, mais vous pouvez...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Cliquer ici pour voir les statistiques des connexions refusées</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtré</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Cliquez ici pour voir les statistiques des erreurs SSH pour les accès non bloqués</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Erreur de syntaxe SSH</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Cliquer ici pour voir les statistiques des connexions refusées par fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>Interdit par F2B</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistiques générées</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Fin des statistiques</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Type de statistiques non valides</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistiques pour Xt_GeoIP</h3><ul> <li>Pour 3 périodes : jour, semaine et mois</li> <li>IPs interdites par pays triées par numéro</li> <li>Erreurs Ssh par pays triées par numéro</li> </ul><p> <i>XX signifie Pays introuvable !</i> </p> ]]> </trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Cliquer ici pour avoir une <b>liste des codes pays disponibles</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Code des pays :</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Code des pays</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>Liste</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Fin de la liste des codes</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Filtrage par service pour Xtables GeoIP</h2><ul><li>Si vous souhaitez un filtrage différent fondé sur les services</li></ul><p><i></i></p>]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Nom du service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Services</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Ajouter ou modifier un filtre par service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>Vous choisissez un filtre dédié par pays pour ce service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Supprimer un filtre par service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>Vous supprimez un filtre par service. Le filtre général s'appliquera alors.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>Service non filtré.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>Pas de services.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Liste des codes de pays rejetés pour le service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Filtre par service supprimé avec succès... Nouveau filtrage pris en compte.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Liste noire</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Trop de pays choisis : {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Refuser si</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>L'option suivante permet de choisir si vous souhaitez rejeter les visiteurs de la liste des pays (==) qui est le comportement par défaut, ou si vous souhaitez les laisser uniquement entrer (! =).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>Filtre général uniquement pour les services sans règles</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choisissez si vous souhaitez appliquer le filtre général à toutes les connexions entrantes ou si vous ne souhaitez pas filtrer les ports déjà définis avec une règle de service spécifique. Cela vous permettrait d'avoir un service moins restreint que la règle générale si vous l'activez.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Cliquer ici pour avoir une <b>nouvelle </b>services parmi une <b>liste des services disponibles</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Codes Service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>Liste</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> Sélection de nouveaux services </h2> <ul> <li> Sélectionnez ici parmi les autres services non encore gérés individuellement. </li> <li> Vous pouvez sélectionner un ou plusieurs éléments. Généralement <b> activés et publics. </b> </li> </ul>]]> </trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Services disponibles</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">clé de licence GeoIP indisponible. Le téléchargement est <b>inactif</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="he">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtered</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>SSH errors</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistics generated</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>הצג סטטיסטיקות</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>סטטיסטיקת שולחים</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Country codes :</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Country codes</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>סוף הדוח</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>שם מערכת:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>שם מערכת:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>Unfiltered service.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>No services.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>דחיה</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>שם מערכת:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>שם מערכת:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="hu">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Szűrő</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Szintaktikai hiba</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statisztika</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Statisztika mutatása</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Feladó statisztikák</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Forráskód</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Forráskód</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Keresési eredmények vége.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>ingyenes szolgáltatás</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>ingyenes szolgáltatás</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>ingyenes szolgáltatás</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Eldobás</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>ingyenes szolgáltatás</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Elérhető szoftvercsomagok</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="id">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtered</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>SSH errors</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistics generated</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Perlihatkan Statistik</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Statistik pengirim</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Country codes :</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Country codes</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Akhir dari laporan</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>layanan bebas</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>layanan bebas</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>layanan bebas</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Tolak</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>layanan bebas</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Paket tersedia</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="it">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[Amministrazione XTABLES-ADDONS <br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>Si è verificato un errore aggiornando xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Modifica avvenuta con successo .... Ora il filtro IP tiene conto dei Paesi selezionati.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>L'IP filtering può essere abilitato o disabilitato con l'apposito bottone</li> <li>I codici paese da mettere in ban possono essere immessi nel campo corrispondente</li> <li>Un aggiornamento immediato della tabella può essere richiesto qui</li></ul> <p><i>Prestare attenzione a non inserire in ban gli indirizzi IP necessari al funzionamento del server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>Nessuna modifica ... nessun aggiornamento!</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>GEOIP filtering corrente:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desiderato:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Deve essere attivato il filtro per paese di origine ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering è <b>inattivo</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Lista dei codici paese attualmente bloccati:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Codice(i) paese inesistente sul server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Numero massimo di codice(i) paese raggiunto: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>Nuovo codice paese da utilizzare:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>Lista dei codici paese (maiuscolo e e separati da virgola).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Ultimo aggiornamento della tabella GeoIP:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Forzare l'aggiornamento della tabella GeoIP:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>La tabella GeoIP è aggiornata ogni settimana, ma si può ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Premere qui per la statistica delle connessioni bloccate</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtrato</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Premere qui per mostrare le statistiche degli errori SSH per gl iaccessi non bloccati</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Errori SSH</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Premere qui per la statistica delle connessioni bloccate</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>bannato</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistiche generate</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Fine delle statistiche</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Tipo di statistiche non valido</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistiche per Xt_GeoIP</h3><ul> <li>Per 3 periodi : Giorno, Settimana e Mese</li> <li>Ip messi al bando per nazione ordinati per numero</li> <li>Errori Ssh per nazione ordinati per numero</li> </ul><p><i>XX significa Country Paese non trovato !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Premere qui per visualizzare <b>la lista dei "Codici Paese" disponibili</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Codici paese: </trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Codici paese:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>Lista</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Fine della lista dei codici.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Filtro sulla base del servizio per Xtables GeoIP</h2><ul> <li>Se si desidera un filtraggio diverso basato sui servizi</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Nome del servizio</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Servizi</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Crea o modifica un filtraggio per servizio</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>Si sta scegliendo un particolare "filtro paese" per questo servizio</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Rimuovi un filtro "per servizio"</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>Si sta rimuovendo un filtro "per servizio". Sarà attiva la configurazione di filtro generale.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>Servizio non filtrato.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>Nessun servizio.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Lista dei codici paese rifiutati per il servizio:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Rimozione filtro "per servizio" completata... Nuova configurazione presa in carico.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Troppi paesi selezionati: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Rifiutare se </trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>L'opzione seguente consente di scegliere se si vogliono respingere i visitatori provenienti dalla lista (==) che è il comportamento di default, o li si vuole lasciare accedere (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>Filtro generale per servizi senza regole definite</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Scegliere se si vuole applicare il filtro generale a tutte le connessioni in ingresso o se non si vogliono filtrare le porte già definite con una reola specifica per il servizio. In questo modo è possibile avere un servizio meno limitato rispetto alla regola generale.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Premere qui per selezionare <b>nuovi </b>servizi in una <b>lista di servizi disponibili </b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Codici servizio:</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>Lista</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> Selezione nuovi Servizi</h2> <ul><li>Selezionare tra gli altri servizi non ancora gestiti individualmente. </li><li>Si possono selezionare uno o più elementi. Generalmente quelli <b>abilitati e pubblici</b>. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Servizi disponibili</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">License key GEOIP non disponibile. Il download è <b>inattivo</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="ja">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>フィルター</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>構文エラー</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>統計</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>統計表示</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Invalid type of statistics</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>ソースコード</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>ソースコード</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>やること一覧</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>検索結果は以上です。</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>装置</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>Unfiltered service.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>No services.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>拒絶</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>装置</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>やること一覧</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>装置</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="nb">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtrer</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Syntaksfeil</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistikk</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Vis statistikk</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Avsender statistikk</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Kildekode</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Kildekode</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>Oppgaveliste</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Slutten av resultater.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>gratis service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>gratis service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>gratis service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Avvis</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>gratis service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>Oppgaveliste</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Tilgjenglige pakker</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="nl">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>gefiltert</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Syntaxfout</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>verbannen</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistieken</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Statistieken tonen</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Verzend statistieken</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Broncode</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Broncode</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>Lijst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Einde resultaten.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Dienst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Dienst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Voeg toe of wijzig een instelling.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>ongefiltert</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>DNS diensten</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Zwartelijst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Weigeren</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Dienst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>Lijst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Beschikbare pakketten</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="pl">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtr</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Błąd składniowy</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statystyka</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Pokaż statystyki</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Podstawowe statystyki</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Kod źródłowy</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Kod źródłowy</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>Lista zadań</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Koniec wyników.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Serwery nazw (DNS)</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Urządzenie</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>Unfiltered service.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>No services.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Odrzuć</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Serwery nazw (DNS)</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>Lista zadań</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Dostępne paczki</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="pt-br">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>filtrado</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Erro de sintaxe</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>banido</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Estatísticas</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Mostrar estatísticas</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Estatísticas de remetente</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Código fonte</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Código fonte</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>Lista</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Fim dos resultados.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Status do Serviço</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Status do Serviço</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Adicionar ou modificar um registro.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>serviço grátis</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>Serviços jabber</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Lista Negra</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Retornar ao remetente</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Status do Serviço</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>Lista</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Pacotes disponíveis</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="pt">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtro</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Erro de sintaxe</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Estatísticas</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Mostrar Estatísticas</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Enviar estatísticas</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Código fonte</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Código fonte</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>Lista A-Fazer</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Fim dos resultados.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Serviços jabber</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>serviço grátis</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>Serviços jabber</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Retornar ao remetente</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Serviços jabber</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>Lista A-Fazer</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Pacotes disponíveis</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="ro">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtered</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>SSH errors</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistics generated</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Arată statistici</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Statistică expeditori</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Country codes :</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Country codes</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Final raport</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>serviciu gratuit</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>serviciu gratuit</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>serviciu gratuit</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Respinge</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>serviciu gratuit</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Pachete disponibile</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="ru">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtered</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>SSH errors</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistics generated</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Показать статистику</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Статистика по отправителям</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Country codes :</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Country codes</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Конец результатов.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Состояние службы</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Состояние службы</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Создать или изменить общую папку</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>бесплатный сервис</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>Службы Jabber</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Отказаться</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Состояние службы</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Доступные пакеты</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="sl">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filtered</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>SSH errors</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistics generated</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Prikaži statistiko</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Statistika posiljateljev</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Country codes :</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Country codes</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Konec porocila</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>brezplačna storitev</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>brezplačna storitev</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>brezplačna storitev</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Vrni posiljatelju</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>brezplačna storitev</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Programski paketi</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="sv">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>Filter</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Syntaxfel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>Statistik</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>Visa statistik</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Avsändarstatistik</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Källkod</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Källkod</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>Att-göra-lista</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Inga fler resultat.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Tjänst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>Tjänst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Skapa eller ändra en delad mapp</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>gratis tjänst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>DNS-tjänster</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Förkasta</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>Tjänst</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>Att-göra-lista</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Tillgängliga paket</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="th">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>กรอง, ตัวกรอง</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>Syntax error</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>F2B banned</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>สถิติ</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>แสดงสถิติ</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>สถิติผู้ส่ง</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Source code</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Source code</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>สิ้นสุดการรายงาน</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>อุปกรณ์</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>Unfiltered service.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>No services.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>ไม่รับ</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>อุปกรณ์</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>แพ็คเกจที่มี</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="tr">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>süzgeç</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>hata</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>afiş</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>istatistik</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>İstatistikleri Göster</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>Gönderici istatistikleri</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>Country codes :</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>Country codes</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>Sonuçların sonu.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>Service name :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>sınırsız servis</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>Add or modify a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>sınırsız servis</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>sınırsız servis</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>liste</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>Reddet</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>sınırsız servis</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>List</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>Kurulabilir paketler</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="zh-cn">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>已过滤</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>语法错误</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>已禁止</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>统计学,统计值</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>显示统计信息</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>发送者统计</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>源代码</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>源代码</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>列表</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>结果的结尾。</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>服务状态</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>服务状态</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>添加或删除记录</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>免费服务</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>Jabber服务</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>Blacklist</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>拒绝</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>服务状态</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>列表</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>可用的软件包</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
@ -0,0 +1,275 @@
|
||||
<lexicon lang="zh-tw">
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans><![CDATA[XTABLES-ADDONS Administration<br>GeoIP ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_UPDATING</base>
|
||||
<trans>There was an error while updating xt_geoip.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>Successful change... Now IP filtering takes into account the countries entered.</trans>
|
||||
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>XT_GEOIP_STATUS_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <ul> <li>IP filtering can be enabled or disabled with the appropriate button</li> <li>Codes of the countries to be banished can be entered in the corresponding field</li> <li>An immediate update of the table can be requested here</li></ul> <p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CHANGE</base>
|
||||
<trans>No change... no update !</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP_STATUS</base>
|
||||
<trans>Current GEOIP filtering :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_GEOIP</base>
|
||||
<trans>GEOIP filtering desired :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_GEOIP</base>
|
||||
<trans>Should filtering by country of origin be activated ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_STATUS_GEOIP</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES_STATUS</base>
|
||||
<trans>Current list of banished country codes :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_NOT_EXIST: {$listerr}</base>
|
||||
<trans>Country code(s) does not exist on the server: {$listerr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Country code(s) maximum reached: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_BADCOUNTRIES</base>
|
||||
<trans>New country codes to be used :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_BADCOUNTRIES</base>
|
||||
<trans>List of country codes (uppercase et comma-separated).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_DATE_UPDATE_STATUS</base>
|
||||
<trans>Last update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_UPDATE</base>
|
||||
<trans>Force the update of GeoIP table :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_UPDATE</base>
|
||||
<trans>GeoIP table is updated every week, but you can ...</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IPT_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the prevented connections</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IPT_LIST</base>
|
||||
<trans>過濾</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SSH_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SSH_LIST</base>
|
||||
<trans>語法錯誤</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>F2B_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>F2B_LIST</base>
|
||||
<trans>阻絕</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_GENERATED</base>
|
||||
<trans>統計</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_STATS</base>
|
||||
<trans>顯示統計</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INVALID_STATS_TYPE</base>
|
||||
<trans>寄件人統計</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>STATS_DESCRIPTION</base>
|
||||
<trans><![CDATA[<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul> <li>For 3 periods : Day, Week and Month</li> <li>Banned Ips by country sorted by number</li> <li>Ssh errors by country sorted by number</li> <li>Fail2ban banned IPs by country sorted by number</li> </ul><p><i>XX means Country not found !</i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>COUNTRY_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to see a <b>list of available country codes</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_COUNTRY_LIST</base>
|
||||
<trans>源代碼</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COUNTRY_LIST</base>
|
||||
<trans>源代碼</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CNTRY_LIST</base>
|
||||
<trans>列表</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>END_OF_CODES</base>
|
||||
<trans>結果的結尾。</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_DESCRIPTION</base>
|
||||
<trans><![CDATA[ <h2> Per service filtering for Xtables GeoIP</h2><ul> <li>If you want different filtering based on services</li> </ul><p><i></i></p> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE</base>
|
||||
<trans>服務狀態</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PER_SERVICE_GEOIP</base>
|
||||
<trans>服務狀態</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_SERVICE</base>
|
||||
<trans>增加或修正一筆紀錄。</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_DESC</base>
|
||||
<trans>You are choosing a particular country filtering for this service</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_SERVICE</base>
|
||||
<trans>Delete a per service filtering</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>REMOVE_DESC</base>
|
||||
<trans>You are deleting a filtering by service. The general filtering will then apply.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_NOT_BAN</base>
|
||||
<trans>無過濾</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_SERVICES</base>
|
||||
<trans>Jabber服務</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERV_BADCOUNTRIES_STATUS</base>
|
||||
<trans>List of rejected country codes for the service :</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_DELETED_SERVICE</base>
|
||||
<trans>Per service filtering successfully deleted... New filtering taken into account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>BADCOUNTRIES</base>
|
||||
<trans>黑名單</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERR_COUNTRY_MAX: {$ctr}</base>
|
||||
<trans>Too many countries chosen: {$ctr}</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_REVERSE_MATCH</base>
|
||||
<trans>拒絕</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REVERSE_MATCH</base>
|
||||
<trans>The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_OTHERS</base>
|
||||
<trans>General filter only for services without rules</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_OTHERS</base>
|
||||
<trans>Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERVICE_LIST_DESCRIPTION</base>
|
||||
<trans><![CDATA[<ul> <li>Click here to select <b>new </b>services among an <b>available services list</b></li> </ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_SERVICE_LIST</base>
|
||||
<trans>服務狀態</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SERV_LIST</base>
|
||||
<trans>列表</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_AVAILABLE_SERVICES</base>
|
||||
<trans><![CDATA[ <h2> New Services selection</h2> <ul><li>Select here among the other services not yet managed individually. </li><li>You may select one or more elements. Generally <b>enabled and public</b> ones. </li></ul> ]]></trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_AVAILABLE_SERVICES</base>
|
||||
<trans>可用套件</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_LICENSE_KEY</base>
|
||||
<trans><![CDATA[ <font color="red">GEOIP license key unavailable. Downloading is <b>inactive</b></font> ]]></trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
13
source/root/etc/e-smith/templates/etc/crontab/xt_geoip
Normal file
13
source/root/etc/e-smith/templates/etc/crontab/xt_geoip
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
my $output = ( ($masq{'XTlogmail'} || "disabled") eq "disabled" )? ">/dev/null" : "";
|
||||
|
||||
$OUT .= "
|
||||
# saturday at 06:00 update xtables geoip base
|
||||
00 06 * * 6 root /usr/share/xt_geoip/update_base $output
|
||||
45 1 * * * root /usr/share/xt_geoip/geoip_stats f2b $output
|
||||
50 1 * * * root /usr/share/xt_geoip/geoip_stats ssh $output
|
||||
55 1 * * * root /usr/share/xt_geoip/geoip_stats ipt $output
|
||||
05 2 * * * root /usr/share/xt_geoip/geoip_listat $output
|
||||
#
|
||||
";
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
# masq : drop from geoip countries
|
||||
{
|
||||
$OUT .=<<'EOF';
|
||||
# A blacklist chain for xtables-addons GEOIP
|
||||
/sbin/iptables --new-chain XTGeoIP
|
||||
/sbin/iptables --new-chain XTGeoIP_1
|
||||
/sbin/iptables --append XTGeoIP -j XTGeoIP_1
|
||||
/sbin/iptables --insert INPUT 1 \
|
||||
-j XTGeoIP
|
||||
EOF
|
||||
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
{
|
||||
my $BC = $masq{BadCountries} || '';
|
||||
my $GP = $masq{GeoIP} || 'disabled';
|
||||
my $KERNEL = `/bin/uname -r`;
|
||||
chomp($KERNEL);
|
||||
my $PATH_MODULE = "/lib/modules/$KERNEL/extra/xt_geoip.ko";
|
||||
my $PATH2_MODULE = "/lib/modules/$KERNEL/weak-updates/xt_geoip.ko";
|
||||
my $PATH3_MODULE = "/lib/modules/$KERNEL/weak-updates/xtables-addons/xt_geoip.ko";
|
||||
my $port;
|
||||
my @locPorts;
|
||||
my $servStatus;
|
||||
my $locBC;
|
||||
|
||||
# to allow reload without locking just after initial install
|
||||
$OUT .=<<'EOF';
|
||||
iptables -n --list XTGeoIP >/dev/null 2>&1
|
||||
test=$?
|
||||
if [[ $test -eq 1 ]] ; then
|
||||
# A blacklist chain for xtables-addons GEOIP
|
||||
/sbin/iptables --new-chain XTGeoIP
|
||||
/sbin/iptables --new-chain XTGeoIP_1
|
||||
/sbin/iptables --append XTGeoIP -j XTGeoIP_1
|
||||
/sbin/iptables --insert INPUT 1 \
|
||||
-j XTGeoIP
|
||||
fi
|
||||
EOF
|
||||
|
||||
# Find the current XTGeoIP_$$ chain, and create a new one.
|
||||
$OUT .=<<'EOF';
|
||||
OLD_XTGeoIP=$(get_safe_id XTGeoIP filter find)
|
||||
NEW_XTGeoIP=$(get_safe_id XTGeoIP filter new)
|
||||
/sbin/iptables --new-chain $NEW_XTGeoIP
|
||||
EOF
|
||||
|
||||
if ( $GP eq 'enabled' )
|
||||
{
|
||||
if (-s $PATH_MODULE || -s $PATH2_MODULE || -s $PATH3_MODULE)
|
||||
{
|
||||
|
||||
# do not block Localhost(s)
|
||||
$OUT .= " /sbin/iptables -A \$NEW_XTGeoIP -s 127.0.0.0/24 -j RETURN\n";
|
||||
|
||||
# do not block LAN
|
||||
my $locals = "@locals";
|
||||
if (@locals)
|
||||
{
|
||||
# Make a new local_chk chain and add any networks found in networks db
|
||||
foreach my $local (@locals)
|
||||
{
|
||||
# If the network is a remote vpn subnet, restrict it to the ipsec0
|
||||
# interface.
|
||||
my ($net, $msk) = split /\//, $local;
|
||||
my $netrec = $nets->get($net);
|
||||
die "Can't find network $net in networks db!\n" unless $netrec;
|
||||
$OUT .= " /sbin/iptables -A \$NEW_XTGeoIP -s $local";
|
||||
if (($netrec->prop('remoteVPNSubnet') || 'no') eq 'yes')
|
||||
{
|
||||
$OUT .= " --in-interface ipsec0";
|
||||
}
|
||||
$OUT .= " -j RETURN\n";
|
||||
}
|
||||
}
|
||||
|
||||
my @services = split(/,/, $masq{'XtServices'});
|
||||
|
||||
foreach my $servName (@services)
|
||||
{
|
||||
$port = ${$servName}{'TCPPort'} || '';
|
||||
my $servStatus = ${$servName}{'status'} || 'disabled';
|
||||
my $servAccess = ${$servName}{'access'} || 'private';
|
||||
my $locBC = ${$servName}{'BadCountries'} || '';
|
||||
my $reverse = ( ( ${$servName}{'XTGeoipRev'} || 'disabled' ) eq "enabled" )? "!": "";
|
||||
if ($port ne '' and $servStatus eq 'enabled' and $servAccess eq 'public' and $locBC ne '') {
|
||||
push @locPorts, $port;
|
||||
my $multi = ( $port =~ /[,:]/ )? "-m multiport --dports" : "--dport";
|
||||
$OUT .= " /sbin/iptables -A \$NEW_XTGeoIP -m geoip $reverse --src-cc $locBC -p tcp $multi $port -j ULOG --ulog-prefix \"GeoIP BAN: $servName\"\n";
|
||||
$OUT .= " /sbin/iptables -A \$NEW_XTGeoIP -m geoip $reverse --src-cc $locBC -p tcp $multi $port -j DROP\n";
|
||||
}
|
||||
}
|
||||
|
||||
# block for all or other ports should move there
|
||||
if ($BC ne '') {
|
||||
my $reverse = ( ( $masq{'XTGeoipRev'} || 'disabled' ) eq "enabled" )? "!": "";
|
||||
my $others = ( ( $masq{'XTGeoipOther'} || 'disabled') eq "enabled") ? 1 : 0;
|
||||
@locPorts = () unless $others;
|
||||
if (@locPorts != 0) {
|
||||
my $LocPorts = join ',', @locPorts;
|
||||
$OUT .= " /sbin/iptables -A \$NEW_XTGeoIP -p tcp -m geoip -m multiport ! --dports $LocPorts $reverse --src-cc $BC -j ULOG --ulog-prefix \"GeoIP BAN: OTHER\"\n";
|
||||
$OUT .= " /sbin/iptables -A \$NEW_XTGeoIP -p tcp -m geoip -m multiport ! --dports $LocPorts $reverse --src-cc $BC -j DROP\n";
|
||||
} else {
|
||||
$OUT .= " /sbin/iptables -A \$NEW_XTGeoIP -p tcp -m geoip $reverse --src-cc $BC -j ULOG --ulog-prefix \"GeoIP BAN: ALL\"\n";
|
||||
$OUT .= " /sbin/iptables -A \$NEW_XTGeoIP -p tcp -m geoip $reverse --src-cc $BC -j DROP\n";
|
||||
}
|
||||
}
|
||||
$OUT .= " /sbin/iptables --append \$NEW_XTGeoIP" .
|
||||
" -j RETURN\n";
|
||||
## end of add
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Having created a new XTGeoIP chain, activate it and destroy the old.
|
||||
$OUT .=<<'EOF';
|
||||
/sbin/iptables --replace XTGeoIP 1 \
|
||||
--jump $NEW_XTGeoIP
|
||||
/sbin/iptables --flush $OLD_XTGeoIP
|
||||
/sbin/iptables --delete-chain $OLD_XTGeoIP
|
||||
EOF
|
||||
|
||||
}
|
312
source/root/etc/e-smith/web/functions/xt_geoip
Normal file
312
source/root/etc/e-smith/web/functions/xt_geoip
Normal file
@ -0,0 +1,312 @@
|
||||
#!/usr/bin/perl -wT
|
||||
# vim: set ft=xml:
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# heading : Security
|
||||
# description : GeoIP IP filtering
|
||||
# navigation : 5000 5610
|
||||
#----------------------------------------------------------------------
|
||||
# copyright (C) 2007 Mitel Networks Corporation
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
# Technical support for this program is available from Mitel Networks
|
||||
# Please visit our web site www.mitel.com/sme/ for details.
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use esmith::FormMagick::Panel::xt_geoip;
|
||||
|
||||
my $f = esmith::FormMagick::Panel::xt_geoip->new();
|
||||
$f->display();
|
||||
|
||||
=head1
|
||||
=cut
|
||||
=begin testing
|
||||
|
||||
use esmith::FormMagick::Tester;
|
||||
use esmith::TestUtils;
|
||||
use esmith::ConfigDB;
|
||||
use esmith::AccountsDB;
|
||||
|
||||
my $panel = $Original_File;
|
||||
my $ua = esmith::FormMagick::Tester->new();
|
||||
|
||||
my $c = esmith::ConfigDB->open();
|
||||
my $a = esmith::AccountsDB->open();
|
||||
|
||||
is (mode($panel), '4750', "Check permissions on script");
|
||||
ok ($ua->get_panel($panel), "ABOUT TO RUN L10N TESTS");
|
||||
is ($ua->{status}, 200, "200 OK");
|
||||
#like($ua->{content}, qr/FORM_TITLE/, "Saw untranslated form title");
|
||||
ok ($ua->set_language("en-us"), "Set language to U.S. English");
|
||||
ok ($ua->get_panel($panel), "Get panel");
|
||||
is ($ua->{status}, 200, "200 OK");
|
||||
like($ua->{content}, qr/xt_geoip Admin/, "Saw translated form title");
|
||||
|
||||
=end testing
|
||||
|
||||
=cut
|
||||
|
||||
__DATA__
|
||||
<form
|
||||
title="FORM_TITLE"
|
||||
header="/etc/e-smith/web/common/head.tmpl"
|
||||
footer="/etc/e-smith/web/common/foot.tmpl">
|
||||
|
||||
<page name="First" pre-event="print_status_message()">
|
||||
# post-event="wherenext('Second')"
|
||||
<description>XT_GEOIP_STATUS_DESCRIPTION</description>
|
||||
|
||||
<field
|
||||
type="literal"
|
||||
id="geoip"
|
||||
value="get_geoip()">
|
||||
<label>LABEL_GEOIP_STATUS</label>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="literal"
|
||||
id="badcountries"
|
||||
value="get_badcountries(1)">
|
||||
<label>LABEL_BADCOUNTRIES_STATUS</label>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="literal"
|
||||
id="date_update"
|
||||
value="get_date_update()">
|
||||
<label>LABEL_DATE_UPDATE_STATUS</label>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="literal"
|
||||
id="stat_geoip"
|
||||
value="get_stat_geoip()">
|
||||
<label> </label>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="literal"
|
||||
id="stat_license"
|
||||
value="get_stat_license_key()">
|
||||
<label> </label>
|
||||
</field>
|
||||
|
||||
<field type="literal" id="country_list_label" value="">
|
||||
<description>COUNTRY_LIST_DESCRIPTION</description>
|
||||
</field>
|
||||
<subroutine src="print_custom_button('CNTRY_LIST', 'Codes', '')"/>
|
||||
|
||||
|
||||
<subroutine src="print_button('NEXT')" />
|
||||
|
||||
|
||||
<field type="literal" id="service_label" value="">
|
||||
<description>SERVICE_DESCRIPTION</description>
|
||||
</field>
|
||||
<subroutine src="print_service_table()" />
|
||||
|
||||
|
||||
<field type="literal" id="service_list_label" value="">
|
||||
<description>SERVICE_LIST_DESCRIPTION</description>
|
||||
</field>
|
||||
<subroutine src="print_custom_button('SERV_LIST', 'Services', '')"/>
|
||||
|
||||
|
||||
|
||||
<field type="literal" id="stats_label" value="">
|
||||
<description>STATS_DESCRIPTION</description>
|
||||
</field>
|
||||
|
||||
<field type="literal" id="ipt_list_label" value="">
|
||||
<description>IPT_LIST_DESCRIPTION</description>
|
||||
</field>
|
||||
<subroutine src="print_custom_button('IPT_LIST', 'Stats', 'ipt')"/>
|
||||
|
||||
<field type="literal" id="ssh_list_label" value="">
|
||||
<description>SSH_LIST_DESCRIPTION</description>
|
||||
</field>
|
||||
<subroutine src="print_custom_button('SSH_LIST', 'Stats', 'ssh')"/>
|
||||
|
||||
<field type="literal" id="f2b_list_label" value="">
|
||||
<description>F2B_LIST_DESCRIPTION</description>
|
||||
</field>
|
||||
<subroutine src="print_custom_button('F2B_LIST', 'Stats', 'f2b')"/>
|
||||
|
||||
</page>
|
||||
|
||||
|
||||
|
||||
<page name="Second" pre-event="turn_off_buttons" post-event="change_settings()">
|
||||
|
||||
<field
|
||||
type="select"
|
||||
id="masq_geoip"
|
||||
options="'enabled' => 'YES', 'disabled' => 'NO'"
|
||||
value="get_geoip()">
|
||||
<label>LABEL_GEOIP</label>
|
||||
<description>DESC_GEOIP</description>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="select"
|
||||
id="masq_reverse"
|
||||
options="'enabled' => '!=', 'disabled' => '=='"
|
||||
value="get_reverse('masq','XTGeoipRev')">
|
||||
<label>LABEL_REVERSE_MATCH</label>
|
||||
<description>DESC_REVERSE_MATCH</description>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="text"
|
||||
id="masq_badcountries"
|
||||
size="64"
|
||||
value="get_badcountries(0)"
|
||||
validation="must_exist()">
|
||||
<label>LABEL_BADCOUNTRIES</label>
|
||||
<description>DESC_BADCOUNTRIES</description>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="literal"
|
||||
id="badcountries"
|
||||
value="get_badcountries(1)">
|
||||
<label>LABEL_BADCOUNTRIES_STATUS</label>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="select"
|
||||
id="masq_others"
|
||||
options="'enabled' => 'enabled', 'disabled' => 'disabled'"
|
||||
value="get_reverse('masq','XTGeoipOther')">
|
||||
<label>LABEL_OTHERS</label>
|
||||
<description>DESC_OTHERS</description>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="select"
|
||||
id="update_geoip"
|
||||
options="'NO', 'YES'"
|
||||
value="'NO'">
|
||||
<label>LABEL_UPDATE</label>
|
||||
<description>DESC_UPDATE</description>
|
||||
</field>
|
||||
|
||||
<subroutine src="print_button('SAVE')" />
|
||||
|
||||
</page>
|
||||
|
||||
|
||||
|
||||
<page name="SrvModify" pre-event="turn_off_buttons()" post-event="modify_serv()">
|
||||
|
||||
<title>ADD_SERVICE</title>
|
||||
<description>ADD_DESC</description>
|
||||
|
||||
<field
|
||||
type="literal"
|
||||
id="service"
|
||||
value="get_srv_name()">
|
||||
<label>LABEL_SERVICE</label>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="literal"
|
||||
id="badcountries"
|
||||
value="get_badcountries(1)">
|
||||
<label>LABEL_BADCOUNTRIES_STATUS</label>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="select"
|
||||
id="masq_srv_reverse"
|
||||
options="'enabled' => '!=', 'disabled' => '=='"
|
||||
value="get_reverse('','XTGeoipRev')">
|
||||
<label>LABEL_REVERSE_MATCH</label>
|
||||
<description>DESC_REVERSE_MATCH</description>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="text"
|
||||
id="masq_srv_badcountries"
|
||||
size="64"
|
||||
value="get_srv_badcountries(0)"
|
||||
validation="srv_must_exist()">
|
||||
<label>LABEL_BADCOUNTRIES</label>
|
||||
<description>DESC_BADCOUNTRIES</description>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="literal"
|
||||
id="srv_badcountries"
|
||||
value="get_srv_badcountries(1)">
|
||||
<label>LABEL_SERV_BADCOUNTRIES_STATUS</label>
|
||||
</field>
|
||||
|
||||
<subroutine src="print_button('SAVE')" />
|
||||
</page>
|
||||
|
||||
|
||||
<page name="SrvRemove" pre-event="turn_off_buttons()" post-event="remove_serv()">
|
||||
|
||||
<title>REMOVE_SERVICE</title>
|
||||
<description>REMOVE_DESC</description>
|
||||
|
||||
<field
|
||||
type="literal"
|
||||
id="service"
|
||||
value="get_srv_name()">
|
||||
<label>LABEL_SERVICE</label>
|
||||
</field>
|
||||
|
||||
<field
|
||||
type="literal"
|
||||
id="badcountries"
|
||||
value="get_srv_badcountries()">
|
||||
<label>LABEL_SERV_BADCOUNTRIES_STATUS</label>
|
||||
</field>
|
||||
|
||||
<subroutine src="print_button('REMOVE')" />
|
||||
|
||||
</page>
|
||||
|
||||
|
||||
<page name="Stats" pre-event="generateStats" post-event="wherenext('First')">
|
||||
<subroutine src="print_button('NEXT')"/>
|
||||
</page>
|
||||
|
||||
|
||||
<page name="Codes" pre-event="generateCodes" post-event="wherenext('First')">
|
||||
<subroutine src="print_button('NEXT')"/>
|
||||
</page>
|
||||
|
||||
<page name="Services" pre-event="turn_off_buttons()" post-event="do_otherServices()">
|
||||
<field
|
||||
type="select" multiple="1"
|
||||
id="SelectedServices"
|
||||
value="otherServices('sel')"
|
||||
options="otherServices('all')">
|
||||
<label>LABEL_AVAILABLE_SERVICES</label>
|
||||
<description>DESC_AVAILABLE_SERVICES</description>
|
||||
</field>
|
||||
|
||||
<subroutine src="print_button('NEXT')"/>
|
||||
</page>
|
||||
|
||||
|
||||
|
||||
</form>
|
@ -0,0 +1,603 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
#-------------------------------------------
|
||||
# Copyright (c) Michel Begue 2017
|
||||
# Xt_GeoIP Administration panel
|
||||
#-------------------------------------------
|
||||
package esmith::FormMagick::Panel::xt_geoip;
|
||||
|
||||
use strict;
|
||||
#use warnings;
|
||||
use esmith::FormMagick;
|
||||
use esmith::ConfigDB;
|
||||
use esmith::util;
|
||||
use esmith::cgi;
|
||||
use File::Basename;
|
||||
use Exporter;
|
||||
use POSIX qw(strftime);
|
||||
|
||||
our @ISA = qw(esmith::FormMagick Exporter);
|
||||
|
||||
our @EXPORT = qw(
|
||||
otherServices
|
||||
do_otherServices
|
||||
get_prop
|
||||
get_value
|
||||
get_badcountries
|
||||
get_geoip
|
||||
get_stat_license_key
|
||||
get_reverse
|
||||
print_service_table
|
||||
get_stat_geoip
|
||||
print_custom_button
|
||||
generateStats
|
||||
get_srv_name
|
||||
get_srv_badcountries
|
||||
remove_serv
|
||||
modify_serv
|
||||
srv_must_exist
|
||||
get_date_update
|
||||
change_settings
|
||||
must_exist
|
||||
);
|
||||
|
||||
our $VERSION = sprintf '%d.%03d', q$Revision: 1.1 $ =~ /: (\d+).(\d+)/;
|
||||
|
||||
our $db = esmith::ConfigDB->open || die "Couldn't open ConfigDB\n";
|
||||
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
||||
esmith::FormMagick::Panels::xt_geoip - Panel providing countries codes,
|
||||
enable and update base actions.
|
||||
|
||||
=head1 SYNOPSYS
|
||||
|
||||
use esmith::FormMagick::Panel::xt_geoip;
|
||||
|
||||
my $panel = esmith::FormMagick::Panel::xt_geoip->new;
|
||||
$panel->display();
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
xt_geoip (xtables-addons geoip) install a base of IPs by country.
|
||||
This panel provides a 'non-commandline' form to enter selected countries codes
|
||||
for filtering, to enable-disable the fonctionnality and update the base of IPs.
|
||||
|
||||
|
||||
=cut
|
||||
|
||||
# {{{ new
|
||||
|
||||
=head2 new()
|
||||
|
||||
Exactly as for esmith::FormMagick
|
||||
|
||||
=begin testing
|
||||
|
||||
$ENV{ESMITH_CONFIG_DB} = "10e-smith-base/configuration.conf"
|
||||
|
||||
use_ok('esmith::FormMagick::Panel::xt_geoip');
|
||||
use vars qw($panel);
|
||||
ok($panel = esmith::FormMagick::Panel::xt_geoip->new(), "Create panel object");
|
||||
isa_ok($panel, 'esmith::FormMagick::Panel::xt_geoip');
|
||||
|
||||
=end testing
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
|
||||
sub new
|
||||
{
|
||||
shift;
|
||||
my $self = esmith::FormMagick->new();
|
||||
$self->{calling_package} = (caller)[0];
|
||||
bless $self;
|
||||
# $self->debug(1);
|
||||
return $self;
|
||||
}
|
||||
|
||||
=head2 get_prop
|
||||
|
||||
=cut
|
||||
|
||||
sub get_prop
|
||||
{
|
||||
my $fm = shift if (ref($_[0]) );
|
||||
my $item = shift;
|
||||
my $prop = shift;
|
||||
|
||||
my $record = $db->get($item);
|
||||
if ($record) {
|
||||
return $record->prop($prop);
|
||||
}
|
||||
else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
=head2 get_value
|
||||
|
||||
=cut
|
||||
|
||||
sub get_value
|
||||
{
|
||||
my $fm = shift;
|
||||
my $item = shift;
|
||||
my $record = $db->get($item);
|
||||
#return ($db->get("masq")->prop($item));
|
||||
if ($record) {
|
||||
return $record->value();
|
||||
}
|
||||
else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
=head2 get_badcountries
|
||||
|
||||
method to retrieve the value of "badcountries" for the form
|
||||
=cut
|
||||
|
||||
sub get_badcountries
|
||||
{
|
||||
my $self = shift;
|
||||
my $full = shift;
|
||||
my $badc=$db->get_prop("masq", "BadCountries")||"";
|
||||
return $badc unless $full ;
|
||||
my $rev = (($db->get_prop("masq", "XTGeoipRev")||"disabled") eq "enabled") ? "!=" : "==";
|
||||
return "$rev $badc ";
|
||||
}
|
||||
|
||||
=head2 get_geoip
|
||||
|
||||
method to retrieve the value of geoip for the form
|
||||
=cut
|
||||
|
||||
sub get_geoip
|
||||
{
|
||||
return $db->get_prop("masq", "GeoIP") || 'disabled';
|
||||
}
|
||||
|
||||
=head2 get_reverse
|
||||
|
||||
method to retrieve the value of geoip for the form
|
||||
=cut
|
||||
|
||||
sub get_reverse
|
||||
{
|
||||
my $fm = shift;
|
||||
my $item = shift;
|
||||
my $prop = shift;
|
||||
$item = ($item eq 'masq') ? $item : $fm->cgi->param('name');
|
||||
return $db->get_prop("$item", "$prop") || "disabled";
|
||||
}
|
||||
|
||||
|
||||
=head2 get_stat_geoip
|
||||
|
||||
method to retrieve the status of geoip (module and filtering) for the form
|
||||
=cut
|
||||
|
||||
sub get_stat_geoip
|
||||
{
|
||||
my $fm = shift;
|
||||
if ( system ( "/bin/test -f /lib/modules/`/bin/uname -r`/weak-updates/xtables-addons/xt_geoip.ko") != 0 ) {
|
||||
return $fm->localise('ERROR_MISSING_MODULE');
|
||||
} elsif ( system ( "/sbin/lsmod | grep 'xt_geoip' > /dev/null") != 0 ) {
|
||||
return $fm->localise('ERROR_UNLOADED_MODULE');
|
||||
} elsif ( get_geoip() eq 'enabled' && system ( "/sbin/iptables -L -n | grep 'XTGeoIP' > /dev/null") != 0 ) {
|
||||
return $fm->localise('ERROR_FILTER_CHAIN_MISSING');
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
=head2 get_stat_license_key
|
||||
|
||||
method to retrieve the status of geoip license_key for the site
|
||||
=cut
|
||||
|
||||
sub get_stat_license_key {
|
||||
|
||||
my $fm = shift;
|
||||
if ((get_prop( 'geoip','status' ) || 'disabled') eq 'enabled' ) {
|
||||
if ( (get_prop( 'geoip','LicenseKey' ) || '') ne '' ) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
return $fm->localise('ERROR_LICENSE_KEY');
|
||||
|
||||
}
|
||||
|
||||
|
||||
=head2 get_date_update
|
||||
=cut
|
||||
|
||||
sub get_date_update
|
||||
{
|
||||
my $file = "/usr/share/xt_geoip/LE/A1.iv4";
|
||||
my $filetime = ( -e $file ) ? (stat($file))[9] : 0;
|
||||
return strftime("%Y/%m/%d %H:%M", localtime( $filetime )) || '';
|
||||
}
|
||||
|
||||
=head2 change_settings
|
||||
|
||||
Sub to change settings as per user input in the panel
|
||||
=cut
|
||||
|
||||
sub change_settings
|
||||
{
|
||||
my $self = shift;
|
||||
my $q = $self->{'cgi'};
|
||||
|
||||
my $mq_bc = get_badcountries();
|
||||
my $mq_gp = get_geoip();
|
||||
my $masq = $db->get('masq') || "disabled";
|
||||
my $mq_rv = $masq->prop('XTGeoipRev') || 'disabled';
|
||||
my $mq_ot = $masq->prop('XTGeoipOther') || 'disabled';
|
||||
|
||||
my $n_mq_bc = $q->param("masq_badcountries");
|
||||
my $n_mq_gp = $q->param("masq_geoip") || $mq_gp;
|
||||
my $n_upd_gp = $q->param("update_geoip") || '';
|
||||
my $n_mq_rv = $q->param("masq_reverse") || $mq_rv ;
|
||||
my $n_mq_ot = $q->param("masq_others") || $mq_ot ;
|
||||
|
||||
if (($n_mq_bc eq $mq_bc) && ($n_mq_gp eq $mq_gp) && ($n_upd_gp eq 'NO') && ($n_mq_rv eq $mq_rv) && ($n_mq_ot eq $mq_ot)) {
|
||||
return $self->success("NO_CHANGE")
|
||||
}
|
||||
$db->set_prop("masq", "BadCountries", $n_mq_bc);
|
||||
$db->set_prop("masq", "GeoIP", $n_mq_gp);
|
||||
$db->set_prop("masq", "XTGeoipRev", $n_mq_rv);
|
||||
$db->set_prop("masq", "XTGeoipOther", $n_mq_ot);
|
||||
|
||||
my $eventloc = "xt_geoip-modify";
|
||||
$eventloc = "xt_geoip-update" if $n_upd_gp eq 'YES';
|
||||
|
||||
unless ( system ( "/sbin/e-smith/signal-event", $eventloc ) == 0 )
|
||||
{
|
||||
$self->error("ERROR_UPDATING");
|
||||
return undef;
|
||||
}
|
||||
return $self->success("SUCCESS");
|
||||
}
|
||||
|
||||
|
||||
=head2 valid_badcountries
|
||||
|
||||
subroutine to validate countries.
|
||||
=cut
|
||||
|
||||
sub must_exist
|
||||
{
|
||||
my $self = shift;
|
||||
my $q = $self->{cgi};
|
||||
my $listerr = "";
|
||||
my @mq_bcs = split /[,:]/, $q->param("masq_badcountries");
|
||||
if (@mq_bcs) {
|
||||
my $ctr = @mq_bcs;
|
||||
return $self->localise('ERROR_COUNTRY_MAX: {$ctr}', {ctr=> "$ctr"}) if ($ctr > 50);
|
||||
|
||||
foreach my $bcs (@mq_bcs) {
|
||||
my $file = "/usr/share/xt_geoip/LE/" . $bcs . ".iv4";
|
||||
if (! -f $file) { $listerr .= $bcs . ","; }
|
||||
}
|
||||
return $self->localise('ERR_COUNTRY_NOT_EXIST: {$listerr}', {listerr=> "$listerr"}) if $listerr;
|
||||
}
|
||||
return 'OK';
|
||||
}
|
||||
|
||||
#Subroutine to display buttons
|
||||
sub print_custom_button
|
||||
{
|
||||
my ($fm,$desc,$url,$type) = @_;
|
||||
my $q = $fm->{cgi};
|
||||
$url="xt_geoip?page=0&page_stack=&Next=Next&type=".$type."&wherenext=".$url;
|
||||
print " <tr>\n <td colspan='2'>\n";
|
||||
print $q->p($q->a({href => $url, -class => "button-like"},$fm->localise($desc)));
|
||||
print qq(</tr>\n);
|
||||
return undef;
|
||||
}
|
||||
|
||||
#Subroutine to list statistics
|
||||
sub generateStats
|
||||
{
|
||||
my $self = shift;
|
||||
my $q = $self->{cgi};
|
||||
|
||||
$self->turn_off_buttons();
|
||||
|
||||
# Untaint $name before use in system()
|
||||
my $stats_type = $q->param ('type');
|
||||
$stats_type =~ /(.+)/; $stats_type = $1;
|
||||
if ($stats_type ne "ipt" && $stats_type ne "ssh" && $stats_type ne "f2b")
|
||||
{
|
||||
print $q->p($q->b($self->localise('INVALID_STATS_TYPE')." ".
|
||||
$stats_type));
|
||||
return '';
|
||||
} else {
|
||||
# my $now_string = $self->gen_locale_date_string();
|
||||
my $file = "/var/lib/xt_geoip/extA_" . $stats_type . "_country.lst";
|
||||
my $filetime = ( -e $file ) ? (stat($file))[9] : 0;
|
||||
my $date_string = strftime("%Y/%m/%d %H:%M", localtime( $filetime )) || '';
|
||||
print $q->h3($self->localise('STATS_GENERATED'), "[", $stats_type, "]", $date_string);
|
||||
|
||||
open( XTGEOIPSTATS, $file );
|
||||
print "<pre>\n";
|
||||
|
||||
while (<XTGEOIPSTATS>)
|
||||
{
|
||||
print;
|
||||
}
|
||||
|
||||
close XTGEOIPSTATS;
|
||||
print "</pre>\n";
|
||||
|
||||
print $q->h3($self->localise('END_OF_STATS'));
|
||||
#$self->wherenext('First');
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
sub get_srv_name
|
||||
{
|
||||
my ($self) = @_;
|
||||
return $self->cgi->param('name');
|
||||
}
|
||||
|
||||
sub get_srv_badcountries
|
||||
{
|
||||
my $self = shift;
|
||||
my $name = $self->cgi->param('name');
|
||||
my $full = shift;
|
||||
my $badc=$db->get_prop($name, "BadCountries")||"";
|
||||
return $badc unless $full ;
|
||||
my $rev = (($db->get_prop($name, "XTGeoipRev")||"disabled") eq "enabled") ? "!=" : "==";
|
||||
return "$rev $badc ";
|
||||
}
|
||||
|
||||
sub print_service_table {
|
||||
my $self = shift;
|
||||
my $q = $self->{cgi};
|
||||
my $servname = $self->localise('NAME');
|
||||
my $port = $self->localise('PORT');
|
||||
my $status = $self->localise('STATUS');
|
||||
my $access = $self->localise('ACCESS');
|
||||
my $servBC = $self->localise('BADCOUNTRIES');
|
||||
my $modify = $self->localise('MODIFY');
|
||||
my $remove = $self->localise('REMOVE');
|
||||
my $action_h = $self->localise('ACTION');
|
||||
|
||||
my @services = split(/,/, $db->get_prop("masq", "XtServices"));
|
||||
#my @services = ('imaps','pop3s','sshd','ftp','ssmtpd');
|
||||
|
||||
unless ( scalar @services )
|
||||
{
|
||||
print $q->Tr($q->td($self->localise('NO_SERVICES')));
|
||||
return "";
|
||||
}
|
||||
|
||||
print $q->start_table({-CLASS => "sme-border"}),"\n";
|
||||
print $q->Tr (
|
||||
esmith::cgi::genSmallCell($q, $servname,"header"),
|
||||
esmith::cgi::genSmallCell($q, $port,"header"),
|
||||
esmith::cgi::genSmallCell($q, $status,"header"),
|
||||
esmith::cgi::genSmallCell($q, $access,"header"),
|
||||
esmith::cgi::genSmallCell($q, $servBC,"header"),
|
||||
esmith::cgi::genSmallCell($q, $action_h,"header", 2)),"\n";
|
||||
|
||||
my $scriptname = basename($0);
|
||||
|
||||
foreach my $servname (@services)
|
||||
{
|
||||
my $i = $db->get($servname);
|
||||
next if not defined $i;
|
||||
|
||||
my $port = $i->prop('TCPPort');
|
||||
my $status = $i->prop('status');
|
||||
my $access = $i->prop('access');
|
||||
my $servBC = $i->prop('BadCountries') || ' ';
|
||||
my $servRev = (( $i->prop('XTGeoipRev')|| 'disabled') eq 'disabled' )? '==': '!=';
|
||||
|
||||
my $params = $self->build_serv_cgi_params($servname, $i->props());
|
||||
|
||||
my $href = "$scriptname?$params&action=modify&wherenext=";
|
||||
|
||||
my $actionModify = ' ';
|
||||
$actionModify .= $q->a({href => "${href}SrvModify"},$modify)
|
||||
. ' ';
|
||||
|
||||
my $actionRemove = ' ';
|
||||
$actionRemove .= $q->a({href => "${href}SrvRemove"}, $remove)
|
||||
. ' ';
|
||||
|
||||
my $color = 'red';
|
||||
my $deco= "none";
|
||||
if ($servRev eq '!=' ) { $color = 'green'; }
|
||||
if ($status eq 'disabled' || $access ne 'public') { $color = 'grey'; $deco= "line-through"; }
|
||||
print $q->Tr (
|
||||
esmith::cgi::genSmallCell($q, $servname,"normal"),
|
||||
esmith::cgi::genSmallCell($q, $port,"normal"),
|
||||
esmith::cgi::genSmallCell($q, $status,"normal"),
|
||||
esmith::cgi::genSmallCell($q, $access,"normal"),
|
||||
esmith::cgi::genSmallCell($q, "<font color='$color' style='text-decoration: $deco'>" . "$servRev $servBC" . "</font>","normal"),
|
||||
esmith::cgi::genSmallCell($q, $actionModify,"normal"),
|
||||
esmith::cgi::genSmallCell($q, $actionRemove,"normal"));
|
||||
}
|
||||
|
||||
print $q->end_table,"\n";
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
sub build_serv_cgi_params {
|
||||
my ($self, $servname, %oldprops) = @_;
|
||||
|
||||
my %props = (
|
||||
page => 0,
|
||||
page_stack => "",
|
||||
name => $servname,
|
||||
);
|
||||
|
||||
return $self->props_to_query_string(\%props);
|
||||
}
|
||||
|
||||
sub remove_serv {
|
||||
my ($self) = @_;
|
||||
my $name = $self->cgi->param('name');
|
||||
if (my $serv = $db->get($name)) {
|
||||
my $servBC = $serv->prop('BadCountries') || '';
|
||||
if ($servBC ne '') {
|
||||
my $tps = $db->set_prop_and_delete($name, "BadCountries");
|
||||
$tps = $db->get_prop_and_delete($name, "XTGeoipRev");
|
||||
# Untaint $name before use in system()
|
||||
# $name =~ /(.+)/; $name = $1;
|
||||
if (system ("/sbin/e-smith/signal-event", "xt_geoip-service") == 0)
|
||||
{
|
||||
return $self->success("SUCCESSFULLY_DELETED_SERVICE");
|
||||
} else {
|
||||
return $self->error("ERROR_WHILE_DELETING_SERVICE");
|
||||
}
|
||||
} else {
|
||||
return $self->success('NO_CHANGE');
|
||||
}
|
||||
|
||||
} else {
|
||||
$self->error('CANT_FIND_SERV');
|
||||
}
|
||||
$self->wherenext('First');
|
||||
}
|
||||
|
||||
sub modify_serv {
|
||||
my ($self) = @_;
|
||||
my $name = $self->cgi->param('name');
|
||||
if (my $serv = $db->get($name)) {
|
||||
my $servBC = $serv->prop('BadCountries') || '';
|
||||
my $servRev = $serv->prop('XTGeoipRev') || 'disabled';
|
||||
|
||||
my $q = $self->{'cgi'};
|
||||
my $n_servBC = $q->param("masq_srv_badcountries");
|
||||
my $n_servRev = $q->param("masq_srv_reverse") || $servRev;
|
||||
|
||||
if ($n_servBC eq $servBC && $n_servRev eq $servRev ) {
|
||||
return $self->success("NO_CHANGE")
|
||||
}
|
||||
$db->set_prop($name, "BadCountries", $n_servBC);
|
||||
$db->set_prop($name, "XTGeoipRev", $n_servRev);
|
||||
|
||||
if (system ( "/sbin/e-smith/signal-event", "xt_geoip-service" ) == 0 )
|
||||
{
|
||||
return $self->success("SUCCESS");
|
||||
} else {
|
||||
return $self->error("ERROR_UPDATING");
|
||||
}
|
||||
} else {
|
||||
$self->error('CANT_FIND_SERV');
|
||||
}
|
||||
$self->wherenext('First');
|
||||
}
|
||||
|
||||
sub srv_must_exist
|
||||
{
|
||||
my $self = shift;
|
||||
my $q = $self->{cgi};
|
||||
my $listerr = "";
|
||||
my @mq_bcs = split /[,:]/, $q->param("masq_srv_badcountries");
|
||||
if (@mq_bcs) {
|
||||
my $ctr = @mq_bcs;
|
||||
return $self->localise('ERROR_COUNTRY_MAX: {$ctr}', {ctr=> "$ctr"}) if ($ctr > 50);
|
||||
|
||||
foreach my $bcs (@mq_bcs) {
|
||||
my $file = "/usr/share/xt_geoip/LE/" . $bcs . ".iv4";
|
||||
if (! -f $file) { $listerr .= $bcs . ","; }
|
||||
}
|
||||
return $self->localise('ERR_COUNTRY_NOT_EXIST: {$listerr}', {listerr=> "$listerr"}) if $listerr;
|
||||
}
|
||||
return 'OK';
|
||||
}
|
||||
|
||||
|
||||
#Subroutine to list counries codes
|
||||
sub generateCodes
|
||||
{
|
||||
my $self = shift;
|
||||
my $q = $self->{cgi};
|
||||
|
||||
$self->turn_off_buttons();
|
||||
|
||||
my $file = "/usr/share/xt_geoip/geoip_countries_list.txt";
|
||||
unless ( -e $file ) {
|
||||
print $q->p($q->b($self->localise('INVALID_CODES_LIST')));
|
||||
return '';
|
||||
}
|
||||
|
||||
print $q->h3($self->localise('COUNTRY_LIST'));
|
||||
|
||||
open( XTGEOIPCODES, $file );
|
||||
print "<pre>\n";
|
||||
|
||||
while (<XTGEOIPCODES>)
|
||||
{
|
||||
print;
|
||||
}
|
||||
|
||||
close XTGEOIPCODES;
|
||||
print "</pre>\n";
|
||||
|
||||
print $q->h3($self->localise('END_OF_CODES'));
|
||||
return '';
|
||||
|
||||
}
|
||||
|
||||
|
||||
#Subroutine to list other services codes
|
||||
sub otherServices
|
||||
{
|
||||
my ($self, $choice) = @_;
|
||||
|
||||
my %serv_ok = map { $_ => 1} split(/,/, $db->get_prop("masq", "XtServices"));
|
||||
# unless $choice eq 'all';
|
||||
|
||||
my @serv_others = ();
|
||||
|
||||
for ($db->get_all_by_prop(type => 'service'))
|
||||
{
|
||||
next unless $_->prop('TCPPort');
|
||||
# if ( $_->prop('TCPPort')) {
|
||||
|
||||
# push @serv_others, $_->key unless exists( $serv_ok{$_->key});
|
||||
push @serv_others, $_->key unless $choice eq 'sel' and not exists( $serv_ok{$_->key});
|
||||
# }
|
||||
}
|
||||
|
||||
return \@serv_others;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#Subroutine to update list services codes
|
||||
sub do_otherServices
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
my $q = $self->{'cgi'};
|
||||
|
||||
my @selected = $q->param('SelectedServices');
|
||||
|
||||
my $serv1 = ($db->get_prop("masq", "XtServices")) || '';
|
||||
my $serv2 = join( ',', @selected);
|
||||
|
||||
$self->wherenext('First');
|
||||
|
||||
return $self->success("NO_CHANGE") if ( $serv1 eq $serv2);
|
||||
|
||||
$db->set_prop("masq", "XtServices", $serv2);
|
||||
|
||||
return $self->success("SUCCESS");
|
||||
}
|
||||
|
||||
|
||||
1;
|
@ -0,0 +1,561 @@
|
||||
package SrvMngr::Controller::Xt_geoip;
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# heading : Security
|
||||
# description : GeoIP IP filtering
|
||||
# navigation : 5000 5610
|
||||
|
||||
# name : xt_geoip, method : get, url : /xt_geoip, ctlact : Xt_geoip#main
|
||||
# name : xt_geoipd, method : post, url : /xt_geoip, ctlact : Xt_geoip#do_display
|
||||
# name : xt_geoipc, method : get, url : /xt_geoipb, ctlact : Xt_geoip#do_display
|
||||
# name : xt_geoipu, method : post, url : /xt_geoipb, ctlact : Xt_geoip#do_action
|
||||
#
|
||||
# routes : end
|
||||
#----------------------------------------------------------------------
|
||||
use strict;
|
||||
use warnings;
|
||||
use Mojo::Base 'Mojolicious::Controller';
|
||||
|
||||
use POSIX qw(strftime);
|
||||
|
||||
use Locale::gettext;
|
||||
use SrvMngr::I18N;
|
||||
|
||||
use SrvMngr qw( theme_list init_session );
|
||||
|
||||
our $cdb = esmith::ConfigDB->open() or die "Couldn't open ConfigDB\n";
|
||||
|
||||
|
||||
sub main {
|
||||
|
||||
my $c = shift;
|
||||
$c->app->log->info($c->log_req);
|
||||
|
||||
my $title = $c->render_to_string(inline =>($c->l('xtg_FORM_TITLE')));
|
||||
|
||||
my %xtg_datas = ();
|
||||
$xtg_datas{'choice'} = '';
|
||||
|
||||
$c->stash( title => $title, xtg_datas => \%xtg_datas);
|
||||
$c->render('xt_geoip');
|
||||
};
|
||||
|
||||
|
||||
sub do_display {
|
||||
|
||||
my $c = shift;
|
||||
$c->app->log->info($c->log_req);
|
||||
|
||||
my $title = $c->render_to_string(inline =>($c->l('xtg_FORM_TITLE')));
|
||||
|
||||
my $choice = $c->param('Choice');
|
||||
|
||||
my $result;
|
||||
my %xtg_datas = ();
|
||||
$xtg_datas{'choice'} = $choice;
|
||||
|
||||
if ( $choice eq 'LCOD' ) {
|
||||
|
||||
$result = $c->generateCodes();
|
||||
|
||||
# $c->stash( title => $title, modul => $result, xtg_datas => \%xtg_datas );
|
||||
# return $c->render('xt_geoip_lst');
|
||||
};
|
||||
|
||||
if ( $choice eq 'LF2B' ) {
|
||||
|
||||
$result = $c->generateStats( 'f2b' );
|
||||
# $result = $c->render_to_string(inline => generateStats($c, 'f2b'));
|
||||
|
||||
# $c->stash( title => $title, modul => $result, xtg_datas => \%xtg_datas );
|
||||
# return $c->render('xt_geoip_lst');
|
||||
};
|
||||
|
||||
if ( $choice eq 'LSSH' ) {
|
||||
|
||||
$result = $c->generateStats( 'ssh' );
|
||||
# $result = $c->render_to_string(inline => generateStats($c, 'ssh'));
|
||||
|
||||
# $c->stash( title => $title, modul => $result, xtg_datas => \%xtg_datas );
|
||||
# return $c->render('xt_geoip_lst');
|
||||
};
|
||||
|
||||
if ( $choice eq 'LIPT' ) {
|
||||
|
||||
$result = $c->generateStats( 'ipt' );
|
||||
|
||||
# $c->stash( title => $title, modul => $result, xtg_datas => \%xtg_datas );
|
||||
# return $c->render('xt_geoip_lst');
|
||||
};
|
||||
|
||||
if ( $choice eq 'LSRV' ) {
|
||||
# $c->stash( title => $title, xtg_datas => \%xtg_datas );
|
||||
# return $c->render('xt_geoip_lsrv');
|
||||
}
|
||||
|
||||
if ( $choice eq 'UPDT' ) {
|
||||
# $c->stash( title => $title, xtg_datas => \%xtg_datas );
|
||||
# return $c->render('xt_geoip_updt');
|
||||
}
|
||||
|
||||
if ( $choice eq 'UPDS' ) {
|
||||
|
||||
$xtg_datas{name} = $c->param('Name');
|
||||
|
||||
# $c->stash( title => $title, xtg_datas => \%xtg_datas );
|
||||
# return $c->render('xt_geoip_upds');
|
||||
}
|
||||
|
||||
if ( $choice eq 'REMS' ) {
|
||||
|
||||
$xtg_datas{name} = $c->param('Name');
|
||||
|
||||
# $c->stash( title => $title, xtg_datas => \%xtg_datas );
|
||||
# return $c->render('xt_geoip_rems');
|
||||
}
|
||||
|
||||
$c->stash( title => $title, modul => $result, xtg_datas => \%xtg_datas );
|
||||
|
||||
return $c->render( 'xt_geoip_lst' ) if ( $choice ~~ [ 'LCOD', 'LF2B', 'LSSH', 'LIPT' ] );
|
||||
|
||||
return $c->render( 'xt_geoip'.'_'.lc($choice) ) if ( $choice ~~ [ 'UPDT', 'UPDS', 'REMS', 'LSRV' ] );
|
||||
|
||||
$c->redirect_to('/xt_geoip');
|
||||
|
||||
};
|
||||
|
||||
|
||||
sub do_action {
|
||||
|
||||
my $c = shift;
|
||||
$c->app->log->info($c->log_req);
|
||||
|
||||
my $rt = $c->current_route;
|
||||
|
||||
my $title = $c->render_to_string(inline =>($c->l('xtg_FORM_TITLE')));
|
||||
my %xtg_datas = ();
|
||||
|
||||
my $choice = $c->param('Choice');
|
||||
$xtg_datas{'choice'} = $choice;
|
||||
|
||||
my ($res, $result) = '';
|
||||
|
||||
|
||||
if ( $choice eq 'LSRV' ) {
|
||||
|
||||
#$result .= 'Blocked for testing ! Avoid updates for now ';
|
||||
|
||||
$res = '';
|
||||
if ( ! $result ) {
|
||||
$res = $c->do_otherServices();
|
||||
$result .= $res unless $res eq 'OK';
|
||||
if ( ! $result ) {
|
||||
$result = $c->l('xtg_SERVICE_SUCCESS');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( $choice eq 'UPDT' ) {
|
||||
|
||||
$res = $c->must_exist();
|
||||
$result .= $res unless $res eq 'OK';
|
||||
|
||||
#$result .= 'Blocked for testing ! Avoid updates for now ';
|
||||
|
||||
$res = '';
|
||||
if ( ! $result ) {
|
||||
$res = $c->change_settings();
|
||||
$result .= $res unless $res eq 'OK';
|
||||
if ( ! $result ) {
|
||||
$result = $c->l('xtg_SUCCESS');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ( $choice eq 'REMS' ) {
|
||||
|
||||
#$result .= 'Blocked for testing ! Avoid updates for now ';
|
||||
|
||||
my $name = $c->param('Name');
|
||||
$xtg_datas{name} = $name;
|
||||
|
||||
$res = '';
|
||||
if ( ! $result ) {
|
||||
$res = $c->remove_serv();
|
||||
$result .= $res unless $res eq 'OK';
|
||||
if ( ! $result ) {
|
||||
$result = $c->l('xtg_SUCCESSFULLY_DELETED_SERVICE');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ( $choice eq 'UPDS' ) {
|
||||
|
||||
#$result .= 'Blocked for testing ! Avoid updates for now ';
|
||||
|
||||
my $name = $c->param('Name');
|
||||
$xtg_datas{name} = $name;
|
||||
|
||||
$res = '';
|
||||
if ( ! $result ) {
|
||||
$res = $c->modify_serv();
|
||||
$result .= $res unless $res eq 'OK';
|
||||
if ( ! $result ) {
|
||||
$result = $c->l('xtg_SERVICE_SUCCESS');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# common parts
|
||||
if ($res ne 'OK') {
|
||||
$c->stash( error => $result );
|
||||
$c->stash( title => $title, xtg_datas => \%xtg_datas );
|
||||
return $c->render( 'xt_geoip'.'_'.lc($choice) );
|
||||
}
|
||||
|
||||
my $message = "xt_geoip updates $choice DONE";
|
||||
$c->app->log->info($message);
|
||||
$c->flash( success => $result );
|
||||
## $c->flash( error => 'No changes applied !!' );
|
||||
|
||||
#return to 'xt_geoip' route !!!
|
||||
$c->redirect_to('/xt_geoip');
|
||||
|
||||
};
|
||||
|
||||
|
||||
sub get_badcountries {
|
||||
|
||||
my $c = shift;
|
||||
my $full = shift;
|
||||
|
||||
my $badc = $cdb->get_prop("masq", "BadCountries") || "";
|
||||
return $badc unless $full ;
|
||||
|
||||
my $rev = (($cdb->get_prop("masq", "XTGeoipRev")||"disabled") eq "enabled") ? "!=" : "==";
|
||||
return "$rev $badc ";
|
||||
}
|
||||
|
||||
|
||||
sub get_geoip {
|
||||
return $cdb->get_prop("masq", "GeoIP") || 'disabled';
|
||||
}
|
||||
|
||||
|
||||
sub get_reverse {
|
||||
|
||||
my $c = shift;
|
||||
my $item = shift;
|
||||
my $prop = shift;
|
||||
|
||||
$item = ($item eq 'masq') ? $item : $c->param('Name');
|
||||
return $cdb->get_prop("$item", "$prop") || "disabled";
|
||||
}
|
||||
|
||||
|
||||
sub get_stat_geoip {
|
||||
|
||||
my $c = shift;
|
||||
if ( system ( "/bin/test -f /lib/modules/`/bin/uname -r`/weak-updates/xtables-addons/xt_geoip.ko") != 0 ) {
|
||||
return $c->l('xtg_ERROR_MISSING_MODULE');
|
||||
} elsif ( system ( "/sbin/lsmod | grep 'xt_geoip' > /dev/null") != 0 ) {
|
||||
return $c->l('xtg_ERROR_UNLOADED_MODULE');
|
||||
} elsif ( get_geoip() eq 'enabled' && system ( "/sbin/iptables -L -n | grep 'XTGeoIP' > /dev/null") != 0 ) {
|
||||
return $c->l('xtg_ERROR_FILTER_CHAIN_MISSING');
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sub get_stat_license_key {
|
||||
|
||||
my $c = shift;
|
||||
if (($cdb->get_prop( 'geoip','status' ) || 'disabled') eq 'enabled' ) {
|
||||
if ( ($cdb->get_prop( 'geoip','LicenseKey' ) || '') ne '' ) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
return $c->l('xtg_ERROR_LICENSE_KEY');
|
||||
}
|
||||
|
||||
|
||||
sub get_date_update {
|
||||
my $file = "/usr/share/xt_geoip/LE/A1.iv4";
|
||||
my $filetime = ( -e $file ) ? (stat($file))[9] : 0;
|
||||
return strftime("%Y/%m/%d %H:%M", localtime( $filetime )) || '';
|
||||
}
|
||||
|
||||
|
||||
sub get_srv_name {
|
||||
my ($c) = @_;
|
||||
return $c->param('Name');
|
||||
}
|
||||
|
||||
|
||||
sub get_services_table {
|
||||
|
||||
my $c = shift;
|
||||
my $choice = shift || 'sel';
|
||||
|
||||
my @services;
|
||||
my @serv_rec;
|
||||
|
||||
if ( $choice ne 'all' ) {
|
||||
@services = split(/,/, $cdb->get_prop("masq", "XtServices"));
|
||||
for ( @services ) {
|
||||
my $rec = $cdb->get( $_ );
|
||||
push @serv_rec, $rec if ( $rec && $rec->prop('TCPPort') );
|
||||
}
|
||||
} else {
|
||||
for ($cdb->get_all_by_prop(type => 'service')) {
|
||||
push @serv_rec, $_ if ( $_->prop('TCPPort') );
|
||||
}
|
||||
}
|
||||
return \@serv_rec;
|
||||
}
|
||||
|
||||
sub get_srv_badcountries {
|
||||
my ( $c, $name, $full ) = @_;
|
||||
|
||||
my $badc = $cdb->get_prop($name, "BadCountries")||"";
|
||||
return $badc unless $full ;
|
||||
|
||||
my $rev = (($cdb->get_prop($name, "XTGeoipRev")||"disabled") eq "enabled") ? "!=" : "==";
|
||||
return "$rev $badc ";
|
||||
}
|
||||
|
||||
|
||||
#Subroutine to list statistics
|
||||
sub generateStats {
|
||||
|
||||
my $c = shift;
|
||||
my $stats_type = shift;
|
||||
my $out = '';
|
||||
|
||||
# Untaint $name before use in system()
|
||||
$stats_type =~ /(.+)/; $stats_type = $1;
|
||||
if ($stats_type ne "ipt" and $stats_type ne "ssh" and $stats_type ne "f2b") {
|
||||
$out .= sprintf("<h3>%s %s </h3>", $c->l('xtg_INVALID_STATS_TYPE'), $stats_type);
|
||||
return $out;
|
||||
}
|
||||
|
||||
# my $now_string = $c->gen_locale_date_string();
|
||||
my $file = "/var/lib/xt_geoip/extA_" . $stats_type . "_country.lst";
|
||||
my $filetime = ( -e $file ) ? (stat($file))[9] : 0;
|
||||
my $date_string = strftime("%Y/%m/%d %H:%M", localtime( $filetime )) || '';
|
||||
|
||||
$out .= sprintf("<h3>%s %s %s</h3>", $c->l('xtg_STATS_GENERATED'), $stats_type, $date_string);
|
||||
|
||||
open( Xt_GEOIPSTATS, $file );
|
||||
$out .= sprintf "<pre>";
|
||||
|
||||
while (<Xt_GEOIPSTATS>)
|
||||
{
|
||||
$out .= sprintf("%s", $_);
|
||||
}
|
||||
|
||||
close Xt_GEOIPSTATS;
|
||||
$out .= sprintf "</pre>";
|
||||
|
||||
$out .= sprintf("<h3>%s</h3>", $c->l('xtg_END_OF_STATS'));
|
||||
return $out;
|
||||
}
|
||||
|
||||
|
||||
#Subroutine to list counries codes
|
||||
sub generateCodes {
|
||||
|
||||
my $c = shift;
|
||||
|
||||
my $out = '';
|
||||
|
||||
# my $now_string = $c->gen_locale_date_string();
|
||||
my $file = "/usr/share/xt_geoip/geoip_countries_list.txt";
|
||||
unless ( -e $file ) {
|
||||
$out .= "<br>" . $c->l('xtg_INVALID_CODES_LIST');
|
||||
return $out;
|
||||
}
|
||||
|
||||
my $filetime = ( -e $file ) ? (stat($file))[9] : 0;
|
||||
my $date_string = strftime("%Y/%m/%d %H:%M", localtime( $filetime )) || '';
|
||||
|
||||
$out .= sprintf("<h3>%s %s </h3>", $c->l('xtg_COUNTRY_LIST'), $date_string);
|
||||
|
||||
|
||||
open( Xt_GEOIPCODES, $file );
|
||||
|
||||
$out .= sprintf "<pre>";
|
||||
|
||||
while (<Xt_GEOIPCODES>) {
|
||||
$out .= sprintf("%s", $_);
|
||||
}
|
||||
|
||||
close Xt_GEOIPCODES;
|
||||
$out .= sprintf "</pre>";
|
||||
|
||||
$out .= sprintf("<h3>%s</h3>", $c->l('xtg_END_OF_CODES'));
|
||||
|
||||
return $out;
|
||||
}
|
||||
|
||||
|
||||
#Subroutine to list other services codes
|
||||
sub otherServices {
|
||||
|
||||
my ($c, $choice) = @_;
|
||||
|
||||
my %serv_ok = map { $_ => 1} split(/,/, $cdb->get_prop("masq", "XtServices"));
|
||||
# unless $choice eq 'all';
|
||||
|
||||
my @serv_others = ();
|
||||
|
||||
for ($cdb->get_all_by_prop(type => 'service')) {
|
||||
next unless $_->prop('TCPPort');
|
||||
# if ( $_->prop('TCPPort')) {
|
||||
|
||||
# push @serv_others, $_->key unless exists( $serv_ok{$_->key});
|
||||
push @serv_others, $_->key unless $choice eq 'sel' and not exists( $serv_ok{$_->key});
|
||||
# }
|
||||
}
|
||||
|
||||
return \@serv_others;
|
||||
}
|
||||
|
||||
|
||||
#Subroutine to update list services codes
|
||||
sub do_otherServices {
|
||||
|
||||
my $c = shift;
|
||||
|
||||
my $serv1 = ($cdb->get_prop("masq", "XtServices")) || '';
|
||||
my $serv2 = join( ',', @{$c->every_param('Selectedservices')} );
|
||||
|
||||
$cdb->set_prop("masq", "XtServices", $serv2) if ( $serv1 ne $serv2);
|
||||
|
||||
return 'OK';
|
||||
}
|
||||
|
||||
|
||||
sub change_settings {
|
||||
|
||||
my $c = shift;
|
||||
|
||||
my $mq_bc = get_badcountries();
|
||||
my $mq_gp = get_geoip();
|
||||
my $masq = $cdb->get('masq') || "disabled";
|
||||
my $mq_rv = $masq->prop('XTGeoipRev') || 'disabled';
|
||||
my $mq_ot = $masq->prop('XTGeoipOther') || 'disabled';
|
||||
|
||||
my $n_mq_bc = $c->param("Masq_badcountries");
|
||||
my $n_mq_gp = $c->param("Masq_geoip") || $mq_gp;
|
||||
my $n_upd_gp = $c->param("Update_geoip") || '';
|
||||
my $n_mq_rv = $c->param("Masq_reverse") || $mq_rv ;
|
||||
my $n_mq_ot = $c->param("Masq_others") || $mq_ot ;
|
||||
|
||||
if (($n_mq_bc eq $mq_bc) && ($n_mq_gp eq $mq_gp) && ($n_upd_gp eq 'NO') && ($n_mq_rv eq $mq_rv) && ($n_mq_ot eq $mq_ot)) {
|
||||
return 'OK'
|
||||
}
|
||||
|
||||
$cdb->set_prop("masq", "BadCountries", $n_mq_bc);
|
||||
$cdb->set_prop("masq", "GeoIP", $n_mq_gp);
|
||||
$cdb->set_prop("masq", "XTGeoipRev", $n_mq_rv);
|
||||
$cdb->set_prop("masq", "XTGeoipOther", $n_mq_ot);
|
||||
|
||||
my $eventloc = "xt_geoip-modify";
|
||||
$eventloc = "xt_geoip-update" if $n_upd_gp eq 'YES';
|
||||
|
||||
unless ( system ( "/sbin/e-smith/signal-event", $eventloc ) == 0 ) {
|
||||
return $c->l("xtg_ERROR_UPDATING");
|
||||
}
|
||||
return 'OK';
|
||||
}
|
||||
|
||||
|
||||
=head2 valid_badcountries
|
||||
|
||||
subroutine to validate countries.
|
||||
=cut
|
||||
|
||||
sub must_exist {
|
||||
|
||||
my $c = shift;
|
||||
|
||||
my $listerr = "";
|
||||
my @mq_bcs = split /[,:]/, $c->param("Masq_badcountries");
|
||||
if (@mq_bcs) {
|
||||
my $ctr = @mq_bcs;
|
||||
|
||||
return $c->l('xtg_ERROR_COUNTRY_MAX', $ctr) if ($ctr > 50);
|
||||
|
||||
foreach my $bcs (@mq_bcs) {
|
||||
my $file = "/usr/share/xt_geoip/LE/" . $bcs . ".iv4";
|
||||
if (! -f $file) { $listerr .= $bcs . ","; }
|
||||
}
|
||||
|
||||
return $c->l('xtg_ERROR_COUNTRY_NOT_EXIST', $listerr) if $listerr;
|
||||
}
|
||||
return 'OK';
|
||||
}
|
||||
|
||||
|
||||
sub remove_serv {
|
||||
|
||||
my ( $c ) = @_;
|
||||
my $name = $c->param('Name');
|
||||
|
||||
# Untaint $name before use in system()
|
||||
$name =~ /(.+)/; $name = $1;
|
||||
|
||||
if (my $serv = $cdb->get($name)) {
|
||||
my $servBC = $serv->prop('BadCountries') || '';
|
||||
if ($servBC ne '') {
|
||||
my $tps = $cdb->get_prop_and_delete($name, "BadCountries");
|
||||
$tps = $cdb->get_prop_and_delete($name, "XTGeoipRev");
|
||||
|
||||
unless (system ("/sbin/e-smith/signal-event", "xt_geoip-service") == 0) {
|
||||
return $c->l("xtg_ERROR_WHILE_DELETING_SERVICE").' '.$name;
|
||||
}
|
||||
return 'OK';
|
||||
}
|
||||
} else {
|
||||
return $c->l('xtg_CANT_FIND_SERV');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sub modify_serv {
|
||||
|
||||
my ($c) = @_;
|
||||
my $name = $c->param('Name');
|
||||
|
||||
# Untaint $name before use in system()
|
||||
$name =~ /(.+)/; $name = $1;
|
||||
|
||||
if (my $serv = $cdb->get($name)) {
|
||||
my $servBC = $serv->prop('BadCountries') || '';
|
||||
my $servRev = $serv->prop('XTGeoipRev') || 'disabled';
|
||||
|
||||
my $n_servBC = $c->param("Masq_srv_badcountries");
|
||||
my $n_servRev = $c->param("Masq_srv_reverse") || $servRev;
|
||||
|
||||
if ($n_servBC eq $servBC && $n_servRev eq $servRev ) {
|
||||
return 'OK';
|
||||
}
|
||||
|
||||
$cdb->set_prop($name, "BadCountries", $n_servBC);
|
||||
$cdb->set_prop($name, "XTGeoipRev", $n_servRev);
|
||||
|
||||
unless (system ( "/sbin/e-smith/signal-event", "xt_geoip-service" ) == 0 ) {
|
||||
return $c->l("xtg_ERROR_UPDATING").' '.$name;
|
||||
}
|
||||
return 'OK';
|
||||
} else {
|
||||
return $c->l('xtg_CANT_FIND_SERV');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
1;
|
@ -0,0 +1,69 @@
|
||||
'xtg_FORM_TITLE' => 'XTABLES-ADDONS Administration<br>GeoIP',
|
||||
'xtg_ERROR_UPDATING' => 'There was an error while updating xt_geoip.',
|
||||
'xtg_SUCCESS' => 'Successful change... Now IP filtering takes into account the countries entered.',
|
||||
'xtg_SERVICE_SUCCESS' => 'Successful change... Now IP filtering takes into account the new services list.',
|
||||
'xtg_XT_GEOIP_STATUS_DESCRIPTION' => ' <ul><li>IP filtering can be enabled or disabled with the appropriate button</li>
|
||||
<li>Codes of the countries to be banished can be entered in the corresponding field</li>
|
||||
<li>An immediate update of the table can be requested here</li></ul>
|
||||
<p><i>Be careful not to ban the IP addresses needed to run your server !</i></p> ',
|
||||
'xtg_NO_CHANGE' => 'No change... no update !',
|
||||
'xtg_LABEL_GEOIP_STATUS' => 'Current GEOIP filtering : ',
|
||||
'xtg_LABEL_GEOIP' => 'GEOIP filtering desired : ',
|
||||
'xtg_DESC_GEOIP' => 'Should filtering by country of origin be activated ?',
|
||||
'xtg_ERROR_STATUS_GEOIP' => ' <font color="red">GEOIP filtering is <b>inactive</b></font> (iptables) ',
|
||||
'xtg_LABEL_BADCOUNTRIES_STATUS' => 'Current list of banished country codes : ',
|
||||
'xtg_ERROR_COUNTRY_NOT_EXIST' => 'Country code(s) does not exist on the server: [_1]',
|
||||
'xtg_LABEL_BADCOUNTRIES' => 'New country codes to be used :',
|
||||
'xtg_DESC_BADCOUNTRIES' => 'List of country codes (uppercase et comma-separated).',
|
||||
'xtg_LABEL_DATE_UPDATE_STATUS' => 'Last update of GeoIP table :',
|
||||
'xtg_LABEL_UPDATE' => 'Force the update of GeoIP table :',
|
||||
'xtg_DESC_UPDATE' => 'GeoIP table is updated every week, but you can ...',
|
||||
'xtg_IPT_LIST_DESCRIPTION' => '<ul><li>Click here to see the statistics of the prevented connections</li></ul> ',
|
||||
'xtg_IPT_LIST' => 'Filtered',
|
||||
'xtg_SSH_LIST_DESCRIPTION' => '<ul><li>Click here to see the statistics of SSH errors for non blocked access</li></ul> ',
|
||||
'xtg_SSH_LIST' => 'SSH errors',
|
||||
'xtg_F2B_LIST_DESCRIPTION' => '<ul><li>Click here to see the statistics of the connections banned by fail2ban</li></ul> ',
|
||||
'xtg_F2B_LIST' => 'F2b banned',
|
||||
'xtg_STATS_GENERATED' => 'Statistics generated',
|
||||
'xtg_END_OF_STATS' => 'End of Statistics',
|
||||
'xtg_INVALID_STATS_TYPE' => 'Invalid type of statistics',
|
||||
'xtg_STATS_DESCRIPTION' => '<HR class="sme-copyrightbar"> <h3>Statistics for Xt_GeoIP</h3><ul>
|
||||
<li>For 3 periods : Day, Week and Month</li>
|
||||
<li>Banned Ips by country sorted by number</li>
|
||||
<li>Ssh errors by country sorted by number</li>
|
||||
<li>Fail2ban banned IPs by country sorted by number</li>
|
||||
</ul><p><i>XX means Country not found !</i></p> ',
|
||||
'xtg_COUNTRY_LIST_DESCRIPTION' => '<ul><li>Click here to see a <b>list of available country codes</b></li></ul> ',
|
||||
'xtg_LABEL_COUNTRY_LIST' => 'Country codes : ',
|
||||
'xtg_COUNTRY_LIST' => 'Country codes',
|
||||
'xtg_CNTRY_LIST' => 'List',
|
||||
'xtg_END_OF_CODES' => 'End of code list',
|
||||
'xtg_SERVICE_DESCRIPTION' => 'Per service filtering for Xtables GeoIP',
|
||||
'xtg_SERVICE_DESCRIPTION2' => '<ul><li>If you want different filtering based on services</li></ul>',
|
||||
'xtg_LABEL_SERVICE' => 'Service name : ',
|
||||
'xtg_PER_SERVICE_GEOIP' => 'Services',
|
||||
'xtg_ADD_SERVICE' => 'Add or modify a per service filtering',
|
||||
'xtg_ADD_DESC' => 'You are choosing a particular country filtering for this service',
|
||||
'xtg_REMOVE_SERVICE' => 'Delete a per service filtering',
|
||||
'xtg_REMOVE_DESC' => 'You are deleting a filtering by service. The general filtering will then apply.',
|
||||
'xtg_SERV_NOT_BAN' => 'Unfiltered service.',
|
||||
'xtg_NO_SERVICES' => 'No services.',
|
||||
'xtg_LABEL_SERV_BADCOUNTRIES_STATUS' => 'List of rejected country codes for the service : ',
|
||||
'xtg_SUCCESSFULLY_DELETED_SERVICE' => 'Per service filtering successfully deleted... New filtering taken into account.',
|
||||
'xtg_BADCOUNTRIES' => 'Blacklist',
|
||||
'xtg_ERROR_COUNTRY_MAX' => 'Too many countries chosen: [_1]',
|
||||
'xtg_LABEL_REVERSE_MATCH' => 'Reject if',
|
||||
'xtg_DESC_REVERSE_MATCH' => 'The following option allow to chose if you want reject visitors from the country list (==) which is the default behaviour, or if you want to only let them in (!=).',
|
||||
'xtg_LABEL_OTHERS' => 'General filter only for services without rules',
|
||||
'xtg_DESC_OTHERS' => 'Choose if you want to have the general filter to apply to all incoming connections or if you do not want to filter ports already defined with a specific service rule. This would allow you to have a service less restricted than the general rule if you enable this.',
|
||||
'xtg_SERVICE_LIST_DESCRIPTION' => '<ul><li>Click here to select <b>new </b>services among an <b>available services list</b></li></ul> ',
|
||||
'xtg_LABEL_SERVICE_LIST' => 'Service codes : ',
|
||||
'xtg_SERV_LIST' => 'List',
|
||||
'xtg_DESC_AVAILABLE_SERVICES' => ' <h2> New Services selection</h2>
|
||||
<ul><li>Select here among the other services not yet managed individually.
|
||||
</li><li>You may select one or more elements. Generally <b>enabled and public</b> ones.</li></ul> ',
|
||||
'xtg_LABEL_AVAILABLE_SERVICES' => 'Available Services',
|
||||
'xtg_ERROR_LICENSE_KEY' => 'GEOIP license key unavailable. Downloading is <b>inactive</b>',
|
||||
'xtg_ERROR_MISSING_MODULE' => 'Module xt_geoip is missing. GeoIP based filtering is <b>inactive</b>',
|
||||
'xtg_ERROR_UNLOADED_MODULE' => 'Module xt_geoip not loaded. GeoIP based filtering is <b>inactive</b>',
|
||||
'xtg_ERROR_FILTER_CHAIN_MISSING' => 'Filtering chain XTGeoIP is not in use. GeoIP based filtering is <b>inactive</b>',
|
@ -0,0 +1,14 @@
|
||||
<div>
|
||||
|
||||
<HR class='sme-copyrightbar'>
|
||||
|
||||
%= form_for '/xt_geoip' => (method => 'POST') => begin
|
||||
|
||||
%= $c->render_to_string(inline => l('xtg_COUNTRY_LIST_DESCRIPTION'));
|
||||
%= submit_button l 'xtg_CNTRY_LIST', class => 'action'
|
||||
%= hidden_field 'Choice' => 'LCOD'
|
||||
|
||||
% end
|
||||
</div>
|
||||
|
||||
<!-- button_to l('xtg_CNTRY_LIST') => "/xt_geoip" => (class => 'action') -->
|
@ -0,0 +1,65 @@
|
||||
<div>
|
||||
|
||||
<HR class='sme-copyrightbar'>
|
||||
|
||||
%= form_for '/xt_geoip' => (method => 'POST') => begin
|
||||
|
||||
<h2>
|
||||
%= l('xtg_SERVICE_DESCRIPTION')
|
||||
</h2>
|
||||
%= $c->render_to_string(inline => l('xtg_SERVICE_DESCRIPTION2'));
|
||||
|
||||
% my @services = @{$c->get_services_table('sel')};
|
||||
% if (scalar @services == 0) {
|
||||
%=l 'xtg_NO_SERVICES'
|
||||
% } else {
|
||||
<table class="sme-border"><tbody>
|
||||
<tr><th class='sme-border'>
|
||||
%=l 'NAME'
|
||||
</th><th class='sme-border'>
|
||||
%=l 'PORT'
|
||||
</th><th class='sme-border'>
|
||||
%=l 'STATUS'
|
||||
</th><th class='sme-border'>
|
||||
%=l 'ACCESS'
|
||||
</th><th class='sme-border'>
|
||||
%=l 'xtg_BADCOUNTRIES'
|
||||
</th><th class='sme-border' colspan='2'>
|
||||
%=l 'ACTION'
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
% foreach my $sv (@services) {
|
||||
% my $svBC = $sv->prop('BadCountries') || ' ';
|
||||
% my $svRev = (( $sv->prop('Xt_geoipRev')|| 'disabled') eq 'disabled' )? '==': '!=';
|
||||
% my $color = 'red';
|
||||
% my $deco= "none";
|
||||
% if ($svRev eq '!=' ) { $color = 'green'; }
|
||||
% if ($sv->prop('status') eq 'disabled' || $sv->prop('access') ne 'public') { $color = 'grey'; $deco= "line-through"; }
|
||||
% my $BC = "<font color='$color' style='text-decoration: $deco'>"."$svRev $svBC"."</font>";
|
||||
|
||||
<tr>
|
||||
%= t td => (class => 'sme-border') => $sv->key
|
||||
%= t td => (class => 'sme-border') => $sv->prop('TCPPort')
|
||||
%= t td => (class => 'sme-border') => $sv->prop('status')
|
||||
%= t td => (class => 'sme-border') => $sv->prop('access')
|
||||
%= t td => (class => 'sme-border') => $c->render_to_string(inline => $BC)
|
||||
|
||||
% my $actionModify = "<a href='xt_geoipb?Choice=UPDS&Name=" . $sv->key . "'>" . l('MODIFY') . "</a>";
|
||||
% my $actionRemove = "<a href='xt_geoipb?Choice=REMS&Name=" . $sv->key . "'>" . l('REMOVE') . "</a>";
|
||||
|
||||
<td class='sme-border'><%= $c->render_to_string(inline => $actionModify) %></td>
|
||||
<td class='sme-border'><%= $c->render_to_string(inline => $actionRemove) %></td>
|
||||
</tr>
|
||||
% }
|
||||
</tbody></table>
|
||||
% }
|
||||
|
||||
%= $c->render_to_string(inline => l('xtg_SERVICE_LIST_DESCRIPTION'));
|
||||
|
||||
%= submit_button l 'xtg_SERV_LIST', class => 'action'
|
||||
%= hidden_field 'Choice' => 'LSRV'
|
||||
|
||||
% end
|
||||
|
||||
</div>
|
@ -0,0 +1,33 @@
|
||||
<div>
|
||||
|
||||
<h3>
|
||||
%= $c->render_to_string(inline => l('xtg_STATS_DESCRIPTION'));
|
||||
</h3>
|
||||
|
||||
%= form_for '/xt_geoip' => (method => 'POST') => begin
|
||||
|
||||
%= $c->render_to_string(inline => l('xtg_IPT_LIST_DESCRIPTION'));
|
||||
%= submit_button l 'xtg_IPT_LIST', class => 'action'
|
||||
%= hidden_field 'Choice' => 'LIPT'
|
||||
|
||||
% end
|
||||
|
||||
%= form_for '/xt_geoip' => (method => 'POST') => begin
|
||||
|
||||
%= $c->render_to_string(inline => l('xtg_SSH_LIST_DESCRIPTION'));
|
||||
|
||||
%= submit_button l 'xtg_SSH_LIST', class => 'action'
|
||||
%= hidden_field 'Choice' => 'LSSH'
|
||||
|
||||
% end
|
||||
|
||||
%= form_for '/xt_geoip' => (method => 'POST') => begin
|
||||
|
||||
%= $c->render_to_string(inline => l('xtg_F2B_LIST_DESCRIPTION'));
|
||||
|
||||
%= submit_button l 'xtg_F2B_LIST', class => 'action'
|
||||
%= hidden_field 'Choice' => 'LF2B'
|
||||
|
||||
% end
|
||||
|
||||
</div>
|
@ -0,0 +1,74 @@
|
||||
% layout 'default', title => "Smanager - xt_geoip";
|
||||
|
||||
% content_for 'module' => begin
|
||||
|
||||
<div id="module" class="module xt_geoip-panel">
|
||||
|
||||
%if ($config->{debug} == 1) {
|
||||
<p>
|
||||
%= dumper $c->current_route
|
||||
%= dumper $xtg_datas
|
||||
</p>
|
||||
%}
|
||||
|
||||
% if ( stash 'error' ) {
|
||||
<br><div class=sme-error>
|
||||
%= $c->render_to_string(inline => stash 'error')
|
||||
</div>
|
||||
%}
|
||||
|
||||
<h1><%= $title %></h1>
|
||||
|
||||
<br>
|
||||
%= $c->render_to_string(inline => l('xtg_XT_GEOIP_STATUS_DESCRIPTION'));
|
||||
<br>
|
||||
|
||||
%= form_for '/xt_geoip' => (method => 'POST') => begin
|
||||
|
||||
<p><span class=label>
|
||||
%=l 'xtg_LABEL_GEOIP_STATUS'
|
||||
</span><span class=input>
|
||||
%= $c->get_geoip()
|
||||
</span></p>
|
||||
|
||||
<p><span class=label>
|
||||
%=l 'xtg_LABEL_BADCOUNTRIES_STATUS'
|
||||
</span><span class=input>
|
||||
%= $c->get_badcountries(1)
|
||||
</span></p>
|
||||
|
||||
<p><span class=label>
|
||||
%=l 'xtg_LABEL_DATE_UPDATE_STATUS'
|
||||
</span><span class=input>
|
||||
%= $c->get_date_update()
|
||||
</span></p>
|
||||
|
||||
% if ( my $st_geoip = $c->get_stat_geoip() ) {
|
||||
<div class=sme-error>
|
||||
%= $c->render_to_string(inline => $st_geoip);
|
||||
</div>
|
||||
%}
|
||||
|
||||
% if ( my $st_lice_k = $c->get_stat_license_key() ) {
|
||||
<div class=sme-error>
|
||||
%= $c->render_to_string(inline => $st_lice_k);
|
||||
</div>
|
||||
%}
|
||||
|
||||
%= hidden_field 'Choice' => 'UPDT'
|
||||
|
||||
<div class='center'>
|
||||
%= submit_button l('NEXT'), class => 'action'
|
||||
</div>
|
||||
|
||||
%end
|
||||
|
||||
%= include 'partials/_xtg_lcodes'
|
||||
|
||||
%= include 'partials/_xtg_services'
|
||||
|
||||
%= include 'partials/_xtg_stats'
|
||||
|
||||
</div>
|
||||
|
||||
%end
|
@ -0,0 +1,44 @@
|
||||
% layout 'default', title => "Smanager - xt_geoip";
|
||||
|
||||
% content_for 'module' => begin
|
||||
|
||||
<div id="module" class="module xt_geoip-panel">
|
||||
|
||||
%if ($config->{debug} == 1) {
|
||||
<p>
|
||||
%= dumper $c->current_route
|
||||
%= dumper $xtg_datas
|
||||
</p>
|
||||
%}
|
||||
|
||||
% if ( stash 'error' ) {
|
||||
<br><div class=sme-error>
|
||||
%= $c->render_to_string(inline => stash 'error')
|
||||
</div>
|
||||
%}
|
||||
|
||||
<h1><%= $title %></h1>
|
||||
|
||||
<br>
|
||||
%= $c->render_to_string(inline => l('xtg_DESC_AVAILABLE_SERVICES'));
|
||||
<br>
|
||||
|
||||
%= form_for '/xt_geoipb' => (method => 'POST') => begin
|
||||
|
||||
<p><span class=label>
|
||||
%=l 'xtg_LABEL_AVAILABLE_SERVICES'
|
||||
</span><span class=data>
|
||||
% param 'Selectedservices' => $c->otherServices('sel') unless param 'Selectedservices';
|
||||
%= select_field 'Selectedservices' => $c->otherServices('all'), class => 'input', multiple => "1"
|
||||
</span></p>
|
||||
|
||||
%= hidden_field 'Choice' => 'LSRV'
|
||||
<div class='center'>
|
||||
%= submit_button l('NEXT'), class => 'action'
|
||||
</div>
|
||||
|
||||
%end
|
||||
|
||||
</div>
|
||||
|
||||
%end
|
@ -0,0 +1,36 @@
|
||||
% layout 'default', title => "Smanager - xt_geoip - List";
|
||||
|
||||
% content_for 'module' => begin
|
||||
|
||||
<div id="module" class="module xt_geoip-panel">
|
||||
|
||||
%if ($config->{debug} == 1) {
|
||||
<p>
|
||||
%= dumper $c->current_route
|
||||
%= dumper $xtg_datas
|
||||
</p>
|
||||
%}
|
||||
|
||||
% if ( stash 'error' ) {
|
||||
<br><div class=sme-error>
|
||||
%= $c->render_to_string(inline => stash 'error')
|
||||
</div>
|
||||
%}
|
||||
|
||||
<h1><%= $title %></h1>
|
||||
|
||||
%= form_for '/xt_geoip' => (method => 'GET') => begin
|
||||
|
||||
<br>
|
||||
%= $c->render_to_string(inline => stash 'modul');
|
||||
<br>
|
||||
|
||||
<div class='center'>
|
||||
%= submit_button l('NEXT'), class => 'action'
|
||||
</div>
|
||||
|
||||
%end
|
||||
|
||||
</div>
|
||||
|
||||
%end
|
@ -0,0 +1,53 @@
|
||||
% layout 'default', title => "Smanager - xt_geoip";
|
||||
|
||||
% content_for 'module' => begin
|
||||
|
||||
<div id="module" class="module xt_geoip-panel">
|
||||
|
||||
%if ($config->{debug} == 1) {
|
||||
<p>
|
||||
%= dumper $c->current_route
|
||||
%= dumper $xtg_datas
|
||||
</p>
|
||||
%}
|
||||
|
||||
% if ( stash 'error' ) {
|
||||
<br><div class=sme-error>
|
||||
%= $c->render_to_string(inline => stash 'error')
|
||||
</div>
|
||||
%}
|
||||
|
||||
<h1><%= $title %></h1>
|
||||
|
||||
<h2>
|
||||
%= l 'xtg_REMOVE_SERVICE'
|
||||
</h2><br>
|
||||
|
||||
%= $c->render_to_string(inline => l('xtg_REMOVE_DESC'));
|
||||
|
||||
%= form_for '/xt_geoipb' => (method => 'POST') => begin
|
||||
|
||||
<p><span class=label>
|
||||
%=l 'xtg_LABEL_SERVICE'
|
||||
</span><span class=data>
|
||||
%= $xtg_datas->{name}
|
||||
</span></p>
|
||||
|
||||
<p><span class=label>
|
||||
%=l 'xtg_LABEL_SERV_BADCOUNTRIES_STATUS'
|
||||
</span><span class=data>
|
||||
%= $c->get_srv_badcountries( $xtg_datas->{name}, 0 )
|
||||
</span></p>
|
||||
|
||||
<div class='center'>
|
||||
%= submit_button l('REMOVE'), class => 'action'
|
||||
</div>
|
||||
|
||||
%= hidden_field 'Choice' => 'REMS'
|
||||
%= hidden_field 'Name' => $xtg_datas->{name}
|
||||
|
||||
%end
|
||||
|
||||
</div>
|
||||
|
||||
%end
|
@ -0,0 +1,77 @@
|
||||
% layout 'default', title => "Smanager - xt_geoip";
|
||||
|
||||
% content_for 'module' => begin
|
||||
|
||||
<div id="module" class="module xt_geoip-panel">
|
||||
|
||||
%if ($config->{debug} == 1) {
|
||||
<p>
|
||||
%= dumper $c->current_route
|
||||
%= dumper $xtg_datas
|
||||
</p>
|
||||
%}
|
||||
|
||||
% if ( stash 'error' ) {
|
||||
<br><div class=sme-error>
|
||||
%= $c->render_to_string(inline => stash 'error')
|
||||
</div>
|
||||
%}
|
||||
|
||||
<h1><%= $title %></h1>
|
||||
|
||||
<h2>
|
||||
%= l 'xtg_ADD_SERVICE'
|
||||
</h2><br>
|
||||
|
||||
%= $c->render_to_string(inline => l('xtg_ADD_DESC'));
|
||||
|
||||
%= form_for '/xt_geoipb' => (method => 'POST') => begin
|
||||
|
||||
<p><span class=label>
|
||||
%=l 'xtg_LABEL_SERVICE'
|
||||
</span><span class=data>
|
||||
%= $xtg_datas->{name}
|
||||
</span></p>
|
||||
|
||||
<p><span class=label>
|
||||
%=l 'xtg_LABEL_BADCOUNTRIES_STATUS'
|
||||
</span><span class=data>
|
||||
%= $c->get_badcountries( 0 )
|
||||
</span></p>
|
||||
|
||||
<p>
|
||||
%=l 'xtg_DESC_REVERSE_MATCH'
|
||||
<br><span class=label>
|
||||
%=l 'xtg_LABEL_REVERSE_MATCH'
|
||||
</span><span class=data>
|
||||
% param 'Masq_srv_reverse' => $c->get_reverse('','Xt_geoipRev') unless param 'Masq_srv_reverse';
|
||||
%= select_field 'Masq_srv_reverse' => [['!=' => 'enabled'], ['==' => 'disabled']], class => 'input'
|
||||
</span></p>
|
||||
|
||||
<p>
|
||||
%=l 'xtg_DESC_BADCOUNTRIES'
|
||||
<br><span class=label>
|
||||
%=l 'xtg_LABEL_BADCOUNTRIES'
|
||||
</span><span class=data>
|
||||
% param 'Masq_srv_badcountries' => $c->get_srv_badcountries($xtg_datas->{name}, 0) unless param 'Masq_srv_badcountries';
|
||||
%= text_field 'Masq_srv_badcountries', size => '64', class => 'input'
|
||||
</span></p>
|
||||
|
||||
<p><span class=label>
|
||||
%=l 'xtg_LABEL_SERV_BADCOUNTRIES_STATUS'
|
||||
</span><span class=data>
|
||||
%= $c->get_srv_badcountries( $xtg_datas->{name}, 1 )
|
||||
</span></p>
|
||||
|
||||
<div class='center'>
|
||||
%= submit_button l('SAVE'), class => 'action'
|
||||
</div>
|
||||
|
||||
%= hidden_field 'Choice' => 'UPDS'
|
||||
%= hidden_field 'Name' => $xtg_datas->{name}
|
||||
|
||||
%end
|
||||
|
||||
</div>
|
||||
|
||||
%end
|
@ -0,0 +1,83 @@
|
||||
% layout 'default', title => "Smanager - xt_geoip";
|
||||
|
||||
% content_for 'module' => begin
|
||||
|
||||
<div id="module" class="module xt_geoip-panel">
|
||||
|
||||
%if ($config->{debug} == 1) {
|
||||
<p>
|
||||
%= dumper $c->current_route
|
||||
%= dumper $xtg_datas
|
||||
</p>
|
||||
%}
|
||||
|
||||
% if ( stash 'error' ) {
|
||||
<br><div class=sme-error>
|
||||
%= $c->render_to_string(inline => stash 'error')
|
||||
</div>
|
||||
%}
|
||||
|
||||
<h1><%= $title %></h1>
|
||||
|
||||
%= form_for '/xt_geoipb' => (method => 'POST') => begin
|
||||
|
||||
<p>
|
||||
%=l 'xtg_DESC_GEOIP'
|
||||
<br><span class=label>
|
||||
%=l 'xtg_LABEL_GEOIP'
|
||||
</span><span class=data>
|
||||
% param 'Masq_geoip' => $c->get_geoip() unless param 'Masq_geoip';
|
||||
%= select_field 'Masq_geoip' => [[ (l 'YES') => 'enabled'], [ (l 'NO') => 'disabled']], class => 'input'
|
||||
</span></p>
|
||||
|
||||
<p>
|
||||
%=l 'xtg_DESC_REVERSE_MATCH'
|
||||
<br><span class=label>
|
||||
%=l 'xtg_LABEL_REVERSE_MATCH'
|
||||
</span><span class=data>
|
||||
% param 'Masq_reverse' => $c->get_reverse('masq','Xt_geoipRev') unless param 'Masq_reverse';
|
||||
%= select_field 'Masq_reverse' => [[ '!=' => 'enabled'], [ '==' => 'disabled']], class => 'input'
|
||||
</span></p>
|
||||
|
||||
<p>
|
||||
%=l 'xtg_DESC_BADCOUNTRIES'
|
||||
<br><span class=label>
|
||||
%=l 'xtg_LABEL_BADCOUNTRIES'
|
||||
</span><span class=data>
|
||||
% param 'Masq_badcountries' => $c->get_badcountries() unless param 'Masq_badcountries';
|
||||
%= text_field 'Masq_badcountries', class => 'input'
|
||||
</span></p>
|
||||
|
||||
<p><span class=label>
|
||||
%=l 'xtg_LABEL_BADCOUNTRIES_STATUS'
|
||||
</span><span class=input>
|
||||
%= $c->get_badcountries();
|
||||
</span></p>
|
||||
|
||||
<p>
|
||||
%=l 'xtg_DESC_OTHERS'
|
||||
<br><span class=label>
|
||||
%=l 'xtg_LABEL_OTHERS'
|
||||
</span><span class=data>
|
||||
% param 'Masq_others' => $c->get_reverse('masq','Xt_geoipOther') unless param 'Masq_others';
|
||||
%= select_field 'Masq_others' => [[(l 'DISABLED') => 'disabled'], [(l 'ENABLED') => 'enabled']], class => 'input'
|
||||
</span></p>
|
||||
|
||||
<p>
|
||||
%=l 'xtg_DESC_UPDATE'
|
||||
<br><span class=label>
|
||||
%=l 'xtg_LABEL_UPDATE'
|
||||
</span><span class=data>
|
||||
%= select_field 'Update_geoip' => [[ (l 'NO') => 'NO'], [ (l 'YES') => 'YES']], class => 'input'
|
||||
</span></p>
|
||||
|
||||
%= hidden_field 'Choice' => 'UPDT'
|
||||
<div class='center'>
|
||||
%= submit_button l('SAVE'), class => 'action'
|
||||
</div>
|
||||
|
||||
%end
|
||||
|
||||
</div>
|
||||
|
||||
%end
|
280
source/root/usr/share/xt_geoip/geoip_countries_list.txt
Normal file
280
source/root/usr/share/xt_geoip/geoip_countries_list.txt
Normal file
@ -0,0 +1,280 @@
|
||||
Abbreviated Country Code List
|
||||
|
||||
A1 Anonymous Proxy
|
||||
A2 Satellite Provider
|
||||
AC Ascension Island
|
||||
AD Andorra
|
||||
AE United Arab Emirates
|
||||
AERO members of the air-transport industry
|
||||
AF Afghanistan
|
||||
AG Antigua and Barbuda
|
||||
AI Anguilla
|
||||
AL Albania
|
||||
AM Armenia
|
||||
AN Netherlands Antilles (being phased out)
|
||||
AO Angola
|
||||
AQ Antarctica
|
||||
AP Asia/Pacific
|
||||
AR Argentina
|
||||
AS American Samoa
|
||||
ASIA Restricted to the Pan-Asia and Asia Pacific community
|
||||
AT Austria
|
||||
AU Australia
|
||||
AW Aruba
|
||||
AX Aland Islands
|
||||
AZ Azerbaijan
|
||||
BA Bosnia and Herzegovina
|
||||
BB Barbados
|
||||
BD Bangladesh
|
||||
BE Belgium
|
||||
BF Burkina Faso
|
||||
BG Bulgaria
|
||||
BH Bahrain
|
||||
BI Burundi
|
||||
BIZ Restricted for Business
|
||||
BJ Benin
|
||||
BL Saint Barthelemy
|
||||
BM Bermuda
|
||||
BN Brunei Darussalam
|
||||
BO Bolivia
|
||||
BQ Bonaire, Sint Eustatius and Saba
|
||||
BR Brazil
|
||||
BS Bahamas
|
||||
BT Bhutan
|
||||
BV Bouvet Island
|
||||
BW Botswana
|
||||
BY Belarus
|
||||
BZ Belize
|
||||
CA Canada
|
||||
CC Cocos (Keeling) Islands
|
||||
CD Congo, The Democratic Republic of the
|
||||
CF Central African Republic
|
||||
CG Congo
|
||||
CH Switzerland
|
||||
CI Cote d'Ivoire
|
||||
CK Cook Islands
|
||||
CL Chile
|
||||
CM Cameroon
|
||||
CN China
|
||||
CO Colombia
|
||||
COM Generic top-level domain
|
||||
COOP cooperative associations
|
||||
CR Costa Rica
|
||||
CU Cuba
|
||||
CV Cape Verde
|
||||
CW Curaçao
|
||||
CX Christmas Island
|
||||
CY Cyprus
|
||||
CZ Czech Republic
|
||||
DE Germany
|
||||
DJ Djibouti
|
||||
DK Denmark
|
||||
DM Dominica
|
||||
DO Dominican Republic
|
||||
DZ Algeria
|
||||
EC Ecuador
|
||||
EDU Educational Institutions
|
||||
EE Estonia
|
||||
EG Egypt
|
||||
EH Western Sahara
|
||||
ER Eritrea
|
||||
ES Spain
|
||||
ET Ethiopia
|
||||
EU European Union
|
||||
FI Finland
|
||||
FJ Fiji
|
||||
FK Falkland Islands (Malvinas)
|
||||
FM Micronesia, Federated States of
|
||||
FO Faroe Islands
|
||||
FR France
|
||||
GA Gabon
|
||||
GB United Kingdom
|
||||
GD Grenada
|
||||
GE Georgia
|
||||
GF French Guiana
|
||||
GG Guernsey
|
||||
GH Ghana
|
||||
GI Gibraltar
|
||||
GL Greenland
|
||||
GM Gambia
|
||||
GN Guinea
|
||||
GOV United States Government
|
||||
GP Guadeloupe
|
||||
GQ Equatorial Guinea
|
||||
GR Greece
|
||||
GS South Georgia and the South Sandwich Islands
|
||||
GT Guatemala
|
||||
GU Guam
|
||||
GW Guinea-Bissau
|
||||
GY Guyana
|
||||
HK Hong Kong
|
||||
HM Heard Island and McDonald Islands
|
||||
HN Honduras
|
||||
HR Croatia
|
||||
HT Haiti
|
||||
HU Hungary
|
||||
ID Indonesia
|
||||
IE Ireland
|
||||
IL Israel
|
||||
IM Isle of Man
|
||||
IN India
|
||||
INFO Generic top-level domain
|
||||
IO British Indian Ocean Territory
|
||||
IQ Iraq
|
||||
IR Iran, Islamic Republic of
|
||||
IS Iceland
|
||||
IT Italy
|
||||
JE Jersey
|
||||
JM Jamaica
|
||||
JO Jordan
|
||||
JOBS Reserved to serve needs of the international human resource management community
|
||||
JP Japan
|
||||
KE Kenya
|
||||
KG Kyrgyzstan
|
||||
KH Cambodia
|
||||
KI Kiribati
|
||||
KM Comoros
|
||||
KN Saint Kitts and Nevis
|
||||
KP Korea, Democratic People's Republic of
|
||||
KR Korea, Republic of
|
||||
KW Kuwait
|
||||
KY Cayman Islands
|
||||
KZ Kazakhstan
|
||||
LA Lao People's Democratic Republic
|
||||
LB Lebanon
|
||||
LC Saint Lucia
|
||||
LI Liechtenstein
|
||||
LK Sri Lanka
|
||||
LR Liberia
|
||||
LS Lesotho
|
||||
LT Lithuania
|
||||
LU Luxembourg
|
||||
LV Latvia
|
||||
LY Libyan Arab Jamahiriya
|
||||
MA Morocco
|
||||
MC Monaco
|
||||
MD Moldova, Republic of
|
||||
ME Montenegro
|
||||
MF Saint Martin (French part)
|
||||
MG Madagascar
|
||||
MH Marshall Islands
|
||||
MIL United States Military
|
||||
MK Macedonia, The Former Yugoslav Republic of
|
||||
ML Mali
|
||||
MM Myanmar
|
||||
MN Mongolia
|
||||
MO Macao
|
||||
MOBI consumers and providers of mobile products and services
|
||||
MP Northern Mariana Islands
|
||||
MQ Martinique
|
||||
MR Mauritania
|
||||
MS Montserrat
|
||||
MT Malta
|
||||
MU Mauritius
|
||||
MUSEUM museums
|
||||
MV Maldives
|
||||
MW Malawi
|
||||
MX Mexico
|
||||
MY Malaysia
|
||||
MZ Mozambique
|
||||
NA Namibia
|
||||
NAME individuals
|
||||
NC New Caledonia
|
||||
NE Niger
|
||||
NET Generic top-level domain
|
||||
NF Norfolk Island
|
||||
NG Nigeria
|
||||
NI Nicaragua
|
||||
NL Netherlands
|
||||
NO Norway
|
||||
NP Nepal
|
||||
NR Nauru
|
||||
NU Niue
|
||||
NZ New Zealand
|
||||
OM Oman
|
||||
ORG Generic top-level domain
|
||||
PA Panama
|
||||
PE Peru
|
||||
PF French Polynesia
|
||||
PG Papua New Guinea
|
||||
PH Philippines
|
||||
PK Pakistan
|
||||
PL Poland
|
||||
PM Saint Pierre and Miquelon
|
||||
PN Pitcairn
|
||||
PR Puerto Rico
|
||||
PRO Restricted to credentialed professionals and related entities
|
||||
PS Palestinian Territory, Occupied
|
||||
PT Portugal
|
||||
PW Palau
|
||||
PY Paraguay
|
||||
QA Qatar
|
||||
RE Reunion
|
||||
RO Romania
|
||||
RS Serbia
|
||||
RU Russian Federation
|
||||
RW Rwanda
|
||||
SA Saudi Arabia
|
||||
SB Solomon Islands
|
||||
SC Seychelles
|
||||
SD Sudan
|
||||
SE Sweden
|
||||
SG Singapore
|
||||
SH Saint Helena
|
||||
SI Slovenia
|
||||
SJ Svalbard and Jan Mayen
|
||||
SK Slovakia
|
||||
SL Sierra Leone
|
||||
SM San Marino
|
||||
SN Senegal
|
||||
SO Somalia
|
||||
SR Suriname
|
||||
SS South Sudan
|
||||
ST Sao Tome and Principe
|
||||
SU Soviet Union (being phased out)
|
||||
SV El Salvador
|
||||
SX Saint Maarten (Dutch part)
|
||||
SY Syrian Arab Republic
|
||||
SZ Swaziland
|
||||
TC Turks and Caicos Islands
|
||||
TD Chad
|
||||
TEL businesses and individuals to publish their contact data
|
||||
TF French Southern Territories
|
||||
TG Togo
|
||||
TH Thailand
|
||||
TJ Tajikistan
|
||||
TK Tokelau
|
||||
TL Timor-Leste
|
||||
TM Turkmenistan
|
||||
TN Tunisia
|
||||
TO Tonga
|
||||
TP Portuguese Timor (being phased out)
|
||||
TR Turkey
|
||||
TRAVEL entities whose primary area of activity is in the travel industry
|
||||
TT Trinidad and Tobago
|
||||
TV Tuvalu
|
||||
TW Taiwan, Province of China
|
||||
TZ Tanzania, United Republic of
|
||||
UA Ukraine
|
||||
UG Uganda
|
||||
UK United Kingdom
|
||||
UM United States Minor Outlying Islands
|
||||
US United States
|
||||
UY Uruguay
|
||||
UZ Uzbekistan
|
||||
VA Holy See (Vatican City State)
|
||||
VC Saint Vincent and the Grenadines
|
||||
VE Venezuela, Bolivarian Republic of
|
||||
VG Virgin Islands, British
|
||||
VI Virgin Islands, US
|
||||
VN Viet Nam
|
||||
VU Vanuatu
|
||||
WF Wallis and Futuna
|
||||
WS Samoa
|
||||
XXX the adult entertainment community
|
||||
YE Yemen
|
||||
YT Mayotte
|
||||
ZA South Africa
|
||||
ZM Zambia
|
||||
ZW Zimbabwe
|
||||
|
104
source/root/usr/share/xt_geoip/geoip_exstat
Normal file
104
source/root/usr/share/xt_geoip/geoip_exstat
Normal file
@ -0,0 +1,104 @@
|
||||
#!/bin/sh
|
||||
# Read one of the files updated by geoip_stats depending on $1 (PREF)
|
||||
# Read all of the daily scores by country on a period of D(ay) -default-, W(eek) or M(onth)
|
||||
# depending on $2
|
||||
|
||||
EXECDIR="/usr/share/xt_geoip"
|
||||
STATDIR="/var/lib/xt_geoip"
|
||||
|
||||
case $1 in
|
||||
"ssh")
|
||||
PREF="ssh"
|
||||
TITLE=" Numbers of SSH bad attempts by country"
|
||||
;;
|
||||
"ipt")
|
||||
PREF="ipt"
|
||||
TITLE=" Numbers of IPs banned (xt_geoip) by country"
|
||||
;;
|
||||
"f2b")
|
||||
PREF="f2b"
|
||||
TITLE=" Numbers of IPs banned (fail2ban) by country"
|
||||
;;
|
||||
*)
|
||||
echo "usage : $0 'ssh|ipt|f2b' [D|W|M]"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# permanent files
|
||||
BASE2FILE="$STATDIR/Base_${PREF}_country.lst"
|
||||
# results files
|
||||
RESFILE="$STATDIR/ext${2}_${PREF}_country.lst"
|
||||
# tempo
|
||||
TMPFILE=$(mktemp $STATDIR/xt_${PREF}.XXXXXXX)
|
||||
|
||||
# Day -1 -7 -31
|
||||
DATE1=$(date --date '1 day ago' '+%Y-%m-%d')
|
||||
|
||||
DATE2=$DATE1
|
||||
PRD="DAY"
|
||||
if [ "X$2" == "XW" ]
|
||||
then
|
||||
DATE2=$(date --date '8 day ago' '+%Y-%m-%d')
|
||||
PRD="WEEK"
|
||||
|
||||
else
|
||||
if [ "X$2" == "XM" ]
|
||||
then
|
||||
DATE2=$(date --date '31 day ago' '+%Y-%m-%d')
|
||||
PRD="MONTH"
|
||||
fi
|
||||
fi
|
||||
|
||||
#echo "d1: $DATE1 d2: $DATE2"
|
||||
Date1=$(date -d $DATE1 +%s)
|
||||
Date2=$(date -d $DATE2 +%s)
|
||||
#echo "d1: $Date1 d2: $Date2"
|
||||
|
||||
cd $EXECDIR
|
||||
|
||||
# yesterday already in base ?
|
||||
if [ ! -f $BASE2FILE ]
|
||||
then
|
||||
echo "$0 : File $BASE2FILE does not exist."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
TOT=0
|
||||
while read -r line
|
||||
do
|
||||
DATELIG=$(date -d $(echo "$line" | cut -s -d';' -f1) +%s)
|
||||
if [ $DATELIG -le $Date1 -a $DATELIG -ge $Date2 ]
|
||||
then
|
||||
echo "$line" >> $TMPFILE
|
||||
TOT=$(expr $TOT + $(echo "$line" | cut -s -d';' -f3))
|
||||
fi
|
||||
done < $BASE2FILE
|
||||
|
||||
#echo "tot: $TOT"
|
||||
|
||||
# number of incidents by country code, sorted reverse by number
|
||||
awk -F ";" -v v1=$TOT -v OFS=";" \
|
||||
'{t[$2]=$2; t1[$2]+=$3} END {for(n in t) printf("%s | %d | %0.1f%\n", t[n], t1[n], (t1[n]*100)/v1)}' $TMPFILE | sort -t "|" -k 3 -r -n > $RESFILE
|
||||
|
||||
rm -f $TMPFILE
|
||||
|
||||
# for mail
|
||||
if [ -s $RESFILE ]
|
||||
then
|
||||
echo ""
|
||||
echo " Smeserver daily statistics for Xtables - GEOIP"
|
||||
echo " from $(hostname) - $DATE1"
|
||||
echo ""
|
||||
echo " $TITLE during LAST $PRD"
|
||||
echo " ( XX means 'country not found' )"
|
||||
echo ""
|
||||
echo "--------------------"
|
||||
cat $RESFILE
|
||||
echo "--------------------"
|
||||
echo " | $TOT | 100%"
|
||||
echo "--------------------"
|
||||
echo ""
|
||||
|
||||
fi
|
||||
|
14
source/root/usr/share/xt_geoip/geoip_listat
Normal file
14
source/root/usr/share/xt_geoip/geoip_listat
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
EXECDIR="/usr/share/xt_geoip"
|
||||
STATDIR="/var/lib/xt_geoip"
|
||||
|
||||
for pref in $(echo 'ipt ssh f2b')
|
||||
do
|
||||
echo "" > ${STATDIR}/extA_${pref}_country.lst
|
||||
for period in $(echo 'D W M')
|
||||
do
|
||||
${EXECDIR}/geoip_exstat $pref $period >> $STATDIR/extA_${pref}_country.lst
|
||||
done
|
||||
cat $STATDIR/extA_${pref}_country.lst
|
||||
done
|
11
source/root/usr/share/xt_geoip/geoip_look
Normal file
11
source/root/usr/share/xt_geoip/geoip_look
Normal file
@ -0,0 +1,11 @@
|
||||
#! /bin/bash
|
||||
|
||||
for par in "$@"
|
||||
do
|
||||
|
||||
CN=$(/usr/bin/mmdblookup --file /usr/share/GeoIP/GeoLite2-Country.mmdb --ip $par country iso_code 2>/dev/null | cut -d\" -f2| tr -d '\n')
|
||||
if [ -z $CN ]; then echo 'XX'; else echo $CN; fi
|
||||
|
||||
done
|
||||
|
||||
|
135
source/root/usr/share/xt_geoip/geoip_stats
Normal file
135
source/root/usr/share/xt_geoip/geoip_stats
Normal file
@ -0,0 +1,135 @@
|
||||
#!/bin/sh
|
||||
# Read the log files depending on $1 (PREF)
|
||||
# Read all of the IPs concerned, search countries and count them.
|
||||
# exec crontab 2h AM for previous day
|
||||
|
||||
EXECDIR="/usr/share/xt_geoip"
|
||||
STATDIR="/var/lib/xt_geoip"
|
||||
|
||||
case $1 in
|
||||
"ssh")
|
||||
PREF="ssh"
|
||||
LOGDIR="/var/log/sshd"
|
||||
CMD1='cat'
|
||||
CMD2=' | grep -i '
|
||||
CMD3=' | grep -E "(Failed password|Invalid user \w+ from)" | sed -e "s/^.*from //" -e "s/ port.*$//" >> $RESFILE'
|
||||
;;
|
||||
"ipt")
|
||||
PREF="ipt"
|
||||
LOGDIR="/var/log/iptables"
|
||||
CMD1='zcat -f '
|
||||
CMD2=' | grep -i '
|
||||
CMD3=' | grep "GeoIP BAN" | sed -e "s/^.*SRC=//" -e "s/ DST=.*$//" >> $RESFILE'
|
||||
;;
|
||||
"f2b")
|
||||
if [[ -x /bin/fail2ban-client && -f /var/log/fail2ban/daemon.log ]]
|
||||
then
|
||||
PREF="f2b"
|
||||
LOGDIR="/var/log/fail2ban"
|
||||
CMD1='zcat -f '
|
||||
CMD2=' | grep -i '
|
||||
CMD3=' | grep -E "] Ban " | sed -e "s/^.* Ban //" >> $RESFILE'
|
||||
# CMD3=' | grep -E ": NOTICE [.*] Ban" | sed -e "s/^.* Ban //" >> $RESFILE'
|
||||
else
|
||||
echo "No fail2ban enabled here"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage : $0 [ssh|ipt|f2b|....]"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# files of the day
|
||||
RESFILE="$STATDIR/${PREF}_ip.lst"
|
||||
RES2FILE="$STATDIR/${PREF}_country.lst"
|
||||
# permanent files
|
||||
BASEFILE="$STATDIR/Base_${PREF}_ip.lst"
|
||||
BASE2FILE="$STATDIR/Base_${PREF}_country.lst"
|
||||
ARCHFILE="$STATDIR/ArchBase_${PREF}_ip.lst"
|
||||
ARCH2FILE="$STATDIR/ArchBase_${PREF}_country.lst"
|
||||
# tempo
|
||||
TMPFILE=$(mktemp $STATDIR/xt_${PREF}.XXXXXXX)
|
||||
# Day - 1
|
||||
MONTH=$(date --date '1 day ago' +%B)
|
||||
LOGDAY="$(LC_ALL=C date --date '1 day ago' '+%h %e')"
|
||||
DATE=$(date --date '1 day ago' '+%Y-%m-%d')
|
||||
ARCHDATE=$(date --date '90 day ago' '+%Y-%m-%d')
|
||||
[[ $PREF = 'f2b' ]] && LOGDAY=$DATE
|
||||
|
||||
cd $EXECDIR
|
||||
|
||||
# yesterday already in base ?
|
||||
if [ -f $BASEFILE ]
|
||||
then
|
||||
if (fgrep $DATE $BASEFILE > /dev/null 2>&1)
|
||||
then
|
||||
echo "$0 : $PREF already run for that date. Please verify this !"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
cp /dev/null $RESFILE
|
||||
|
||||
# All logfiles update for 2 days, not empty
|
||||
for file in $(find $LOGDIR/* -type f -mtime -2 -size +50c)
|
||||
do
|
||||
# echo "$(echo $CMD1 $file $CMD2 \'^"$LOGDAY"\' $CMD3)"
|
||||
eval "$(echo $CMD1 $file $CMD2 \'^"$LOGDAY"\' $CMD3)"
|
||||
done
|
||||
|
||||
# number of incidents by IP, sorted by IP
|
||||
awk -F ";" -v OFS=";" \
|
||||
'{t[$1]=$1; t1[$1]+=1} END {for(n in t) print t[n], t1[n]}' $RESFILE | sort -t ";" -n -k 1 > $TMPFILE
|
||||
|
||||
# +date, +country code
|
||||
awk -F ";" -v v1=$DATE -v OFS=";" \
|
||||
'{ printf "%s",v1 ";" $0 ";"; system("./geoip_look " $1) }' $TMPFILE > $RESFILE
|
||||
|
||||
# number of incidents by country code, sorted reverse by number
|
||||
awk -F ";" -v v1=$DATE -v OFS=";" \
|
||||
'{t[$4]=$4; t1[$4]+=$3} END {for(n in t) print v1, t[n], t1[n]}' $RESFILE | sort -t ";" -k 3 -r -n > $RES2FILE
|
||||
|
||||
rm -f $TMPFILE
|
||||
|
||||
# concatenate into bases
|
||||
cat $RESFILE >> $BASEFILE
|
||||
cat $RES2FILE >> $BASE2FILE
|
||||
|
||||
touch ${TMPFILE}_last3m
|
||||
touch ${TMPFILE}_older
|
||||
|
||||
# split IP bases file between 'last 3 months' and 'archives'
|
||||
awk -F ';' "\$1 > \"$ARCHDATE\" {print > (\"${TMPFILE}_last3m\"); next} {print > (\"${TMPFILE}_older\")}" $BASEFILE
|
||||
|
||||
if [ -f ${TMPFILE}_older ]
|
||||
then
|
||||
cat ${TMPFILE}_older >> $ARCHFILE
|
||||
cp ${TMPFILE}_last3m $BASEFILE
|
||||
fi
|
||||
cp /dev/null ${TMPFILE}_last3m
|
||||
cp /dev/null ${TMPFILE}_older
|
||||
|
||||
# split COUNTRY bases file between 'last 3 months' and archives
|
||||
awk -F ';' "\$1 > \"$ARCHDATE\" {print > (\"${TMPFILE}_last3m\"); next} {print > (\"${TMPFILE}_older\")}" $BASE2FILE
|
||||
|
||||
if [ -f ${TMPFILE}_older ]
|
||||
then
|
||||
cat ${TMPFILE}_older >> $ARCH2FILE
|
||||
cp ${TMPFILE}_last3m $BASE2FILE
|
||||
fi
|
||||
|
||||
rm -f ${TMPFILE}_last3m ${TMPFILE}_older
|
||||
|
||||
# for mail
|
||||
if [ -s $RES2FILE ]
|
||||
then
|
||||
echo "parse $LOGDIR for $PREF events"
|
||||
cat $RES2FILE
|
||||
fi
|
||||
|
||||
# delete files of today
|
||||
#rm -f $RESFILE $RES2FILE
|
||||
|
5
source/root/usr/share/xt_geoip/update_base
Normal file
5
source/root/usr/share/xt_geoip/update_base
Normal file
@ -0,0 +1,5 @@
|
||||
cd /usr/share/xt_geoip
|
||||
if ( ./xt_geoip_dl )
|
||||
then
|
||||
/usr/libexec/xtables-addons/xt_geoip_build GeoIPCountryWhois.csv
|
||||
fi
|
30
source/root/usr/share/xt_geoip/xt_geoip_dl
Normal file
30
source/root/usr/share/xt_geoip/xt_geoip_dl
Normal file
@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Original script from xtables-addons
|
||||
# SME specific use of ConfigDB
|
||||
# replace /usr/libexec/xtables-addons/xt_geoip_dl in /usr/share/xt_geoip/update_base
|
||||
|
||||
status=$(/sbin/e-smith/config getprop geoip status)
|
||||
if [[ "$status" != "enabled" ]]
|
||||
then
|
||||
echo "Geoip is not enabled. No download."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
LicenseKey=$(/sbin/e-smith/config getprop geoip LicenseKey)
|
||||
if [ -z $LicenseKey ]
|
||||
then
|
||||
echo "No License Key available. Downloading cannot be performed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -rf GeoLite2-Country-CSV_*
|
||||
|
||||
if ( ! wget -O GeoLite2-Country-CSV.zip -q "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=${LicenseKey}&suffix=zip" )
|
||||
then
|
||||
echo "Error while downloading"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
unzip -q GeoLite2-Country-CSV.zip
|
||||
rm -f GeoLite2-Country-CSV.zip
|
6
source/root/var/lib/xt_geoip/README.txt
Normal file
6
source/root/var/lib/xt_geoip/README.txt
Normal file
@ -0,0 +1,6 @@
|
||||
Directory for storing results and stats
|
||||
|
||||
for different periods
|
||||
|
||||
- IPs banned per countries
|
||||
- SSH attacks not blocked
|
Loading…
Reference in New Issue
Block a user