This commit is contained in:
theo@manjaro 2022-07-04 10:25:18 +02:00
parent db10ac66c4
commit 94059b415a
2 changed files with 3 additions and 3 deletions

View file

@ -225,10 +225,10 @@
"diagnosis_ip_broken_resolvconf": "Domain name resolution seems to be broken on your server, which seems related to <code>/etc/resolv.conf</code> not pointing to <code>127.0.0.1</code>.",
"diagnosis_ip_connected_ipv4": "The server is connected to the Internet through IPv4!",
"diagnosis_ip_multiple_ipv4": "The server seems to have multiple public IPv4 adresses",
"diagnosis_ip_multiple_ipv4_details": "It could be because your server really has multiple IPv4 adresses, in this case YunoHost doesn't support this well especially for email delivery. But it could also be because one of your configured IP detection services is compromised. You can change them with <code>yunohost settings set security.ipmirrors.v4</code>",
"diagnosis_ip_multiple_ipv4_details": "It could be because your server really has multiple IPv4 adresses, in this case YunoHost doesn't support this well especially for email delivery. But it could also be because one of your configured IP detection service is compromised. You can change them with <code>yunohost settings set security.ipmirrors.v4</code>",
"diagnosis_ip_connected_ipv6": "The server is connected to the Internet through IPv6!",
"diagnosis_ip_multiple_ipv6": "The server seems to have multiple public IPv6 adresses",
"diagnosis_ip_multiple_ipv6_details": "It could be because your server really has multiple IPv6 adresses, in this case YunoHost doesn't support this well especially for email delivery. If you use vpnclient, you probably can fix it in the advanced config panel of vpnclient. But it could also be because one of your configured IP detection services is compromised. You can change them with <code>yunohost settings set security.ipmirrors.v6</code>",
"diagnosis_ip_multiple_ipv6_details": "It could be because your server really has multiple IPv6 adresses, in this case YunoHost doesn't support this well especially for email delivery. If you use vpnclient, you probably can fix it in the advanced config panel of vpnclient. But it could also be because one of your configured IP detection service is compromised. You can change them with <code>yunohost settings set security.ipmirrors.v6</code>",
"diagnosis_ip_dnsresolution_working": "Domain name resolution is working!",
"diagnosis_ip_global": "Global IP: <code>{global}</code>",
"diagnosis_ip_local": "Local IP: <code>{local}</code>",

View file

@ -110,7 +110,7 @@ def get_public_ips(protocol=4):
ip_count = {} # Count the number of times an IP has appeared
# Check URLS
for url in ip_url_yunohost_tab[0:3]:
for url in ip_url_yunohost_tab[:3]:
logger.debug("Fetching IP from %s " % url)
try:
ip = download_text(url, timeout=15).strip()