-
Notifications
You must be signed in to change notification settings - Fork 144
Description
I have installed Pi.Alert using the default one step installer, on a Debian 11 VM to scan a B-class network. No containers.
As soon as the VM boots up, ps aux | grep arp-scan shows two processes of arp-scan one with sudo, one without:
root 867 0.0 0.2 10656 5044 ? S 12:24 0:00 sudo arp-scan --ignoredups --retry=9 --localnet
root 868 0.9 0.4 12532 8108 ? S 12:24 0:00 arp-scan --ignoredups --retry=9 --localnet
Bu after some time (probably a minute), two more processes are started, with --retry=16. This results in an increased amount of arp traffic in the network over time.
I have tried to edit cron jobs and left only one line for pialert.py scan, with a 3 hour period only. And modified pialert.py to set
cycle_interval = 90
arpscan_retries = 1
manually, without using values from the DB. But this did not stop the new processes spawning, just kept their number below 6, for some reason.
Devices page is populated with discovered IPs, looks nothing wrong, as far as I can tell.
How can I strictly keep arp scans under control? Like one single process every 3 hours or so? Why does it start two processes, one with sudo, the other without?