Skip to main content

Why are my IP Address Inbound Filters not working?

Updated over a month ago

Issue

I have edited the inbound filters in my project settings so that events coming from some IP addresses will be blocked. However, I am still seeing events from these addresses. What am I doing wrong?

Applies To

  • All SaaS Customers

  • Project Settings

  • Inbound Filters

Resolution

Firstly, please ensure that you are following the format indicated in our docs here.

The problem is usually that the user IP address in the event is not the same as the client IP address (i.e. the IP address of the client making the request), but the filter acts on the latter, not the former. We only take a fixed list of headers into account for this, which are the following:

  • X-Forwarded-For

  • X-Sentry-Forwarded-For

  • X-Vercel-Forwarded-For

  • CF-Connecting-IP

Any other header (ie. X-Cluster-Client-Ip) will not be taken into account.

Did this answer your question?