From: Janus Varmarken Date: Fri, 31 Aug 2018 22:38:00 +0000 (-0700) Subject: Conversation.java: added unconvetional TLS ports used by WeMo plugs and LiFX bulbs... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0605d57536ed620ef22431715a157f37d2865d93;p=pingpong.git Conversation.java: added unconvetional TLS ports used by WeMo plugs and LiFX bulbs to isTls() --- diff --git a/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Conversation.java b/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Conversation.java index 8beade2..28515e3 100644 --- a/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Conversation.java +++ b/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Conversation.java @@ -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; } /**