From 9d343a90db22b685055c67eb6606ba9b90d1f8cb Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Mon, 4 Aug 2025 18:06:31 +0800 Subject: [PATCH] feat: add DenySpider Config for waf (#9835) --- frontend/src/lang/modules/en.ts | 2 +- frontend/src/lang/modules/ja.ts | 2 +- frontend/src/lang/modules/ko.ts | 2 +- frontend/src/lang/modules/ms.ts | 2 +- frontend/src/lang/modules/pt-br.ts | 2 +- frontend/src/lang/modules/ru.ts | 2 +- frontend/src/lang/modules/tr.ts | 2 +- frontend/src/lang/modules/zh-Hant.ts | 3 ++- frontend/src/lang/modules/zh.ts | 3 ++- 9 files changed, 11 insertions(+), 9 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index a82fb55c4..23530f825 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -3098,7 +3098,7 @@ const message = { noBlackIp: 'IP is already blocked, no need to block again', noWhiteUrl: 'URL is already in the white list, no need to add again', spiderIpHelper: - 'Spider IPs are allowed by default, including Baidu, Bing, Google, 360, Shenma, Sogou, ByteDance, DuckDuckGo', + 'Includes Baidu, Bing, Google, 360, Shenma, Sogou, ByteDance, DuckDuckGo, Yandex. Closing this will block all spider access.', spiderIp: 'Spider IP Pool', geoIp: 'IP Address Library', geoIpHelper: 'Used to confirm the geolocation of the IP', diff --git a/frontend/src/lang/modules/ja.ts b/frontend/src/lang/modules/ja.ts index dc5501638..fa8788d5b 100644 --- a/frontend/src/lang/modules/ja.ts +++ b/frontend/src/lang/modules/ja.ts @@ -2986,7 +2986,7 @@ const message = { noBlackIp: 'IP は既にブロックされているため、再度ブロックする必要はありません', noWhiteUrl: 'URL は既にホワイトリストに含まれているため、再度追加する必要はありません', spiderIpHelper: - 'スパイダー IP はデフォルトで許可されています。Baidu、Bing、Google、360、Shenma、Sogou、ByteDance、DuckDuckGo を含みます', + '百度、Bing、Google、360、神马、搜狗、字节、DuckDuckGo、Yandexを含みます。これを閉じると、すべてのクローラーのアクセスがブロックされます。', spiderIp: 'スパイダー IP プール', geoIp: 'IP アドレスライブラリ', geoIpHelper: 'IP の地理的位置を確認するために使用されます', diff --git a/frontend/src/lang/modules/ko.ts b/frontend/src/lang/modules/ko.ts index 136c0a4d6..1f91a596f 100644 --- a/frontend/src/lang/modules/ko.ts +++ b/frontend/src/lang/modules/ko.ts @@ -2932,7 +2932,7 @@ const message = { noBlackIp: 'IP가 이미 차단되어 있으므로 다시 차단할 필요가 없습니다', noWhiteUrl: 'URL이 이미 허용 목록에 포함되어 있으므로 다시 추가할 필요가 없습니다', spiderIpHelper: - '스파이더 IP는 기본적으로 허용됩니다. 바이두, 빙, 구글, 360, 신마, 소쿠, 바이트댄스, DuckDuckGo 포함', + '바이두, 빙, 구글, 360, 신마, 소구, 바이트댄스, DuckDuckGo, Yandex가 포함됩니다. 이를 끄면 모든 스파이더의 접근이 차단됩니다.', spiderIp: '스파이더 IP 풀', geoIp: 'IP 주소 라이브러리', geoIpHelper: 'IP의 지리적 위치를 확인하는 데 사용됩니다', diff --git a/frontend/src/lang/modules/ms.ts b/frontend/src/lang/modules/ms.ts index be9b21d07..1a1e82eb7 100644 --- a/frontend/src/lang/modules/ms.ts +++ b/frontend/src/lang/modules/ms.ts @@ -3053,7 +3053,7 @@ const message = { noBlackIp: 'IP telah disekat, tidak perlu disekat semula', noWhiteUrl: 'URL telah dimasukkan ke senarai putih, tidak perlu ditambah semula', spiderIpHelper: - 'IP labah-labah dibenarkan secara lalai, termasuk Baidu, Bing, Google, 360, Shenma, Sogou, ByteDance, DuckDuckGo', + 'Termasuk Baidu, Bing, Google, 360, Shenma, Sogou, ByteDance, DuckDuckGo, Yandex. Menutup ini akan menyekat semua akses labah-labah.', spiderIp: 'Kolam IP labah-labah', geoIp: 'Pustaka Alamat IP', geoIpHelper: 'Digunakan untuk mengesahkan lokasi geografi IP', diff --git a/frontend/src/lang/modules/pt-br.ts b/frontend/src/lang/modules/pt-br.ts index 083bb77f5..d3c567749 100644 --- a/frontend/src/lang/modules/pt-br.ts +++ b/frontend/src/lang/modules/pt-br.ts @@ -3059,7 +3059,7 @@ const message = { noBlackIp: 'O IP já está bloqueado, não é necessário bloquear novamente', noWhiteUrl: 'O URL já está na lista branca, não é necessário adicionar novamente', spiderIpHelper: - 'IPs de spiders são permitidos por padrão, incluindo Baidu, Bing, Google, 360, Shenma, Sogou, ByteDance, DuckDuckGo', + 'Inclui Baidu, Bing, Google, 360, Shenma, Sogou, ByteDance, DuckDuckGo, Yandex. Fechar isso bloqueará todos os acessos de spiders.', spiderIp: 'Pool de IPs de spiders', geoIp: 'Biblioteca de endereços IP', geoIpHelper: 'Usado para determinar a localização geográfica do IP', diff --git a/frontend/src/lang/modules/ru.ts b/frontend/src/lang/modules/ru.ts index b73bbc501..711a3c561 100644 --- a/frontend/src/lang/modules/ru.ts +++ b/frontend/src/lang/modules/ru.ts @@ -3049,7 +3049,7 @@ const message = { noBlackIp: 'IP уже заблокирован, не нужно блокировать снова', noWhiteUrl: 'URL уже в белом списке, не нужно добавлять снова', spiderIpHelper: - 'IP-адреса поисковых роботов разрешены по умолчанию, включая Baidu, Bing, Google, 360, Shenma, Sogou, ByteDance, DuckDuckGo', + 'Включает Baidu, Bing, Google, 360, Shenma, Sogou, ByteDance, DuckDuckGo, Yandex. Закрытие этого параметра заблокирует доступ всех пауков.', spiderIp: 'Пул IP-адресов поисковых роботов', geoIp: 'Библиотека IP-адресов', geoIpHelper: 'Используется для определения географического положения IP', diff --git a/frontend/src/lang/modules/tr.ts b/frontend/src/lang/modules/tr.ts index 1a7747a78..06099a0ed 100644 --- a/frontend/src/lang/modules/tr.ts +++ b/frontend/src/lang/modules/tr.ts @@ -3132,7 +3132,7 @@ const message = { noBlackIp: 'IP zaten engellenmiş, tekrar engellemeye gerek yok', noWhiteUrl: 'URL zaten beyaz listede, tekrar eklemeye gerek yok', spiderIpHelper: - 'Varsayılan olarak örümcek IP’lerine izin verilir, Baidu, Bing, Google, 360, Shenma, Sogou, ByteDance, DuckDuckGo içerir', + "Baidu, Bing, Google, 360, Shenma, Sogou, ByteDance, DuckDuckGo, Yandex'i içerir. Bunu kapatmak tüm örümcek erişimlerini engeller.", spiderIp: 'Örümcek IP Havuzu', geoIp: 'IP Adres Kütüphanesi', geoIpHelper: 'IP’nin coğrafi konumunu doğrulamak için kullanılır', diff --git a/frontend/src/lang/modules/zh-Hant.ts b/frontend/src/lang/modules/zh-Hant.ts index b2b5cabd9..241dbcd03 100644 --- a/frontend/src/lang/modules/zh-Hant.ts +++ b/frontend/src/lang/modules/zh-Hant.ts @@ -2889,7 +2889,8 @@ const message = { addUrlsToWhite: '批量加白 URL', noBlackIp: 'IP 已拉黑,無需再次拉黑', noWhiteUrl: 'URL 已加白,無需再次加白', - spiderIpHelper: '蜘蛛 IP 默認放行,包含百度、Bing、谷歌、360、神馬、搜狗、字節、DuckDuckGo', + spiderIpHelper: + '包含百度、Bing、谷歌、360、神马、搜狗、字节、DuckDuckGo、Yandex,關閉之後會攔截所有蜘蛛訪問', spiderIp: '蜘蛛 IP 池', geoIp: 'IP 地址庫', geoIpHelper: '用來確認 IP 的地理位置', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 354c43f4d..0d190f969 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -2864,7 +2864,8 @@ const message = { addUrlsToWhite: '批量加白 URL', noBlackIp: 'IP 已拉黑,无需再次拉黑', noWhiteUrl: 'URL 已加白,无需再次加白', - spiderIpHelper: '蜘蛛 IP 默认放行,包含百度、Bing、谷歌、360、神马、搜狗、字节、DuckDuckGo', + spiderIpHelper: + '包含百度、Bing、谷歌、360、神马、搜狗、字节、DuckDuckGo、Yandex,关闭之后会拦截所有蜘蛛访问', spiderIp: '蜘蛛 IP 池', geoIp: 'IP 地址库', geoIpHelper: '用来确认 IP 的地理位置',