Is it possible to have NetDB scrape switches through a relay switch?
So for example it would
1. Login to relay switch
2. execute command ssh -l user <ip of target switch>
3. enter password to target switch
4. commense scraping of arp data as normal on target switch
Any help in making this work would be greatly appreciated.
Thanks,
Scott
Last edit: Scott John 2019-07-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I doubt that it currently has any proxy capabilities. I don't know how stable it would be for long term use but you can setup an ssh tunnel manually. Or if the relay host has python you can use something like sshuttle to set it up for you. If you wanted to get fancy, you could write a wrapper around netdb that would check if the tunnel was up before netdb ran.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to have NetDB scrape switches through a relay switch?
So for example it would
1. Login to relay switch
2. execute command
ssh -l user <ip of target switch>
3. enter password to target switch
4. commense scraping of arp data as normal on target switch
Any help in making this work would be greatly appreciated.
Thanks,
Scott
Last edit: Scott John 2019-07-10
I doubt that it currently has any proxy capabilities. I don't know how stable it would be for long term use but you can setup an ssh tunnel manually. Or if the relay host has python you can use something like sshuttle to set it up for you. If you wanted to get fancy, you could write a wrapper around netdb that would check if the tunnel was up before netdb ran.