wja0 / IoT-Botnet-Attack-Detection-Module

Development of Botnet Detection Module for Traffic-Based IoT Devices Using Deep Learning
13 stars 3 forks source link

setting #8

Open Kim-Gang-Min opened 2 years ago

Kim-Gang-Min commented 2 years ago

apt update

sudo apt-get install bridge-utils sudo brctl addbr br0

<vi /etc/dhcpcd.conf > denyinterfaces eth0 eth1

<vi /etc/network/interfaces> auto br0 iface br0 inet manual bridge_ports eth0 eth1

apt-get install libatlas-base-dev apt install iptables apt-get install iptables-persistent

pip3 install scapy pip3 install sklearn pip3 install numpy --upgrade --ignore-installed pip3 install pandas pip3 install requests

iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT pre-up iptables-restore < /etc/iptables.rules pst-down iptables-save -c > /etc/iptables.rules

Kim-Gang-Min commented 2 years ago

pip3 install firebase pip3 install firebase_admin pip3 install pyfcm