Tak jsem zkusil netmetr --debug a nic nového tam nevidim:
root@turris:~# netmetr --debug
Checking uuid on the control server...
Sending the following request to https://control.netmetr.cz/RMBTControlServer/settings?skip_history=true
{
"uuid": "9ed7782f-7576-4440-a7a9-77aa3e60f942",
"language": "en_US",
"name": "RMBT",
"terms_and_conditions_accepted": "true",
"type": "DESKTOP",
"version_name": "Python netmetr client v1.6.0"
}
response:
{
"settings": [
{
"urls": {
"url_ipv6_check": "https://ipv6.control.netmetr.cz/RMBTControlServer/ip",
"control_ipv4_only": "ipv4.control.netmetr.cz",
"url_ipv4_check": "https://ipv4.control.netmetr.cz/RMBTControlServer/ip",
"control_ipv6_only": "ipv6.control.netmetr.cz",
"statistics": "https://www.netmetr.cz/en/stats_app.html"
},
"qostesttype_desc": [
{
"name": "DNS",
"test_type": "DNS"
},
{
"name": "Non Transparent Proxy",
"test_type": "NON_TRANSPARENT_PROXY"
},
{
"name": "HTTP Proxy",
"test_type": "HTTP_PROXY"
},
{
"name": "Website",
"test_type": "WEBSITE"
},
{
"name": "UDP",
"test_type": "UDP"
},
{
"name": "TCP",
"test_type": "TCP"
},
{
"name": "JITTER",
"test_type": "JITTER"
}
],
"versions": {
"control_server_version": "master_2.0.83-CZ_0.9.28-354-gc1fca50"
}
}
]
}
Requesting test config from the control server...
Sending the following request to https://control.netmetr.cz/RMBTControlServer/testRequest
{
"client": "HW-PROBE",
"language": "en_US",
"time": 1624830054000,
"timezone": "CEST",
"type": "DESKTOP",
"uuid": "9ed7782f-7576-4440-a7a9-77aa3e60f942",
"version": "0.1"
}
response:
{
"user_server_selection": false,
"test_server_address": "ipv4.speed.netmetr.cz",
"test_server_port": 8081,
"test_server_name": "CZ.NIC (Prague)",
"test_server_encryption": false,
"test_server_type": "RMBT",
"test_duration": "5",
"test_numthreads": "3",
"test_numpings": "10",
"client_remote_ip": "128.0.186.230",
"result_url": "https://control.netmetr.cz/RMBTControlServer/result",
"result_qos_url": "https://control.netmetr.cz/RMBTControlServer/resultQoS",
"test_token": "2f18b197-e5ac-4ebe-ab48-3dd1a4ea0f11_1624830187_p4Ut8+n188nO5Q5gp8VB/6LGsD4=",
"test_uuid": "2f18b197-e5ac-4ebe-ab48-3dd1a4ea0f11",
"test_id": 12866111,
"test_wait": 0,
"error": []
}
Starting ping test...
ping_1_msec = 2.47
ping_2_msec = 2.31
ping_3_msec = 2.47
ping_4_msec = 2.56
ping_5_msec = 2.38
ping_6_msec = 2.57
ping_7_msec = 2.49
ping_8_msec = 2.53
ping_9_msec = 2.25
ping_10_msec = 2.45
Starting speed test...
==== rmbt e30eb64d7 ====
connecting...
connected with 3 flow(s) for dl; 3 flow(s) for ul
pretest downlink start... (min 1s)
pretest downlink end.
rtt_tcp_payload start... (11 times)
rtt_tcp_payload end.
downlink test start... (5s)
downlink test end.
pretest uplink start... (min 1s)
pretest uplink end.
uplink test start... (5s)
uplink test end.
disconnecting.
dl_throughput_mbps = 940.827376
ul_throughput_mbps = 288.109340
Exiting.
Speed test result:
{
"cnf_file_flows":"\/tmp\/tmpaer34qxl.xz"
}
{
"res_id_test":"2f18b197-e5ac-4ebe-ab48-3dd1a4ea0f11",
"res_time_start_s":1624830193,
"res_time_end_s":1624830207,
"res_status":"success",
"res_status_msg":null,
"res_version_client":"e30eb64d7",
"res_version_server":"RMBTv0.3",
"res_server_ip":"217.31.202.97",
"res_server_port":8081,
"res_encrypt":false,
"res_chunksize":4096,
"res_tcp_congestion":"cubic",
"res_total_bytes_dl":649290658,
"res_total_bytes_ul":232981900,
"res_uname_sysname":"Linux",
"res_uname_nodename":"turris",
"res_uname_release":"4.14.236",
"res_uname_version":"#0 SMP Wed Jun 16 00:15:12 2021",
"res_uname_machine":"armv7l",
"res_rtt_tcp_payload_num":11,
"res_rtt_tcp_payload_client_ns":1607412,
"res_rtt_tcp_payload_server_ns":2115930,
"res_dl_num_flows":3,
"res_dl_time_ns":5066639628,
"res_dl_bytes":595854158,
"res_dl_throughput_kbps":940827.37553640746,
"res_ul_num_flows":3,
"res_ul_time_ns":5061379096,
"res_ul_bytes":182278824,
"res_ul_throughput_kbps":288109.34022951126
}
Sending the following request to https://control.netmetr.cz/RMBTControlServer/result
(speed detail omitted)
{
"client_language": "en_US",
"client_name": "HW-PROBE",
"client_version": "0.1",
"client_software_version": "Python netmetr client v1.6.0",
"geoLocations": [],
"model": "Turris Omnia",
"network_type": 98,
"product": "os: 5.2.2 hw: cznic,turris-omnia",
"test_bytes_download": 649290658,
"test_bytes_upload": 232981900,
"test_nsec_download": 5066639628,
"test_nsec_upload": 5061379096,
"test_num_threads": 3,
"test_ping_shortest": 2250000,
"num_threads_ul": 3,
"test_speed_download": 940827.3755364075,
"test_speed_upload": 288109.34022951126,
"test_token": "2f18b197-e5ac-4ebe-ab48-3dd1a4ea0f11_1624830187_p4Ut8+n188nO5Q5gp8VB/6LGsD4=",
"pings": []
}
Traceback (most recent call last):
File "/usr/bin/netmetr", line 11, in <module>
load_entry_point('netmetr==1.6.0', 'console_scripts', 'netmetr')()
File "/usr/lib/python3.7/site-packages/netmetr/__main__.py", line 656, in main
File "/usr/lib/python3.7/site-packages/netmetr/__main__.py", line 362, in upload_result
File "/usr/lib/python3.7/site-packages/netmetr/__main__.py", line 102, in send_request
File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
File "/usr/lib/python3.7/urllib/request.py", line 531, in open
File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
File "/usr/lib/python3.7/urllib/request.py", line 569, in error
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 400: Bad Request
root@turris:~#
Všiml jsem si že netmetr jako aplikace je neskutečně pomalý, tedy přesněji hrozně dlouho trvají reply. Nevidím zda je to dns resolving nebo něco jiného.