telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2020-06-09 14:22Remove now useless _XOPEN_SOURCE and _GNU_SOURCE defines.Frederic Cambus1+1-4
2020-03-25 10:44Add missing #include guard in location.h header file.Frederic Cambus1+6-1
2020-03-25 10:42Avoid using leading underscores in the macro name of the include guard.Frederic Cambus1+4-4
2020-03-20 17:14Introduce and use the GEOIP2DIR macro, to avoid hardcoding DB paths.Frederic Cambus1+4-2
2020-03-20 17:13Bump copyright year to 2020.Frederic Cambus7+7-7
2019-12-30 20:32Update the section regarding GeoIP2 databases.Frederic Cambus1+2-7
2019-11-15 22:10Account for changes in Kore: replace 'static' and 'dynamic' directives with 'route'.Frederic Cambus1+8-8
2019-10-25 17:54Switch 'branch_pattern' to 'coverity_scan' to avoid triggering analysis for each commit (Travis CI).Frederic Cambus1+1-1
2019-10-25 17:53Add arm64 arch and a build matrix (Travis CI).Frederic Cambus1+11-0
2019-09-30 21:24Call 'kodev clean' so the project gets entirely rebuilt each time (TravisCI).Frederic Cambus1+1-1
2019-09-30 21:12Update build environment, there is no need to use MaxMind's PPA anymore (TravisCI).Frederic Cambus1+3-2
2019-09-30 20:49Remove TODO, as it only listed an already done item.Frederic Cambus1+0-2
2019-09-28 17:56Allow trailing slash for the 'geoip' and 'location' endpoints.Frederic Cambus1+12-0
2019-09-28 17:03Modify Telize configuration to also listen on HTTP.Frederic Cambus1+14-0
2019-09-28 17:02Account for Kore configuration format changes.Frederic Cambus1+8-35
2019-09-28 16:58Move routes to their own configuration file.Frederic Cambus1+33-0
2019-06-10 07:11Close database handle on module unload.Frederic Cambus1+4-3
2019-06-10 06:24Modern GCC warns that _BSD_SOURCE is deprecated, use _DEFAULT_SOURCE instead.Frederic Cambus1+1-1
2019-06-09 18:31Add another bind directive in telize.conf to also listen on IPv6 by default.Frederic Cambus1+1-0
2019-06-09 16:37Re-add a 'geoip' endpoint as an alias to the 'location' one.Frederic Cambus1+12-0
2019-06-09 16:36Remove commented out mime types definitions in build.conf.Frederic Cambus1+0-5
2019-06-09 08:20Remove useless CXXFLAGS in build.conf.Frederic Cambus1+0-3
2019-06-09 08:20Modify build.conf to allow building Telize on NetBSD.Frederic Cambus1+2-1
2019-03-26 09:08Add a comment showing how to generate the token for Coverity (Travis CI).Frederic Cambus1+1-0
2019-03-25 08:07Add Coverity Scan back to the pipeline, it's back up (Travis CI).Frederic Cambus1+15-0
2019-03-13 10:28Use lighter file headers everywhere.Frederic Cambus6+68-52
2019-03-13 09:53Add "-D_BSD_SOURCE" to CFLAGS, fixes the build on musl libc based systems.Frederic Cambus1+1-1
2019-03-13 09:53Bump copyright year.Frederic Cambus5+9-9
2019-01-16 14:44Remove Coverity Scan from the pipeline, it's down (Travis CI).Frederic Cambus1+0-15
2019-01-07 13:02Hook Coverity Scan to the build (Travis CI).Frederic Cambus1+15-0
2019-01-07 12:34Define _GNU_SOURCE, toggles 'tm_gmtoff' visibility on Linux.Frederic Cambus1+1-0
2019-01-07 12:16Define _XOPEN_SOURCE 700, fixes some implicit declaration warnings on Linux.Frederic Cambus1+3-1
2019-01-07 12:02Loop initial declarations are only allowed in C99 mode, so build with -std=c99.Frederic Cambus1+1-0
2019-01-07 11:57Build kore with NOTLS=1 (Travis CI).Frederic Cambus1+1-1
2019-01-07 11:51Install libssl-dev to be able to build Kore (Travis CI).Frederic Cambus1+1-1
2019-01-07 10:52Initial Travis CI configuration file.Frederic Cambus1+16-0
2018-12-19 11:48Allow HTTP HEAD requests for all endpointsFrederic Cambus1+4-4
2018-12-19 11:47Update CONTRIBUTORSFrederic Cambus1+1-0
2018-12-18 12:31Remove remaining scripts from the Lua versionFrederic Cambus4+0-1415
2018-12-02 21:33Add missing <time.h> header, fixes build on LinuxFrederic Cambus1+3-1
2018-12-01 19:50use putenv() to avoid leaking.Joris Vink1+10-3
2018-11-29 12:17Use the correct pointer.Joris Vink1+1-1
2018-11-29 12:11Refactor telize.Joris Vink7+281-218
2018-11-29 10:12Update README: building and running instructions, mention Logswan instead of Nginx log splittingFrederic Cambus1+13-3
2018-11-29 09:48Update README to sync with the new realityFrederic Cambus1+12-96
2018-11-28 08:49Escape slashes in timezonesFrederic Cambus1+12-5
2018-10-26 19:06va_start() must take the last argument before variadic parameters. Pointed out by Joris Vink, thanks!Frederic Cambus1+1-1
2018-10-26 19:01Account for 'addrtype' to 'family' change in Kore master branchFrederic Cambus3+9-9
2018-10-26 18:57Include <kore/kore.h> before <kore/http.h>Frederic Cambus1+2-2
2018-10-12 20:50Use the newly introduced getdata() function instead of calling MMDB_get_value directlyFrederic Cambus1+10-44
2018-10-12 20:49Add a getdata() function to get DB fields and append them to the JSON payloadFrederic Cambus1+29-0
2018-10-12 20:49Reformat function prototypesFrederic Cambus3+7-7
2018-10-12 20:44Reorder kore headers to avoid some compiler warningsFrederic Cambus2+2-2
2018-10-12 15:58Set the response headers earlier so error messages have correct headers tooFrederic Cambus2+9-10
2018-10-12 06:51Add some comments, and start wrapping lines longer than 80 columnsFrederic Cambus1+23-16
2018-10-12 06:15Reorder headers for all endpointsFrederic Cambus3+5-5
2018-10-11 20:56Do not leak memory when an invalid IP addresses is detectedFrederic Cambus1+2-0
2018-10-11 20:26Check for invalid IP addressesFrederic Cambus1+10-0
2018-10-09 14:52Add a dynamic ^/location/[a-f0-9\:.]*$ route to allow specifying custom IP addressesFrederic Cambus2+13-1
2018-10-07 20:10Set the number of initial bytes to allocate for the buffer data to 4096Frederic Cambus2+2-2
2018-10-07 20:06Do not link against jansson, we are not using it anymoreFrederic Cambus1+1-1
2018-10-07 20:05Generate JSON payload using the kore_buf interface instead of using Jansson for the 'jsonip' endpoint as wellFrederic Cambus1+14-13
2018-10-07 19:32Remove most strndup calls, use the "%.*s" format string insteadFrederic Cambus1+27-46
2018-10-07 17:56Generate JSON payload using the kore_buf interface instead of using JanssonFrederic Cambus2+54-37
2018-10-06 21:21Add 'country_code3' field to the payloadFrederic Cambus1+10-1
2018-10-06 21:20Add 'country_code' and 'country_code3' arrays, allowing to map valuesFrederic Cambus1+68-0
2018-10-06 20:53Add the JSON_ESCAPE_SLASH flag to JSON encoding optionsFrederic Cambus1+1-1
2018-10-06 20:38Add CORS and "Cache-Control" headers for the 'jsonip' and 'location' endpointsFrederic Cambus2+8-0
2018-10-06 20:28When 'X-Forwarded-For' header is set, only get the first IP of the listFrederic Cambus3+6-0
2018-10-05 20:32Add 'region' and 'region_code' fields to the payloadFrederic Cambus1+10-0
2018-10-05 19:18Remove redundant calls to kore_strdup()Frederic Cambus3+9-9
2018-10-05 12:23Free JSON object once we are done serializing the outputFrederic Cambus2+2-0
2018-10-05 12:22Add missing header for asprintf()Frederic Cambus2+2-0
2018-10-05 12:13Use INET6_ADDRSTRLEN for inet_ntop size argumentFrederic Cambus3+6-6
2018-10-05 11:39Free JSON payload memory once the request is servedFrederic Cambus2+2-0
2018-10-05 11:38Use kore_malloc to allocate memory for addr, so we can free this memoryFrederic Cambus3+17-5
2018-10-05 07:51Perform GeoLite2 ASN lookup and add 'asn' and 'organization' fields to the payloadFrederic Cambus1+13-0
2018-10-05 07:38Dynamically calculate timezone offset and add data to the payloadFrederic Cambus1+10-0
2018-10-05 07:32Add GeoLite2 City data to the payloadFrederic Cambus1+44-0
2018-10-05 07:24Perform GeoLite2 City lookupFrederic Cambus1+8-0
2018-10-05 07:17Add an init function to load GeoLite2 City and ASN databasesFrederic Cambus2+23-1
2018-10-05 07:00Add <maxminddb.h> header and link against libmaxminddbFrederic Cambus2+2-1
2018-10-05 06:56Add an initial 'location' endpoint, for now it's the 'jsonip' one duplicatedFrederic Cambus2+64-0
2018-10-04 22:08Set the HTTP charset parameter to 'utf-8' for the 'jsonip' endpointFrederic Cambus1+1-1
2018-10-04 22:01Handle optional callback parameter in the 'jsonip' endpointFrederic Cambus2+15-2
2018-10-04 21:35Add the 'jsonip' endpoint, and link against janssonFrederic Cambus3+52-0
2018-10-04 21:22Set "content-type" header to "text/plain" for the 'ip' endpointFrederic Cambus1+1-0
2018-10-04 21:16Handle the 'X-Forwarded-For' HTTP header if presentFrederic Cambus1+9-2
2018-10-04 20:55Return the client IP address in the 'ip' endpointFrederic Cambus1+26-1
2018-10-04 20:42Remove the default endpoint, and add 'ip' endpointFrederic Cambus3+12-12
2018-10-04 20:41Enable access logs in the configuration fileFrederic Cambus1+2-0
2018-10-04 20:32Initial C version with Kore: application skeleton generated by kodevFrederic Cambus3+58-0
2018-03-16 08:42Add a few entries in the 'country_code' to 'country_code3' mapFrederic Cambus1+2-0
2018-03-15 13:46Telize 2.0.0 releaseFrederic Cambus4+6-6
2018-03-14 09:45Update ChangeLog prior to the 2.0.0 releaseFrederic Cambus1+7-4
2018-03-14 09:07Minor code shufflingFrederic Cambus1+4-4
2018-03-14 09:06Documentation update and tweaksFrederic Cambus1+20-16
2018-03-07 22:28Revert the 'offset' to 'timezone_offset' renameFrederic Cambus4+6-7
2018-03-07 22:02Update ChangeLogFrederic Cambus1+9-1
2018-03-07 21:56Use HTTPS for the GeoLite2 databases URLsFrederic Cambus1+2-2
2018-03-07 21:37Add Cache-Control header in the 'jsonip' endpoint as wellFrederic Cambus1+2-0
2018-03-07 21:36Shuffle some code around, for consistencyFrederic Cambus1+7-7
2018-03-07 21:03Rename the 'geoip' endpoint to 'location'Frederic Cambus2+6-6
2018-03-07 07:30Reintroduce the 'country_code3' field using a mapFrederic Cambus3+254-1
2018-03-05 15:10Add support for CORS in the 'jsonip' endpointFrederic Cambus1+5-1
2018-03-05 15:07Fix typoFrederic Cambus1+1-1
2018-03-04 12:18Rename offset to timezone_offset for better consistencyFrederic Cambus1+3-3
2018-03-04 09:43Revert variable rename, the payload field will be renamed insteadFrederic Cambus3+3-3
2018-03-03 20:00Rename $geoip2_timezone_offset to $geoip2_offsetFrederic Cambus3+3-3
2018-03-03 19:54Regenerate timezone-offset.confFrederic Cambus1+147-0
2018-03-03 19:53Update timezones listFrederic Cambus1+148-1
2018-03-03 17:54Convert timezone offset to numeric valueFrederic Cambus1+5-0
2018-03-03 17:18Regenerate timezone-offset.confFrederic Cambus1+1-1
2018-03-03 17:18Switch to $geoip2 variables for the timezone offsets generatorFrederic Cambus1+1-1
2018-03-03 17:13Regenerate timezone-offset.confFrederic Cambus1+337-416
2018-03-03 17:12Generate timezone offsets in secondsFrederic Cambus1+1-1
2018-03-03 17:08Generate timezone offsets as numeric valuesFrederic Cambus1+2-2
2018-03-03 16:55Trim whitespaceFrederic Cambus1+2-2
2018-03-03 16:34Account for configuration file rename in READMEFrederic Cambus1+4-4
2018-03-03 16:22Convert ASN to numeric valueFrederic Cambus1+5-0
2018-03-02 21:25Update ChangeLogFrederic Cambus1+11-0
2018-03-02 21:25Formatting fixesFrederic Cambus1+2-1
2018-03-02 21:17Do not use parentheses for requireFrederic Cambus1+3-3
2018-02-05 14:04Rename telize to telize.confFrederic Cambus1+0-0
2018-02-05 11:53Update documentation to reflect the switch to GeoIP2/GeoLite2Frederic Cambus1+35-50
2018-02-05 11:52Switch to $geoip2 variablesFrederic Cambus2+14-16
2018-02-05 11:50Drop timezone.conf, GeoIP2/GeoLite2 databases contain time zones for each locationFrederic Cambus1+0-718
2018-02-05 11:48Drop dependency on the Lua iconv module, GeoIP2/GeoLite2 databases are encoded as UTF-8Frederic Cambus2+2-21
2018-02-05 11:47Bump copyright yearFrederic Cambus3+5-5
2017-02-17 19:18StatDNS website is now HTTPS onlyFrederic Cambus1+1-1
2017-02-09 12:53Remove all Twitter mentionsFrederic Cambus2+0-2
2017-02-07 09:19Bump copyright yearFrederic Cambus3+5-5
2017-02-07 09:17Use https URLs wherever possibleFrederic Cambus5+8-8
2016-11-21 23:39Telize 1.07 releaseFrederic Cambus4+20-7
2016-11-21 23:05More README fixesFrederic Cambus1+5-5
2016-11-21 20:24Small README fixesFrederic Cambus1+4-4
2016-11-21 18:38Reformat README file to wrap long lines, remove whitespace before colons, and use Markdown link formatFrederic Cambus3+57-38
2016-11-19 20:29Change '/usr/share/GeoIP' to '/var/db/GeoIP'Frederic Cambus1+10-10
2016-11-19 19:17Remove TODO note regarding UTF-8 encoding of GeoIP variables, as this doesn't seem to be possibleFrederic Cambus1+0-2
2016-11-19 19:09Wrap lines longer than 80 charactersFrederic Cambus1+6-2
2016-10-25 19:34Change example links to use 127.0.0.1Frederic Cambus1+7-7
2016-10-25 19:28Remove note on Debian packages, as ngx_lua module is likely too oldFrederic Cambus1+0-3
2016-10-24 14:41Documentation update: specify minimal required 'ngx_lua' version + typo fixFrederic Cambus1+2-2
2016-10-24 14:41Use 'content_by_lua_block' directive instead of 'content_by_lua'Frederic Cambus2+84-80
2016-10-24 14:31Use Lua to echo IP address in the 'ip' endpoint and drop dependency on the 'ngx_echo' moduleFrederic Cambus2+1-2
2016-10-24 14:29Use Lua to set additional headers and drop dependency on the 'ngx_headers_more' moduleFrederic Cambus3+3-5
2016-07-18 18:52Relicensed under the BSD 2-Clause licenseFrederic Cambus4+5-9
2016-07-18 11:50Remove THE REGENTS from LICENSEFrederic Cambus1+5-5
2016-02-27 21:30Fixing typoFrederic Cambus1+1-1
2016-02-18 17:44Rewrote the timezone offset generator in LuaFrederic Cambus3+367-24
2016-02-04 12:08Telize 1.06 releaseFrederic Cambus3+9-3
2016-01-07 15:54Prefixing all country codes with carets to prevent wrong matchingFrederic Cambus1+231-231
2016-01-07 15:46Updating TODOFrederic Cambus1+2-0
2016-01-05 11:31Telize 1.05 releaseFrederic Cambus3+8-2
2016-01-05 11:30Updating TODOFrederic Cambus1+1-0
2016-01-05 11:22Updating copyright in header + LICENSEFrederic Cambus2+5-4
2016-01-05 11:18Bye bye SourceForgeFrederic Cambus1+1-1
2015-11-23 22:43Fixing regression : organization name was not correctly converted to UTF-8Frederic Cambus1+5-0
2015-11-10 16:03Telize 1.04 releaseFrederic Cambus3+9-2
2015-11-10 15:38Do not attempt to split GeoIP org field into ASN and ISP, return the raw organization string insteadFrederic Cambus1+2-15
2015-10-27 17:12Telize 1.03 releaseFrederic Cambus3+4-3
2015-10-27 16:30Formatting fixesFrederic Cambus4+18-18
2015-10-27 16:28Documentation update : notes about LuaJITFrederic Cambus1+4-0
2015-10-27 16:06Fixing regression : region and region_code were invertedFrederic Cambus1+3-3
2015-10-26 22:14Updating documentation to reflect that Telize now requires Nginx 1.7.4+Frederic Cambus1+1-1
2015-10-26 22:05Updating ChangeLogFrederic Cambus1+14-0
2015-10-26 22:03Do not pass IP address as URL parameter to the 'jsonify' internal endpoint, use remote_addr insteadFrederic Cambus1+5-4
2015-10-26 21:59Fixing regression : do not attempt to tokenize the organization string if it's emptyFrederic Cambus1+6-3
2015-10-26 21:03Fixing regression (leading space character before ISP name)Frederic Cambus1+1-1
2015-10-26 21:00Renaming 'args' table to 'payload'Frederic Cambus1+15-15
2015-10-26 20:07Getting rid of the 'localize' endpoint + splitting organisation into ASN and ISP using LuaFrederic Cambus1+22-30
2015-10-26 15:58The 'jsonip' endpoint do not use the internal 'jsonify' endpoint anymoreFrederic Cambus1+17-1
2015-10-26 14:26Convert latitude and longitude to numeric values after validating argumentsFrederic Cambus1+6-2
2015-10-26 14:24Check for invalid IP addresses before attempting to validate argumentsFrederic Cambus1+7-7
2015-10-26 14:03Additional notes regarding Lua modules installationFrederic Cambus1+2-0
2015-10-26 12:36Copyright bumpFrederic Cambus2+3-3
2015-10-26 11:59Updating TODOFrederic Cambus1+2-1
2015-10-26 10:37Updating CONTRIBUTORS fileFrederic Cambus1+1-0
2015-10-26 10:30Removing legacy Debian automatic install scriptFrederic Cambus2+0-32
2015-05-31 09:44Documentation update (worker_rlimit_nofile)Frederic Cambus1+2-1
2015-01-13 20:33Merge pull request #9 from lrobinot/patch-1Frederic Cambus1+10-0
2014-12-06 18:39Documentation Update (description and Nginx modules dependencies)Frederic Cambus1+3-0
2014-12-06 13:13Updating TODOFrederic Cambus1+1-0
2014-11-23 14:03Documentation update : Access and Error logsFrederic Cambus1+5-1
2014-11-23 13:50Adding TODOFrederic Cambus1+1-0
2014-11-07 08:35Adding required packages to build rocksFrederic Cambus1+1-1
2014-09-01 16:40Telize 1.02 releaseFrederic Cambus3+15-3
2014-09-01 15:48Documenting CORS supportFrederic Cambus1+7-0
2014-08-31 13:19Introducing configuration variables for CORSFrederic Cambus1+11-4
2014-08-27 16:43Enable CORSFrederic Cambus1+1-0
2014-08-18 21:50Adding Cache-Control headersFrederic Cambus1+4-0
2014-08-18 21:32Enable setting charsets for application/json MIME typeFrederic Cambus1+2-0
2014-08-18 21:30Fixing a regression in /jsonip endpointFrederic Cambus1+6-1
2014-08-18 21:25Using dotted notation for ip checkFrederic Cambus1+1-1
2014-08-18 20:47Formatting fixesFrederic Cambus1+48-51
2014-08-10 21:09Adding lua-iconv in Debian install scriptFrederic Cambus1+1-0
2014-08-10 21:07Minor fixesFrederic Cambus2+3-2
2014-07-09 15:44convert geop iso to utf8 need lua-iconvYann VERRY2+7-4
2014-08-10 20:16Adding comments explaining the /localize endpointFrederic Cambus1+3-0
2014-08-10 20:05Documentation updateFrederic Cambus1+5-0
2014-08-09 21:32Adding an automatic install script for Debian (Wheezy)Frederic Cambus1+27-0
2014-07-31 20:31Copyright bump in LICENSEFrederic Cambus1+1-1
2014-07-15 22:36Documentation updateFrederic Cambus1+8-0
2014-07-15 21:51Renaming timezone offset generatorFrederic Cambus1+0-0
2014-07-15 21:18Adding CONTRIBUTORS fileFrederic Cambus1+4-0
2014-07-15 21:11Moving the timezone offset map to its own fileFrederic Cambus4+421-421
2014-07-15 20:53Avoid duplicating configuration files (Load balancing)Frederic Cambus3+26-117
2014-04-09 14:22add offset featureYann VERRY4+443-2
2014-04-01 06:33remove rewrite adjust locationYann VERRY2+2-6
2014-02-11 09:56telize x-forwarded-forYann VERRY2+116-1
2014-01-26 17:53add Host in proxyYann VERRY1+1-0
2013-11-29 10:50Fixing regressionFrederic Cambus1+6-4
2013-10-19 16:32Documentation update (GeoIP databases)Frederic Cambus1+24-2
2013-10-13 21:34Typos and order consistency fixesFrederic Cambus1+4-4
2013-10-13 21:31Merge pull request #1 from jnalley/refactor_luaFrederic Cambus1+32-22
2013-10-11 09:23Telize 1.01 releaseFrederic Cambus3+12-3
2013-10-07 18:08Documentation updateFrederic Cambus2+9-3
2013-10-07 17:53Adding support for TimezonesFrederic Cambus2+721-2
2013-10-04 21:35Fixing README pagination issuesFrederic Cambus1+7-7
2013-10-04 18:25Using geoip_org data passed as argument instead of doing another lookupFrederic Cambus1+1-1
2013-10-04 18:23Enforcing stritctly defined URL endpointsFrederic Cambus1+3-3
2013-10-04 16:01Documentation updateFrederic Cambus1+15-1
2013-10-03 13:22Support for GeoIP ASN database (and adding ASN and ISP fields to the JSON output)Frederic Cambus1+11-4
2013-10-03 13:05Prevent logging of internal redirectsFrederic Cambus1+2-0
2013-08-26 06:18Linking to latest tarball releaseFrederic Cambus1+3-1
2013-08-21 11:30Initial Telize releaseFrederic Cambus5+231-0