diff --git a/templates/base.html b/templates/base.html index 459c6ba..8be005c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -43,7 +43,7 @@ diff --git a/templates/base.txt b/templates/base.txt index 1740c91..a00414e 100644 --- a/templates/base.txt +++ b/templates/base.txt @@ -10,7 +10,7 @@ You can get the json version: {%- if view == "404" %} ## Usage -You can query this service using the folowing endpoints … +You can query this service using the following endpoints … => {{ extra.base_url }}/ip/
… to query for an ip-address => {{ extra.base_url }}/dig/ … to query for a domain-name => {{ extra.base_url }}/ua … to get your user agent @@ -21,5 +21,5 @@ You can find the echoip-slatecave sourcecode on Codeberg. => https://codeberg.org/slatian/service.echoip-slatecave If you found a bug or have an idea, feature, etc. please get in touch (I also accept E-Mails!). -This service works in its current form because nobody is abusing it, please keep that in mind. If you want to do frequent automated requests please host your own instace. Thank you for being awesome! +This service works in its current form because nobody is abusing it, please keep that in mind. If you want to do frequent automated requests please host your own instance. Thank you for being awesome! {% endif %} diff --git a/templates/dig.html b/templates/dig.html index 93ee54c..fffa081 100644 --- a/templates/dig.html +++ b/templates/dig.html @@ -13,7 +13,7 @@ {% set idn = data.result.idn %}

Internationalized Domain Names

-

Because of some limitations the DNS has, Unicode caracters need a special encoding.

+

Because of some limitations the DNS has, Unicode characters need a special encoding.

{% if idn.original_was == "unicode" %}

Your Unicode query has been encoded as the IDN {{ idn.idn }} to generate the results below.

{% else %} @@ -43,7 +43,7 @@

{{ helper::dig(extra=extra, name=r.cname[0]) }}

-

Usually you get the A and AAAA records for the linked record to avoid uneccessary requests. If anything else resolves, that is a violation of the DNS specification.

+

Usually you get the A and AAAA records for the linked record to avoid unnecessary requests. If anything else resolves, that is a violation of the DNS specification.

{% if r.cname | length > 1 %}

This domain resolves to multiple CNAMEs, this is not allowed by the DNS specification!

@@ -191,15 +191,15 @@
-

Programatic Lookup

+

Programmatic Lookup

If you want to look up this information in another program the short answer is don't, look up the names using your local DNS!

On most systems on the commandline you have commands like host and dig even when not present you can probably use ping as a workaround as it resolves the name and gives you the IP-Address it is pinging.

Why querying this service is still useful

This service most probably doesn't share its cache with your local resolver, this way you have a way to see if your DNS-change had the effect it should have.

-

It may also be useful for debugging other dns problems or to get around a local resolver that is lying to you because your ISP is a something.

+

It may also be useful for debugging other DNS problems or to get around a local resolver that is lying to you because your ISP is a something.

How?

You can choose between the html, text and json format.

-

An example of an url could be: {{ extra.base_url }}/dig/example.org?format=json

+

An example of an URL could be: {{ extra.base_url }}/dig/example.org?format=json

{% endblock %} diff --git a/templates/dig.txt b/templates/dig.txt index 84082d7..33847ad 100644 --- a/templates/dig.txt +++ b/templates/dig.txt @@ -9,7 +9,7 @@ {%- set idn = data.result.idn -%} ## Internationalized Domain Names -Because of some limitations the DNS has, Unicode caracters need a special encoding. +Because of some limitations the DNS has, Unicode characters need a special encoding. {%- if idn.original_was == "unicode" -%} Your Unicode query has been encoded as an IDN to generate the results below. ``` @@ -43,7 +43,7 @@ This domain has a cname set, this means its contents are full replaced by the li {{ r.cname[0] }} -Usually you get the A and AAAA records for the linked record to avoid uneccessary requests. If anything else resolves, that is a violation of the DNS specification. +Usually you get the A and AAAA records for the linked record to avoid unnecessary requests. If anything else resolves, that is a violation of the DNS specification. {% if r.cname | length > 1 -%} This domain resolves to multiple CNAMEs, this is not allowed by the DNS specification! {%- endif %} diff --git a/templates/extra.toml b/templates/extra.toml index 3e2be0b..64a75f7 100644 --- a/templates/extra.toml +++ b/templates/extra.toml @@ -1,23 +1,24 @@ site_name="echoip-slatecave" base_url="http://localhost:3000" -# Url to the deafult opengraph preview image +# Url to the default opengraph preview image # og_image="" -# Url to your stylesheet +# URL to your stylesheet stylesheet = "/style.css" -#Url to and mimetype of your favicon +# URL to and mimetype of your favicon # favicon = "" # favicon_mimetype = "image/png" # favicon_mimetype = "image/jpeg" -# Urls to look up v4 and v6 addresses explicitly +# URLs to look up v4 and v6 addresses explicitly # If you have not configured them, comment them out, the button will stay hidden v4_url="http://v4.localhost:3000/" v6_url="http://v6.localhost:3000/" [404] # configure the 404 page, this is available for other pages too! +# Use the template name as the section name. title = "Nothing here" description = "Page not found" diff --git a/templates/index.html b/templates/index.html index 376a138..02c9821 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,7 +6,7 @@ {% block h1 %}Your IPv{% if data.result.ip_info.is_v6_address %}6{% else %}4{% endif %}: {{ data.result.address }}{% endblock %} {% block description %} - Look up Your and others public IP-Adresses. - {{ data.result.address }} + Look up Your and others public IP-Addresses. - {{ data.result.address }} {% endblock %} {% block og_path %}/{% endblock %} @@ -27,7 +27,7 @@

