mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
4d25211b76
Signed-off-by: John Dorman <john@boostchicken.dev>
20 lines
625 B
Markdown
20 lines
625 B
Markdown
# Run Suricata 5.0.3 with custom rules
|
|
## UBNT updated Suricata in 1.9.x firmwares make this unneeded
|
|
## Features
|
|
|
|
1. Run a newer suricata with custom rules
|
|
2. Persists through reboots and firmware updates.
|
|
|
|
## Requirements
|
|
|
|
1. You have successfully setup the on boot script described [here](https://github.com/unifi-utilities/unifios-utilities/tree/main/on-boot-script)
|
|
|
|
## Customization
|
|
|
|
* Put customs rules files in /mnt/data/suricata-rules
|
|
|
|
## Steps
|
|
|
|
1. Copy [25-suricata.sh](on_boot.d/25-suricata.sh) to /mnt/data/on_boot.d and update its values to reflect your environment
|
|
2. Execute /mnt/data/on_boot.d/25-suricata.sh
|