Commit graph

49 commits

Author SHA1 Message Date
Lee
58b92befd7
Merge pull request #102 from cloudwindy/patch-1
Update README.md
2022-03-05 15:02:59 -06:00
cloudwindy
cb416a68c1
Update README.md
master branch was renamed to main
2021-12-05 23:54:27 +08:00
Lee
a26c6beed7
Merge pull request #96 from leev/proxy-commands-readme
Add documentation for geoip2_proxy commands
2020-12-02 15:54:57 -06:00
Lee
8c780510ea
Merge pull request #95 from leev/with-stream
Document building --with-stream
2020-12-02 15:54:37 -06:00
Lee
1f216031a9
Add documentation for geoip2_proxy commands
Fixes #60
2020-12-01 17:48:13 -06:00
Lee
d66d89b4d7
Document building --with-stream
Fixes #86
2020-12-01 17:35:49 -06:00
Lee
1cabd8a1f6
Merge pull request #84 from leev/maxmind-readme-update
Update README regarding Maxmind downloading instructions.
2020-01-21 16:14:06 -08:00
Lee Valentine
6d92339a30
Update README regarding Maxmind downloading instructions.
Fixes #83
2020-01-21 10:15:54 -08:00
Lee
5a83b6f958
Merge pull request #81 from leev/fix_reloading
Fix segfault when using auto_reload with multiple databases.
2019-10-29 08:58:53 -07:00
Lee Valentine
ff37752ae7
Fix segfault when using auto_reload with multiple databases.
Thanks to Alessandro Ghedini/@ghedo for debugging the issue and
recommending the use of queues of arrays.
2019-10-25 11:23:21 -07:00
Lee
a28ceffdef
Merge pull request #61 from defanator/defanator-fix-sigsegv-on-auto_reload
Move MMDB auto-reloading to log phase
2018-10-17 11:23:13 +01:00
Lee
f2799599ae
Merge pull request #64 from leev/last_change
Replace last_reload with correct value of last_change in README
2018-10-13 21:38:52 +01:00
Lee Valentine
08064eb40d Replace last_reload with correct value of last_change in README
Fixes #62
2018-10-13 21:36:52 +01:00
Andrei Belov
9db8253eec
Fixed build of stream module 2018-10-11 19:22:52 +03:00
Andrei Belov
80659b1bee
Store string variables from libmaxmind in request pool
Using direct references may cause SIGSEGV on database reload
(when auto_reload parameter is enabled).
2018-10-11 16:59:37 +03:00
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
Lee
cbea8fc505
Merge pull request #59 from defanator/defanator-fix-auto_reload
Ensure that database structures are zero-initialized
2018-10-02 13:01:18 +01:00
Andrei Belov
38cea8a516
Ensure that database structures are zero-initialized
This should fix #58.
2018-10-01 15:30:11 +03:00
Lee
d6e529a9ab
Merge pull request #54 from leev/auto_reload
Add support for auto reloading the database if it has changed
2018-07-02 22:07:03 +01:00
Lee Valentine
39a8abfa60 Add support for auto reloading the database if it has changed 2018-07-02 21:47:02 +01:00
Lee
7eaa956e61
Merge pull request #53 from leev/metadata
Add support for retrieving mmdb metadata, specifically build_epoch
2018-06-28 01:07:50 +01:00
Lee Valentine
4674ba7c9c Add support for retrieving mmdb metadata, specifically build_epoch 2018-06-28 01:06:22 +01:00
Lee
f4364b50b4
Merge pull request #50 from qlees/relative_path
geoip2 directive support relative path as first argument
2018-05-14 20:13:51 +01:00
qlee
6fac846f3d geoip2 directive support relative path as first argument 2018-05-02 18:32:31 +08:00
Lee
e39fdd7bf8 Update README.md 2016-11-03 23:48:10 +00:00
Lee
1c15cd710b Merge pull request #35 from defanator/defanator-stream-support
Added stream support for recent nginx versions (>= 1.11.2)
2016-11-03 12:03:54 +00:00
Andrei Belov
4a0ca82b79 Added stream support
nginx/1.11.2 or newer is required in order to get geoip2 support
within stream {} context.
2016-10-27 18:09:39 +03: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
Lee Valentine
9ebca76996 Added ngx_feature_test to config to ensure it's reset if previous modules set it 2016-06-17 10:31:50 -07:00
Lee
1c2ab3a33b Merge pull request #27 from guizmaii/master
Correct Nginx download link
2016-05-13 15:00:59 +01:00
Jules Ivanic
fc41d450bc Correct Nginx download link 2016-05-11 13:59:16 +02:00
Lee Valentine
0373635e22 Feature: nginx dynamic module support 2016-02-10 20:43:08 +00:00
Lee
eb8a26df11 Merge pull request #13 from oschwald/all-data-types
Support all MaxMind DB data types
2014-12-13 22:21:25 +00: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
Lee Valentine
48435ecb0f Added geolite2 download information 2014-03-13 12:46:27 +00:00
Lee Valentine
deee646296 Updated README 2014-03-13 12:39:00 +00:00
Lee Valentine
d4314bb82e Updated README 2014-03-11 10:19:43 +00:00
Lee Valentine
d0adfced46 Fixed typo 2014-03-11 10:15:11 +00: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