mirror of
https://github.com/mpolden/echoip.git
synced 2025-07-17 14:33:30 +02:00
Do not trust X-Real-IP header by default
Use -H option to whitelist header to trust for remote IP address. This is useful when a reverse proxy is used in front of ipd.
This commit is contained in:
@ -88,6 +88,7 @@ Application Options:
|
||||
-r, --reverse-lookup Perform reverse hostname lookups
|
||||
-p, --port-lookup Enable port lookup
|
||||
-t, --template= Path to template (default: index.html)
|
||||
-H, --trusted-header= Header to trust for remote IP, if present (e.g. X-Real-IP)
|
||||
|
||||
Help Options:
|
||||
-h, --help Show this help message
|
||||
|
Reference in New Issue
Block a user