Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpolden/echoip.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Polden <martin.polden@gmail.com>2016-04-17 16:52:06 +0300
committerMartin Polden <martin.polden@gmail.com>2016-04-17 16:57:46 +0300
commit3134de826096836208b3401e38c599f6992a8656 (patch)
treeb97c82790aff69256de50e710bb253dc76a4b506 /README.md
parent270ffec4414bade2a290ecaf84cb794bb5edcea2 (diff)
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.
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 955e45e..5958027 100644
--- a/README.md
+++ b/README.md
@@ -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