IP Geolocation with Tor


#1

Hi,
I am testing my website for some Geo Location behavior.
I am using Tor and my exit node is France.

Geolocation data from IP2Location (Product: DB6, updated on 2019-1-1)

IP Address Country Region City
51.15.82.2 France Ile-de-France Paris

However, the Header information shows the country code as US.

CF-IPCountry: US
X-Forwarded-For: 2620:7:6001:0:0:ffff:c759:e647
CF-RAY: 49ecca9a4d8cc7e8-DFW
X-Forwarded-Proto: https
CF-Visitor: {“scheme”:“https”}

Is this expected behaviouur=?
Do you recomend a way of testing Geo behaviour?

Many thanks.
Toby


#2

Tor is generally categorised by Cloudflare as its own “region” with the code T1. In your case it might be that Cloudflare does not recognise that IP as Tor yet.

That being said, the request you posted seems to have originated from an IPv6 address, registered in the US, rather than the French IPv4 one you posted. Can you double check that?


#3

Hi, thanks for the quick response.
I think my exit node has changed as now I see Belgium and I get the following headers. (see end)
Which show T1 as you suggest.

I am pretty sure that the previous info was correct… although it is possible the exit node changed between requests.

I will have to find another way of testing international behavior.

Many thanks
Toby

Host: tobyweston.net
Connection: Keep-Alive
Accept-Encoding: gzip
CF-IPCountry: T1
X-Forwarded-For: 95.130.9.90
CF-RAY: 49ecf7da8cf13be1-CDG
X-Forwarded-Proto: https
CF-Visitor: {“scheme”:“https”}
user-agent: Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0
accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
accept-language: en-US,en;q=0.5
upgrade-insecure-requests: 1
CF-Connecting-IP: 95.130.9.90
CDN-Loop: cloudflare


#4

One thing to remember, if you are using a modern TBB to access tor then you don’t have “an exit node”, rather, each site gets a randomly selected exit node.


closed #5

This topic was automatically closed after 14 days. New replies are no longer allowed.