forked from ferryastika/MataElang-Platform
-
Notifications
You must be signed in to change notification settings - Fork 1
1. Mata Elang Sensor
Fadhil Yori Hibatullah edited this page Feb 12, 2021
·
4 revisions
-
Installing Docker https://docs.docker.com/install/
-
Enable and start Docker Service
$ sudo systemctl enable docker $ sudo systemctl start docker
-
Server preparation, configure the network interface in promiscuous mode. Install
ifupdown
package. Then, edit/etc/network/interfaces
file, add some line like the down below:auto eth1 iface eth1 inet manual up ip address add 0/0 dev eth1 up ip link set eth1 up up ip link set eth1 promisc on down ip link set eth1 promisc off down ip link set eth1 down auto eth2 iface eth2 inet dhcp
Note :
- Don't forget to change the
eth1
andeth2
with your server network interface name - eth1 must be connected to the tapper port where the port is set for mirroring destination port
- Don't forget to change the
-
Restart network service or restart your server
$ sudo systemctl restart networking
-
Download Sensor Installer from mata-elang-pens/sensor-installer GitHub repository
-
Add executable permission to setup.sh
$ sudo chmod +x setup.sh $ sudo chmod +x update-rule.sh
-
Run the setup.sh script with the following command and wait until the setup finished
$ sudo ./setup.sh
-
And Done
-
To Update Snort Rules use these command :
$ sudo ./update-rule.sh