ping: a host that only times out is reported alive #2

Closed
opened 2026-10-14 08:58:52 +00:00 by christianmanivong · 0 comments
Owner

tplink_jetstream.py ~1797-1805 appends {"ip_address": destination, "rtt": timeout*1000.0} for every "Request timed out" line. NAPALM's results hold replies; the sweep treats a non-empty results as alive, so dead hosts show up in LAN scans. Fix: only replies go into results.

Prio P3: false hosts in LAN scans.

`tplink_jetstream.py` ~1797-1805 appends `{"ip_address": destination, "rtt": timeout*1000.0}` for every "Request timed out" line. NAPALM's `results` hold replies; the sweep treats a non-empty `results` as alive, so dead hosts show up in LAN scans. Fix: only replies go into `results`. Prio P3: false hosts in LAN scans.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-tplink-jetstream#2