-
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #896 from KayJay7/plugin/ipneigh
Add IPNEIGH plugin for IPv4/6 discovery using the `ip neigh` command by @KayJay7 🙏
- Loading branch information
Showing
4 changed files
with
596 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## Overview | ||
|
||
This plugin reads from the ARP and NDP tables using the `ip neigh` command. | ||
|
||
This differs from the `ARPSCAN` plugin because | ||
* It does *not* send arp requests, it just reads the table | ||
* It supports IPv6 | ||
* It sends an IPv6 multicast ping to solicit IPv6 neighbour discovery | ||
|
||
### Quick setup guide | ||
|
||
To set up the plugin correctly, make sure to add in the plugin settings the name of the interfaces you want to scan. This plugin doesn't use the global `SCAN_SUBNET` setting, this is because by design it is not aware of subnets, it just looks at all the IPs reachable from an interface. | ||
|
||
### Usage | ||
|
||
- Head to **Settings** > **IP Neigh** to add the interfaces you want to scan to the `IPNEIGH_interfaces` option | ||
- The interface list must be formatted without whitespaces and comma separated e.g. `eth0,wl1,tap0` | ||
|
||
### Notes | ||
|
||
- `ARPSCAN` does a better job at discovering IPv4 devices because it explicitly sends arp requests | ||
- IPv6 devices will often have multiple addresses, but the ping answer will contain only one. This means that in general this plugin will not discover every address but only those who answer |
Oops, something went wrong.