feat(amt-scan): cap concurrency on AMT LAN probe (VS-11) #18
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/amt-lan-probe-vs-11"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
scan_amt_deviceswas already a real TCP-connect sweep against AMT's well-known ports across the requested /24; the doc onControlIn::ScanAmtDevicewas stale and the function was unbounded in concurrency. AMT firmware does not actually reply to a pure UDP discovery datagram (it returns ICMP-unreachable), so TCP-connect is the correct probe.Changes
tokio::sync::Semaphorecaps in-flight connects.Test plan
cargo check -p meshcentral-webclean./24containing a known-AMT host.Closes VS-11.