Skip to content

Conversation

@woehrl01
Copy link

@woehrl01 woehrl01 commented Oct 13, 2023

Instructions:

  • Place the geoip.mmdb file in the root folder.
  • Build the project specifying either GEOIP=CITY or GEOIP=COUNTRY via environment variable based on database preference.

Dependencies:

To-Do:

  • Update README with documentation.
  • Once upstream dependency merges, adjust module references accordingly.

Related to issue #234

@woehrl01 woehrl01 changed the title feat: add support to for geoipLookip (via build tag) feat: add support to for geoipLookup (via build tag) Oct 13, 2023
@woehrl01 woehrl01 marked this pull request as ready for review November 10, 2023 19:30
@woehrl01 woehrl01 marked this pull request as draft November 10, 2023 19:44
@woehrl01
Copy link
Author

woehrl01 commented Nov 10, 2023

Needs some adaption in upstream, as for this project, "IsPrivate" is not defined for tinygo, see: https://tinygo.org/docs/reference/lang-support/stdlib/#netnetip

see: corazawaf/coraza-geoip#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant