As long as it isn't employed for illegal purposes, it is lawful to trace your IP address. There is no law to ban somebody from spying on you if there is no intention to harm you.