|
1 | | -# Additional documents |
| 1 | +# Additional information about imports |
2 | 2 | <!--- --------------------------------------------------------------------- ---> |
3 | 3 |
|
4 | | -[Bulk Editor](../BULKEDITOR.md) |
5 | | - |
6 | | -[Network Relationship](../NETWORK_RELATIONSHIP.md) |
7 | | - |
8 | | -[Web service monitoring](../WEBSERVICES.md) |
9 | | - |
10 | | -[Satellite Config](../SATELLITES.md) |
| 4 | +### Pi-hole DNS (v5 or v6) ### |
11 | 5 |
|
| 6 | +To use this feature, Pi.Alert requires the password for Pi-hole. During this import, an active host is recognized by |
| 7 | +the fact that it has sent a DNS query to Pi-hole within the last 5 minutes. If the time of the last query was longer ago, |
| 8 | +the host is marked as inactive or added to the device list as an inactive new host. In isolated cases, |
| 9 | +Pi.Alert may repeatedly recognize a host despite it having been deleted, even though the host has long since ceased to exist. When using this importer, |
| 10 | +the problem may also lie with Pi-hole. The maximum number of clients to be imported can also be specified in the configuration. |
| 11 | +By default, this value is set to “100” and must be adjusted if necessary. |
12 | 12 |
|
| 13 | +### Pi-hole DHCP. (v5 or v6) ### |
13 | 14 |
|
14 | | -[Back - Settings](./002.md) |
| 15 | +To use this feature, Pi.Alert requires the password for Pi-hole. This list is primarily used for name resolution. |
| 16 | + |
| 17 | +### Fritzbox ### |
| 18 | + |
| 19 | +To use this feature, the Fritzbox must be configured to use a username and password. |
| 20 | +Since multiple users can be created on the Fritzbox, you can also create a separate account for Pi-Alert. The import queries all active hosts. |
| 21 | +These can be located in the guest Wi-Fi or in the standard Wi-Fi. IP-less devices such as the Fritz Powerline adapters are also detected here. |
| 22 | + |
| 23 | +### Mikrotik ### |
| 24 | + |
| 25 | +Pi.Alert requires a user name and password for this function. During import, the active hosts are collected from the DCHP server. |
| 26 | + |
| 27 | +### UniFi ### |
| 28 | + |
| 29 | +Pi.Alert requires a user name and password for this function. Active hosts are collected during import. |
| 30 | + |
| 31 | +### OpenWRT ### |
| 32 | + |
| 33 | +Pi.Alert requires a user name and password for this function. In addition, the “JSON-RPC” package ([link](https://github.com/openwrt/luci/wiki/JsonRpcHowTo)) must be installed on the OpenWRT device. |
| 34 | +The active hosts are recorded during import. |
| 35 | + |
| 36 | +### AsusWRT ### |
| 37 | + |
| 38 | +Pi.Alert requires a user name and password for this function. Active hosts are collected during import. |
| 39 | + |
| 40 | +### pfSense ### |
| 41 | + |
| 42 | +Pi.Alert requires an API key for this function. This can be generated after installing the “pfSense REST API” ([link](https://pfrest.org/)) on the pfSense firewall. |
| 43 | +To increase the speed at which inactive hosts are detected, I changed another setting within pfSense: |
| 44 | + |
| 45 | +``` |
| 46 | +System → Advanced → System Tunables |
| 47 | +
|
| 48 | +Click on "Add" |
| 49 | +
|
| 50 | +Insert: |
| 51 | + Tunable: net.link.ether.inet.max_age |
| 52 | + Value: e.g. 600 |
| 53 | +``` |
| 54 | + |
| 55 | +The background here is how long an entry in the pfSense ARP table is valid, i.e., how long a host is flagged as “active” by pfSense. This also affects the marking of active hosts in the DHCP leases. |
| 56 | +When importing from pfSense, all DHCP leases are imported and the active hosts are also marked as active by Pi.Alert. In addition, the hosts from the pfSense ARP table are also imported, which can include all interfaces, |
| 57 | +even those that are not managed by a DHCP server. This means that hosts may also be detected on the “WAN” interface. For this reason, this interface is excluded by default in the Pi.Alert configuration. |
| 58 | + |
| 59 | + |
| 60 | +## Satellite Scan ## |
| 61 | + |
| 62 | +arp-scan, Pi-hole DNS, Pi-hole DHCP, Mikrotik, UniFi, OpenWRT, AsusWRT |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | +[Next (5) - Additional documents](./004.md) |
| 67 | + |
| 68 | +[Back (3) - Settings](./002.md) |
15 | 69 |
|
16 | 70 | [Guide_005]: https://raw.githubusercontent.com/leiweibau/Pi.Alert/assets/guide_005.png "Guide_005" |
17 | 71 |
|
|
0 commit comments