ping reports every target alive #2

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

zyxel_driver.py ~382-411: when the DAL accepts the request, ping returns {"results": [{"rtt": 0}], "probes_sent": count, "probes_received": count} without reading the result. A sweep through this gateway marks every address alive. probes_received is not a NAPALM key either (packet_loss is). Fix: read the diagnostics result, or opt out with SUPPORTS_PING = False.

Prio P3: every address alive in LAN scans.

`zyxel_driver.py` ~382-411: when the DAL accepts the request, `ping` returns `{"results": [{"rtt": 0}], "probes_sent": count, "probes_received": count}` without reading the result. A sweep through this gateway marks every address alive. `probes_received` is not a NAPALM key either (`packet_loss` is). Fix: read the diagnostics result, or opt out with `SUPPORTS_PING = False`. Prio P3: every address alive 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-zyxel#2