put the bro interface into promiscuous mode

parent f84efa9d
...@@ -12,6 +12,7 @@ sudo ifup eth1 ...@@ -12,6 +12,7 @@ sudo ifup eth1
echo "PATH=$PATH:/usr/local/bro/bin" >> ~/.bashrc echo "PATH=$PATH:/usr/local/bro/bin" >> ~/.bashrc
ETH1_IP=`ifconfig eth1 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'` ETH1_IP=`ifconfig eth1 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'`
sudo ifconfig eth1 promisc
BRO_CFG_FILE='/usr/local/bro/etc/node.cfg' BRO_CFG_FILE='/usr/local/bro/etc/node.cfg'
#start creating the file conf for 4 instance #start creating the file conf for 4 instance
......
...@@ -12,6 +12,7 @@ sudo ifup eth1 ...@@ -12,6 +12,7 @@ sudo ifup eth1
echo "PATH=$PATH:/usr/local/bro/bin" >> ~/.bashrc echo "PATH=$PATH:/usr/local/bro/bin" >> ~/.bashrc
ETH1_IP=`ifconfig eth1 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'` ETH1_IP=`ifconfig eth1 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'`
sudo ifconfig eth1 promisc
BRO_CFG_FILE='/usr/local/bro/etc/node.cfg' BRO_CFG_FILE='/usr/local/bro/etc/node.cfg'
mkdir -p /usr/local/bro/etc/ mkdir -p /usr/local/bro/etc/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment