Reddit keeps your IP address for at least 4 months!
Before migrating to Lemmy, I decided to request a copy of the data Reddit has on me.
To my surprise, the export includes a file ip_logs.csv with a list of all IP addresses that I used to connect to Reddit for the last 3-4 months!!
That seems quite unnecessary.
Got news for you. 4 months is on the short side. Any place that processes credit card or other transactional data will most likely keep it around 13 months if not longer. And yes you guys can quote "well actually it's not required", no, no it's not, but I've worked with enough companies to know they hoover and keep IP, user agent string ,etc for quite a while.