Your User Agent

The program you were using to download this page identified itself as {{ data.user_agent }}

-

While this doesn't have to do anything with your public IP-Adress this might be useful information.

+

While this doesn't have to do anything with your public IP-Address this might be useful information.

You can use the /ua endpoint to fetch this information with any client.

diff --git a/templates/index.txt b/templates/index.txt index 71b0d8e..55e3c4c 100644 --- a/templates/index.txt +++ b/templates/index.txt @@ -1,5 +1,5 @@ {% extends "ip.txt" %} {% block title -%} -Your IP-Adress is: {{ data.result.address }} +Your IP-Address is: {{ data.result.address }} {%- endblock %} diff --git a/templates/ip.html b/templates/ip.html index f220dd6..c9c3910 100644 --- a/templates/ip.html +++ b/templates/ip.html @@ -35,7 +35,7 @@ {{ helper::place_dl(place=r.location.continent, label="Continent") }} {{ helper::place_dl(place=r.location.country, label="Country") }} {% if r.location.country.iso_code | default(value="") != r.location.registered_country.iso_code | default(value="") %} - {{ helper::place_dl(place=r.location.registered_country, label="Registred in") }} + {{ helper::place_dl(place=r.location.registered_country, label="Registered in") }} {% endif %} {% if r.location.country.iso_code | default(value="") != r.location.represented_country.iso_code | default(value="")%} {{ helper::place_dl(place=r.location.represented_country, label="Represents") }} @@ -55,7 +55,7 @@
{{r.location.time_zone}}
{% endif %} {% if r.location.accuracy %} -
Accuaracy
+
Accuracy
~{{r.location.accuracy}}km
{% endif %} {% if r.location.coordinates %} @@ -65,7 +65,7 @@

- The GeopIP and ASN information is provided by the GeoLite2 database created by + The GeoIP and ASN information is provided by the GeoLite2 database created by MaxMind.

@@ -80,11 +80,11 @@
-

Programatic Lookup

+

Programmatic Lookup

If you want to look up this IP-Address Information in another program that is okay as long as you are civil about it … (ratelimit)

How?

You can choose between the html, text and json format.

-

An example of an url could be: {{ extra.base_url }}/ip/1.2.3.4?format=json

+

An example of an URL could be: {{ extra.base_url }}/ip/1.2.3.4?format=json

To look up your IP-Address as json: {{ extra.base_url }}/?format=json

diff --git a/templates/ip.txt b/templates/ip.txt index e23debb..0a5e249 100644 --- a/templates/ip.txt +++ b/templates/ip.txt @@ -26,7 +26,7 @@ {{ helper::place_dl(place=r.location.continent, label="Continent") -}} {{ helper::place_dl(place=r.location.country, label="Country") -}} {%- if r.location.country.iso_code | default(value="") != r.location.registered_country.iso_code | default(value="") -%} -{{- helper::place_dl(place=r.location.registered_country, label="Registred in") -}} +{{- helper::place_dl(place=r.location.registered_country, label="Registered in") -}} {%- endif -%} {%- if r.location.country.iso_code | default(value="") != r.location.represented_country.iso_code | default(value="") -%} {{- helper::place_dl(place=r.location.represented_country, label="Represents") -}} @@ -44,7 +44,7 @@ * Timezone: {{r.location.time_zone}} {% endif -%} {%- if r.location.accuracy -%} -* Accuaracy: ~{{r.location.accuracy}}km +* Accuracy: ~{{r.location.accuracy}}km {% endif %} {%- if r.location.coordinates %} ### Coordinates @@ -52,7 +52,7 @@ lat: {{r.location.coordinates.lat}}, lon: {{r.location.coordinates.lon}} => {{ links::map_link(lat=r.location.coordinates.lat, lon=r.location.coordinates.lon)}} {%- endif %} -The GeopIP and ASN information is provided by the GeoLite2 database created by MaxMind. +The GeoIP and ASN information is provided by the GeoLite2 database created by MaxMind. {% endif -%} {%- block extra_content %}{% endblock -%} diff --git a/templates/links.html b/templates/links.html index 9478607..47b709d 100644 --- a/templates/links.html +++ b/templates/links.html @@ -4,8 +4,8 @@
  • … in the RIPE Database
  • … in the RIPE Global Resources Service
  • … on client.rdap.org (a modern whois, make sure to allow xhr to 3rd parties)
  • -
  • … on shodan.io (limited querys per day, wants an account)
  • -
  • … on search.censys.io (10 querys per day, wants an account)
  • +
  • … on shodan.io (limited queries per day, wants an account)
  • +
  • … on search.censys.io (10 query per day, wants an account)
  • {% if not address is matching(":") %} {# v4 only #}
  • … on virustotal.com
  • @@ -16,8 +16,8 @@ {% macro domain_name_links(name) %}

    Look up {{name}}