From: rtrimana Date: Wed, 2 May 2018 23:10:24 +0000 (-0700) Subject: Adding combined PCAP (local and remote) to test out the algorithm- it successfully... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c9fea6952c90e6ccd67e9a5f6b2d9c1e9308ea34;p=pingpong.git Adding combined PCAP (local and remote) to test out the algorithm- it successfully detects the only pattern specified in the FlowPattern class. --- diff --git a/Code/Projects/SmartPlugDetector/pcap/local.on.pcap b/Code/Projects/SmartPlugDetector/pcap/local.on.pcap new file mode 100644 index 0000000..a85b153 Binary files /dev/null and b/Code/Projects/SmartPlugDetector/pcap/local.on.pcap differ diff --git a/Code/Projects/SmartPlugDetector/pcap/wlan1.local.remote.dns.pcap b/Code/Projects/SmartPlugDetector/pcap/wlan1.local.remote.dns.pcap new file mode 100644 index 0000000..7e96a6d Binary files /dev/null and b/Code/Projects/SmartPlugDetector/pcap/wlan1.local.remote.dns.pcap differ diff --git a/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Main.java b/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Main.java index e5a685f..d727683 100644 --- a/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Main.java +++ b/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Main.java @@ -26,7 +26,7 @@ public class Main { public static void main(String[] args) throws PcapNativeException, NotOpenException, EOFException, TimeoutException, UnknownHostException { //final String fileName = "/users/varmarken/Desktop/wlan1.local.dns.pcap"; - final String fileName = "/home/rtrimana/pcap_processing/smart_home_traffic/Code/Projects/SmartPlugDetector/pcap/wlan1.local.dns.pcap"; + final String fileName = "/home/rtrimana/pcap_processing/smart_home_traffic/Code/Projects/SmartPlugDetector/pcap/wlan1.local.remote.dns.pcap"; // ====== Debug code ====== PcapHandle handle;