@mark1russell7/netdiag-cli 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,11 +22,12 @@ The target is a DNS name, an IP address, `host:port` or a URL. A URL also gives
|
|
|
22
22
|
|
|
23
23
|
The check has these steps:
|
|
24
24
|
|
|
25
|
-
1. It
|
|
26
|
-
2. It
|
|
27
|
-
3. It
|
|
28
|
-
4. It
|
|
29
|
-
5. It
|
|
25
|
+
1. It reads the link and the Wi-Fi link of this computer. These reads send no packet. The Wi-Fi read uses `iw` on Linux, `system_profiler` on macOS and `netsh` on Windows.
|
|
26
|
+
2. It asks the DNS resolver for the IPv4 and IPv6 addresses of each name.
|
|
27
|
+
3. It pings each address, connects to it, does the TLS handshake and sends one HTTP request.
|
|
28
|
+
4. It searches the MTU of the path to an address when the TLS handshake or the HTTP response times out after a TCP connect.
|
|
29
|
+
5. It reads the facts into evidence. The catalog of faults gives the probability of each cause.
|
|
30
|
+
6. It finds the probe with the largest information gain over the 3 most probable causes. This probe is the next step.
|
|
30
31
|
|
|
31
32
|
## The options
|
|
32
33
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@mark1russell7/netdiag-cli",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"description": "The command line of netdiag: one command takes a target and gives the probable causes of a fault and the next step.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"network",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@mark1russell7/algebra": "^0.8.10",
|
|
67
|
-
"@mark1russell7/netdiag": "0.
|
|
67
|
+
"@mark1russell7/netdiag": "0.5.0",
|
|
68
68
|
"@mark1russell7/optional": "^1.2.0",
|
|
69
69
|
"@mark1russell7/text": "^0.0.6",
|
|
70
70
|
"@procedures/cli-kit": "^0.57.0",
|