Menu

Scraping through a proxy/relay switch

Help
Scott John
2019-07-10
2019-07-10
  • Scott John

    Scott John - 2019-07-10

    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
  • Eric

    Eric - 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.

     

Log in to post a comment.