Conversation.java: added unconvetional TLS ports used by WeMo plugs and LiFX bulbs...
authorJanus Varmarken <varmarken@gmail.com>
Fri, 31 Aug 2018 22:38:00 +0000 (15:38 -0700)
committerJanus Varmarken <varmarken@gmail.com>
Fri, 31 Aug 2018 22:38:00 +0000 (15:38 -0700)
Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Conversation.java

index 8beade2e670248f4d5a5897e52a8115dbf78ac94..28515e3ae981fffe6b9b33c4b19c0cc3d73bba78 100644 (file)
@@ -479,8 +479,10 @@ public class Conversation {
          *   i.e., when the trace does not contain the SYN/SYNACK exchange.
          * - current implementation relies on the server using the conventional TLS port number; may instead want to
          *   inspect the first 4 bytes of each potential TLS packet to see if they match the SSL record header.
+         *
+         * 08/31/18: Added unconvetional TLS ports used by WeMo plugs and LiFX bulb.
          */
-        return mServerPort == 443;
+        return mServerPort == 443 || mServerPort == 8443 || mServerPort == 41143;
     }
 
     /**