monitor the network traffic