[Bug]: Cisco device parsing fails if hashes are in the login banner
cdean00 opened this issue · comments
Charlie Dean commented
Suzieq version
0.22.0rc1
Install Type
hand deployed python
Python version
3.8
Impacted component
sq-poller
Steps to Reproduce
- Create a login banner that includes hashes on a Cisco device.
Example:
###################################################
# this is a login banner #
###################################################
Expected Behavior
Device is properly parsed and marked alive.
Observed Behavior
Following logs:
[WORKER 0]: 2023-08-11 14:26:38,348 - suzieq.poller.worker.nodes.node - ERROR - Cannot parse uptime from :22
[WORKER 0]: 2023-08-11 14:26:38,348 - suzieq.poller.worker.nodes.node - WARNING - Cannot parse version from :22
Device does not show up in device list.