Menu

From DNS to the exit, find the cause.

Twelve network checks for GUI, TUI and CLI.

On this page

Choose a tool. Enter a target. Read the result.

Open Network diagnostics, choose a tool and enter a domain or URL. Options and results stay in one card; leaving the page clears them.

Diagnostics: choose a tool, enter a target and read the result
Diagnostics: choose a tool, enter a target and read the result · Desktop · 0.7.4 · Demo data
See the terminal interface
  CLASH OF RUST   /   TERMINAL   Local console

   1 Home       2 Nodes       3 Subscriptions       4 Connections
   5 Rules      [6 Network]      7 Settings       8 Commands
  ───────────────────────────────────────────────────────────────────────────────────────────────
  Website check  1/12
  Target: github.com
  Parameters: Default check
  Check resolution, response, and matching rules.

















───────────────────────────────────────────────────────────────────────────────────────────────────
Quitting keeps the background and proxy running
←→ tools · o options · e export · / input · Enter check · ↑↓ results · Esc cancel · q quit
v0.7.4 · Local backend · samples every second; redraws on change
Actual terminal frame · Fixed test input · Linux · 0.7.4

Run cor, press 6 and use ← / → to choose a tool. Press / to enter a target, then Enter to finish and Enter again to run.

Start from what you see

You do not need to know the tools by name. Find the symptom, then run the check beside it.

What you seeStart with
A site will not openWebsite check
It opens, but slowlyConnection timing Capped download
It works, then dropsShort stability run
Traffic leaves through the wrong exitWebsite check DNS query
A certificate warning appearsTLS certificate
Calls, games or QUIC failUDP reachability
Trouble only on IPv6, or only on IPv4IPv4 / IPv6
Not sure the host answers at allPing Route trace
A particular port will not connectTCP port
A service responds with an unexpected HTTP statusHTTP inspection

Check scope

  • It runs only when you ask. Nothing scans in the background.
  • Website and HTTP checks go through the core's local proxy as it is now. A check never starts the core, switches node or falls back to a direct connection.
  • Switching page or tool cancels the check and clears the result. Export first if you need it.
  • Reports leave out the URL path and query, any user name or password, and the downloaded body.

Target checks

Five checks aimed at one site or host name.

Website check

cor network check URL

Options

  • No extra options
What it checks
Resolves the name with both the system and the core, requests the site over HTTPS and HTTP through the local proxy, and reports which protocol answered and the policy chain the request actually used.
Use it when
Start here when a site will not open and you do not yet know which layer is at fault.
Keep in mind
An HTTP 403 or 500 proves that something answered, not that the service works. Redirects are reported, not followed. You may leave out the scheme.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select Website check, enter https://example.com and run the check.

TUI: Run cor, press 6 and use ← / → to select Website check. Press /, enter https://example.com and press Enter to finish input. Press Enter again to run.

CLI: cor network check https://example.com

DNS query

cor network dns HOST

Options

  • --type ADDR / A / AAAA / CNAME / MX / TXT / NS / SOA / PTR / CAA
What it checks
Resolves one host name with the system resolver and with the core, and shows both answers next to each other.
Use it when
A site opens in one app but not in another, or you suspect a wrong or hijacked answer.
Keep in mind
Different answers are not a fault on their own. The controller query returns real upstream addresses even with Fake-IP. Version 0.7.2 adds record types, TTL and available AA/RA flags; TXT/SOA bodies are hidden.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select DNS query, enter example.com and run the check.

TUI: Run cor, press 6 and use ← / → to select DNS query. Press /, enter example.com and press Enter to finish input. Press Enter again to run.

CLI: cor network dns example.com

Connection timing

cor network phase URL

Options

  • --seconds 1–30
What it checks
Times an independent core DNS query, the local SOCKS5 connection, proxy establishment of the target connection, TLS and the first response byte.
Use it when
A site loads, but slowly, and you want to know which stage eats the time.
Keep in mind
Proxy establishment includes proxy-side DNS, routing and outbound handling. It is not a pure remote TCP handshake; do not add the independent DNS query to these timings.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select Connection timing, enter https://example.com and run the check.

TUI: Run cor, press 6 and use ← / → to select Connection timing. Press /, enter https://example.com and press Enter to finish input. Press Enter again to run.

CLI: cor network phase https://example.com

IPv4 / IPv6

cor network family URL

Options

  • --seconds 1–30
