Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DetectDebugMode: Add native support for CloudFlare #66

Closed
wants to merge 1 commit into from
Closed

DetectDebugMode: Add native support for CloudFlare #66

wants to merge 1 commit into from

Conversation

janbarasek
Copy link

@janbarasek janbarasek commented May 7, 2020

  • new feature
  • BC break? no

I think Tracy should support Cloudflare natively.

The real IP address can be detected by HTTP_CF_CONNECTING_IP and not by HTTP_X_FORWARDED_FOR, because CF keys is generated safely way by Cloudflare.

More info: https://forum.nette.org/cs/33229-tracy-debugger-nefunguje-po-pripojeni-na-cloudflare#p210213 (Czech language)

Example:

Snímek obrazovky 2020-05-07 v 9 48 07

Thanks.

@dg
Copy link
Member

dg commented May 7, 2020

Is it that by spoofing this headers I can switch Tracy to debug mode?

@dg dg closed this May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants