Compare commits
11
Commits
f8691c5189
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7dbec00d3 | ||
|
|
5757b45c5f | ||
|
|
a58e6d1ce5 | ||
|
|
4770b4fb5d | ||
|
|
eaa20e79d2 | ||
|
|
41929875f7 | ||
|
|
8aa971920c | ||
|
|
2efa0d30c2 | ||
|
|
f1a50af7d3 | ||
|
|
5624746914 | ||
|
|
2e24da4bf8 |
No files matched your search
@@ -27,7 +27,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- name: Run zizmor
|
- name: Run zizmor
|
||||||
uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4
|
uses: zizmorcore/zizmor-action@85b2b9fb8e3325e7a23d7d0a9d7ba5ae0f999e3e # v0.7.1
|
||||||
with:
|
with:
|
||||||
persona: regular
|
persona: regular
|
||||||
inputs: |
|
inputs: |
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
echo "exit_code=${clippy_status}" >> "$GITHUB_OUTPUT"
|
echo "exit_code=${clippy_status}" >> "$GITHUB_OUTPUT"
|
||||||
exit 0
|
exit 0
|
||||||
- name: Upload Clippy SARIF
|
- name: Upload Clippy SARIF
|
||||||
uses: github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # v4
|
uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
sarif_file: rust-clippy-results.sarif
|
sarif_file: rust-clippy-results.sarif
|
||||||
|
|||||||
Generated
+2
-2
@@ -867,9 +867,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tokio"
|
name = "tokio"
|
||||||
version = "1.53.2"
|
version = "1.53.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044"
|
checksum = "ce3335fa71841cda333a58d7615b03901380ecf09d59b3296d21f8bbac0dde4e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"libc",
|
"libc",
|
||||||
|
|||||||
@@ -57,3 +57,23 @@ You can also build an OpenWrt package to install in your images with the SDK:
|
|||||||
# Copy the generated .ipk from bin/packages/... to your router
|
# Copy the generated .ipk from bin/packages/... to your router
|
||||||
opkg install sqm-autorate-rust_*.ipk
|
opkg install sqm-autorate-rust_*.ipk
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Reflector files and inline UCI reflectors
|
||||||
|
|
||||||
|
Inline `config reflector` sections supplement the default
|
||||||
|
`/etc/sqm-autorate-rust/reflectors.csv`. To use only inline reflectors, explicitly
|
||||||
|
disable file loading:
|
||||||
|
|
||||||
|
```uci
|
||||||
|
config reflectors
|
||||||
|
option files 'none'
|
||||||
|
|
||||||
|
config reflector
|
||||||
|
option host 'global.irtt.lochnair.net'
|
||||||
|
list protocols 'irtt'
|
||||||
|
```
|
||||||
|
|
||||||
|
Use `list files '/path/to/reflectors.csv'` instead of `option files 'none'` to
|
||||||
|
combine CSV files with inline reflectors. Omitting `files` keeps the default CSV;
|
||||||
|
UCI discards empty string options, so `option files ''` does not disable it.
|
||||||
|
Absent or blank `irtt_hmac` values use unauthenticated IRTT sessions.
|
||||||
@@ -82,6 +82,7 @@ fn expand_uci_section(input: &DeriveInput) -> syn::Result<proc_macro2::TokenStre
|
|||||||
let (impl_generics, type_generics, where_clause) = input.generics.split_for_impl();
|
let (impl_generics, type_generics, where_clause) = input.generics.split_for_impl();
|
||||||
|
|
||||||
Ok(quote! {
|
Ok(quote! {
|
||||||
|
#[cfg(all(feature = "uci", unix))]
|
||||||
#[automatically_derived]
|
#[automatically_derived]
|
||||||
impl #impl_generics
|
impl #impl_generics
|
||||||
crate::settings::uci_schema::UciSectionSchema
|
crate::settings::uci_schema::UciSectionSchema
|
||||||
@@ -155,6 +156,7 @@ fn expand_uci_config(input: &DeriveInput) -> syn::Result<proc_macro2::TokenStrea
|
|||||||
let (impl_generics, type_generics, where_clause) = input.generics.split_for_impl();
|
let (impl_generics, type_generics, where_clause) = input.generics.split_for_impl();
|
||||||
|
|
||||||
Ok(quote! {
|
Ok(quote! {
|
||||||
|
#[cfg(all(feature = "uci", unix))]
|
||||||
#[automatically_derived]
|
#[automatically_derived]
|
||||||
impl #impl_generics
|
impl #impl_generics
|
||||||
crate::settings::uci_schema::UciConfigSchema
|
crate::settings::uci_schema::UciConfigSchema
|
||||||
|
|||||||
@@ -1,305 +0,0 @@
|
|||||||
reflector_ip,ip_version,description
|
|
||||||
94.140.14.14,4,AdGuard
|
|
||||||
94.140.15.15,4,AdGuard
|
|
||||||
94.140.14.15,4,AdGuard Family
|
|
||||||
94.140.15.16,4,AdGuard Family
|
|
||||||
94.140.14.140,4,AdGuard Unfiltered
|
|
||||||
94.140.14.141,4,AdGuard Unfiltered
|
|
||||||
205.171.3.65,4,CenturyLink/Level3
|
|
||||||
205.171.2.65,4,CenturyLink/Level3
|
|
||||||
185.228.168.9,4,CleanBrowsing
|
|
||||||
185.228.169.9,4,CleanBrowsing
|
|
||||||
185.228.168.168,4,CleanBrowsing
|
|
||||||
185.228.169.168,4,CleanBrowsing
|
|
||||||
185.228.168.10,4,CleanBrowsing
|
|
||||||
185.228.169.11,4,CleanBrowsing
|
|
||||||
8.26.56.26,4,Comodo
|
|
||||||
8.20.247.20,4,Comodo
|
|
||||||
84.200.69.80,4,DNS.WATCH
|
|
||||||
84.200.70.40,4,DNS.WATCH
|
|
||||||
46.227.200.54,4,FAELIX Anycast
|
|
||||||
46.227.200.55,4,FAELIX Anycast
|
|
||||||
45.33.97.5,4,FreeDNS
|
|
||||||
37.235.1.177,4,FreeDNS
|
|
||||||
74.82.42.42,4,Hurricane Electric
|
|
||||||
194.242.2.2,4,Mullvad
|
|
||||||
194.242.2.3,4,Mullvad
|
|
||||||
193.19.108.2,4,Mullvad
|
|
||||||
193.19.108.3,4,Mullvad
|
|
||||||
208.67.222.222,4,OpenDNS
|
|
||||||
208.67.220.220,4,OpenDNS
|
|
||||||
208.67.222.123,4,OpenDNS Family
|
|
||||||
208.67.220.123,4,OpenDNS Family
|
|
||||||
208.67.222.2,4,OpenDNS Sbx
|
|
||||||
208.67.220.2,4,OpenDNS Sbx
|
|
||||||
159.89.120.99,4,OpenNIC
|
|
||||||
134.195.4.2,4,OpenNIC
|
|
||||||
9.9.9.9,4,Quad9
|
|
||||||
9.9.9.10,4,Quad9
|
|
||||||
9.9.9.11,4,Quad9
|
|
||||||
149.112.112.10,4,Quad9
|
|
||||||
149.112.112.11,4,Quad9
|
|
||||||
149.112.112.112,4,Quad9
|
|
||||||
176.9.93.198,4,dnsforge.de
|
|
||||||
176.9.1.117,4,dnsforge.de
|
|
||||||
104.236.210.29,4,DNSReactor
|
|
||||||
37.235.1.174,4,FreeDNS
|
|
||||||
81.218.119.1,4,GreenTeamDNS
|
|
||||||
194.8.57.12,4,Nuernberg Internet Exchange (N-IX)
|
|
||||||
51.89.30.51,4,PublicDNS.eu
|
|
||||||
51.89.93.25,4,PublicDNS.eu
|
|
||||||
130.59.31.248,4,SWITCH
|
|
||||||
130.59.31.251,4,SWITCH
|
|
||||||
185.49.141.37,4,GetDNS
|
|
||||||
158.64.1.29,4,Restena Foundation
|
|
||||||
89.234.186.112,4,Neutopia
|
|
||||||
185.95.218.42,4,Digitale Gesellschaft Schweiz
|
|
||||||
185.95.218.43,4,Digitale Gesellschaft Schweiz
|
|
||||||
140.238.215.192,4,post-factum
|
|
||||||
199.58.81.218,4,CMRG DNS
|
|
||||||
146.255.56.98,4,Foundation for Applied Privacy
|
|
||||||
185.222.222.222,4,dns.sb
|
|
||||||
185.184.222.222,4,dns.sb
|
|
||||||
5.1.66.255,4,Freifunk München e.V.
|
|
||||||
80.80.80.80,4,Freenom World
|
|
||||||
80.80.81.81,4,Freenom World
|
|
||||||
80.67.169.12,4,French Data Network (FDN)
|
|
||||||
80.67.169.40,4,French Data Network (FDN)
|
|
||||||
217.24.255.134,4,Albtelecom Sh.a.
|
|
||||||
213.163.127.229,4,Telekomi i Kosoves SH.A.
|
|
||||||
85.94.178.198,4,ANDORRA TELECOM SAU
|
|
||||||
186.148.128.86,4,ETERNET S.R.L.
|
|
||||||
190.151.144.21,4,Lima Video Cable S.A. (Cabletel)
|
|
||||||
200.45.184.43,4,Telecom Argentina S.A.
|
|
||||||
179.60.232.10,4,WICORP SA
|
|
||||||
170.210.83.110,4,Red de Interconexion Universitaria
|
|
||||||
190.57.234.194,4,Gigared S.A.
|
|
||||||
186.153.180.148,4,Telecom Argentina S.A.
|
|
||||||
81.16.8.110,4,Ucom CJSC
|
|
||||||
45.133.105.123,4,GNC-Alfa CJSC
|
|
||||||
61.8.0.113,4,Telstra Corporation Ltd
|
|
||||||
103.224.162.40,4,Ezi-Web
|
|
||||||
139.130.4.4,4,Telstra Corporation Ltd
|
|
||||||
139.134.5.51,4,Telstra Corporation Ltd
|
|
||||||
139.134.2.190,4,Telstra Corporation Ltd
|
|
||||||
203.50.2.71,4,Telstra Corporation Ltd
|
|
||||||
83.137.41.8,4,nemox.net Informationstechnologie OG
|
|
||||||
83.137.41.9,4,nemox.net Informationstechnologie OG
|
|
||||||
194.36.144.87,4,netcup GmbH
|
|
||||||
188.118.227.21,4,Hutchison Drei Austria GmbH
|
|
||||||
83.218.176.140,4,myNet GmbH
|
|
||||||
85.132.85.85,4,Delta Telecom Ltd
|
|
||||||
45.250.253.222,4,New Generation Internet Services Limited
|
|
||||||
103.77.188.18,4,NETSCOPE
|
|
||||||
103.77.188.19,4,NETSCOPE
|
|
||||||
103.80.1.2,4,SS Online
|
|
||||||
103.153.154.2,4,Pabna Cable Vision Dot Net
|
|
||||||
114.130.5.5,4,Tire-1 IP Transit Provider of Bangladesh
|
|
||||||
114.130.5.6,4,Tire-1 IP Transit Provider of Bangladesh
|
|
||||||
103.146.221.20,4,Kloud Technologies Limited
|
|
||||||
103.146.221.21,4,Kloud Technologies Limited
|
|
||||||
115.127.19.129,4,BRACNet Limited
|
|
||||||
115.127.19.137,4,BRACNet Limited
|
|
||||||
103.113.200.10,4,National University
|
|
||||||
177.131.114.86,4,ACESSOLINE TELECOMUNICACOES LTDA
|
|
||||||
177.66.203.10,4,Downup Telecomunicacoes e servico LTDA
|
|
||||||
177.184.131.180,4,SOBRALNET SERVICOS E TELECOMUNICACOES LTDA - ME
|
|
||||||
186.194.224.82,4,R&R PROVEDOR DE INTERNET LTDA
|
|
||||||
186.225.194.29,4,Pannet Serviços On Line Ltda
|
|
||||||
189.42.239.34,4,CLARO S.A.
|
|
||||||
200.99.138.94,4,TELEFÔNICA BRASIL S.A
|
|
||||||
200.99.138.103,4,TELEFÔNICA BRASIL S.A
|
|
||||||
200.167.191.114,4,CLARO S.A.
|
|
||||||
200.169.8.1,4,Century Telecom Ltda
|
|
||||||
141.0.102.202,4,Altibox AS
|
|
||||||
62.97.223.62,4,BKK Digitek AS
|
|
||||||
217.18.206.12,4,EVRY NORGE AS
|
|
||||||
217.18.206.22,4,EVRY NORGE AS
|
|
||||||
195.204.130.85,4,GLOBALCONNECT AS
|
|
||||||
81.175.38.1,4,GLOBALCONNECT AS
|
|
||||||
46.182.19.48,4,Martin Prager trading as NbIServ
|
|
||||||
82.96.64.2,4,Probe Networks
|
|
||||||
94.247.43.254,4,OpenNIC
|
|
||||||
195.10.195.195,4,meerfarbig GmbH & Co. KG
|
|
||||||
194.172.160.4,4,Baumann Technologie GmbH
|
|
||||||
185.233.106.232,4,netcup GmbH
|
|
||||||
185.233.107.4,4,netcup GmbH
|
|
||||||
141.1.1.1,4,Vodafone Group PLC
|
|
||||||
141.1.27.249,4,Vodafone Group PLC
|
|
||||||
176.103.130.130,4,Serveroid LLC
|
|
||||||
176.103.130.131,4,Serveroid LLC
|
|
||||||
80.243.64.67,4,PJSC Vimpelcom
|
|
||||||
195.218.133.88,4,PJSC Vimpelcom
|
|
||||||
83.69.120.1,4,PJSC Vimpelcom
|
|
||||||
46.16.229.223,4,JSC Elektrosvyaz
|
|
||||||
193.183.98.66,4,Prometeus di Daniela Agro
|
|
||||||
212.19.96.2,4,Leonet4cloud srl
|
|
||||||
217.12.181.97,4,IRIDEOS S.P.A.
|
|
||||||
62.149.128.4,4,Aruba S.p.A.
|
|
||||||
62.149.132.2,4,Aruba S.p.A.
|
|
||||||
85.47.198.82,4,Telecom Italia S.p.A.
|
|
||||||
202.136.162.11,4,ASN - NTT SINGAPORE PTE LTD
|
|
||||||
51.79.144.245,4,OVH SAS
|
|
||||||
61.46.244.211,4,Jupiter Telecommunications Co. Ltd.
|
|
||||||
1.33.184.173,4,NTT PC Communications Inc.
|
|
||||||
1.33.184.116,4,NTT PC Communications Inc.
|
|
||||||
1.33.184.174,4,NTT PC Communications Inc.
|
|
||||||
1.33.184.108,4,NTT PC Communications Inc.
|
|
||||||
1.33.184.220,4,NTT PC Communications Inc.
|
|
||||||
1.33.184.230,4,NTT PC Communications Inc.
|
|
||||||
1.33.184.158,4,NTT PC Communications Inc.
|
|
||||||
62.212.113.125,4,Nerim SAS
|
|
||||||
185.30.211.154,4,ENTREPRISE DECIMA SARL
|
|
||||||
87.240.90.128,4,KERTEL SAS
|
|
||||||
45.77.61.165,4,The Constant Company LLC
|
|
||||||
178.62.57.141,4,DigitalOcean LLC
|
|
||||||
194.145.240.6,4,M247 Ltd
|
|
||||||
195.27.1.1,4,Vodafone Group PLC
|
|
||||||
81.17.66.13,4,South West Communications Group Ltd
|
|
||||||
87.117.196.200,4,IOMART CLOUD SERVICES LIMITED
|
|
||||||
213.123.251.87,4,British Telecommunications PLC
|
|
||||||
81.149.21.254,4,British Telecommunications PLC
|
|
||||||
196.21.247.1,4,TENET (The UNINET Project)
|
|
||||||
89.140.69.49,4,VODAFONE ONO S.A.
|
|
||||||
62.97.123.107,4,COLT Technology Services Group Limited
|
|
||||||
194.177.210.210,4,National Infrastructures for Research and Technology S.A.
|
|
||||||
168.126.63.1,4,Korea Telecom
|
|
||||||
121.254.134.99,4,LG DACOM Corporation
|
|
||||||
203.239.131.1,4,ELIMNET INC.
|
|
||||||
202.57.32.49,4,A Multihomed ISP Company
|
|
||||||
81.17.31.34,4,Private Layer INC
|
|
||||||
79.141.82.250,4,NTD SA
|
|
||||||
80.254.77.39,4,Monzoon Networks AG
|
|
||||||
85.93.212.2,4,Visual Online S.A.
|
|
||||||
196.223.158.58,4,MAX NET FOR INTERNET SERVICES
|
|
||||||
89.150.195.195,4,Media Network i Halmstad AB
|
|
||||||
130.244.126.100,4,TELE2
|
|
||||||
87.96.144.179,4,A3 Sverige AB
|
|
||||||
146.247.80.144,4,A3 Sverige AB
|
|
||||||
46.246.29.69,4,GleSYS AB
|
|
||||||
203.210.237.165,4,VNPT Corp
|
|
||||||
113.190.253.229,4,VNPT Corp
|
|
||||||
119.29.29.29,4,Shenzhen Tencent Computer Systems Company Limited
|
|
||||||
209.193.4.7,4,Alaska Communications
|
|
||||||
209.112.160.2,4,Alaska Communications
|
|
||||||
216.68.4.10,4,Cincinnati Bell ZoomTown
|
|
||||||
216.68.5.10,4,Cincinnati Bell ZoomTown
|
|
||||||
1.250.0.14,4,Verizon (Newark NJ)
|
|
||||||
1.252.0.14,4,Verizon (Reston VA)
|
|
||||||
1.252.0.12,4,Verizon (Reston VA)
|
|
||||||
8.238.120.14,4,Verizon (Atlanta GA)
|
|
||||||
8.238.120.12,4,Verizon (Atlanta GA)
|
|
||||||
78.143.192.10,4,Fast (UK)
|
|
||||||
201.220.136.186,4,CABLECOLOR S.A.
|
|
||||||
190.124.166.8,4,Redes y Telecomunicaciones
|
|
||||||
190.64.140.243,4,Administracion Nacional de Telecomunicaciones
|
|
||||||
200.40.230.36,4,Administracion Nacional de Telecomunicaciones
|
|
||||||
134.249.156.228,4,Kyivstar PJSC
|
|
||||||
195.60.70.5,4,VAK Ltd.
|
|
||||||
62.140.239.1,4,LLC TRC FIORD
|
|
||||||
94.158.153.236,4,Comfo LTD
|
|
||||||
109.254.13.190,4,Donbass Electronic Communications Ltd.
|
|
||||||
176.67.0.60,4,LLC McLaut-Invest
|
|
||||||
193.34.173.206,4,New Information Systems PP
|
|
||||||
94.153.241.134,4,Kyivstar PJSC
|
|
||||||
216.104.206.136,4,Africa Online Uganda
|
|
||||||
154.72.212.38,4,National Information Technology Authority Uganda
|
|
||||||
217.174.226.78,4,State Company of Electro Communications Turkmentelecom
|
|
||||||
46.45.187.181,4,Radore Veri Merkezi Hizmetleri A.S.
|
|
||||||
46.45.187.163,4,Radore Veri Merkezi Hizmetleri A.S.
|
|
||||||
46.45.187.184,4,Radore Veri Merkezi Hizmetleri A.S.
|
|
||||||
46.45.187.186,4,Radore Veri Merkezi Hizmetleri A.S.
|
|
||||||
46.20.159.27,4,DoraTelekom
|
|
||||||
93.113.60.84,4,Netinternet Bilisim Teknolojileri AS
|
|
||||||
93.113.60.82,4,Netinternet Bilisim Teknolojileri AS
|
|
||||||
196.3.132.153,4,Telecommunication Services of Trinidad and Tobago
|
|
||||||
196.3.132.154,4,Telecommunication Services of Trinidad and Tobago
|
|
||||||
80.248.72.1,4,CAFE Informatique et telecommunications
|
|
||||||
117.121.215.102,4,UIH
|
|
||||||
1.20.151.94,4,TOT Public Company Limited
|
|
||||||
117.121.215.101,4,UIH
|
|
||||||
122.154.230.146,4,The Communication Authoity of Thailand CAT
|
|
||||||
101.101.101.101,4,Taiwan Network Information Center
|
|
||||||
101.102.103.104,4,Taiwan Network Information Center
|
|
||||||
113.196.55.130,4,New Century InfoComm Tech Co. Ltd.
|
|
||||||
210.242.68.59,4,Data Communication Business Group
|
|
||||||
92.60.50.40,4,BONET Systems s.r.o.
|
|
||||||
217.73.17.110,4,VNET a.s.
|
|
||||||
84.245.69.193,4,SWAN a.s.
|
|
||||||
178.254.129.65,4,Drustvo za telekomunikacije Orion telekom doo Beograd-Zemun
|
|
||||||
93.86.63.54,4,TELEKOM SRBIJA a.d.
|
|
||||||
109.92.22.97,4,TELEKOM SRBIJA a.d.
|
|
||||||
197.159.166.81,4,Companhia Santomense de Telecomunicacoes
|
|
||||||
208.84.200.28,4,Columbus Communication St. Vincent and the Grenadines Ltd.
|
|
||||||
208.94.176.225,4,Karib Cable
|
|
||||||
199.116.57.181,4,IP SOLUTIONS INC.
|
|
||||||
74.120.24.129,4,IP SOLUTIONS INC.
|
|
||||||
74.120.24.81,4,IP SOLUTIONS INC.
|
|
||||||
74.120.24.97,4,IP SOLUTIONS INC.
|
|
||||||
78.130.38.222,4,NOS COMUNICACOES S.A.
|
|
||||||
195.22.25.130,4,Claranet Limited
|
|
||||||
213.241.88.98,4,Netia SA
|
|
||||||
87.204.28.12,4,Netia SA
|
|
||||||
212.160.85.232,4,Orange Polska Spolka Akcyjna
|
|
||||||
45.173.200.10,4,INVERSIONES EN TELECOMUNICACIONES DIGITALES S.A.C
|
|
||||||
200.10.231.110,4,Centro Nacional de Computacion
|
|
||||||
201.222.48.206,4,TECNOLOGIA EN ELECTRONICA E INFORMATICA SOCIEDAD ANONIMA (T.E.I.S.A)
|
|
||||||
201.222.50.30,4,TECNOLOGIA EN ELECTRONICA E INFORMATICA SOCIEDAD ANONIMA (T.E.I.S.A)
|
|
||||||
201.222.55.246,4,TECNOLOGIA EN ELECTRONICA E INFORMATICA SOCIEDAD ANONIMA (T.E.I.S.A)
|
|
||||||
103.209.52.250,4,The Professional Communications Pvt Ltd
|
|
||||||
119.63.132.26,4,Transworld Associates (Pvt.) Ltd.
|
|
||||||
83.143.8.249,4,MTN NIGERIA Communication limited
|
|
||||||
165.98.138.194,4,Amnet Telecomunicaciones S.A.
|
|
||||||
203.81.75.37,4,Myanma Posts and Telecommunications
|
|
||||||
65.18.114.254,4,Telecom International Myanmar Co. Ltd
|
|
||||||
65.18.117.174,4,Telecom International Myanmar Co. Ltd
|
|
||||||
69.160.0.86,4,OOREDOO MYANMAR
|
|
||||||
103.154.241.252,4,Myanmar Link Telecommunication Ltd
|
|
||||||
66.181.167.232,4,The first E-commerce and TriplePlay Service ISP in Mongolia.
|
|
||||||
202.21.99.42,4,Mobinet LLC. AS Mobinet Internet Service Provider
|
|
||||||
202.131.241.74,4,Mobinet LLC. AS Mobinet Internet Service Provider
|
|
||||||
124.158.93.2,4,STXCitinet. Leading Internet & VOIP Service Provider. Ulaanbaatar. Mongolia
|
|
||||||
77.89.232.86,4,ORANGE MOLDOVA S.A.
|
|
||||||
200.56.224.11,4,Marcatel Com S.A. de C.V.
|
|
||||||
201.144.135.211,4,Marcatel Com S.A. de C.V.
|
|
||||||
201.134.115.36,4,Uninet S.A. de C.V.
|
|
||||||
1.32.58.251,4,TM Net. Internet Service Provider
|
|
||||||
202.86.149.20,4,Companhia de Telecomunicacoes de Macau SARL
|
|
||||||
202.175.45.2,4,Companhia de Telecomunicacoes de Macau SARL
|
|
||||||
202.86.191.50,4,Companhia de Telecomunicacoes de Macau SARL
|
|
||||||
80.250.60.241,4,Sia Nano IT
|
|
||||||
101.78.12.50,4,Enterprise of Telecommunications Lao
|
|
||||||
168.187.161.250,4,Zajil International Telecom Company W.L.L.
|
|
||||||
62.12.114.25,4,Angani Limited
|
|
||||||
103.134.220.158,4,PT Global Media Pratama Solusindo
|
|
||||||
121.100.28.163,4,PT. Sakti Putra Mandiri
|
|
||||||
103.28.114.57,4,Lintas Data Prima PT
|
|
||||||
202.51.111.149,4,PT iForte Global Internet
|
|
||||||
103.23.20.23,4,PT Infinys System Indonesia
|
|
||||||
103.98.176.24,4,Universitas PGRI Semarang
|
|
||||||
103.98.176.143,4,Universitas PGRI Semarang
|
|
||||||
119.235.48.3,4,VAINAVI INDUSTIES LTD. INTERNET SERVICE PROVIDER. INDIA
|
|
||||||
103.194.120.33,4,GOLDY DIGINET PRIVATE LIMITED
|
|
||||||
103.194.120.3,4,GOLDY DIGINET PRIVATE LIMITED
|
|
||||||
103.194.120.129,4,GOLDY DIGINET PRIVATE LIMITED
|
|
||||||
223.31.121.171,4,Power Grid Corporation of India Limited
|
|
||||||
169.38.73.5,4,SoftLayer Technologies Inc.
|
|
||||||
202.86.251.201,4,Artech Infosystems Pvt Ltd
|
|
||||||
202.164.44.246,4,Quadrant Televentures Limited
|
|
||||||
87.229.99.1,4,SigmaNet Szolgaltato es Kereskedelm Ltd
|
|
||||||
91.137.135.75,4,OPC Networks Kft.
|
|
||||||
85.90.160.69,4,OPC Networks Kft.
|
|
||||||
195.228.219.226,4,Magyar Telekom plc.
|
|
||||||
103.6.168.114,4,NewMedia Express Pte Ltd
|
|
||||||
45.71.185.100,4,NEDETEL S.A.
|
|
||||||
186.149.243.52,4,ALTICE DOMINICANA S.A.
|
|
||||||
193.17.47.1,4,CZ.NIC z.s.p.o.
|
|
||||||
195.113.144.194,4,CZ.NIC z.s.p.o.
|
|
||||||
213.211.50.1,4,itself s.r.o.
|
|
||||||
213.211.50.2,4,itself s.r.o.
|
|
||||||
185.43.135.1,4,CZ.NIC z.s.p.o.
|
|
||||||
90.183.151.107,4,O2 Czech Republic. a.s.
|
|
||||||
27.50.20.21,4,PT. Mora Telematika Indonesia
|
|
||||||
116.193.190.164,4,PT Cloud Hosting Indonesia
|
|
||||||
103.56.148.179,4,PT Beon Intermedia
|
|
||||||
8.215.26.147,4,Alibaba.com Singapore E-Commerce Private Limited
|
|
||||||
|
+307
@@ -0,0 +1,307 @@
|
|||||||
|
host,country,protocols,irtt_port,irtt_hmac
|
||||||
|
94.140.14.14,,icmp-echo|icmp-timestamps,,
|
||||||
|
94.140.15.15,,icmp-echo|icmp-timestamps,,
|
||||||
|
94.140.14.15,,icmp-echo|icmp-timestamps,,
|
||||||
|
94.140.15.16,,icmp-echo|icmp-timestamps,,
|
||||||
|
94.140.14.140,,icmp-echo|icmp-timestamps,,
|
||||||
|
94.140.14.141,,icmp-echo|icmp-timestamps,,
|
||||||
|
205.171.3.65,,icmp-echo|icmp-timestamps,,
|
||||||
|
205.171.2.65,,icmp-echo|icmp-timestamps,,
|
||||||
|
185.228.168.9,,icmp-echo|icmp-timestamps,,
|
||||||
|
185.228.169.9,,icmp-echo|icmp-timestamps,,
|
||||||
|
185.228.168.168,,icmp-echo|icmp-timestamps,,
|
||||||
|
185.228.169.168,,icmp-echo|icmp-timestamps,,
|
||||||
|
185.228.168.10,,icmp-echo|icmp-timestamps,,
|
||||||
|
185.228.169.11,,icmp-echo|icmp-timestamps,,
|
||||||
|
8.26.56.26,,icmp-echo|icmp-timestamps,,
|
||||||
|
8.20.247.20,,icmp-echo|icmp-timestamps,,
|
||||||
|
84.200.69.80,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
84.200.70.40,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
46.227.200.54,GB,icmp-echo|icmp-timestamps,,
|
||||||
|
46.227.200.55,,icmp-echo|icmp-timestamps,,
|
||||||
|
45.33.97.5,US,icmp-echo|icmp-timestamps,,
|
||||||
|
37.235.1.177,AT,icmp-echo|icmp-timestamps,,
|
||||||
|
74.82.42.42,,icmp-echo|icmp-timestamps,,
|
||||||
|
208.67.222.222,,icmp-echo|icmp-timestamps,,
|
||||||
|
208.67.220.220,,icmp-echo|icmp-timestamps,,
|
||||||
|
208.67.222.123,,icmp-echo|icmp-timestamps,,
|
||||||
|
208.67.220.123,,icmp-echo|icmp-timestamps,,
|
||||||
|
208.67.222.2,,icmp-echo|icmp-timestamps,,
|
||||||
|
208.67.220.2,,icmp-echo|icmp-timestamps,,
|
||||||
|
159.89.120.99,CA,icmp-echo|icmp-timestamps,,
|
||||||
|
134.195.4.2,,icmp-echo|icmp-timestamps,,
|
||||||
|
9.9.9.9,,icmp-echo|icmp-timestamps,,
|
||||||
|
9.9.9.10,,icmp-echo|icmp-timestamps,,
|
||||||
|
9.9.9.11,,icmp-echo|icmp-timestamps,,
|
||||||
|
149.112.112.10,,icmp-echo|icmp-timestamps,,
|
||||||
|
149.112.112.11,,icmp-echo|icmp-timestamps,,
|
||||||
|
149.112.112.112,,icmp-echo|icmp-timestamps,,
|
||||||
|
176.9.93.198,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
176.9.1.117,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
104.236.210.29,US,icmp-echo|icmp-timestamps,,
|
||||||
|
37.235.1.174,AT,icmp-echo|icmp-timestamps,,
|
||||||
|
81.218.119.1,IL,icmp-echo|icmp-timestamps,,
|
||||||
|
194.8.57.12,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
51.89.30.51,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
51.89.93.25,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
130.59.31.248,CH,icmp-echo|icmp-timestamps,,
|
||||||
|
130.59.31.251,CH,icmp-echo|icmp-timestamps,,
|
||||||
|
185.49.141.37,NL,icmp-echo|icmp-timestamps,,
|
||||||
|
158.64.1.29,LU,icmp-echo|icmp-timestamps,,
|
||||||
|
89.234.186.112,FR,icmp-echo|icmp-timestamps,,
|
||||||
|
185.95.218.42,CH,icmp-echo|icmp-timestamps,,
|
||||||
|
185.95.218.43,CH,icmp-echo|icmp-timestamps,,
|
||||||
|
140.238.215.192,CH,icmp-echo|icmp-timestamps,,
|
||||||
|
199.58.81.218,CA,icmp-echo|icmp-timestamps,,
|
||||||
|
146.255.56.98,AT,icmp-echo|icmp-timestamps,,
|
||||||
|
185.222.222.222,,icmp-echo|icmp-timestamps,,
|
||||||
|
185.184.222.222,NL,icmp-echo|icmp-timestamps,,
|
||||||
|
5.1.66.255,AT,icmp-echo|icmp-timestamps,,
|
||||||
|
80.80.80.80,,icmp-echo|icmp-timestamps,,
|
||||||
|
80.80.81.81,,icmp-echo|icmp-timestamps,,
|
||||||
|
80.67.169.12,FR,icmp-echo|icmp-timestamps,,
|
||||||
|
80.67.169.40,FR,icmp-echo|icmp-timestamps,,
|
||||||
|
217.24.255.134,AL,icmp-echo|icmp-timestamps,,
|
||||||
|
213.163.127.229,XK,icmp-echo|icmp-timestamps,,
|
||||||
|
85.94.178.198,AD,icmp-echo|icmp-timestamps,,
|
||||||
|
186.148.128.86,AR,icmp-echo|icmp-timestamps,,
|
||||||
|
190.151.144.21,AR,icmp-echo|icmp-timestamps,,
|
||||||
|
200.45.184.43,AR,icmp-echo|icmp-timestamps,,
|
||||||
|
179.60.232.10,AR,icmp-echo|icmp-timestamps,,
|
||||||
|
170.210.83.110,AR,icmp-echo|icmp-timestamps,,
|
||||||
|
190.57.234.194,AR,icmp-echo|icmp-timestamps,,
|
||||||
|
186.153.180.148,AR,icmp-echo|icmp-timestamps,,
|
||||||
|
81.16.8.110,AM,icmp-echo|icmp-timestamps,,
|
||||||
|
45.133.105.123,AM,icmp-echo|icmp-timestamps,,
|
||||||
|
61.8.0.113,AU,icmp-echo|icmp-timestamps,,
|
||||||
|
103.224.162.40,AU,icmp-echo|icmp-timestamps,,
|
||||||
|
139.130.4.4,,icmp-echo|icmp-timestamps,,
|
||||||
|
139.134.5.51,AU,icmp-echo|icmp-timestamps,,
|
||||||
|
139.134.2.190,AU,icmp-echo|icmp-timestamps,,
|
||||||
|
203.50.2.71,,icmp-echo|icmp-timestamps,,
|
||||||
|
83.137.41.8,AT,icmp-echo|icmp-timestamps,,
|
||||||
|
83.137.41.9,AT,icmp-echo|icmp-timestamps,,
|
||||||
|
194.36.144.87,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
188.118.227.21,AT,icmp-echo|icmp-timestamps,,
|
||||||
|
83.218.176.140,AT,icmp-echo|icmp-timestamps,,
|
||||||
|
85.132.85.85,AZ,icmp-echo|icmp-timestamps,,
|
||||||
|
45.250.253.222,US,icmp-echo|icmp-timestamps,,
|
||||||
|
103.77.188.18,BD,icmp-echo|icmp-timestamps,,
|
||||||
|
103.77.188.19,BD,icmp-echo|icmp-timestamps,,
|
||||||
|
103.80.1.2,BD,icmp-echo|icmp-timestamps,,
|
||||||
|
103.153.154.2,BD,icmp-echo|icmp-timestamps,,
|
||||||
|
114.130.5.5,BD,icmp-echo|icmp-timestamps,,
|
||||||
|
114.130.5.6,BD,icmp-echo|icmp-timestamps,,
|
||||||
|
103.146.221.20,BD,icmp-echo|icmp-timestamps,,
|
||||||
|
103.146.221.21,BD,icmp-echo|icmp-timestamps,,
|
||||||
|
115.127.19.129,BD,icmp-echo|icmp-timestamps,,
|
||||||
|
115.127.19.137,BD,icmp-echo|icmp-timestamps,,
|
||||||
|
103.113.200.10,BD,icmp-echo|icmp-timestamps,,
|
||||||
|
177.131.114.86,BR,icmp-echo|icmp-timestamps,,
|
||||||
|
177.66.203.10,BR,icmp-echo|icmp-timestamps,,
|
||||||
|
177.184.131.180,BR,icmp-echo|icmp-timestamps,,
|
||||||
|
186.194.224.82,BR,icmp-echo|icmp-timestamps,,
|
||||||
|
186.225.194.29,BR,icmp-echo|icmp-timestamps,,
|
||||||
|
189.42.239.34,BR,icmp-echo|icmp-timestamps,,
|
||||||
|
200.99.138.94,BR,icmp-echo|icmp-timestamps,,
|
||||||
|
200.99.138.103,BR,icmp-echo|icmp-timestamps,,
|
||||||
|
200.167.191.114,BR,icmp-echo|icmp-timestamps,,
|
||||||
|
200.169.8.1,BR,icmp-echo|icmp-timestamps,,
|
||||||
|
141.0.102.202,NO,icmp-echo|icmp-timestamps,,
|
||||||
|
62.97.223.62,NO,icmp-echo|icmp-timestamps,,
|
||||||
|
217.18.206.12,NO,icmp-echo|icmp-timestamps,,
|
||||||
|
217.18.206.22,NO,icmp-echo|icmp-timestamps,,
|
||||||
|
195.204.130.85,NO,icmp-echo|icmp-timestamps,,
|
||||||
|
81.175.38.1,NO,icmp-echo|icmp-timestamps,,
|
||||||
|
46.182.19.48,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
82.96.64.2,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
94.247.43.254,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
195.10.195.195,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
194.172.160.4,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
185.233.106.232,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
185.233.107.4,DE,icmp-echo|icmp-timestamps,,
|
||||||
|
141.1.1.1,,icmp-echo|icmp-timestamps,,
|
||||||
|
141.1.27.249,,icmp-echo|icmp-timestamps,,
|
||||||
|
176.103.130.130,,icmp-echo|icmp-timestamps,,
|
||||||
|
176.103.130.131,,icmp-echo|icmp-timestamps,,
|
||||||
|
80.243.64.67,RU,icmp-echo|icmp-timestamps,,
|
||||||
|
195.218.133.88,RU,icmp-echo|icmp-timestamps,,
|
||||||
|
83.69.120.1,RU,icmp-echo|icmp-timestamps,,
|
||||||
|
46.16.229.223,RU,icmp-echo|icmp-timestamps,,
|
||||||
|
193.183.98.66,IT,icmp-echo|icmp-timestamps,,
|
||||||
|
212.19.96.2,IT,icmp-echo|icmp-timestamps,,
|
||||||
|
217.12.181.97,IT,icmp-echo|icmp-timestamps,,
|
||||||
|
62.149.128.4,IT,icmp-echo|icmp-timestamps,,
|
||||||
|
62.149.132.2,IT,icmp-echo|icmp-timestamps,,
|
||||||
|
85.47.198.82,IT,icmp-echo|icmp-timestamps,,
|
||||||
|
202.136.162.11,SG,icmp-echo|icmp-timestamps,,
|
||||||
|
51.79.144.245,SG,icmp-echo|icmp-timestamps,,
|
||||||
|
61.46.244.211,JP,icmp-echo|icmp-timestamps,,
|
||||||
|
1.33.184.173,JP,icmp-echo|icmp-timestamps,,
|
||||||
|
1.33.184.116,JP,icmp-echo|icmp-timestamps,,
|
||||||
|
1.33.184.174,JP,icmp-echo|icmp-timestamps,,
|
||||||
|
1.33.184.108,JP,icmp-echo|icmp-timestamps,,
|
||||||
|
1.33.184.220,JP,icmp-echo|icmp-timestamps,,
|
||||||
|
1.33.184.230,JP,icmp-echo|icmp-timestamps,,
|
||||||
|
1.33.184.158,JP,icmp-echo|icmp-timestamps,,
|
||||||
|
62.212.113.125,FR,icmp-echo|icmp-timestamps,,
|
||||||
|
185.30.211.154,FR,icmp-echo|icmp-timestamps,,
|
||||||
|
87.240.90.128,FR,icmp-echo|icmp-timestamps,,
|
||||||
|
45.77.61.165,FR,icmp-echo|icmp-timestamps,,
|
||||||
|
178.62.57.141,GB,icmp-echo|icmp-timestamps,,
|
||||||
|
194.145.240.6,GB,icmp-echo|icmp-timestamps,,
|
||||||
|
195.27.1.1,,icmp-echo|icmp-timestamps,,
|
||||||
|
81.17.66.13,GB,icmp-echo|icmp-timestamps,,
|
||||||
|
87.117.196.200,GB,icmp-echo|icmp-timestamps,,
|
||||||
|
213.123.251.87,GB,icmp-echo|icmp-timestamps,,
|
||||||
|
81.149.21.254,GB,icmp-echo|icmp-timestamps,,
|
||||||
|
196.21.247.1,ZA,icmp-echo|icmp-timestamps,,
|
||||||
|
89.140.69.49,ES,icmp-echo|icmp-timestamps,,
|
||||||
|
62.97.123.107,ES,icmp-echo|icmp-timestamps,,
|
||||||
|
194.177.210.210,GR,icmp-echo|icmp-timestamps,,
|
||||||
|
168.126.63.1,KR,icmp-echo|icmp-timestamps,,
|
||||||
|
121.254.134.99,KR,icmp-echo|icmp-timestamps,,
|
||||||
|
203.239.131.1,KR,icmp-echo|icmp-timestamps,,
|
||||||
|
202.57.32.49,PH,icmp-echo|icmp-timestamps,,
|
||||||
|
81.17.31.34,CH,icmp-echo|icmp-timestamps,,
|
||||||
|
79.141.82.250,CH,icmp-echo|icmp-timestamps,,
|
||||||
|
80.254.77.39,CH,icmp-echo|icmp-timestamps,,
|
||||||
|
85.93.212.2,LU,icmp-echo|icmp-timestamps,,
|
||||||
|
196.223.158.58,SD,icmp-echo|icmp-timestamps,,
|
||||||
|
89.150.195.195,HK,icmp-echo|icmp-timestamps,,
|
||||||
|
130.244.126.100,SE,icmp-echo|icmp-timestamps,,
|
||||||
|
87.96.144.179,SE,icmp-echo|icmp-timestamps,,
|
||||||
|
146.247.80.144,SE,icmp-echo|icmp-timestamps,,
|
||||||
|
46.246.29.69,SE,icmp-echo|icmp-timestamps,,
|
||||||
|
203.210.237.165,VN,icmp-echo|icmp-timestamps,,
|
||||||
|
113.190.253.229,VN,icmp-echo|icmp-timestamps,,
|
||||||
|
119.29.29.29,,icmp-echo|icmp-timestamps,,
|
||||||
|
209.193.4.7,US,icmp-echo|icmp-timestamps,,
|
||||||
|
209.112.160.2,US,icmp-echo|icmp-timestamps,,
|
||||||
|
216.68.4.10,US,icmp-echo|icmp-timestamps,,
|
||||||
|
216.68.5.10,US,icmp-echo|icmp-timestamps,,
|
||||||
|
1.250.0.14,KR,icmp-echo|icmp-timestamps,,
|
||||||
|
1.252.0.14,KR,icmp-echo|icmp-timestamps,,
|
||||||
|
1.252.0.12,KR,icmp-echo|icmp-timestamps,,
|
||||||
|
8.238.120.14,US,icmp-echo|icmp-timestamps,,
|
||||||
|
8.238.120.12,US,icmp-echo|icmp-timestamps,,
|
||||||
|
78.143.192.10,GB,icmp-echo|icmp-timestamps,,
|
||||||
|
201.220.136.186,HN,icmp-echo|icmp-timestamps,,
|
||||||
|
190.124.166.8,HN,icmp-echo|icmp-timestamps,,
|
||||||
|
190.64.140.243,UY,icmp-echo|icmp-timestamps,,
|
||||||
|
200.40.230.36,UY,icmp-echo|icmp-timestamps,,
|
||||||
|
134.249.156.228,UA,icmp-echo|icmp-timestamps,,
|
||||||
|
195.60.70.5,UA,icmp-echo|icmp-timestamps,,
|
||||||
|
62.140.239.1,RU,icmp-echo|icmp-timestamps,,
|
||||||
|
94.158.153.236,UA,icmp-echo|icmp-timestamps,,
|
||||||
|
109.254.13.190,UA,icmp-echo|icmp-timestamps,,
|
||||||
|
176.67.0.60,UA,icmp-echo|icmp-timestamps,,
|
||||||
|
193.34.173.206,UA,icmp-echo|icmp-timestamps,,
|
||||||
|
94.153.241.134,UA,icmp-echo|icmp-timestamps,,
|
||||||
|
216.104.206.136,UG,icmp-echo|icmp-timestamps,,
|
||||||
|
154.72.212.38,UG,icmp-echo|icmp-timestamps,,
|
||||||
|
217.174.226.78,TM,icmp-echo|icmp-timestamps,,
|
||||||
|
46.45.187.181,TR,icmp-echo|icmp-timestamps,,
|
||||||
|
46.45.187.163,TR,icmp-echo|icmp-timestamps,,
|
||||||
|
46.45.187.184,TR,icmp-echo|icmp-timestamps,,
|
||||||
|
46.45.187.186,TR,icmp-echo|icmp-timestamps,,
|
||||||
|
46.20.159.27,TR,icmp-echo|icmp-timestamps,,
|
||||||
|
93.113.60.84,TR,icmp-echo|icmp-timestamps,,
|
||||||
|
93.113.60.82,TR,icmp-echo|icmp-timestamps,,
|
||||||
|
196.3.132.153,TT,icmp-echo|icmp-timestamps,,
|
||||||
|
196.3.132.154,TT,icmp-echo|icmp-timestamps,,
|
||||||
|
80.248.72.1,TG,icmp-echo|icmp-timestamps,,
|
||||||
|
117.121.215.102,TH,icmp-echo|icmp-timestamps,,
|
||||||
|
1.20.151.94,TH,icmp-echo|icmp-timestamps,,
|
||||||
|
117.121.215.101,TH,icmp-echo|icmp-timestamps,,
|
||||||
|
122.154.230.146,TH,icmp-echo|icmp-timestamps,,
|
||||||
|
101.101.101.101,TW,icmp-echo|icmp-timestamps,,
|
||||||
|
101.102.103.104,TW,icmp-echo|icmp-timestamps,,
|
||||||
|
113.196.55.130,TW,icmp-echo|icmp-timestamps,,
|
||||||
|
210.242.68.59,TW,icmp-echo|icmp-timestamps,,
|
||||||
|
92.60.50.40,SK,icmp-echo|icmp-timestamps,,
|
||||||
|
217.73.17.110,SK,icmp-echo|icmp-timestamps,,
|
||||||
|
84.245.69.193,SK,icmp-echo|icmp-timestamps,,
|
||||||
|
178.254.129.65,RS,icmp-echo|icmp-timestamps,,
|
||||||
|
93.86.63.54,RS,icmp-echo|icmp-timestamps,,
|
||||||
|
109.92.22.97,RS,icmp-echo|icmp-timestamps,,
|
||||||
|
197.159.166.81,ST,icmp-echo|icmp-timestamps,,
|
||||||
|
208.84.200.28,VC,icmp-echo|icmp-timestamps,,
|
||||||
|
208.94.176.225,LC,icmp-echo|icmp-timestamps,,
|
||||||
|
199.116.57.181,PR,icmp-echo|icmp-timestamps,,
|
||||||
|
74.120.24.129,PR,icmp-echo|icmp-timestamps,,
|
||||||
|
74.120.24.81,PR,icmp-echo|icmp-timestamps,,
|
||||||
|
74.120.24.97,PR,icmp-echo|icmp-timestamps,,
|
||||||
|
78.130.38.222,PT,icmp-echo|icmp-timestamps,,
|
||||||
|
195.22.25.130,PT,icmp-echo|icmp-timestamps,,
|
||||||
|
213.241.88.98,PL,icmp-echo|icmp-timestamps,,
|
||||||
|
87.204.28.12,PL,icmp-echo|icmp-timestamps,,
|
||||||
|
212.160.85.232,PL,icmp-echo|icmp-timestamps,,
|
||||||
|
45.173.200.10,PE,icmp-echo|icmp-timestamps,,
|
||||||
|
200.10.231.110,PY,icmp-echo|icmp-timestamps,,
|
||||||
|
201.222.48.206,PY,icmp-echo|icmp-timestamps,,
|
||||||
|
201.222.50.30,PY,icmp-echo|icmp-timestamps,,
|
||||||
|
201.222.55.246,PY,icmp-echo|icmp-timestamps,,
|
||||||
|
103.209.52.250,PK,icmp-echo|icmp-timestamps,,
|
||||||
|
119.63.132.26,PK,icmp-echo|icmp-timestamps,,
|
||||||
|
83.143.8.249,NG,icmp-echo|icmp-timestamps,,
|
||||||
|
165.98.138.194,NI,icmp-echo|icmp-timestamps,,
|
||||||
|
203.81.75.37,MM,icmp-echo|icmp-timestamps,,
|
||||||
|
65.18.114.254,MM,icmp-echo|icmp-timestamps,,
|
||||||
|
65.18.117.174,MM,icmp-echo|icmp-timestamps,,
|
||||||
|
69.160.0.86,MM,icmp-echo|icmp-timestamps,,
|
||||||
|
103.154.241.252,MM,icmp-echo|icmp-timestamps,,
|
||||||
|
66.181.167.232,MN,icmp-echo|icmp-timestamps,,
|
||||||
|
202.21.99.42,MN,icmp-echo|icmp-timestamps,,
|
||||||
|
202.131.241.74,MN,icmp-echo|icmp-timestamps,,
|
||||||
|
124.158.93.2,SG,icmp-echo|icmp-timestamps,,
|
||||||
|
77.89.232.86,MD,icmp-echo|icmp-timestamps,,
|
||||||
|
200.56.224.11,MX,icmp-echo|icmp-timestamps,,
|
||||||
|
201.144.135.211,MX,icmp-echo|icmp-timestamps,,
|
||||||
|
201.134.115.36,MX,icmp-echo|icmp-timestamps,,
|
||||||
|
1.32.58.251,MY,icmp-echo|icmp-timestamps,,
|
||||||
|
202.86.149.20,MO,icmp-echo|icmp-timestamps,,
|
||||||
|
202.175.45.2,MO,icmp-echo|icmp-timestamps,,
|
||||||
|
202.86.191.50,MO,icmp-echo|icmp-timestamps,,
|
||||||
|
80.250.60.241,LV,icmp-echo|icmp-timestamps,,
|
||||||
|
101.78.12.50,LA,icmp-echo|icmp-timestamps,,
|
||||||
|
168.187.161.250,KW,icmp-echo|icmp-timestamps,,
|
||||||
|
62.12.114.25,KE,icmp-echo|icmp-timestamps,,
|
||||||
|
103.134.220.158,ID,icmp-echo|icmp-timestamps,,
|
||||||
|
121.100.28.163,ID,icmp-echo|icmp-timestamps,,
|
||||||
|
103.28.114.57,ID,icmp-echo|icmp-timestamps,,
|
||||||
|
202.51.111.149,ID,icmp-echo|icmp-timestamps,,
|
||||||
|
103.23.20.23,ID,icmp-echo|icmp-timestamps,,
|
||||||
|
103.98.176.24,ID,icmp-echo|icmp-timestamps,,
|
||||||
|
103.98.176.143,ID,icmp-echo|icmp-timestamps,,
|
||||||
|
119.235.48.3,IN,icmp-echo|icmp-timestamps,,
|
||||||
|
103.194.120.33,IN,icmp-echo|icmp-timestamps,,
|
||||||
|
103.194.120.3,IN,icmp-echo|icmp-timestamps,,
|
||||||
|
103.194.120.129,IN,icmp-echo|icmp-timestamps,,
|
||||||
|
223.31.121.171,IN,icmp-echo|icmp-timestamps,,
|
||||||
|
169.38.73.5,IN,icmp-echo|icmp-timestamps,,
|
||||||
|
202.86.251.201,IN,icmp-echo|icmp-timestamps,,
|
||||||
|
202.164.44.246,IN,icmp-echo|icmp-timestamps,,
|
||||||
|
87.229.99.1,HU,icmp-echo|icmp-timestamps,,
|
||||||
|
91.137.135.75,HU,icmp-echo|icmp-timestamps,,
|
||||||
|
85.90.160.69,HU,icmp-echo|icmp-timestamps,,
|
||||||
|
195.228.219.226,HU,icmp-echo|icmp-timestamps,,
|
||||||
|
103.6.168.114,SG,icmp-echo|icmp-timestamps,,
|
||||||
|
45.71.185.100,EC,icmp-echo|icmp-timestamps,,
|
||||||
|
186.149.243.52,DO,icmp-echo|icmp-timestamps,,
|
||||||
|
193.17.47.1,CZ,icmp-echo|icmp-timestamps,,
|
||||||
|
195.113.144.194,CZ,icmp-echo|icmp-timestamps,,
|
||||||
|
213.211.50.1,CZ,icmp-echo|icmp-timestamps,,
|
||||||
|
213.211.50.2,CZ,icmp-echo|icmp-timestamps,,
|
||||||
|
185.43.135.1,CZ,icmp-echo|icmp-timestamps,,
|
||||||
|
90.183.151.107,CZ,icmp-echo|icmp-timestamps,,
|
||||||
|
27.50.20.21,ID,icmp-echo|icmp-timestamps,,
|
||||||
|
116.193.190.164,ID,icmp-echo|icmp-timestamps,,
|
||||||
|
103.56.148.179,ID,icmp-echo|icmp-timestamps,,
|
||||||
|
8.215.26.147,ID,icmp-echo|icmp-timestamps,,
|
||||||
|
global.irtt.lochnair.net,,irtt,2112,
|
||||||
|
uk-cov1.irtt.lochnair.net,GB,irtt,2112,
|
||||||
|
uk-cov2.irtt.lochnair.net,GB,irtt,2112,
|
||||||
|
de-fra.irtt.lochnair.net,DE,irtt,2112,
|
||||||
|
nl-ams1.irtt.lochnair.net,NL,irtt,2112,
|
||||||
|
netperf-eu.bufferbloat.net,SE,irtt,2112,
|
||||||
|
@@ -289,6 +289,7 @@ mod tests {
|
|||||||
},
|
},
|
||||||
started_at: received_at,
|
started_at: received_at,
|
||||||
observed_at: received_at,
|
observed_at: received_at,
|
||||||
|
round_trip: None,
|
||||||
one_way: Some(OneWayLatency {
|
one_way: Some(OneWayLatency {
|
||||||
uplink: SignedDuration::from_millis(up_time as i64),
|
uplink: SignedDuration::from_millis(up_time as i64),
|
||||||
downlink: SignedDuration::from_millis(down_time as i64),
|
downlink: SignedDuration::from_millis(down_time as i64),
|
||||||
|
|||||||
+1
-3
@@ -120,9 +120,7 @@ impl Controller {
|
|||||||
icmp.push(IcmpBinding::new(stream, schedule))
|
icmp.push(IcmpBinding::new(stream, schedule))
|
||||||
}
|
}
|
||||||
#[cfg(feature = "irtt")]
|
#[cfg(feature = "irtt")]
|
||||||
MeasurementSource::Irtt => {
|
MeasurementSource::Irtt => irtt.push(IrttBinding::new(stream, port, hmac)),
|
||||||
irtt.push(IrttBinding::new(stream, schedule, port, hmac))
|
|
||||||
}
|
|
||||||
#[cfg(not(feature = "irtt"))]
|
#[cfg(not(feature = "irtt"))]
|
||||||
MeasurementSource::Irtt => unreachable!("IRTT feature is checked before startup"),
|
MeasurementSource::Irtt => unreachable!("IRTT feature is checked before startup"),
|
||||||
_ => unreachable!("unsupported reflector measurement source"),
|
_ => unreachable!("unsupported reflector measurement source"),
|
||||||
|
|||||||
+8
-6
@@ -161,8 +161,8 @@ fn resolve_reflectors(
|
|||||||
}
|
}
|
||||||
if filter_country
|
if filter_country
|
||||||
&& !countries.is_empty()
|
&& !countries.is_empty()
|
||||||
&& !definition.country.as_ref().is_some_and(|country| {
|
&& definition.country.as_ref().is_some_and(|country| {
|
||||||
countries
|
!countries
|
||||||
.iter()
|
.iter()
|
||||||
.any(|allowed| allowed.eq_ignore_ascii_case(country))
|
.any(|allowed| allowed.eq_ignore_ascii_case(country))
|
||||||
})
|
})
|
||||||
@@ -196,11 +196,10 @@ fn insert_reflector(
|
|||||||
endpoint: SocketAddr,
|
endpoint: SocketAddr,
|
||||||
definition: ReflectorDefinition,
|
definition: ReflectorDefinition,
|
||||||
) -> anyhow::Result<()> {
|
) -> anyhow::Result<()> {
|
||||||
if let Some(existing) = reflectors.get(&endpoint) {
|
if let Some(existing) = reflectors.get_mut(&endpoint) {
|
||||||
let same_country = match (&existing.country, &definition.country) {
|
let same_country = match (&existing.country, &definition.country) {
|
||||||
(Some(a), Some(b)) => a.eq_ignore_ascii_case(b),
|
(Some(a), Some(b)) => a.eq_ignore_ascii_case(b),
|
||||||
(None, None) => true,
|
_ => true,
|
||||||
_ => false,
|
|
||||||
};
|
};
|
||||||
let same_protocols = existing
|
let same_protocols = existing
|
||||||
.protocols
|
.protocols
|
||||||
@@ -217,6 +216,9 @@ fn insert_reflector(
|
|||||||
{
|
{
|
||||||
anyhow::bail!("conflicting reflector definitions for resolved endpoint {endpoint}");
|
anyhow::bail!("conflicting reflector definitions for resolved endpoint {endpoint}");
|
||||||
}
|
}
|
||||||
|
if existing.country.is_none() {
|
||||||
|
existing.country = definition.country;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
reflectors.insert(endpoint, definition);
|
reflectors.insert(endpoint, definition);
|
||||||
}
|
}
|
||||||
@@ -387,8 +389,8 @@ fn run(settings: &Settings) -> anyhow::Result<()> {
|
|||||||
let (irtt_task, irtt_engine) = {
|
let (irtt_task, irtt_engine) = {
|
||||||
let _guard = rt.enter();
|
let _guard = rt.enter();
|
||||||
IrttEngine::new(
|
IrttEngine::new(
|
||||||
start_time,
|
|
||||||
Duration::from_secs_f64(settings.advanced_settings.tick_interval),
|
Duration::from_secs_f64(settings.advanced_settings.tick_interval),
|
||||||
|
&settings.network,
|
||||||
measurement_tx,
|
measurement_tx,
|
||||||
irtt_binding_rx,
|
irtt_binding_rx,
|
||||||
)?
|
)?
|
||||||
|
|||||||
@@ -326,6 +326,7 @@ impl IcmpEngine {
|
|||||||
stream: probe.stream,
|
stream: probe.stream,
|
||||||
started_at: probe.sent_at,
|
started_at: probe.sent_at,
|
||||||
observed_at,
|
observed_at,
|
||||||
|
round_trip: None,
|
||||||
one_way: None,
|
one_way: None,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -385,6 +386,7 @@ impl IcmpEngine {
|
|||||||
stream: probe.stream,
|
stream: probe.stream,
|
||||||
started_at: probe.sent_at,
|
started_at: probe.sent_at,
|
||||||
observed_at,
|
observed_at,
|
||||||
|
round_trip: None,
|
||||||
one_way: Some(OneWayLatency {
|
one_way: Some(OneWayLatency {
|
||||||
uplink: SignedDuration::from_millis(uplink_ms),
|
uplink: SignedDuration::from_millis(uplink_ms),
|
||||||
downlink: SignedDuration::from_millis(downlink_ms),
|
downlink: SignedDuration::from_millis(downlink_ms),
|
||||||
|
|||||||
+46
-28
@@ -1,4 +1,4 @@
|
|||||||
use std::{collections::HashMap, net::SocketAddr, time::Instant};
|
use std::{collections::HashMap, net::SocketAddr};
|
||||||
|
|
||||||
use flume::{Receiver, Sender};
|
use flume::{Receiver, Sender};
|
||||||
use irtt_client::{
|
use irtt_client::{
|
||||||
@@ -7,7 +7,7 @@ use irtt_client::{
|
|||||||
ManagedClient, ManagedClientConfig, ManagedClientHandle, ManagedClientTask,
|
ManagedClient, ManagedClientConfig, ManagedClientHandle, ManagedClientTask,
|
||||||
ManagedCommandApplyError, ManagedCommandError, ManagedCompletionPolicy, ManagedConfigError,
|
ManagedCommandApplyError, ManagedCommandError, ManagedCompletionPolicy, ManagedConfigError,
|
||||||
ManagedEndReason, ManagedEvent, ManagedLifecycle, ManagedSubscribeError,
|
ManagedEndReason, ManagedEvent, ManagedLifecycle, ManagedSubscribeError,
|
||||||
ManagedTargetConfig, ManagedTargetEndReason, TargetAuth, TargetId,
|
ManagedTargetConfig, ManagedTargetEndReason, ManagedTargetLifecycle, TargetAuth, TargetId,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
use log::{debug, trace, warn};
|
use log::{debug, trace, warn};
|
||||||
@@ -17,8 +17,9 @@ use tokio::sync::broadcast::error::RecvError;
|
|||||||
use crate::SHUTDOWN;
|
use crate::SHUTDOWN;
|
||||||
use crate::measurement::model::{
|
use crate::measurement::model::{
|
||||||
MeasurementEvent, MeasurementLoss, MeasurementObservation, MeasurementStream,
|
MeasurementEvent, MeasurementLoss, MeasurementObservation, MeasurementStream,
|
||||||
MeasurementStreamId, OneWayClock, OneWayLatency, ProbeSchedule, SignedDuration,
|
MeasurementStreamId, OneWayClock, OneWayLatency, SignedDuration,
|
||||||
};
|
};
|
||||||
|
use crate::settings::NetworkSettings;
|
||||||
|
|
||||||
#[derive(Debug, Error)]
|
#[derive(Debug, Error)]
|
||||||
pub enum IrttError {
|
pub enum IrttError {
|
||||||
@@ -52,27 +53,13 @@ pub enum IrttError {
|
|||||||
|
|
||||||
pub struct IrttBinding {
|
pub struct IrttBinding {
|
||||||
stream: MeasurementStream,
|
stream: MeasurementStream,
|
||||||
/// Retained for future hybrid-mode scheduling. IRTT currently uses the
|
|
||||||
/// global interval configured on its managed client.
|
|
||||||
#[allow(dead_code)]
|
|
||||||
schedule: ProbeSchedule,
|
|
||||||
port: u16,
|
port: u16,
|
||||||
hmac: Option<String>,
|
hmac: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl IrttBinding {
|
impl IrttBinding {
|
||||||
pub fn new(
|
pub fn new(stream: MeasurementStream, port: u16, hmac: Option<String>) -> Self {
|
||||||
stream: MeasurementStream,
|
Self { stream, port, hmac }
|
||||||
schedule: ProbeSchedule,
|
|
||||||
port: u16,
|
|
||||||
hmac: Option<String>,
|
|
||||||
) -> Self {
|
|
||||||
Self {
|
|
||||||
stream,
|
|
||||||
schedule,
|
|
||||||
port,
|
|
||||||
hmac,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -80,8 +67,7 @@ pub struct IrttEngine {
|
|||||||
client: ManagedClientHandle,
|
client: ManagedClientHandle,
|
||||||
|
|
||||||
bindings: HashMap<MeasurementStreamId, IrttBinding>,
|
bindings: HashMap<MeasurementStreamId, IrttBinding>,
|
||||||
|
targets: Vec<ManagedTargetConfig>,
|
||||||
origin: Instant,
|
|
||||||
|
|
||||||
binding_rx: Receiver<Vec<IrttBinding>>,
|
binding_rx: Receiver<Vec<IrttBinding>>,
|
||||||
observation_tx: Sender<MeasurementEvent>,
|
observation_tx: Sender<MeasurementEvent>,
|
||||||
@@ -89,12 +75,12 @@ pub struct IrttEngine {
|
|||||||
|
|
||||||
impl IrttEngine {
|
impl IrttEngine {
|
||||||
pub fn new(
|
pub fn new(
|
||||||
origin: Instant,
|
|
||||||
interval: std::time::Duration,
|
interval: std::time::Duration,
|
||||||
|
settings: &NetworkSettings,
|
||||||
observation_tx: Sender<MeasurementEvent>,
|
observation_tx: Sender<MeasurementEvent>,
|
||||||
binding_rx: Receiver<Vec<IrttBinding>>,
|
binding_rx: Receiver<Vec<IrttBinding>>,
|
||||||
) -> Result<(ManagedClientTask, Self), IrttError> {
|
) -> Result<(ManagedClientTask, Self), IrttError> {
|
||||||
let config = managed_client_config(interval);
|
let config = managed_client_config(interval, settings);
|
||||||
let (task, handle) = ManagedClient::task(config, Vec::new())?;
|
let (task, handle) = ManagedClient::task(config, Vec::new())?;
|
||||||
|
|
||||||
Ok((
|
Ok((
|
||||||
@@ -102,7 +88,7 @@ impl IrttEngine {
|
|||||||
Self {
|
Self {
|
||||||
client: handle,
|
client: handle,
|
||||||
bindings: HashMap::new(),
|
bindings: HashMap::new(),
|
||||||
origin,
|
targets: Vec::new(),
|
||||||
binding_rx,
|
binding_rx,
|
||||||
observation_tx,
|
observation_tx,
|
||||||
},
|
},
|
||||||
@@ -117,16 +103,17 @@ impl IrttEngine {
|
|||||||
TargetId::new(binding.stream.id.0.to_string()),
|
TargetId::new(binding.stream.id.0.to_string()),
|
||||||
SocketAddr::new(binding.stream.peer, binding.port).to_string(),
|
SocketAddr::new(binding.stream.peer, binding.port).to_string(),
|
||||||
);
|
);
|
||||||
if let Some(key) = &binding.hmac {
|
if let Some(key) = binding.hmac.as_ref().filter(|key| !key.trim().is_empty()) {
|
||||||
target.auth = TargetAuth::Override(irtt_client::Authentication::Hmac(
|
target.auth = TargetAuth::Override(irtt_client::Authentication::Hmac(
|
||||||
irtt_client::HmacKey::new(key.as_bytes().to_vec().into_boxed_slice()),
|
irtt_client::HmacKey::new(key.as_bytes().to_vec().into_boxed_slice()),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
target
|
target
|
||||||
})
|
})
|
||||||
.collect();
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
self.client.update_targets(targets)?.await?;
|
self.client.update_targets(targets.clone())?.await?;
|
||||||
|
self.targets = targets;
|
||||||
|
|
||||||
self.bindings = bindings
|
self.bindings = bindings
|
||||||
.into_iter()
|
.into_iter()
|
||||||
@@ -164,6 +151,11 @@ impl IrttEngine {
|
|||||||
|
|
||||||
async fn run_events(&mut self) -> Result<(), IrttError> {
|
async fn run_events(&mut self) -> Result<(), IrttError> {
|
||||||
let mut events = self.client.subscribe()?;
|
let mut events = self.client.subscribe()?;
|
||||||
|
// Durable status catches failures even if their presentation events were lost.
|
||||||
|
// Resubmitting the full desired set restarts terminal targets only.
|
||||||
|
let mut retry = tokio::time::interval(std::time::Duration::from_secs(5));
|
||||||
|
retry.set_missed_tick_behavior(tokio::time::MissedTickBehavior::Delay);
|
||||||
|
retry.tick().await;
|
||||||
loop {
|
loop {
|
||||||
tokio::select! {
|
tokio::select! {
|
||||||
bindings = self.binding_rx.recv_async() => {
|
bindings = self.binding_rx.recv_async() => {
|
||||||
@@ -173,6 +165,17 @@ impl IrttEngine {
|
|||||||
self.set_bindings(bindings).await?;
|
self.set_bindings(bindings).await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_ = retry.tick() => {
|
||||||
|
if SHUTDOWN.load(std::sync::atomic::Ordering::Relaxed) {
|
||||||
|
return Ok(());
|
||||||
|
}
|
||||||
|
if self.client.status().targets.iter().any(|target| {
|
||||||
|
target.desired && target.lifecycle == ManagedTargetLifecycle::Terminal
|
||||||
|
}) {
|
||||||
|
self.client.update_targets(self.targets.clone())?.await?;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
event = events.recv() => {
|
event = events.recv() => {
|
||||||
let event = match event {
|
let event = match event {
|
||||||
Ok(event) => event,
|
Ok(event) => event,
|
||||||
@@ -253,6 +256,7 @@ impl IrttEngine {
|
|||||||
sent_at,
|
sent_at,
|
||||||
received_at,
|
received_at,
|
||||||
one_way,
|
one_way,
|
||||||
|
rtt,
|
||||||
..
|
..
|
||||||
} => {
|
} => {
|
||||||
let Some(stream) = stream else {
|
let Some(stream) = stream else {
|
||||||
@@ -263,6 +267,8 @@ impl IrttEngine {
|
|||||||
stream,
|
stream,
|
||||||
started_at: sent_at.mono,
|
started_at: sent_at.mono,
|
||||||
observed_at: received_at.mono,
|
observed_at: received_at.mono,
|
||||||
|
round_trip: i64::try_from(rtt.effective.as_nanos())
|
||||||
|
.ok().map(SignedDuration::from_nanos),
|
||||||
one_way: one_way.and_then(map_one_way),
|
one_way: one_way.and_then(map_one_way),
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -368,9 +374,21 @@ impl IrttEngine {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn managed_client_config(interval: std::time::Duration) -> ManagedClientConfig {
|
fn managed_client_config(
|
||||||
|
interval: std::time::Duration,
|
||||||
|
#[allow(unused)] settings: &NetworkSettings,
|
||||||
|
) -> ManagedClientConfig {
|
||||||
ManagedClientConfig {
|
ManagedClientConfig {
|
||||||
client: ClientConfig {
|
client: ClientConfig {
|
||||||
|
socket: irtt_client::SocketConfig {
|
||||||
|
#[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))]
|
||||||
|
bind_to_device: settings.measurement_bind_device.clone(),
|
||||||
|
#[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))]
|
||||||
|
mark: settings.measurement_mark,
|
||||||
|
#[cfg(target_os = "freebsd")]
|
||||||
|
fib: settings.measurement_fib,
|
||||||
|
..Default::default()
|
||||||
|
},
|
||||||
request: irtt_client::SessionRequest {
|
request: irtt_client::SessionRequest {
|
||||||
duration: None,
|
duration: None,
|
||||||
interval,
|
interval,
|
||||||
|
|||||||
@@ -121,6 +121,9 @@ pub struct MeasurementObservation {
|
|||||||
/// Local monotonic time at which the result was observed.
|
/// Local monotonic time at which the result was observed.
|
||||||
pub observed_at: Instant,
|
pub observed_at: Instant,
|
||||||
|
|
||||||
|
/// Measured round-trip latency when it differs from elapsed local time.
|
||||||
|
pub round_trip: Option<SignedDuration>,
|
||||||
|
|
||||||
/// Directional timing, when the measurement mechanism can provide it.
|
/// Directional timing, when the measurement mechanism can provide it.
|
||||||
pub one_way: Option<OneWayLatency>,
|
pub one_way: Option<OneWayLatency>,
|
||||||
}
|
}
|
||||||
@@ -131,7 +134,10 @@ impl MeasurementObservation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn rtt_ms(&self) -> f64 {
|
pub fn rtt_ms(&self) -> f64 {
|
||||||
self.rtt().as_secs_f64() * 1000.0
|
self.round_trip
|
||||||
|
.map(SignedDuration::as_secs_f64)
|
||||||
|
.unwrap_or_else(|| self.rtt().as_secs_f64())
|
||||||
|
* 1000.0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -491,12 +491,17 @@ impl<S: InterfaceStatsProvider, T: TrafficControlBackend> Ratecontroller<S, T> {
|
|||||||
self.state_dl.deltas = down_deltas;
|
self.state_dl.deltas = down_deltas;
|
||||||
self.state_ul.deltas = up_deltas;
|
self.state_ul.deltas = up_deltas;
|
||||||
|
|
||||||
if self.state_dl.deltas.len() < 5 || self.state_ul.deltas.len() < 5 {
|
let minimum = usize::from(self.settings.reflectors.num_reflectors).min(reflectors.len());
|
||||||
|
if reflectors.is_empty()
|
||||||
|
|| self.state_dl.deltas.len() < minimum
|
||||||
|
|| self.state_ul.deltas.len() < minimum
|
||||||
|
{
|
||||||
// trigger reselection
|
// trigger reselection
|
||||||
warn!(
|
warn!(
|
||||||
"Not enough delta values (D: {}, U: {}, need 5), triggering reselection",
|
"Not enough delta values (D: {}, U: {}, need {}), triggering reselection",
|
||||||
self.state_dl.deltas.len(),
|
self.state_dl.deltas.len(),
|
||||||
self.state_ul.deltas.len()
|
self.state_ul.deltas.len(),
|
||||||
|
minimum
|
||||||
);
|
);
|
||||||
let _ = self.reselect_trigger.try_send(true);
|
let _ = self.reselect_trigger.try_send(true);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -252,17 +252,21 @@ impl ReflectorSelector {
|
|||||||
candidates.swap(i, j);
|
candidates.swap(i, j);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (candidates.len() as u8) < num_reflectors {
|
if candidates.is_empty() {
|
||||||
info!(
|
info!("No usable reflectors, retaining current set");
|
||||||
"Only {} usable reflectors, retaining current set of {}",
|
|
||||||
candidates.len(),
|
|
||||||
num_reflectors
|
|
||||||
);
|
|
||||||
self.reflector_tx.send(current_peers.clone())?;
|
self.reflector_tx.send(current_peers.clone())?;
|
||||||
*reflectors_peers = current_peers;
|
*reflectors_peers = current_peers;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (candidates.len() as u8) < num_reflectors {
|
||||||
|
info!(
|
||||||
|
"Only {} usable reflectors, selecting available candidates",
|
||||||
|
candidates.len()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
let num_reflectors = num_reflectors.min(candidates.len() as u8);
|
||||||
|
|
||||||
let mut new_peers = Vec::new();
|
let mut new_peers = Vec::new();
|
||||||
for i in 0..num_reflectors {
|
for i in 0..num_reflectors {
|
||||||
let peer = candidates[i as usize].0;
|
let peer = candidates[i as usize].0;
|
||||||
|
|||||||
+54
-4
@@ -2,12 +2,10 @@
|
|||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MPL-2.0
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
use anyhow::{Context, bail};
|
|
||||||
use config::{Config, ConfigError, Environment};
|
use config::{Config, ConfigError, Environment};
|
||||||
use log::Level;
|
use log::Level;
|
||||||
use serde::{Deserialize, Deserializer, de};
|
use serde::{Deserialize, Deserializer, de};
|
||||||
use std::fmt::{self, Display};
|
use std::fmt::{self, Display};
|
||||||
use std::net::IpAddr;
|
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
use uci_derive::{UciConfig, UciSection};
|
use uci_derive::{UciConfig, UciSection};
|
||||||
|
|
||||||
@@ -17,6 +15,7 @@ use crate::settings::uci::UciSource;
|
|||||||
#[cfg(all(feature = "uci", unix))]
|
#[cfg(all(feature = "uci", unix))]
|
||||||
pub mod uci;
|
pub mod uci;
|
||||||
|
|
||||||
|
#[cfg(all(feature = "uci", unix))]
|
||||||
pub(crate) mod uci_schema;
|
pub(crate) mod uci_schema;
|
||||||
mod validation;
|
mod validation;
|
||||||
|
|
||||||
@@ -47,7 +46,7 @@ where
|
|||||||
type Value = bool;
|
type Value = bool;
|
||||||
|
|
||||||
fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
formatter.write_str("a boolean or a UCI-compatible boolean string")
|
formatter.write_str("a boolean, integer 0 or 1, or a UCI-compatible boolean string")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn visit_bool<E>(self, value: bool) -> Result<Self::Value, E>
|
fn visit_bool<E>(self, value: bool) -> Result<Self::Value, E>
|
||||||
@@ -57,6 +56,28 @@ where
|
|||||||
Ok(value)
|
Ok(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn visit_i64<E>(self, value: i64) -> Result<Self::Value, E>
|
||||||
|
where
|
||||||
|
E: de::Error,
|
||||||
|
{
|
||||||
|
match value {
|
||||||
|
0 => Ok(false),
|
||||||
|
1 => Ok(true),
|
||||||
|
_ => Err(E::custom("boolean integer must be 0 or 1")),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn visit_u64<E>(self, value: u64) -> Result<Self::Value, E>
|
||||||
|
where
|
||||||
|
E: de::Error,
|
||||||
|
{
|
||||||
|
match value {
|
||||||
|
0 => Ok(false),
|
||||||
|
1 => Ok(true),
|
||||||
|
_ => Err(E::custom("boolean integer must be 0 or 1")),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fn visit_str<E>(self, value: &str) -> Result<Self::Value, E>
|
fn visit_str<E>(self, value: &str) -> Result<Self::Value, E>
|
||||||
where
|
where
|
||||||
E: de::Error,
|
E: de::Error,
|
||||||
@@ -200,7 +221,14 @@ impl Settings {
|
|||||||
config::File::with_name("/etc/sqm-autorate-rust/config.toml").required(false),
|
config::File::with_name("/etc/sqm-autorate-rust/config.toml").required(false),
|
||||||
);
|
);
|
||||||
|
|
||||||
let builder = builder.add_source(Environment::with_prefix("SQMA").separator("__"));
|
let builder = builder.add_source(
|
||||||
|
Environment::with_prefix("SQMA")
|
||||||
|
.separator("__")
|
||||||
|
.try_parsing(true)
|
||||||
|
.list_separator(",")
|
||||||
|
.with_list_parse_key("reflectors.files")
|
||||||
|
.with_list_parse_key("reflectors.countries"),
|
||||||
|
);
|
||||||
let mut settings: Self = builder.build()?.try_deserialize()?;
|
let mut settings: Self = builder.build()?.try_deserialize()?;
|
||||||
|
|
||||||
settings.reflectors.load_files()?;
|
settings.reflectors.load_files()?;
|
||||||
@@ -241,6 +269,7 @@ impl NetworkSettings {
|
|||||||
#[derive(Clone, Debug, Deserialize, UciSection)]
|
#[derive(Clone, Debug, Deserialize, UciSection)]
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub(crate) struct ReflectorSettings {
|
pub(crate) struct ReflectorSettings {
|
||||||
|
#[serde(deserialize_with = "deserialize_reflector_files")]
|
||||||
pub(crate) files: Vec<String>,
|
pub(crate) files: Vec<String>,
|
||||||
pub(crate) countries: Vec<String>,
|
pub(crate) countries: Vec<String>,
|
||||||
|
|
||||||
@@ -443,3 +472,24 @@ where
|
|||||||
let value = String::deserialize(deserializer)?;
|
let value = String::deserialize(deserializer)?;
|
||||||
value.parse().map_err(de::Error::custom)
|
value.parse().map_err(de::Error::custom)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// UCI drops empty string options; `option files 'none'` disables file loading.
|
||||||
|
fn deserialize_reflector_files<'de, D>(deserializer: D) -> Result<Vec<String>, D::Error>
|
||||||
|
where
|
||||||
|
D: Deserializer<'de>,
|
||||||
|
{
|
||||||
|
#[derive(Deserialize)]
|
||||||
|
#[serde(untagged)]
|
||||||
|
enum Files {
|
||||||
|
List(Vec<String>),
|
||||||
|
String(String),
|
||||||
|
}
|
||||||
|
|
||||||
|
match Files::deserialize(deserializer)? {
|
||||||
|
Files::List(files) => Ok(files),
|
||||||
|
Files::String(value) if value.trim().is_empty() || value.trim() == "none" => Ok(Vec::new()),
|
||||||
|
Files::String(_) => Err(de::Error::custom(
|
||||||
|
"reflector files must be a list, an empty string, or none",
|
||||||
|
)),
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -212,6 +212,21 @@ impl ReflectorSettings {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (index, reflector) in self.entries.iter().enumerate() {
|
||||||
|
if reflector.host.trim().is_empty() {
|
||||||
|
report.error(
|
||||||
|
"reflectors.entries",
|
||||||
|
format!("entry {index} must have a nonempty host"),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if reflector.protocols.is_empty() {
|
||||||
|
report.error(
|
||||||
|
"reflectors.entries",
|
||||||
|
format!("entry {index} must have at least one measurement protocol"),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for (index, file) in self.files.iter().enumerate() {
|
for (index, file) in self.files.iter().enumerate() {
|
||||||
if file.trim().is_empty() {
|
if file.trim().is_empty() {
|
||||||
report.error(
|
report.error(
|
||||||
|
|||||||
@@ -14,16 +14,11 @@ pub trait Clock {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub enum Realtime {}
|
pub enum Realtime {}
|
||||||
pub enum Monotonic {}
|
|
||||||
|
|
||||||
impl Clock for Realtime {
|
impl Clock for Realtime {
|
||||||
const ID: ClockId = ClockId::Realtime;
|
const ID: ClockId = ClockId::Realtime;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Clock for Monotonic {
|
|
||||||
const ID: ClockId = ClockId::Monotonic;
|
|
||||||
}
|
|
||||||
|
|
||||||
pub struct ClockSample<C> {
|
pub struct ClockSample<C> {
|
||||||
time_s: u64,
|
time_s: u64,
|
||||||
time_ns: u64,
|
time_ns: u64,
|
||||||
@@ -56,10 +51,6 @@ impl<C: Clock> ClockSample<C> {
|
|||||||
pub fn as_secs_f64(&self) -> f64 {
|
pub fn as_secs_f64(&self) -> f64 {
|
||||||
self.time_s as f64 + self.time_ns as f64 / 1_000_000_000.0
|
self.time_s as f64 + self.time_ns as f64 / 1_000_000_000.0
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn to_milliseconds(&self) -> u64 {
|
|
||||||
(self.time_s * 1000) + (self.time_ns / 1000000)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ClockSample<Realtime> {
|
impl ClockSample<Realtime> {
|
||||||
|
|||||||
+1
-11
@@ -3,20 +3,10 @@
|
|||||||
// SPDX-License-Identifier: MPL-2.0
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
use anyhow::anyhow;
|
use anyhow::anyhow;
|
||||||
use std::sync::{Arc, Mutex, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard};
|
use std::sync::{Arc, RwLock, RwLockReadGuard, RwLockWriteGuard};
|
||||||
|
|
||||||
pub type ArcRwLock<T> = Arc<RwLock<T>>;
|
pub type ArcRwLock<T> = Arc<RwLock<T>>;
|
||||||
|
|
||||||
pub trait MutexExt<T> {
|
|
||||||
fn lock_anyhow(&self) -> anyhow::Result<MutexGuard<'_, T>>;
|
|
||||||
}
|
|
||||||
|
|
||||||
impl<T> MutexExt<T> for Mutex<T> {
|
|
||||||
fn lock_anyhow(&self) -> anyhow::Result<MutexGuard<'_, T>> {
|
|
||||||
self.lock().map_err(|e| anyhow!("mutex poisoned: {e}"))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait RwLockExt<T> {
|
pub trait RwLockExt<T> {
|
||||||
fn read_anyhow(&self) -> anyhow::Result<RwLockReadGuard<'_, T>>;
|
fn read_anyhow(&self) -> anyhow::Result<RwLockReadGuard<'_, T>>;
|
||||||
fn write_anyhow(&self) -> anyhow::Result<RwLockWriteGuard<'_, T>>;
|
fn write_anyhow(&self) -> anyhow::Result<RwLockWriteGuard<'_, T>>;
|
||||||
|
|||||||
Reference in new issue
Block a user