What it checks
Connects to the target once over IPv4 and once over IPv6, each through the local proxy.
Use it when
Something works on one network and fails on another, or you are deciding whether to keep IPv6 switched on.
Keep in mind
Tests proxy access to the target address family, not local or node-ingress IPv6. HTTPS validates the original host; HTTP stops after connecting. Missing AAAA is not a connection failure.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select IPv4 / IPv6, enter https://example.com and run the check.

TUI: Run cor, press 6 and use ← / → to select IPv4 / IPv6. Press /, enter https://example.com and press Enter to finish input. Press Enter again to run.

CLI: cor network family https://example.com

TLS certificate

cor network tls HOST

Options

  • --seconds 1–30
What it checks
Verifies the certificate's host name, validity period and trust chain, and shows a short summary of the certificate.
Use it when
A browser shows a certificate warning, or you suspect something on the path is intercepting HTTPS.
Keep in mind
Stops after the TLS handshake without sending HTTP. Never skips verification. Expiry, host mismatch and issuer failures are distinguished.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select TLS certificate, enter example.com and run the check.

TUI: Run cor, press 6 and use ← / → to select TLS certificate. Press /, enter example.com and press Enter to finish input. Press Enter again to run.

CLI: cor network tls example.com

Short stability run

cor network stability URL

Options

  • --count 1–20
  • --interval-ms 100–5000
  • --seconds 1–30
What it checks
Reports transport failures separately from HTTP status counts, plus minimum, median and maximum response-header time.
Use it when
A connection works, drops, then works again.
Keep in mind
The whole run is capped at 120 seconds. If count, interval and time limit add up to more, you get the results collected so far, marked as timed out.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select Short stability run, enter https://example.com and run the check.

TUI: Run cor, press 6 and use ← / → to select Short stability run. Press /, enter https://example.com and press Enter to finish input. Press Enter again to run.

CLI: cor network stability https://example.com

UDP reachability

cor network udp SERVER[:PORT]

Options

  • --seconds 1–30
What it checks
Sends one DNS probe to the server through the local SOCKS5 UDP relay. Port 53 is used unless you give another.
Use it when
Calls, games or QUIC fail although ordinary web pages load.
Keep in mind
Nothing is sent when UDP is switched off in settings, or while Claude protection is on.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select UDP reachability, enter example.com:53 and run the check.

TUI: Run cor, press 6 and use ← / → to select UDP reachability. Press /, enter example.com:53 and press Enter to finish input. Press Enter again to run.

CLI: cor network udp example.com:53

Ping

cor network ping HOST

Options

  • --count 1–20
What it checks
Runs the system's ICMP ping against the host.
Use it when
You want to know whether the host answers at all from this machine.
Keep in mind
This is not the latency of a proxy node. System ping does not use the HTTP proxy, and whether TUN carries it depends on your routes. It is never imitated with TCP.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select Ping, enter example.com and run the check.

TUI: Run cor, press 6 and use ← / → to select Ping. Press /, enter example.com and press Enter to finish input. Press Enter again to run.

CLI: cor network ping example.com

Route trace

cor network trace HOST

Options

  • --max-hops 1–16
What it checks
Runs the system's route tracer and lists the hops that answered.
Use it when
You want to see where along the path the replies stop.
Keep in mind
A hop that stays silent does not mean the path is broken. Android often ships without traceroute; the tool then says it is unavailable.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select Route trace, enter example.com and run the check.

TUI: Run cor, press 6 and use ← / → to select Route trace. Press /, enter example.com and press Enter to finish input. Press Enter again to run.

CLI: cor network trace example.com

Capped download

cor network download URL

Options

  • --seconds 1–30
  • --max-bytes 1024–16777216
What it checks
Downloads from the URL until a time or size cap is reached, and discards the body as it arrives.
Use it when
Pages open, but large files crawl or stall.
Keep in mind
The server must answer with a success status. Reaching the cap is normal and does not count as a failure.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select Capped download, enter https://example.com and run the check.

TUI: Run cor, press 6 and use ← / → to select Capped download. Press /, enter https://example.com and press Enter to finish input. Press Enter again to run.

CLI: cor network download https://example.com

Protocol checks

TCP handshakes and bounded HTTP responses.

TCP port

cor network tcp HOST[:PORT]

Options

  • --seconds 1–30
What it checks
Times the local SOCKS5 hop and the target handshake.
Use it when
A service port appears unreachable.
Keep in mind
Requires 0.7.2. Uses the current proxy; default port 443. A handshake does not prove TLS or service health.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select TCP port, enter example.com:443 and run the check.

TUI: Run cor, press 6 and use ← / → to select TCP port. Press /, enter example.com:443 and press Enter to finish input. Press Enter again to run.

CLI: cor network tcp example.com:443

HTTP inspection

cor network http URL

Options

  • --method HEAD / GET / OPTIONS
  • --seconds 1–30
What it checks
Sends HEAD, GET or OPTIONS; separates transport reachability from business status. Reads at most 4 KiB of body and discards it.
Use it when
A site answers but behaves unexpectedly.
Keep in mind
No redirect following or extra route lookup. Cookies, authorization headers and body text are not retained.
Usage examples
GUI, TUI and CLI examples

GUI: Under Tools → Network diagnostics, select HTTP inspection, enter https://example.com and run the check.

TUI: Run cor, press 6 and use ← / → to select HTTP inspection. Press /, enter https://example.com and press Enter to finish input. Press Enter again to run.

CLI: cor network http https://example.com

Rules, configuration and runtime status

The website check shows the matched rule and policy chain of a real request.

Read configuration with cor config get or cor config effective; validate with cor config check.

See Connections for individual traffic, Proxies for node details, and Home or diagnostics for core status.

Options and limits

Defaults: 5 attempts, 1,000 ms apart, 10 seconds each, an 8 MiB cap and 8 hops. The GUI shows relevant options. In TUI, press o to edit the current tool's applicable options and apply them before running; CLI uses the flags below.

OptionMeaningRangeDefaultUsed by
--countNumber of attempts1–205Short stability run, Ping
--interval-msPause between attempts, in milliseconds100–50001000Short stability run
--secondsTime limit for one attempt, in seconds1–3010Connection timing, IPv4 / IPv6, TLS certificate, Short stability run, UDP reachability, Capped download, TCP port, HTTP inspection
--max-bytesDownload cap in bytes (8 MiB by default; the window takes whole MiB)1024–167772168388608Capped download
--max-hopsFurthest hop to probe1–168Route trace
--typeCore DNS record type; system comparison still uses A/AAAAADDR / A / AAAA / CNAME / MX / TXT / NS / SOA / PTR / CAAADDRDNS query
--methodHTTP request methodHEAD / GET / OPTIONSHEADHTTP inspection

Stability checks run for up to 120 seconds.

While Claude protection is on

With protection on, or when its state cannot be read, the toolbox sends no system DNS lookups, no UDP, no ICMP and no hop-by-hop probes. Checks that need them say why they are unavailable instead of running. The other checks still go through the local proxy and your current rules, so a diagnosis can never be used to step around protection.

If you have switched UDP off in settings, the UDP probe is not sent either.

Reading and saving a report

Each report ends in one of four states. They are not interchangeable, and the command line returns a non-zero exit code for the last two while still printing the report.

complete

Every step ran and gave an answer.

partial

Some steps answered and some did not. Reaching a time or size cap on purpose does not count against a check.

failed / unavailable

The check ran and failed, or could not run here at all: a missing system tool, no permission, or protection being on.

From the window

Use the export button under the result. The export carries the tool, its result and any error code.

From the terminal interface

After a real check, press e, enter a path and confirm the JSON export. If writing fails, change the path and retry; demo mode does not write files.

From the command line

Add --json to print the report, or --output FILE to save it.

$ cor network phase example.com --seconds 5
$ cor network stability example.com --count 10 --interval-ms 500
$ cor network check example.com --json
$ cor network tls example.com --output tls-report.json

The JSON holds schema, tool, a target reduced to its origin, elapsed_ms, status and a list of entries. Each entry has a label, a detail, a code and success, where null means a note or something that could not be confirmed. cor network check keeps its earlier JSON shape.

Where to find it

Desktop windowOpen Network diagnostics directly from the sidebar. Input, action and result share one card.
AndroidThe same tools, reached from the Tools entry. Route trace depends on the system having traceroute.
Command linecor network followed by the tool and its target, on Windows, Linux and macOS.
Terminal interfaceRun cor and press 6 to open Network. Use ← / → to change tools. Press / to enter a target, then Enter to finish and Enter again to run. Press Esc to cancel.

Download stable · Technical details (Chinese)