*/
public class Main {
- public static void main(String[] args) {
+ public static void main(String[] args) throws Exception {
System.out.println("it works");
+ String file = "/home/rtrimana/pcap_processing/smart_home_traffic/Code/Projects/SmartPlugDetector/pcap/wlan1.local.dns.pcap";
+
+ try {
+ Pcap data = Pcap.fromFile(file);
+ //data.hdr();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
}
private String cloudIPAddress(String hostName) {
if (hostName.equals("events.tplinkra.com"))
- return 205.251.203.26;
+ return "205.251.203.26";
}
// TODO move to separate class
// If difference, output <Packet no, deviation from expected> for each packet
return null;
}
-
}