Although it’s not ‘broken’, this is something that will be preventing normal use of Discourse, since storing IP addresses without consent or a good reason is going to be illegal in a significant part of the world really soon.
Just for my understanding, how is storing the IP address relevant for incoming links and searches?
I do understand the outgoing links case, (although using a cookie would be a cleaner solution).