/
mikopbx
/
ModuleGeoIP
Обзор
Документация
Войти
/
mikopbx
/
ModuleGeoIP
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
master
Messages/fa.php
44 строки
2 KB
Alexey Portnov
Add ModuleGeoIP implementation: REST API, UI, worker, iptables/ipset integration, CI workflow
16 мар 2026, 22:59
16 мар 2026, 22:59
a659baa
Код
Авторство
О чём код?
<?php return [ /* * MikoPBX - free phone system for small business * Copyright (C) 2017-2026 Alexey Portnov and Nikolay Beketov * * 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 3 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, see <https://www.gnu.org/licenses/>. */ 'repModuleGeoIP' => 'GeoIP Filter - %repesent%', 'mo_ModuleModuleGeoIP' => 'GeoIP Filter', 'BreadcrumbModuleGeoIP' => 'GeoIP Filtering', 'SubHeaderModuleGeoIP' => 'Block incoming connections by country using ipset', 'mod_GeoIP_Header' => 'GeoIP Traffic Filtering', 'mod_GeoIP_EnableFilter' => 'Enable GeoIP filtering', 'mod_GeoIP_LastUpdate' => 'Last update', 'mod_GeoIP_BlockedSubnets' => 'Blocked subnets', 'mod_GeoIP_UpdateNow' => 'Update now', 'mod_GeoIP_SelfBlockWarningTitle' => 'Warning!', 'mod_GeoIP_SelfBlockWarning' => 'You are blocking the country you are currently connected from!', 'mod_GeoIP_IpsetUnavailableTitle' => 'ipset unavailable', 'mod_GeoIP_IpsetUnavailable' => 'ipset utility was not found on this system.', 'mod_GeoIP_BlockAllExcept' => 'Block all except selected', 'mod_GeoIP_UnblockAll' => 'Unblock all', 'mod_GeoIP_SearchPlaceholder' => 'Search countries...', 'mod_GeoIP_CountryName' => 'Country', 'mod_GeoIP_Status' => 'Status', 'mod_GeoIP_Loading' => 'Loading countries...', 'mod_GeoIP_LoadError' => 'Failed to load countries', 'mod_GeoIP_Blocked' => 'Blocked', 'mod_GeoIP_Allowed' => 'Allowed', 'mod_GeoIP_OtherCountries' => '--- Other countries ---', 'mod_GeoIP_NeverUpdated' => 'Data not yet downloaded', ];