A Tutorial on Network Traffic Analysis