A distributed approach to network anomaly detection based on independent component analysis