My only guess is that you have pseudo IPv4 turned on - if it’s set to “overwrite”, it translates IPv6 addresses into regularly unusable IPv4 addresses:
The only thing that doesn’t add up is that this feature translates IPs to Class E IPv4 addresses, which are those in the range 240.0.0.0/4, so a 172.16.x.x wouldn’t be generated.
Not sure, maybe someone else can provide some insight.
I enabled IPv6 years ago and never enabled Pseudo IPv4.
It would be terrible if cf told you it’s from your private network for an access from the public world.
If it’s not Pseudo IPv4, the next step is to figure out how your log got that IP address. Did it come from the Cloudflare visitor IP address header? The only other guess I can come up with is that your host uses those IP addresses for an internal network and it came from another server on your host’s network.
log_format main '$remote_addr - $remote_user [$time_local] “$request” ’
'$status $body_bytes_sent “$http_referer” ’
'$request_time $upstream_response_time $pipe ’
‘“$http_user_agent” “$http_x_forwarded_for” “$host”’;
And I’m also using real ip module, with the configure in the topic.
I never use 172.16 in my network. When I try to traceroute to the address, it was routed to my ISP and dropped soon.
I think that just leaves the internal network possibility, but that really doesn’t make sense for a live user. Other than nagging your host and/or Cloudflare on what may be a wild goose chase, you could firewall off any traffic that does not come from those Cloudflare IP addresses, then see if it happens again.
In fact the address other than cf and my network to port 80 and 443 has already been rejected by ip(6)tables for a long time
And I checked all my available logs, internal addresses except my network only access on Feb 07.
Is it possible that cf check their logs to identify the accident? I’m afraid there’re some security issues.
@cloonan
I think it may be a security issue from cloudflare.
Is it possible that cloudflare check your logs to identify the access from private ip address?
Has someone made a fake ip address, or it’s an accident that some one in cloudflare network accessed outside?