Insulting is explicitly illegal in Germany. In person or internet, doesn't matter.
"Mutual exchange of insults
If an insult is immediately reciprocated, the court may declare one or both of the persons involved in the exchange of insults not to be liable to punishment."