mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Add Nmap customization example (#22484)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
c6c7542dc0
commit
aa4d79626d
@ -29,6 +29,27 @@ On a Fedora host run `sudo dnf -y install nmap`.
|
||||
{% include integrations/config_flow.md %}
|
||||
|
||||
An example of how the Nmap scanner can be customized:
|
||||

|
||||
|
||||
{% configuration_basic %}
|
||||
Network addresses to scan:
|
||||
description: Network range to scan using [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing). In the example above it will scan addresses from `192.168.1.1` to `192.168.1.254`.
|
||||
required: true
|
||||
type: string
|
||||
Minimum number of minutes between scans of active devices:
|
||||
description: Frequency of the scans. The lower the number, the quicker it will detect devices connected and disconnected usually at the cost of the devices battery life. The example above will scan every minute.
|
||||
required: true
|
||||
type: integer
|
||||
Network addresses to exclude from scanning:
|
||||
description: A comma-separated list of IP addresses not to scan. The above example will skip `192.168.1.50`.
|
||||
required: false
|
||||
type: string
|
||||
Raw configurable scan options for Nmap:
|
||||
description: Nmap command line parameters which can be used to configure how Nmap scans the network. For more details see [Nmap reference guide](https://nmap.org/book/man.html).
|
||||
required: false
|
||||
type: string
|
||||
default: -F T4 --min-rate 10 --host-timeout 5s
|
||||
{% endconfiguration_basic %}
|
||||
|
||||
### Linux capabilities
|
||||
|
||||
|
BIN
source/images/integrations/nmap/nmap_customization_example.png
Normal file
BIN
source/images/integrations/nmap/nmap_customization_example.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
Loading…
x
Reference in New Issue
Block a user