'Analyze the packets and return a list of ports that can be used by the
remote host to connect back to the extrusionServer.'

def _analyze_packets(self, packets):

    if (not packets):
        om.out.debug('No    packets    captured    by    scapy.')
        return []
    else:
        msg = 'Analyzing    packets    captured    by    scapy.    The    packets    are:'
        om.out.debug(msg)
        for pkt in packets:
            om.out.debug(str(pkt.summary()))
        if (self._host is None):
            return self._analyze_packets_no_host(packets)
        else:
            return self._analyze_packets_with_host(packets)
