@ms Any chance to release the database and the LUA bindings now or in the next core release?
Right now I’m writing a LUA script for HAProxy that should use the location database to check the client’s country and possbile block request not originated from the Let’s Encrypt challenge requests.
Maybe the database is already available somewhere, I did not currently find, guess it was just an example in the announcement:
/usr/share/location/database.db
I’ve checked the unit-tests at git.ipfire.org Git - location/libloc.git/blob - tests/lua/main.lua which although uses a test database which is not of any use in a productive environment either.
Thanks for your help!
Michael
Edit: Database found at /var/lib/location/database.db
Edit: Found this comment in a commit to git.
Are the LUA bindings available already for download?
Changes
- Removed Lua bindings from repo and dist files, now available separately