Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to a better host discovery lib #2

Open
timothy-b opened this issue Oct 1, 2019 · 3 comments
Open

Migrate to a better host discovery lib #2

timothy-b opened this issue Oct 1, 2019 · 3 comments

Comments

@timothy-b
Copy link
Owner

Move away from arpscan and to libnmap, node-nmap, or lan-discovery.

Arpscan doesn't seem to work so well with certain sleeping devices...

@bryankenote
Copy link
Contributor

Can you elaborate? What specific devices/scenarios is arpscan failing to find devices?

@timothy-b
Copy link
Owner Author

Specifically, my roommate's iPhone. I guess that sleeping devices may not respond to arpscan requests, especially given that his has a static IP for some reason, but pings or port scans may be more effective.

@timothy-b
Copy link
Owner Author

🤔
I can occasionally get it with an ARP scan, but not always. If I start pinging the device, the first ping takes several seconds before I get a response. A cheap hack alternative to using some other library might be to instead ping the broadcast address (i.e., ping -b 10.0.0.255) for a few seconds before (or while) ARP-scanning, instead of just ARP-scanning once as I'm currently doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants