Closed prasadtalasila closed 6 years ago
@shilparaaju Once the tools are installed, we can perform a status check on the tools by using the following commands.
> cd BITS-Darshini/data/packet
> /usr/bin/time bro -r packet_data.pcap
> service ntopng stop
> /usr/bin/time ntopng --shutdown-when-done -i packet_data.pcap
> /usr/bin/time tshark -r packet_data.pcap
All the above commands should give valid results.
@adityaketkar The bro installation was done without using PPA. Does the scripts/tool-install.sh not give any installation error?
Also the bro installation has updated installation procedure at bro install link given above. Please see if the bro installation can be updated
I tried it on 2 PC's, it didn't give any error. Still, I'll confirm again and give an update.
Thanks for the confirmation about the non-occurrence PGP error.
On the bro install page, there are optional components. Please add steps to install C++ Actors Framework - website, installation steps before installing bro (between lines 14 and 15).
The PGP error occurs when we try to install C++ Actors Framework. The approach mentioned above in the very first comment does not help it either. It says -> "The following signatures were invalid: KEYEXPIRED 1503492954 Data from such a repository can't be authenticated and is therefore potentially dangerous to use." I tried to use command line arguments with apt-get for skipping authentication but they dont work.
After adding the caf suse repo to apt sources, I did apt-get update. I also see the following error message.
W: GPG error: http://download.opensuse.org/repositories/devel:/libraries:/caf/xUbuntu_14.04 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3E07C084F60D5EF3
W: The repository 'http://download.opensuse.org/repositories/devel:/libraries:/caf/xUbuntu_14.04 Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Despite the error, we can successfully install the caf library. Since there is nothing we can do to fix the GPG error, lets ignore the same for the moment.
Please add the caf installation steps to tool-install.sh and send a separate PR.
The 315de3a commit solves this issue.
We install the comparative tools such as bro, tshark and ntopng manually. We need a shell script to perform this function. The script should be named as scripts/tool-install.sh.
The existing text instructions are as follows.
To install the required software tools.
ntopng, see http://packages.ntop.org/apt-stable/ user guide https://raw.githubusercontent.com/ntop/ntopng/dev/doc/UserGuide.pdf
Wireshark, tshark apt-get install wireshark tshark
broIDS https://www.bro.org/sphinx/quickstart/index.html https://www.bro.org/sphinx/install/install.html#installing-bro https://www.bro.org/download/packages.html
Oracle JDK https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04
Tomcat7 install https://www.djamware.com/post/588df76680aca722878a364a/install-nginx-tomcat-7-and-java-8-on-ubuntu-1604 https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-7-on-ubuntu-14-04-via-apt-get http://community.bonitasoft.com/questions-and-answers/730-community-tomcat-deployment-ubuntu-help-required
BITS Darshini install https://github.com/prasadtalasila/bits-darshini/wiki