Skip to content

Feature: Add tcp protocol to ping monitor - #3756

Merged
mergify[bot] merged 20 commits into
mainfrom
feature/ping-monitor-tcp
Nov 29, 2026
Merged

mergify[bot] merged 20 commits into
mainfrom
feature/ping-monitor-tcp

Conversation

@BornToBeRoot

Copy link
Copy Markdown
Owner

Description

See commits

Related issue

Ref #3609
Ref #2566
Close #2795

Type of change

  • ✨ New feature / improvement
  • 📖 Documentation / website
  • 🧹 Refactoring / maintenance (no functional change)

agent and others added 12 commits November 29, 2026 15:36
Besides ICMP, the Ping Monitor checks a host with a TCP connection to one port (#2795).

- TCPHostMonitorProbe (shared PortProbe, one attempt): open = up (time to connect), closed = down ("Port closed" in the
  tooltip), no answer = timed out; HostMonitorMethod and Method / Port on PingInfo
- Input row like DNS Lookup: Host, Port (TCP only), Protocol; protocol and last port remembered, port history
- Own port profiles with one port (e.g. "HTTPS" = 443/tcp): Settings > Ping Monitor > TCP with add / edit / delete
  like the Port Scanner, input with suggestions and Tab completion, "443" or "443/tcp" or a port profile name
- Profiles and groups: protocol and port with "Override default settings" like the Port Scanner (group for its
  profiles, profile overrides the group), port profile referenced by ID with the saved port as fallback, tooltip of
  the profiles shows the check
- Run command: ping <hosts> [port | port profile] with suggestions, ICMP without a port
- Timeout and wait time per protocol (ICMP / TCP)
- Tag "icmp" / "443/tcp", notifications and duplicates per port, export of a TCP host with the port, a TCP host opens in
  the Port Scanner with its port
- Tests: TCP probe, HostMonitor loop, duplicates, port profiles, profile / group resolution, run command, TCP export

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Protocol and port, port profiles, profile and group settings, run command, settings per protocol, troubleshooting,
  export columns of a TCP host
- Changelog (#2795)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Run command / other tools without a port: ICMP (it kept the protocol of the last input)
- Port profile dialog: the port is validated and read with the same parser (PingMonitorPortValidator) - "+80" passed
  the validator and crashed on save
- A port profile with an invalid port (e.g. a hand-edited settings file) is no valid input (the TCP probe threw)
- Group of a profile looked up without exceptions (GetGroupByName throws for an empty / unknown group)
- The warning about a missing port profile only applies to the host and port of that profile
- A check that failed with an error keeps the method and port of the host (export column, status text)
- Doc comments on the right members, own Ping Monitor block in the group copy / load
- Tests for the invalid port profile and the port parser

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…otocol / port / ports

- Ping Monitor: a host selected from the history gets the protocol and port it was last added with
- Port Scanner: a host selected from the history gets the ports it was last scanned with
- Only for an entry picked from the open history list - a typed host that matches an entry keeps the current values
- HostHistoryOptions (Utilities): options of the hosts of a history, newest first, only hosts that are still in the
  history (pruned when options are saved and before the settings are saved); typed entries
  PingMonitorHostHistoryInfo / PortScannerHostHistoryInfo, settings PingMonitor_HostHistoryOptions /
  PortScanner_HostHistoryOptions
- Tests for the helper

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…(Port Scanner)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Host history: options only for an entry picked from the list (click or Enter, ComboBoxPickHelper) - an editable
  ComboBox also selects an entry while typing
- Ping Monitor: the port input starts with the last port (also a port profile, which is not in the port history);
  a port of the history that no longer resolves (renamed / deleted port profile) keeps the current port
- Ping Monitor: the protocol drop-down is read-only while hosts are added (IsReadOnly + ComboBoxReadOnlyBehavior)
- Port Scanner: indentation

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ixed anchors

- Intro and info block: ICMP and TCP (like the other tool pages)
- Protocol and port: up / down per protocol as a table, shorter; run command shorter
- Duplicates (IP address, protocol and port) and search (check, e.g. 443/tcp) like the code
- Settings in the order of the settings page (ICMP, then TCP), ICMP wait time with type and default again
- Broken anchors (#timeout-ms, #time-ms-to-wait-between-each-ping) - the website build throws on broken anchors
- Shorter TCP changelog entry

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ping 1.1.1.1 -> Protocol: icmp, ping 1.1.1.1 443 -> Protocol: tcp, a port profile -> tcp (443/tcp); a chip with the
  values that can't be typed (the protocol follows from the port), not for a profile
- PingMonitorPortProfile.GetProtocolText (tests), docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Port Scanner: ports of the host history are only restored if they still resolve (renamed / deleted port profile),
  not while canceling
- Ping Monitor: the last port has its own setting (PingMonitor_LastPort) - also remembered without a history and for a
  port profile
- Ping Monitor: the port history keeps a port as number ("443/tcp" -> "443"), no duplicates of the same port
- Ping Monitor: the port drop-down can't change the port while hosts are added (ComboBoxReadOnlyBehavior)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Default port profiles are added once (upgrade / first start) instead of by the initializer of the setting - they got
  new IDs on every start until the settings were saved, so a reference of a profile / group could be lost
- Renaming a port profile also renames it in the last port and the host history (they save the name)
- Port profile dialog: a name with trailing spaces is no change; the name uses the UI font
- The port input takes one port: no conversion of a multiline paste into a list
- A TCP profile whose port profile is missing and has no saved port: the port has to be entered (no warning that the
  saved port is used)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- An open Ping Monitor keeps a renamed port profile in its port input (rename = removed and added with the same ID)
- Host history pick: Enter only picks an entry that was highlighted with the arrow keys (typed text that matches an
  entry is no pick)
- Profile tooltip: a TCP profile without a usable port shows "tcp" (it was hidden like "not overridden")
- Note to move the default port profiles into the dated upgrade step of the release (like the mDNS block)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 29, 2026 16:17
@github-actions github-actions Bot added this to the next-release milestone Nov 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@mergify

mergify Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

agent and others added 8 commits November 29, 2026 17:21
…Scanner host history

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The list of the group dialog is sorted by the GroupViewName value, PingMonitor was added at the end of the enum.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without ports (new tab, run command or profile without ports) the newest entry of the port history is used, also
after a restart (the Ping Monitor already keeps its last protocol / port).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…l, hidden for ICMP

The port belongs to the protocol: indented like the gateway server settings of Remote Desktop and only shown for
TCP (disabled while the protocol is not overridden).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One short line per change, related fixes merged (e.g. tabs, Network Interface, ip-api.com, the cursor / column / duplicate name fixes of several tools), the TCP check of the Ping Monitor under "What's new?". All PR / commit links are kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Port Scanner: only a new tab without a host gets the last scanned ports. A host opened from another tool or a
  profile without ports would otherwise be scanned right away with them (e.g. 1-65535)
- Profile / group dialog: no empty spacer row below the protocol when the port is hidden (ICMP)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Feature review conventions: PingMonitorPortProfile, InputSuggestions, HostHistoryOptions, ComboBoxPickHelper and the
  notification helpers in the shared helpers, so reviews reuse them
- Changelog: the TCP check split into two short entries, the network connection entry shortened

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mergify
mergify Bot merged commit c522a32 into main Nov 29, 2026
5 checks passed
@mergify
mergify Bot deleted the feature/ping-monitor-tcp branch November 29, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

About adding tcping

2 participants