Skip to content

Detect hosts that reject scanned TCP ports - #3

Merged
Antxis77 merged 1 commit into
mainfrom
fix/tcp-closed-host-detection
Oct 16, 2026
Merged

Antxis77 merged 1 commit into
mainfrom
fix/tcp-closed-host-detection

Conversation

@Antxis77

Copy link
Copy Markdown
Contributor

Summary

Treat a TCP connection refusal (RST) as evidence that an IP address is responsive, even when ping is filtered and no scanned port is open. This prevents reachable devices from being hidden as unreachable. Update the host-discovery documentation and add a regression test.

Platforms tested

  • macOS
  • Windows
  • Linux

Checklist

  • cargo fmt --all --check, cargo clippy --workspace --all-targets -- -D warnings and cargo test --workspace pass
  • npm run build passes (if the front-end changed) — front-end unchanged
  • Tests added or updated for behavior changes
  • No real network data (IPs, MACs, device names) in code, fixtures, logs or screenshots
  • Commits are signed off (git commit -s, see CONTRIBUTING.md)

Validation on macOS: cargo fmt --manifest-path rust/Cargo.toml --all --check passed; cargo clippy --manifest-path rust/Cargo.toml --workspace --all-targets -- -D warnings passed; cargo test --manifest-path rust/Cargo.toml --workspace passed (197 tests); git diff --check passed. Windows and Linux were not run locally; CI will cover both.

Signed-off-by: Antxis77 <64417162+Antxis77@users.noreply.github.com>
@Antxis77
Antxis77 merged commit d817ebf into main Oct 16, 2026
3 checks passed
@Antxis77
Antxis77 deleted the fix/tcp-closed-host-detection branch October 16, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant