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?
to your account
I tested standalone Tracy on Vagrant / Laravel Homestead.
revert commit ce31ae5
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
@dg @petrparolek I am not sure which solution is ok.
In case of production server is this behavior ok, because function php_uname('n') return homestead and gethostbyname() return 127.0.1.1 (what is not good IP address).
But in case of production server, function gethostbyname() should return real IP address by reverse DNS check.
Tracy should detect current environment and in case of local environment use old IP detection method by $_SERVER['SERVER_ADDR'].
fix server IP in info panel
what do you @dg @janbarasek think about my solution in #417 ? I combined original code from version 2.7.3 with code in 2.7.4 from @janbarasek
@petrparolek I'm not sure your solution is safe. The IP address through the proxy may be spoofed.
See my article for more information (czech language): https://php.baraja.cz/ip-adresa
First you should fix your failing tests: https://travis-ci.org/github/nette/tracy/builds/675458839
Revert "Info panel: Add server name by IP (#401)" [Closes #416][Closes …
This reverts commit 149a87a.
Successfully merging a pull request may close this issue.