To make sure we haven't added extra keys that you weren't expecting. Host$ ssh-copy-id try logging into the machine, with "ssh and check in: You should get something similar to above. Your identification has been saved in wire. Otherwise the process of typing in a password interferes with it.Įnter file in which to save the key (/home/bp/.ssh/id_rsa): wireĮnter passphrase (empty for no passphrase): The script that sets up and runs program needs it to work. Now you need an ssh-id on the beaglebone so you can log onto it without typing a password. It should automatically configured to the path: /usr/sbin/tcpdump Make sure tcpdump exists and is configured to the path: /usr/sbin/tcpdump Now you need tcpdump so ssh to your beaglebone and check if tcpdump is installed: To build the binary of the wireparser you just have to type make. You should have a matching directory from above, if not, do a git pull Main.cpp Makefile~ original.pcap run.sh wireparser.hpp If you do not have these, you can get them with these commands:ĭo a git clone on our repository to get all the sources you need and do an ls to see them:Ĭonfused.pcap Makefile ooP.cpp README.md wireparser.cpp Linux host computer running Ubuntu 12.04 LTS or later.By using tcpdump on the BeagleBone and wireshark on the host computer our approach is optimal in terms of resource usage and performance. What currently could be implemented is updating the wireparser to also look for a reverse magic number instead of just the normal magic number (read more in Theory of Operation section).Ī lot of time in this project was spent trying to port wireshark to the BeagleBone, but using the alternative solution we found was a lot more productive. As a demonstration, we are able to see if anyone is accessing the BeagleBone via port 3000 ( cloud9 IDE).Īlmost everything is working and we were able to get this project working on multiple computers as well. We are currently able to monitor traffic on usb0 and eth0 on the BeagleBone using tcpdump on the BeagleBone and wireshark on the host computer. Initially we wanted to port wireshark on to the bone, but after much experimentation and research, we decided to implement a different approach. We want to monitor and analyze any network traffic on the BeagleBone.
0 Comments
Leave a Reply. |