Of late after an upgrade I’ve seen a whole bunch of errors in the logs like
ActionDispatch::RemoteIp::IpSpoofAttackError (IP spoofing attack?! HTTP_CLIENT_IP="184.108.40.206" HTTP_X_FORWARDED_FOR="220.127.116.11, 18.104.22.168") /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.9/lib/action_dispatch/middleware/remote_ip.rb:125:in 'calculate_ip'
I couldn’t find anything on the discussion forum so I googled it and found this:
Am wondering if cellphone users are being impacted by this Rails IP check and if there’s some way to turn it off for discourse?