diff --git a/Makefile b/Makefile index d51a752..d737343 100644 --- a/Makefile +++ b/Makefile @@ -71,4 +71,4 @@ endif @sha256sum $(GOPATH)/bin/$(XBIN) run: - go run cmd/echoip/main.go -a data/asn.mmdb -c data/city.mmdb -f data/country.mmdb -H x-forwarded-for -r -s + go run cmd/echoip/main.go -a data/asn.mmdb -c data/city.mmdb -f data/country.mmdb -H x-forwarded-for -r -s -p diff --git a/html/index.html b/html/index.html index dc814ee..9557084 100644 --- a/html/index.html +++ b/html/index.html @@ -74,11 +74,11 @@

What do we know about this IP address?

- + - + {{ if .Country }} @@ -103,7 +103,7 @@ {{ end }} {{ if .RegionCode }} - + {{ end }} {{ if .MetroCode }} @@ -113,7 +113,7 @@ {{ end }} {{ if .PostalCode }} - + {{ end }} {{ if .City }} @@ -153,17 +153,17 @@ {{ end }} {{ if .UserAgent }} {{ if .UserAgent.Comment }} - + {{ end }} {{ if .UserAgent.Comment }} - + {{ end }} {{ if .UserAgent.RawValue }} - + {{ end }} {{ end }} @@ -200,52 +200,52 @@

-
+
-
+
-
IP addressIP address {{ .IP }}
IP address (decimal)IP address (decimal) {{ .IPDecimal }}
Region codeRegion code {{ .RegionCode }}
Postal codePostal code {{ .PostalCode }}
User agentUser agent {{ .UserAgent.Product }}/{{ .UserAgent.Version }}
User agent: CommentUser agent: Comment {{ .UserAgent.Comment }}
User agent: RawUser agent: Raw {{ .UserAgent.RawValue }}