# IP Spoofing Attack

**URL:** <https://meta.discourse.org/t/ip-spoofing-attack/67890>\
**Category:** Product Support\
**Created:** [August 11, 2017, 5:19pm UTC](https://meta.discourse.org/t/ip-spoofing-attack/67890 "2017-08-11T17:19:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)\
**Post date:** [August 11, 2017, 5:19pm UTC](https://meta.discourse.org/t/ip-spoofing-attack/67890/1 "2017-08-11T17:19:55Z")

</div>

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="74.103.19.54" HTTP_X_FORWARDED_FOR="138.164.23.59, 46.166.148.34") /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:

[https://medium.com/@derwiki/rails-ip-spoofing-attack-97da8ee1c191](https://medium.com/@derwiki/rails-ip-spoofing-attack-97da8ee1c191)

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?

---

_[View the full topic](https://meta.discourse.org/t/ip-spoofing-attack/67890)._
