netscan icon indicating copy to clipboard operation
netscan copied to clipboard

Netscan inside Docker

Open albertjimenez opened this issue 1 year ago • 2 comments

Intro

Hi there, this is the only library that it worked for me to do a system that performs a host discovery scanner and I am in the process of Dockerizing it. I sorted out the permissions and the scan works, the only thing is that I found that none of the Docker options are working towards scanning the host system through Docker, I may be asking too much but could you let me know if you tried with the library works or how to make it work in Docker?

Recreation steps

  • create and run an example.rs with the host discovery for the default interface
  • build it on Docker
  • Run it on docker and expect the discovered hosts don't match the ones discovered outside of Docker

Notes

  • I develop on latest MacOS Intel but I tried recreating the steps on my raspberry pi so I discarded OS since there was a bug where the flag --network host was not working on MacOS

Link to my project

Network scanner

Thanks very much for this awesome project!

albertjimenez avatar Sep 13 '24 22:09 albertjimenez