CAD-IDS: A Cooperative Adaptive Distributed Intrusion Detection System with Fog Computing | Synapse