From: Michael Tremer Date: Wed, 3 Apr 2024 13:51:53 +0000 (+0000) Subject: location: Reword the entire index page X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2864415f491a762ede8f15875195f3fb7721dbd;p=ipfire.org.git location: Reword the entire index page Signed-off-by: Michael Tremer --- diff --git a/src/templates/location/index.html b/src/templates/location/index.html index a7c10d9f..232c68cd 100644 --- a/src/templates/location/index.html +++ b/src/templates/location/index.html @@ -11,67 +11,12 @@

{{ _("IPFire Location") }}

-
- {{ _("A powerful, free IP address location database") }} -
-
-
- - {% if address.country_code %} -
-
-

- {{ _("We have detected you visiting us from %s.") % format_country_name(address.country_code) }} - {{ _("Learn More") }} -

-
-
- {% end %} - -
-
-
-

- IPFire_ Location is being used in - firewalls or other threat detection software, load-balancers, online shops, - websites, analytics & reporting tools and more to detect the - originating country by IP address. - We are proud that our software is faster than others - by maintaining a smaller memory footprint which puts it - first in performance. -

-
- -
-

- Our daily updated database does not only have information - about the originating country of all IPv6 and IPv4 addresses. - It identifies the Autonomous System (AS) these IP - addresses belong to, as well and more... - libloc is the C/C++ library that fires our - location services and runs on *nix, Mac OS X and more. - Integration into existing software is very easy and - bindings for languages like Python and Perl are available. -

-
- - -
- +
+ {{ _("Discover the Internet, One Location at a Time") }} +
-
-
-
-
+
@@ -81,11 +26,13 @@

{{ _("Threat Detection") }}

-

- {{ _("Location information is crucial to identify where an attacker is coming from.") }} -
- {{ _("Analyze your traffic for malicious autonomous systems and block the straight away with IPFire.") }} -

+
+

+ By accurately identifying the geographical location of IP addresses, + users can implement targeted security measures to mitigate risks + associated with specific regions or countries. +

+
@@ -93,15 +40,38 @@
- +
-

{{ _("Load-Balancing") }}

+

{{ _("Localization") }}

+ +
+

+ Businesses can use geolocation data to tailor content and services based + on the location of their users, enhancing user experience and engagement. +

+
+
+
+
-

- {{ _("Redirect your users to the nearest data center to given them a better user experience with faster websites and faster downloads.") }} -

+
+
+
+ +
+ +
+

{{ _("Access Control") }}

+ +
+

+ The Location database enables users to enforce access controls based on + geographic criteria, allowing them to restrict or grant access to + resources based on location. +

+
@@ -109,15 +79,39 @@
- +
-

{{ _("Online Visitors") }}

+

{{ _("Network Optimization") }}

+ +
+

+ Geolocation data can be used to optimize network performance by directing + traffic through the most efficient routes based on geographic proximity. +

+
+
+
+
-

- {{ _("Comply with legal requirements and show visitors the correct information depending on the country they are visiting from.") }} -

+
+
+
+ +
+ +
+

{{ _("Compliance") }}

+ +
+

+ Many regulatory requirements necessitate geolocation data for compliance + purposes. + The IPFire Location database helps users meet these requirements by providing + accurate location information. +

+
@@ -129,16 +123,107 @@
-

{{ _("Open Source") }}

+

{{ _("Open Source & Free Forever") }}

+ +
+

+ IPFire Location is open source, ensuring transparency, flexibility, and + community-driven development for users who value open and collaborative solutions. +

+
+
+
+
+
+
+ +
+
+
+
+
{{ _("Why Use IPFire Location?") }}
+ +
+
+
+

{{ _("Accuracy") }}

+ +
+

+ {{ _("IPFire Location aims to be the most accurate database on the market.") }} + {{ _("By gathering data from many sources, we achieve highest accuracy.") }} +

+
+
+ +
+

{{ _("A Multitude Of Information") }}

+ +

- {{ _("libloc is free software and relies on support from the community.") }} - {{ _("You can support us by helping to improve our database or with your donation.") }} + {{ _("Unlike other Geolocation databases, IPFire Location does not only hold country information. Instead we have:") }} +

+ +
    +
  • {{ _("Country Codes") }}
  • +
  • {{ _("Network Prefixes") }}
  • +
  • {{ _("AS Number & Names") }}
  • +
  • + {{ _("Flags for") }} +
      +
    • {{ _("Anycast Networks") }}
    • +
    • {{ _("Satellite Networks") }}
    • +
    • {{ _("Anonymous Proxies") }}
    • +
    • {{ _("Hostile Networks") }}
    • +
    +
  • +
  • + {{ _("A full list of bogons") }} +
  • +
+
+
+
+ +
+
+

{{ _("Performance") }}

+ +
+

+ {{ _("For some applications, performance is key.") }} + {{ _("IPFire Location is designed to organise all data for the fastest lookups enabling applications that were not possible before.") }} +

+
+
+ +
+

{{ _("Easy Integration") }}

+ +
+

+ {{ _("IPFire Location uses a proprietary database format that is read and written by our own software.") }} + {{ _("A lightweight C library is the core of this application and there are bindings available for Python, Perl and Lua, too.") }} +

+
+
+ +
+

{{ _("Secure And Instant Updates") }}

+ +
+

+ {{ _("The database is small to download and cryptographically signed which is a necessity to be deployed in security applications.") }}

+ + + {{ _("Learn How To Use IPFire Location") }} +
@@ -146,7 +231,7 @@
-

{{ _("Who Is Using IPFire Location?") }}

+
{{ _("Who Is Using IPFire Location?") }}
diff --git a/src/web/__init__.py b/src/web/__init__.py index 42b0c3e9..36de832a 100644 --- a/src/web/__init__.py +++ b/src/web/__init__.py @@ -195,7 +195,7 @@ class Application(tornado.web.Application): (r"/.well-known/change-password", auth.WellKnownChangePasswordHandler), # Location - (r"/location/?", location.IndexHandler), + (r"/location/?", StaticHandler, { "template" : "location/index.html" }), (r"/location/download", tornado.web.RedirectHandler, { "url" : "/location/install" }), (r"/location/how\-to\-use", StaticHandler, { "template" : "location/how-to-use/index.html" }), (r"/location/how\-to\-use/cli", StaticHandler, { "template" : "location/how-to-use/cli.html" }), diff --git a/src/web/location.py b/src/web/location.py index 18089832..90fd45b4 100644 --- a/src/web/location.py +++ b/src/web/location.py @@ -3,13 +3,6 @@ from .. import util from . import base -class IndexHandler(base.AnalyticsMixin, base.BaseHandler): - def get(self): - self.render("location/index.html", - address=self.current_address, - ) - - class LookupHandler(base.AnalyticsMixin, base.BaseHandler): async def get(self, address): # Lookup address