Listening to traffic is Okay in my opinion. Of course, until the collected data are used to harm honest citizens. Like when chief of the police is the major criminal of district.

Launching network attacks on the other hand is harmful and is a crime.