Commit graph

18 commits

Author SHA1 Message Date
Andrei Belov
26399de025
Move MMDB auto-reloading to log phase
Previous approach could lead to SIGSEGV while logging requests
with log format containing variables produed by geoip2 module.
2018-10-10 13:00:25 +03:00
Andrei Belov
38cea8a516
Ensure that database structures are zero-initialized
This should fix #58.
2018-10-01 15:30:11 +03:00
Lee Valentine
39a8abfa60 Add support for auto reloading the database if it has changed 2018-07-02 21:47:02 +01:00
Lee Valentine
4674ba7c9c Add support for retrieving mmdb metadata, specifically build_epoch 2018-06-28 01:06:22 +01:00
qlee
6fac846f3d geoip2 directive support relative path as first argument 2018-05-02 18:32:31 +08:00
Lee Valentine
9d11f35986 Added optional source=<variable> setting to allow lookups on
IPs in custom variables.  Defaults to client ip if not set.
2016-06-19 23:34:12 +01:00
Lee Valentine
2f9ee969c8 Moved break out of FORMAT macro 2016-06-17 10:32:55 -07:00
Gregory Oschwald
21ffc356d2 Use Nginx's non-standard printf format spec 2014-12-08 16:18:21 -08:00
Gregory Oschwald
54e089c3a1 Support all MaxMind DB data types 2014-12-06 13:42:20 -08:00
Lee Valentine
bd530bc5f3 Added support for using multiple maxmind databases 2014-04-26 11:26:37 +01:00
Lee
a977175baf Merge pull request #4 from jobseekerltd/master
Retrieves ui32_t entry
2014-04-24 08:45:56 +01:00
JIRA DVCS
dc49f10d92 Fix indentation 2014-04-23 22:22:02 +10:00
Lee Valentine
a302e5f822 Updated not_found 2014-03-19 21:47:03 +00:00
Jiale Zhi
2cefb47cf3 Remove printf line 2014-03-19 14:32:04 -07:00
Jiale Zhi
80803760cb Support setting default variable value 2014-03-19 12:58:41 -07:00
Cuong Hoang
22e52ffad1 Retrieves ui32_t entry 2014-03-18 09:40:28 +11:00
Jiale Zhi
a2d7a49107 Fix a compilation error. Remove spaces. 2014-03-10 17:20:21 -07:00
Lee Valentine
bb3e006354 Initial commit 2014-01-30 23:00:34 +00:00