https://github.com/bwaldvogel/neighbourhood
Layer 2 network neighbourhood discovery tool that uses scapy
https://github.com/bwaldvogel/neighbourhood
arp networking python
Last synced: 2 months ago
JSON representation
Layer 2 network neighbourhood discovery tool that uses scapy
- Host: GitHub
- URL: https://github.com/bwaldvogel/neighbourhood
- Owner: bwaldvogel
- License: gpl-2.0
- Created: 2011-04-03T14:13:28.000Z (about 14 years ago)
- Default Branch: main
- Last Pushed: 2024-12-29T12:58:27.000Z (6 months ago)
- Last Synced: 2025-03-28T00:12:18.429Z (3 months ago)
- Topics: arp, networking, python
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 216
- Watchers: 13
- Forks: 71
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Layer 2 Network Neighbourhood Discovery Tool ##
Easily detect hosts on your local network by sending ARP pings.
For additional information, see [this Stack Overflow question][3].## Dependencies ##
* Python 3.8+
* [scapy][1] for networking functions like [arping][2]## Installation and Usage ##
When [scapy][1] is installed as system library, simply run:
```
$ sudo ./neighbourhood.py [-i ]
```Alternatively, you can use [uv][4]:
```
$ uv sync
$ sudo uv run neighbourhood.py [-i ]
```## TODO ##
* IPv6 support
[1]: https://scapy.net/
[2]: http://en.wikipedia.org/wiki/Arping
[3]: http://stackoverflow.com/questions/207234/list-of-ip-addresses-hostnames-from-local-network-in-python/
[4]: https://github.com/astral-sh/uv