Add functional code that loads a pcap file and constructs the IP->hostname map/dictio...
authorJanus Varmarken <varmarken@gmail.com>
Fri, 27 Apr 2018 23:37:00 +0000 (16:37 -0700)
committerJanus Varmarken <varmarken@gmail.com>
Fri, 27 Apr 2018 23:37:00 +0000 (16:37 -0700)
commited4f22d52307507ebfb872c287fa4f5c317f56fb
treed6d8ab11028624e343d65e0a93bc318ef0098e43
parent0b362612028ce437e55f9f85ae1ed4665798feb3
Add functional code that loads a pcap file and constructs the IP->hostname map/dictionary. Note that the map is actually of type Map<String, List<String>> as the trace contains cases where ONE IP maps to MULTIPLE hostnames. Bug in current implementation: the map should be changed to Map<String, Set<String>> to prevent the same hostname from showing up in the list multiple times (occurs when a set of DNS queries return the same IP).
Code/Projects/SmartPlugDetector/.idea/compiler.xml
Code/Projects/SmartPlugDetector/.idea/modules/SmartPlugDetector_main.iml
Code/Projects/SmartPlugDetector/.idea/modules/SmartPlugDetector_test.iml
Code/Projects/SmartPlugDetector/build.gradle
Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Main.java