Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting 403 error #14

Closed
peterkimzz opened this issue Oct 23, 2020 · 11 comments
Closed

getting 403 error #14

peterkimzz opened this issue Oct 23, 2020 · 11 comments

Comments

@peterkimzz
Copy link
Contributor

peterkimzz commented Oct 23, 2020

I'd like to set custom nginx block upstream for load balancing and app version rolling update, but nginx throws error below.

nginx: [emerg] "upstream" directive is not allowed here in /server-confs/default.conf:1

Here are my codes.

docker-compose.yml

version: "3.8"

services:
  nginx:
    image: bunkerity/bunkerized-nginx
    volumes:
      - ./nginx/config:/server-confs
      - ./letsencrypt:/etc/letsencrypt
    ports:
      - 80:80
    environment:
      - SERVER_NAME=example.com
      - SERVE_FILES=no
      - DISABLE_DEFAULT_SERVER=yes
      - REDIRECT_HTTP_TO_HTTPS=yes
      - AUTO_LETS_ENCRYPT=yes

  blue:
    build:
      context: app

  green:
    build:
      context: app

default.conf

upstream proxy {
    server blue:3000;
    server green:3000;
}

proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

location / {
    proxy_pass http://proxy;
}
@fl0ppy-d1sk
Copy link
Member

fl0ppy-d1sk commented Oct 23, 2020

The upstream directive must be set at http context. You need to have two separate files.

http-config/upstream.conf :

upstream proxy {
    server blue:3000;
    server green:3000;
}

server-config/proxy.conf :

proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

location / {
    proxy_pass http://proxy;
}

Then you need to mount the http-config folder to /http-confs and server-config folder to /server-confs :

...
    volumes:
      - ./http-config:/http-confs
      - ./server-config:/server-confs
...

@peterkimzz
Copy link
Contributor Author

peterkimzz commented Oct 23, 2020

@bunkerity Thank you! It works. :)

I found another issue.

HTTPS works and nginx runs well, 403 forbidden error occurs.
My project is cloned by the example template of examples/reverse_proxy.

So I cloned the project without code editing and ran it, also got same error.

image

@fl0ppy-d1sk
Copy link
Member

Can you attach the full logs given by docker-compose logs please ? Don't forget to remove your IP address.

@fl0ppy-d1sk fl0ppy-d1sk changed the title Custom configuration for 'upstream' block getting 403 error Oct 23, 2020
@peterkimzz
Copy link
Contributor Author

peterkimzz commented Oct 24, 2020

Here are my nginx logs.

nginx_1  | ==> /var/log/error.log <==
nginx_1  | 2020/10/24 03:40:30 [error] 991#0: *62 access forbidden by rule, client: 175.193.247.207, server: temp.billionrecipe.com, request: "GET / HTTP/2.0", host: "temp.billionrecipe.com"
nginx_1  | 
nginx_1  | ==> /var/log/access.log <==
nginx_1  | 175.193.247.207 - - [24/Oct/2020:03:40:32 +0000] "GET /favicon.ico HTTP/2.0" 403 548 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36"
nginx_1  |
nginx_1  | ==> /var/log/error.log <==
nginx_1  | 2020/10/24 03:40:32 [error] 991#0: *62 access forbidden by rule, client: 175.193.247.207, server: temp.billionrecipe.com, request: "GET /favicon.ico HTTP/2.0", host: "temp.billionrecipe.com

And I try several times with http-confs, server-confs with upstream, nginx doesn't find the block.
Here is error below.

nginx: [emerg] host not found in upstream "proxy" in /server-confs/proxy.conf:5

@fl0ppy-d1sk
Copy link
Member

You can find a load balancer example here. Hope it will help you.

Regarding the 403 error, it looks like you are in a blacklist. You can try setting the following environment variables :

...
    environment:
      ...
      - BLOCK_USER_AGENT=no
      - BLOCK_TOR_EXIT_NODE=no
      - BLOCK_PROXIES=no
      - BLOCK_ABUSERS=no
      ...
...

@TheKangaroo
Copy link

I try to configure nextcloud behind bunkerized-nginx. Great project btw 🎉 :)
After some klicks in the nextcloud GUI I get the same 403 forbidden. I'm pretty sure this is due to fail2ban.
I wonder, how i can crank up the log level from all components shipped in the container or how I can debug things inside the container.
I see barely other logs than nginx on stdout.

@fl0ppy-d1sk
Copy link
Member

fl0ppy-d1sk commented Oct 24, 2020

Hello @TheKangaroo, it might be fail2ban and/or ModSecurity. You can check fail2ban.log and modsec_audit.log inside the /var/log folder of the container. We will add more logging in the next version, thanks for your feedback.

@peterkimzz
Copy link
Contributor Author

I tried the load balancer example, and it seems to be working fine. (i didn't set the BLOCK_*** options)
But looks weird because I think there is no difference in the setup of the two projects..

Anyway, It works good. Thank you @bunkerity! I like this project. AWESOME :)

image

@fl0ppy-d1sk
Copy link
Member

Good news @peterkimzz ! There is still some logging issues with the current 1.0.0 version. I advise you to use the next version that will contain a fix (when it will be released). Do not hesitate to open a new issue if needed.

@fl0ppy-d1sk
Copy link
Member

@TheKangaroo : you can find a nextcloud example using the last 1.1.0 version here

@TheKangaroo
Copy link

Thank you @bunkerity for pointing this out. You just saved me some hours of configuring my server 😍

TheophileDiot added a commit that referenced this issue Nov 17, 2023
…..bea1be3bb

bea1be3bb doc: Fix typo. (#97)
d502e4199 bugfix: nginx crash when accessing uninitialized pointer.
91eb0db9e bugfix: update handling of multiple headers changed in nginx 1.23.0.
e536bc595 bugfix: fixed build error with nginx >= 1.23.0
00be83f1d doc: update the description of nginx compatibility. (#131)
a4a068660 travis-ci: upgrade dist of travis-ci to ubuntu bionic. (#124)
f85af9649 travis-ci: bumped the NGINX core to 1.19.9, remove clang compiler mode from travis to save credits. (#121)
d6d7ebab3 travis-ci: bumped the NGINX core to 1.19.3. (#114)
af8160e01 doc: we now work with nginx 1.17.x (up to 1.17.8 at least).
743a4bb1a travis-ci: bumped the NGINX core to 1.17.8.
552e216a0 travis-ci: switched to OpenResty's fork of LuaJIT.
7255ae95d travis-ci: bumped the NGINX core to 1.17.4.
380e994d3 doc: updated the nginx compatibility list.
ab40f3446 travis: bumped the nginx core version to 1.17.1.
d3a920ad3 travis: clone the lua-resty-core and lua-resty-lrucache repositories.
085fbbc28 travis: bumped the nginx core version to 1.15.8.
f1fadb9e2 tests: t/input-cookie.t: fixed a failing test case with our newest version of ngx_http_lua's LuaJIT alert log.
a9f7c7e86 tests: added a passing test for overriding Cache-Control header created by proxy module.
55fbdaba9 doc: bumped version to 0.33.
f389f1178 tests: added new valgrind false positives in the latest nginx core.
79ac9547b tests: valgrind.suppress: removed too aggressive suppressions in nginx mem pools and luajit lj_str_new.
a799a97ba tests: minor tweaks in valgrind.suppress.
d63cf91ed tests: removed extra file-trailing newlines.
4512b82a8 feature: add wildcard match support for more_clear_input_headers.
7b0762aba doc: adjusted the doc for the use of wildcards in header names. thanks Dejiang Zhu for the report.
809668963 doc: updated copyright notice.
732874a0f travis-ci: several improvements and tweaks.
491df7f8d doc: fixed more_clear_input_headers usage examples.
5aa76052d doc: bumped version to 0.32.
04916fbc4 tests: skipped the newly added test case that cannot run in check leak test mode.
30fb25901 bugfix: more_set_input_headers: skips setting multi-value headers for bad requests to avoid segfaults.
84241e444 doc: bumped version to 0.31.
2054d9261 doc: typo fixes.
72c81c922 skipped check leak mode for two test cases using malformed requests.
fbab58696 doc: claims that we work with 1.10.x since it is essentially the same as 1.9.x.
4fccc2a19 bugfix: fixed a typo in an error message.
0a5bad907 bugfix: when the nginx core does not properly initialize r->headers_in.headers (due to 400 bad requests and etc), more_set_input_headers might lead to crashes. thanks Marcin Teodorczyk for the report.
7fc33974d doc: fixed the release year.
4cb061b57 travis-ci: use "prove -r t" to run the test suite and test against nginx 1.10.0 instead of 1.8.1.
cf016595f various coding style fixes.
4612cb62d Merge branch 'master' of github.com:openresty/headers-more-nginx-module
63b8039d7 doc: release 0.30 and compatibility with nginx cores as far as 1.9.15.
b120f866e Merge pull request #52 from chipitsine/master
182d12a19 fixed "exit 0" on failed build
981a6914a feature: initial travis-ci support.
f5559ec57 doc: documented the dynamic module support in this module.
cabd03a86 doc: typo fix.
2f93b9a31 feature: now this module can be compiled as a dynamic module with ./configure --add-dynamic-module=PATH in NGINX 1.9.11+. thanks Sjir Bagmeijer for the original patch in #44.
cc19196c7 minor test tweaks.
e77178fd2 config: some refactoring.
443753c53 doc: ngx_openresty -> OpenResty.
f14b3667c doc: stated that we are compatible with nginx cores as far as 1.9.7.
88f797a5c bumped version to 0.29.
e8822662b bugfix: changing the built-in header X-Forwarded-For via more_set_input_headers or more_clear_input_headersmight not take effect in some parts of the nginx core (like $proxy_add_x_forwarded_for).
bbaa39fd9 added a .gitattributes file to correct GitHub's language tag.
51dcf0901 doc: bumped version to 0.28.
473fc9d8e bugfix: fixed errors and warnings with C compilers without variadic macro support.
a744defdf removed the useless code snippet enabled by the unused NGX_HTTP_HEADERS macro. it also triggered a compilation error. thanks Vadim A. Misbakh-Soloviov for the report in #39.
c8b4b0a95 updated docs to reflect recent changes.
5031112c0 tests: fixed the test plan in input.t.
42d8019f0 bugfix: setting (builtin) request headers Upgrade, Accept, Accept-Language, Depth, Destination, Overwrite, and Date might not take effect in standard nginx modules like ngx_http_proxy, ngx_http_headers, and ngx_http_dav.
bc48417d8 bugfix: when the response header Content-Type contains params like "; charset=utf-8", the -t MIME-List options did not work as expected at all. thanks Joseph Bartels for the report in #38.
4648e827e doc: we no longer sync from the nginx wiki site.
d0e1a7408 util/build.sh: removed $LUAJIT_LIB and /usr/local/lib from the RPATH list.
f6a745a16 bugfix: clearing input headers If-Unmodified-Since, If-Match, and If-None-Match did not clear the builtin "shortcut" fields in ngx_http_headers_in_t which might confuse other nginx modules like ngx_http_not_modified_filter_module. The first header gets "shortcuts" fields since nginx 0.9.2 while the latter two since nginx 1.3.3.
4b20caa63 tests: disabled the test cases exercising multiple http {} blocks since this undocumented feature has been disabled since nginx 1.9.3.
ccaede889 doc: bumped version to 0.26.
fdf4eabef minor coding style fixes.
d20bf26a8 fixed compilation failures with nginx 1.7.11+ configured with --with-threads.
a7f81f20b updated doc to reflect recent changes.
02fd3778a style: fixed the coding style of labels.
b4f9e524a optimize: removed the unused C function ngx_http_headers_more_rm_header. thanks Markus Linnala for the catch in #28.
2a33f3d01 doc: made it clear that more_set_headers always override existing headers with the same name.
95d8178b0 suppressed a valgrind false positive in libdl.
0c6e05d31 updated docs to reflect recent changes.
61af6c9ee doc: documented the limitation that we cannot remove the "Connection" response header with this module. thanks Michael Orlando for bringing this up in #22.
6e9dd00bb added the missing bit in commit 40414ca1. thanks Edwin Cleton for the report.
6d4d619b3 minor coding style fix.
40414ca1f fixed a warning from the Microsoft C compiler. thanks Edwin Cleton for the report.
4b718e786 various coding style fixes.
7a6fd1136 doc: bumped version to 0.24 and claims that we work with nginx 1.4.4.
fe2a70ea5 updated valgrind.suppress for i386.
540c6770f bugfix: more_set_input_headers did not completely override the existing request header with multiple values. thanks Aviram Cohen for the report.
bb9271843 doc: minor markdown formatting tweaks.
b66e2ef1b removed the plain text README file.
ad3d8d622 bumped version to 0.23.
35f8faf54 doc: added syntax highlighting to the code samples.
9c4b6ee1d minor coding style fixes.
1caf5cc41 bugfix: removing request headers might lead to memory corruptions.
566cebf00 minor coding style fixes.
6f06b3720 doc: markdown: added a "table of contents" seciton and lots of "Back to TOC" links.
5f1425508 docs: eliminated links to the nginx wiki wherever possible.
211760978 bugfix: more_set_input_headers might overwrite the value of the $host variable with bad values.
5a70b6b46 bugfix: more_set_headers and more_clear_headers might now work when multiple http {} blocks were used in nginx.conf.
3bc9f941b bugfix: eliminated use of C global variables during configuration phase.
035a5f3d3 updated docs to reflect recent changes.
6d19a3980 fixed the test plan in sanity.t.
31d0e78b7 bumped version to 0.22.
3392914d2 added a (passing) test for setting response headers for HTTP 0.9 requests.
625c550aa updated .gitignore a bit.
147c2737b bugfix: segfaults would happen in more_set_input_headers and more_clear_input_headers when processing HTTP 0.9 requests. thanks Bin Wang for the report in #14.
26f96fb41 bugfix: we did not properly initialize the location response header field in commit b21333e2d. this is a further fix for issue #7.
00ee3cfcf massive coding style fixes.
b21333e2d bugfix: segfault might happen when using more_set_headers or more_clear_headers in the case that the nginx core initiated a 301 redirect. this issue was caused by an optimization in the nginx core where ngx_http_core_find_config_phase, for example, does not fully initialize the "Location" response header after creating the header. thanks Brian Akins for the original report in #7 and Vladimir Protasov for the insight in chaoslawful/lua-nginx-module#260.
ec05b8981 updated docs to reflect recent changes.
be5ea9a6d bugfix: segmentation fault might happen in nginx 1.4.x when using more_set_input_headers on the Cookie request headers because recent versions of nginx no longer always initialize r->headers_in.cookies.
0df17d017 bumped version to 0.20.
376b7bc23 massive coding style fixes in ngx_http_headers_more_headers_in.c.
e9f060d50 added test cases for the recent fixes in the Cookie request header handling.
2da1aaa9f fixed places where we should return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR; also fixed a clang warning.
a45243e2f bugfix: modifying the Cookie request headers via more_set_input_headers/more_clear_input_headers did not update the Nginx internal data structure, r->headers_in.cookies, at the same time, which might cause issues when reading variables $cookie_COOKIE, for example.
e9b817509 bugfix: modifying the Via request header via more_set_input_headers/more_clear_input_headers did not update the special internal field in the Nginx core, "r->headers_in.via", when the ngx_gzip_filter module is enabled.
c7feaa395 bugfix: modifying the X-Real-IP request header via more_set_input_headers/more_clear_input_headers did not update the special internal field in the Nginx core, "r->headers_in.x_real_ip", when the ngx_realip module is enabled.
27c2137c6 bugfix: modifying the Connection request header via more_set_input_headers/more_clear_input_headers did not update the special internal flags in the Nginx core, "r->headers_in.connection_type" and "r->headers_in.keep_alive_n".
95ed9ce74 bugfix: modifying the User-Agent request header via more_set_input_headers/more_clear_input_headers did not update those special internal flags in the Nginx core, like "r->headers_in.msie6" and "r->headers_in.opera".
22ed8a414 updated docs to reflect recent changes.
9ba50727f updated tests to reflect recent changes in ngx_echo regarding the $echo_client_request_headers variable (commit agentzh/echo-nginx-module@2adcf59ec5c3dff7592b9c04dd31d34cf2f778d5.
27bcbd290 updated docs to reflect recent changes.
5f9684bbd updated .gitignore a bit.
d658a2f90 bugfix: more_clear_input_headers would result in memory invalid reads when removing the 21st request headers. thanks Umesh Sirsiwal for reporting this issue as chaoslawful/lua-nginx-module#176.
0f6132327 removed the sendmsg/ngx_channel valgrind suppression rules.
07702cf8b updated valgrind.suppress for valgrind 3.8.0.
bdb1068b6 updated docs to fix my English name. also fixed an issue in the sample code in docs that Transfer-Encoding cannot be cleared. thanks koukou73gr.
658698495 updated docs to reflect recent changes.
3147c8b4f updated .gitignore.
278ba7d20 bugfix: fixed a set-but-not-read warning from the clang static analyzer.
05a862b33 fixed compatibility with nginx 0.7.65. thanks Banping for reporting this.
b7c8cfcd3 updated docs to reflect recent changes.
2f5f6601a updated .gitignore.
4ea0a75ad bugfix: more_clear_input_headers did not remove all the instances for the builtin headers or custom headers. bugfix: more_clear_input_headers might accidentally remove request headers that are not specified at all and leave the specified headers with just empty header values when removing multiple built-in headers. thanks Matthieu Tourne for reporting the issues.
de80b7972 added a (passing) test for rewrite + more_set_input_headers.
81c8750f1 updated valgrind.suppress for linux i386.
cf7e2d587 updated valgrind.suppress for the "hup reload" + valgrind/memcheck testing mode.
33a82ed11 updated valgrind.suppress and .gitignore.
aa2ae0f8b updated valgrind.suppress.
4b4bfca98 updated valgrind.suppress.
34e238921 updated valgrind.suppress.
358052601 allow use of the DDEBUG macro from the outside (via the "-D DDEBUG=1" cc opton).
de77fd22c updated docs to reflect recent changes.
719ffa26a reindexed the test cases.
5f082e564 Merge branch 'master' of github.com:agentzh/headers-more-nginx-module
006ecab22 bugfix: removing builtin headers in huge request headers with 20+ entries could result in data loss. thanks Chris Dumoulin for the patch in github issue #6.
4f911f68d updated valgrind.suppress for gcc 4.6.
87595f744 optimized the previous commit for padding header value strings with '\0'.
7a719b8ae bugfix: the more_set_input_headers directive might cause invalid memory reads because nginx request header values must be null terminated. thanks Maxim Dounin.
ffdda4535 bugfix: more_set_input_headers did not handle the Accept-Encoding request headers properly. thanks 天街夜色.
6cd7ae83c bugfix: Cache-Control header modification might introduce empty value headers when using with the standard ngx_headers module.
55ad2f48e fixed the download page links in docs.
be6a17e76 updated docs to state that we work with nginx 1.0.8 and 1.1.5.
f7cb29e24 fixed setting Cache-Control response headers. we should properly prepare the r->cache_control array as well.
5de933dc4 we should not set header->hash with ngx_hash_key_lc, not simply to 1.
b3c6230a3 use Test::Nginx::Socket instead of Test::Nginx::LWP.
ff219e96e fixed a bug when setting a multi-value response header to a single value: the single value will be repeated on each old value.
379085532 confirmed that we work with nginx 1.0.6.
9057b0991 fixed on-demand hander/filter registration trick for HUP.
936a555d6 fixed the "<" and ">" symbols in the markdown doc.
5d484ecc7 updated links in docs.
8b78aec44 renamed the wiki file.
264e523fa added internal cross links to README.markdown.
e6c635856 added more hyper-links to README.markdown.
61db52f55 removed unused utilities.
12ccabb15 fixed source lines exceeding 80 cols; checked README.markdown.
78286ca0d confirmed that we work with nginx 1.0.5.
137855d9d release v0.15.
5fac22379 now more_set_headers supports overriding charset in Content-Type. thanks ML.
2c629dee0 fixed an issue in more_clear_headers: we should remove all the instances of the headers specified, not only the first occurrence. thanks 李杨.
b1c4273ae back-ported a bugfix from ngx_lua: in output header set, we should always set the header->hash to 1. thanks moodydeath for reporting it.
6a12aa524 confirmed that we work with nginx 1.0.2.
ef15b439f minor updates.
b27e5d92a minor coding style fixes.
28c62d1d2 added more tests for Accept-Ranges and also fixed a bug when clearing this header. thanks Bo Blangstrup.
7bba2a12b fixed the links to the test suite.
2cbbc15d6 updated the documentation to reflect recent changes.
3641ccfd5 updated .gitignore.
fb2d8935d now we postpone the rewrite phase handler only once rather than on every main request previously. this will save some CPU cycles on every request.
d732166eb removed the bundled Test::Nginx module from our repos; also raised test/t to the toplevel directory.
19e17f08b fixed two spots where we did not check against null pointers when allocating memory.
592845e90 now we use the 2-clause bsd license.
8bd248f0d updated README from the wiki page.
df422fe8a minor tweaks of coding style and .gitignore.
c808e71eb renamed the source file names a bit.
c5b6141b4 minor coding style tweaks.
b4abf2bbf Merge branch 'master' of github.com:agentzh/headers-more-nginx-module
80bcb021b Update Test::Nginx.
442f86638 updated Test::Nginx.
8447e58c5 updated Test::Nginx.
780408eff Use build farm's default server port in tests.
27735dd30 Update Test::Nginx.
9508330b0 releng work for 0.13.
7c6b53e24 fixed a bug in rewrite phase postponing algorithm which may cause eval {...} running after "if". thanks Liseen Wan (xunxin).
7d2db6fa0 enabled the no-pool-nginx patch in our build.sh script for nginx 0.8.41.
b14033607 added a test case for adding a header with an empty variable as its value (from Piotr Sikora).
435fee6d3 updated readme to reflect recent changes.
079fa9507 fixed a vim typo...
e64e736af we should explicitly clear r->headers_out.content_type_lowcase or it will defeat the gzip filter module.
55cbcab47 added tests for issue 3 ("breaks mime types") on GitHub but cannot reproduce the issue with nginx 0.7.66 nor nginx 0.8.40.
b8c872152 updated docs for v0.11.
87e6e7318 fixed the variables-in-Range-header issue reported by Alexander Vetrin.
2afd97b48 use the name "ngx_headers_more" to help SEO.
ae532d8d9 updated docs for v0.10.
aaf5fce53 removed input headers physically from the r->headers_in.headers list because ngx_proxy does not honor h->hash.
793158dcf removed some debugging code.
c68a095c4 now we can completely erase any output headers (both custom and builtin ones).
75b1bfa5d updated README to reflect recent changes.
00c986fde minor style tweaks in the .t files.
c47b63790 fixed a memory initialization issue for more_set_input_headers -r, we should always initialize hv.replace even when replace == 0. thanks valgrind++ :D
1b93def22 implemented wildcard header clear
3a67ad830 work around the links in README.
126fce84c updated Test::Nginx.
5cd9a384f documented the -r option.
0b16d5c3f Merge branch 'dobe-r'
0febdfca7 added -r flag to more_set_input_headers
7da6665da updated .gitignore.
d0f2bb40e sync'd the test scaffold with Test::Nginx 0.08 on CPAN.
fb5ebd568 use ngx_null_string whenever possible.
348da493f sync'd Test::Nginx to 0.07.
4629b7f8e some coding style tweaks.
a127664fc added t/bug.t
db9913e9c updated docs to reflect recent changes.
fc18a5cec fixed the more_clear_headers directive for builtin headers like "Server" and "Last-Modified" by always inserting an empty header when absent. Thanks Sebastiaan Deckers for reporting it.
753e74c66 sync'd Test::Nginx 0.05.
985eeb0b7 updated the test scaffold to Test::Nginx 0.04.
dd3ec52a2 updated test scaffold.
e427600d2 git ignore reindex.
1792f2d93 releng work for v0.06.
f901cecf9 confirmed that we also work in subrequests in t/subrequest.t.
1cc21a715 now the input header handler runs at the *end* of the rewrite phase.
b154fdb6b now we free empty headers and types array structs eagerly.
1a2d9c6f9 updated the test scaffold.
05e0fd6c0 sync'd the docs with the wiki page and confirmed that it works with the new nginx 0.8.28 release.
219e6dd05 added a test for rewriting the input Content-Length header using the rewrite module's set directive.
d5af63059 sync'd with the wiki page.
628923157 added the wiki page as the main doc.
bce15002d added a (passing) test for mixed input/output setters.
8288003cc more docs.
3391d9d71 fixed variables in more_set_input_headers by registering the handler in the "access phase".
e2a7a9630 added new directives more_set_input_headers and more_clear_input_headers.
83bf8ed38 now we require at least 0.7.44 due to the use of ngx_http_complex_value_t.
ad8b0e5ea releng for v0.03.
b93bd9b1f fixed the uninitialized s/t bug in parse_statuses and parse_types. also added a (failing) test for the input header directives.
219d75425 first big refactoring in order to introduce input header support.
91cf5b797 refactored the structs into the header.
993e75b20 more README tweaks.
6023eac18 tested against the latest 0.8.27 and 0.7.64.
1da2c8721 added more docs to README.
8483f9a62 removed explicit clear header handlers.
ade7573ba now we support variables in new headers' values.
742097fdc fixed a typo in README.
c131b08ed 0.7.21 is the minimum nginx version requirement.
5e86ea379 more docs and more love.
934fe6677 updated README.
c6af9971e this module is now usable.
0593d3b42 added tests for the Charset header.
6fdb040be more tests and more fixes.
51c432883 fixed Content-Type.
ba695a3c0 fixed various bugs and all tests are passing now.
b3b524553 fixed a bug where I carelessly used r->headers_in for r->headers_out. the test is passing now.
229898621 added a simple test which is failing atm :P
5af162eb9 things are complete now but we haven't tested anything yet :P
bb0a53ca0 it finally compiles :)
af379a735 implemented parsers for the -t and -s options in the config directives.
148554637 added usage to README.
8b0498a95 added README.
8876cec82 initial checkin
REVERT: 576cb8197 Merge commit 'c473aa40807f32438ffe34bdfe07f8f0485a6aa4' into dev
REVERT: c473aa408 Squashed 'src/deps/src/lua-resty-openssl/' changes from b23c072a4..89195843c
REVERT: 456e6a33d Update lua-resty-openssl to v1.0.1
REVERT: 11c4fde61 Merge commit '805e5c9cee2a72af6b6297b2993109511b42d485' into dev
REVERT: 805e5c9ce Squashed 'src/deps/src/libmaxminddb/' changes from ac4d0d248..93a7e0e56
REVERT: afcf420ee Update libmaxminddb to v1.8.0
REVERT: 7aa6affe1 Merge commit 'e3f305a953ef5dbf6802090c7013f4c38d762449' into dev
REVERT: e3f305a95 Squashed 'src/deps/src/ngx_devel_kit/' changes from b4642d6ca..91e30eb05
REVERT: cba20187c Update Nginx devel kit to v0.3.3
REVERT: 10a58377b Fix multiple CVEs related to libpq * CVE-2023-5869 * CVE-2023-5868 * CVE-2023-5870
REVERT: 7c564e4cb Update pre-commit hooks to latest versions
REVERT: bff775f00 Fix issues with the Linux integration and external databases
REVERT: 71db00281 Merge pull request #759 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.161.0
REVERT: 940eecd06 deps/gha: bump ruby/setup-ruby from 1.160.0 to 1.161.0
REVERT: 42f7ef486 Update user interface demo image in README.md
REVERT: b2a56a82a Update BunkerWeb UI demo to use thumbnail image
REVERT: 0d0bad79b Update Python version in Dockerfiles
REVERT: b539a97ad Fix CVE CVE-2023-5678 in Dockerfiles
REVERT: 05da26f01 Update dependencies to latest versions
REVERT: e153c33aa Update maxminddb and other dependencies versions
REVERT: 8d024a099 Merge pull request #751 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.7.1
REVERT: ca6271c60 Merge pull request #750 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.160.0
REVERT: fbbec2f7f deps/gha: bump rickstaa/action-create-tag from 1.6.6 to 1.7.1
REVERT: 9c6f5289d deps/gha: bump ruby/setup-ruby from 1.159.0 to 1.160.0
REVERT: bcded8f7c Add refurb as a pre-commit-config hook and apply pre-commit-config
REVERT: 966a78da9 Update Git attributes to ignore text and end-of-line settings for vendored files
REVERT: f111124b3 Update dependencies versions
REVERT: d2b82b29d Fix CVEs CVE-2023-43787, CVE-2023-43785 and CVE-2023-43786
REVERT: dc5a7b8b2 Update mmdb files
REVERT: c32522ae2 Update Certbot module to version 2.7.4 + Update python deps hashes
REVERT: 54ead4e49 Merge pull request #744 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.6.6
REVERT: d83536969 deps/gha: bump rickstaa/action-create-tag from 1.6.4 to 1.6.6
REVERT: b79b6548b Merge pull request #741 from bunkerity/dependabot/github_actions/dev/hashicorp/setup-terraform-3.0.0
REVERT: b05b98185 docs - update plugins to 1.2
REVERT: e8803e346 cache linux test images, fix linux example of proxy protocol and add more logs to k8s tests
REVERT: 7565b2df5 Merge branch 'dev' into staging
REVERT: c817f45ab add ready checks to limit and redis core tests and fix wrong http port for behind reverse proxy linux test
REVERT: f9f616a66 Merge branch 'dev' into staging
REVERT: 4871185dc Update python deps and pin Flask-Login version
REVERT: cd773b6e8 add ready checks to reversecan and sessions tests
REVERT: 898ef2eff deps/gha: bump hashicorp/setup-terraform from 2.0.3 to 3.0.0
REVERT: fa628cb7d linux - add default API_LISTEN_IP
REVERT: 18d682b5a linux - add missing API_LISTEN_IP initial setting and perform only hot reload
REVERT: 4fbd974d2 tests - set trace verbosity for geckodriver logs
REVERT: a7c343369 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 7d69b9105 tests - fix missing geckodriver log file in ui tests
REVERT: 29d7d94b2 [#739] Fix potential issue when fetching docker instances in the web UI
REVERT: 84eb94720 tests - add geckodriver log file for ui tests
REVERT: 40e118a71 tests - add more logs to ui linux tests
REVERT: 0e3d8e59c tests - retry UI access in case of network exception
REVERT: 86875f486 tests - fix misc ready check when using https and add ready checks for linux ui
REVERT: d4a2ba5fc tests - add ready checks to customcert and misc
REVERT: 3020c5c8e tests - add ready check for customcert core test
REVERT: c1562bc89 Merge pull request #737 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.5
REVERT: 322cfd217 deps/gha: bump github/codeql-action from 2.22.4 to 2.22.5
REVERT: caf732be1 Merge pull request #736 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.159.0
REVERT: 667620b52 deps/gha: bump ruby/setup-ruby from 1.158.0 to 1.159.0
REVERT: fb21786b8 linux - fixing nginx service not disabled and fix another missing error log path in UI
REVERT: 5887b894f ui - fix wrong error path when starting nginx
REVERT: 4e820f6de linux - remove sudo command when reloading nginx
REVERT: 35d16233c ci/cd - ignore ready conf for db tests and fix linux path for ready conf
REVERT: 9775cd5bb ci/cd - fix missing string in /ready endpoint and add /ready endpoint to linux tests
REVERT: 274a8cdfb ci/cd - trying to fix race condition for core tests
REVERT: d73a5d0f4 Merge pull request #735 from bunkerity/dev
REVERT: ed0e156bc Update Werkzeug to version 3.0.1 in web UI
REVERT: 8ec9a7df4 Fix compatibility issue with Docker Compose v2 2.23.0 in examples and docs
REVERT: 72d856abe Update certbot to version 2.7.3 + regenerate hashes for db and scheduler
REVERT: ab76c458e Merge pull request #732 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.158.0
REVERT: 6edf97a0d deps/gha: bump ruby/setup-ruby from 1.157.0 to 1.158.0
REVERT: 58d6b8142 use cap in Linux and add openssf badge
REVERT: a83a74cfa Merge pull request #729 from bunkerity/dev
REVERT: 0975de123 [#717] Add a pool_recycle database engine arg to avoid losing connection with database
REVERT: 762092e5e Remove no longer necessary retrying module
REVERT: 8963cb4d1 Update python deps
REVERT: c2252503d Merge pull request #721 from bunkerity/dependabot/github_actions/dev/ossf/scorecard-action-2.3.1
REVERT: 626f10b4c Merge pull request #722 from bunkerity/dependabot/github_actions/dev/actions/setup-node-4.0.0
REVERT: f2b9fc0f8 Merge pull request #724 from bunkerity/dependabot/docker/src/autoconf/dev/python-a5d1738
REVERT: c8eae49e5 deps/autoconf: bump python from `dc2e889` to `a5d1738` in /src/autoconf
REVERT: ab320794a Merge pull request #723 from bunkerity/dependabot/docker/src/ui/dev/python-a5d1738
REVERT: 572436f20 Merge pull request #720 from bunkerity/dependabot/docker/src/scheduler/dev/python-a5d1738
REVERT: 6f366450b deps/ui: bump python from `dc2e889` to `a5d1738` in /src/ui
REVERT: f6d2e205c deps/scheduler: bump python in /src/scheduler
REVERT: 50a60382a Fix CVE CVE-2023-5363
REVERT: 989c14ae7 Fix CVE CVE-2023-5363
REVERT: a847f7778 deps/gha: bump actions/setup-node from 3.8.1 to 4.0.0
REVERT: 8708ad70c deps/gha: bump ossf/scorecard-action from 2.3.0 to 2.3.1
REVERT: eeda7a18c Update python deps + add retrying module to db
REVERT: 5193d6cd1 Update docker images
REVERT: 09ee05083 Merge pull request #719 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.157.0
REVERT: 0afed0621 Merge pull request #718 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.4
REVERT: 8919592f5 deps/gha: bump ruby/setup-ruby from 1.156.0 to 1.157.0
REVERT: d253b4438 deps/gha: bump github/codeql-action from 2.22.3 to 2.22.4
REVERT: f798a9ef9 Merge pull request #715 from bunkerity/dev
REVERT: cd902eba3 prepare for 1.5.3 🚀
REVERT: 029217ff4 Fix update-version.sh script
REVERT: 10db67b87 Merge pull request #714 from bunkerity/dev
REVERT: c7543df86 Add an handler when the ui test is reaching an error page due to a connectionFailure
REVERT: 1f5a1beac [#645] Fix web UI not keeping the data when changing the sub server names + Fix custom cert when the server name have multiple domains
REVERT: ff1fc9280 [#712] Fix custom configuration changes not taking effect immediately
REVERT: 838dcb17c Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: b18dbddcd Merge pull request #713 from bunkerity/dependabot/pip/src/scheduler/dev/certbot-2.7.2
REVERT: ca6938dfe Update ConfigFiles to use the correct name regex in web UI
REVERT: 643ea7c21 deps/scheduler: bump certbot from 2.7.1 to 2.7.2 in /src/scheduler
REVERT: e41ce10e3 Merge pull request #711 from bunkerity/dev
REVERT: b265cbad5 ci/cd - trying to fix azure/kubectl action
REVERT: 7e3aad9f0 [#645] Fix impossible to edit the server_name of an already existing service if the primary one was unchanged in web UI
REVERT: 60d43d0ce Handle service creation and editing more elegantly in web UI
REVERT: 2df85b2c9 Updated python:3.12.0-alpine image's sha256
REVERT: 3a3255e7b Merge pull request #709 from bunkerity/staging
REVERT: 4c273fe84 Merge pull request #708 from bunkerity/dev
REVERT: 9964f42e6 Fix magento k8s tests
REVERT: b2cf8986f Tweak magento tests to use latest version back
REVERT: 7f219bea0 Fix CHANGELOG release date for v1.5.2
REVERT: b9f05ad16 Downgrade magento versions to working ones
REVERT: bd6065af8 Update python deps and pin urllib3 version to 1.26.18 + Update pre-commit-config to format requirements.in files as well + Apply pre-commit
REVERT: 619e5644f Remove pip caching when setting up python in workflows to avoid errors
REVERT: 3c3643021 Merge pull request #707 from bunkerity/dev
REVERT: 7598dbc54 Update python deps
REVERT: f3982367a Update dependabot script to add reviewers and tweak the schedule
REVERT: d4f65903e Update dependabot config file to include terraform and other python deps paths
REVERT: 38429efac Merge pull request #705 from bunkerity/dependabot/github_actions/dev/actions/checkout-4.1.1
REVERT: d92e9a07a Fix k8s terraform script
REVERT: 6738b9552 deps/gha: bump actions/checkout from 4.1.0 to 4.1.1
REVERT: 0da22f44b Update k8s terraform file and update scaleway terraform version
REVERT: d77f6a72c Fix README.md links and versions
REVERT: 7bf8be324 Try to fix magento k8s tests with static versioning
REVERT: b9c5d3277 Fix timeout in ui tests and access_page function
REVERT: b1b1ab868 Fix wrong values in helm chart values file for elasticsearch in k8s magento example
REVERT: 530b8a945 Fix allow empty values when saving a config in web UI
REVERT: 22552c5b8 [#694] Optimize certbot renew script to renew all domains in one command
REVERT: db0dd5dae [#694] Fix rare bug where database is locked
REVERT: f89456cd4 Merge pull request #699 from Crazy3lf/master
REVERT: 34d68e8b7 Update regex for email
REVERT: 476d86706 Fix magento k8s tests by removing elasticsearch
REVERT: 4a10ec8c3 Merge pull request #701 from bunkerity/dev
REVERT: c4b873e3f Fix /etc/bunkerweb dir missing in linux core tests
REVERT: bcaa8faa7 Replace deprecated `set-output` command with the new format
REVERT: 08944b901 Tweak test-core-linux to fix potential bugs
REVERT: 13be6a43c Add more logs when an url file is in cache and gets deleted
REVERT: 2737fe7ce Update python deps
REVERT: 2823fa2ab Update plugin.json
REVERT: 001246b38 Merge pull request #697 from bunkerity/ui
REVERT: 1a43380d2 Merge pull request #696 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.3
REVERT: 0b319d1aa Merge pull request #695 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.6.4
REVERT: 7a15f8a65 deps/gha: bump github/codeql-action from 2.22.1 to 2.22.3
REVERT: a4a413eec deps/gha: bump rickstaa/action-create-tag from 1.6.3 to 1.6.4
REVERT: 7e3dabc5f Update patch commands in deps.json to skip Reversed warning
REVERT: 8093c6161 Merge commit '29737209b138a1485d55c53acf1a6783b6e60167' into dev
REVERT: 29737209b Squashed 'src/deps/src/luajit/' changes from e598aeb74..492cfdd0d
REVERT: 85913d6b2 Update luajit to v2.1-20231006
REVERT: 15d3180b6 move disabled inp msg
REVERT: 522527f0a Merge pull request #690 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.156.0
REVERT: 85ef4e4de Merge pull request #691 from bunkerity/dev
REVERT: 46d8acf7b Update dummy-plugin to new standards
REVERT: 77bfe2697 Add StyLua and luacheck to precommit config file and apply it
REVERT: da2a1eaa5 deps/gha: bump ruby/setup-ruby from 1.155.0 to 1.156.0
REVERT: cd1f87b9a Update pre-commit config hooks version
REVERT: e25fab28b fix disabled msg behavior
REVERT: c125a9bdd Merge pull request #689 from bunkerity/dev
REVERT: 10fd431fb Tweak update python deps script to make it more elegant
REVERT: 309689185 Update pythons deps
REVERT: 799756176 Merge pull request #684 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.1
REVERT: a12e5ca89 Merge pull request #683 from bunkerity/dependabot/github_actions/dev/stefanzweifel/git-auto-commit-action-5.0.0
REVERT: 15ad3a625 Merge pull request #681 from bunkerity/dependabot/github_actions/dev/ossf/scorecard-action-2.3.0
REVERT: c57d725f4 Merge pull request #680 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.155.0
REVERT: 95389260a Merge pull request #688 from bunkerity/dev
REVERT: 6e5dd5557 Fix CVE CVE-2023-44487
REVERT: 565f4e3f7 Merge pull request #687 from bunkerity/dev
REVERT: f39adcab5 Update CHANGELOG.md
REVERT: a3ec85b57 Fix often occurring error with ace script in web ui
REVERT: b063ac8a3 [#652] Fix error when deleting a service that have custom configs on web UI
REVERT: ff85f1c2b Update CHANGELOG.md
REVERT: 4a9fdba42 [#645] Fix errors when using a server name with multiple values in web UI
REVERT: 47a7e1680 Fix secure_scheme_headers shenanigans with web ui
REVERT: 453108da9 Update mmdb files
REVERT: 2cbb10b3a Revert "Test Aqua security vulnerabilities with BW"
REVERT: d4d9f8745 Test Aqua security vulnerabilities with BW
REVERT: 899484c38 deps/gha: bump github/codeql-action from 2.21.9 to 2.22.1
REVERT: d461f3745 deps/gha: bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0
REVERT: cd0ceb48b deps/gha: bump ossf/scorecard-action from 2.2.0 to 2.3.0
REVERT: dc92ae825 deps/gha: bump ruby/setup-ruby from 1.154.0 to 1.155.0
REVERT: f5fe685d4 Fix children classes of Test
REVERT: f4ce2c68f Fix bw api not returning the reason of bans
REVERT: d1a0f66c9 Merge pull request #677 from bunkerity/dev
REVERT: 6935d1cb8 Merge pull request #676 from bunkerity/dev
REVERT: 7ac66a6c6 Update python deps
REVERT: 2aa9f46ef Fix default values in whitelist job
REVERT: 8f456722e Augment delay in WebDriverWait in ui tests
REVERT: 8ae7b8f43 Fix redirect tests docker-compose file
REVERT: 9b4a9277d Add libpq as a dependency for the Database to be able to connect with postgres
REVERT: 172874d1c Fix redirect tests on docker
REVERT: a518f47b9 Update CHANGELOG.md
REVERT: 0cee41867 [#656] Fix ACME renewal fails on redirection enabled Service
REVERT: e956e03ba Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: c08fd07a6 Update linguist-vendored to add modsecurity files and non patch deps files
REVERT: 466c8e584 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 27d3ca1cd autoconf - fix wrong types for dynamic settings
REVERT: 410557009 Add .gitattributes to override linguist-vendored paths
REVERT: e7498279c Revert Docker image update for tests
REVERT: fe87486f9 Merge pull request #673 from bunkerity/dev
REVERT: c2db157bb Update python docker image to 3.12.0
REVERT: eb8088164 Tweak Dockerfiles to make the build nicer
REVERT: 202698f41 Fix python deps conflicts and update them
REVERT: 0eb18cb31 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: f12a01410 autoconf - update settings from db
REVERT: 628068e9a Lint files with prettier
REVERT: f3694f0cc Add prettier as a precommit hook
REVERT: b56cce63f Fix codespell typos in README.md
REVERT: 87ca17663 Fix typos raised by codespell
REVERT: eea5dd9b7 Add codespell precommit hook
REVERT: 8fbe69261 Fix mkdocs.yml file duplicate copyright key
REVERT: cf82e73e9 Fix swarm postgres ui integration example
REVERT: 6b2df3585 Tweak py file to respect flake8 rules
REVERT: 508c728b6 Tweak pre-commit config and pyproject.toml file + Add flake8 as linter in precommit config
REVERT: 75e8c8339 Update CHANGELOG.md
REVERT: 07676a3d0 Use hashes instead of versions in github workflows
REVERT: f0761eed2 Revert "Add fuzzing tests in CI/CD"
REVERT: 4babce974 Add fuzzing tests in CI/CD
REVERT: a263f1f4f Update cron for dev-update-mmdb
REVERT: 31a839968 Merge pull request #666 from bunkerity/dev
REVERT: d8b256167 Merge pull request #665 from bunkerity/dev
REVERT: 87d2f04eb Remove no longer necessary temp fix for Flask-login
REVERT: c006e5088 Update python deps + Update Flask-Login to include the compatibility with Flask 3.0.0
REVERT: df9bf1f56 Merge pull request #664 from bunkerity/dev
REVERT: 6b0e623e5 Update Dockerfiles to install pip and its deps before the project ones
REVERT: 85068bfee Add temp fix to support Werkzeug>=3.0.0 with Flask-login
REVERT: 5a7f9147f Update python deps and update script
REVERT: 358905770 Fix bunkerweb-ui.sh script with variables not being exported correctly
REVERT: 5ed595be6 Fix shellcheck tests failing
REVERT: e21e0c812 Add shellcheck and gitleaks to pre-commit-config + tweak excluded paths
REVERT: 1b7e1840c Fix blacklist core tests' requirements.txt file
REVERT: 1f90d3668 Add a pre-commit-config file and passed all checks
REVERT: f3fc69110 Fix typos in Dockerfile when installing python dependencies
REVERT: 073e8575e Updated Dockerfile, python deps and npm package to use pinned dependencies
REVERT: cd4d529d7 Merge pull request #660 from bunkerity/dev
REVERT: b4a320afa Made ui tests better
REVERT: 8ed656068 Small fixes on linux paths creating unnecessary folders
REVERT: 8fa7adb61 Small refactor on how the autoconf updates the config
REVERT: 4ec754143 Handle changes more elegantly with the scheduler
REVERT: 0f7df13df Optimize save_config script
REVERT: 48096d711 Optimize the way the UI handles services creation and edition
REVERT: c0816bb11 Fix potential cross-site scripting vulnerability in plugins.js in the UI
REVERT: 18e5f7bff Merge pull request #659 from bunkerity/dev
REVERT: ece5ce1cd Add HTML sanitization when injecting code in pages in the UI
REVERT: 4d5002674 Extract codeQL workflow to have a separate one + Add scorecards analysis workflow file + Add UI tests for the UI branch
REVERT: 1c71572f4 Update tsparticles in the UI + remove unused static files
REVERT: 685cb9809 Update README to fix a few links and add the security scorecard badge
REVERT: 65d0aa3a8 Merge pull request #658 from bunkerity/dev
REVERT: 6e2db5991 Add a sleep before changing from cache page to log page to avoid errors in ui tests
REVERT: 1db769c32 Remove bugged UI tests check in linux
REVERT: db99d1687 Update the condition that checks the integration in core tests
REVERT: 579c80357 Update UI starting script and ui tests script on linux
REVERT: b901d2971 Update python deps
REVERT: e23f931bd Replace gevent with gthread in UI for security reasons
REVERT: 15eef6ef5 Try to fix python deps issues with linux and try to have more logs in linux ui tests
REVERT: cc0167f42 Fix ui linux tests when waiting for the ui to be ready
REVERT: fd4c147b8 Update how the scripts wait for the UI to get ready before starting the tests
REVERT: 95afba879 Change how the ui tests waits for the ui to be ready
REVERT: ea5cb0db2 Try to fix ui linux test by adding more sleeps
REVERT: cb3250e4e Fix UI linux test (again)
REVERT: 153e9fecf Fix bunkerweb linux scripts
REVERT: 81b5e80da Try to fix deps permissions with linux ui tests (again)
REVERT: 6a162d725 Fix linux permissions with ui tests
REVERT: be5fe2830 Try to fix ui python deps in ui linux tests
REVERT: 380e609ab Change ui linux tests command into development mode
REVERT: 93006cf5c Fix Firefox installation in core and ui linux tests
REVERT: 39f17bce6 Try to fix permission issues with Linux and ui python deps
REVERT: 94c7c832e Fix permissions with python deps in ui linux tests
REVERT: 42be334e4 Fix permissions with ui tests on linux
REVERT: cad3012e6 Try to fix python dependencies error with test ui linux
REVERT: a04282d3f Fix test core redis with linux
REVERT: c757f5d49 Re generate requirements.txt file for the UI with python3.9
REVERT: 052e06022 Fix core and ui workflow file for staging tests
REVERT: e71b71146 Merge pull request #655 from bunkerity/dev
REVERT: b90da0f90 Add better health check in linux ui tests
REVERT: 5c1fafe51 Updated CHANGELOG.md
REVERT: c964d68f9 Add more tries when the dnsbl server isn't found
REVERT: 78a29e65e Tweak reversescan core test to avoid false negative
REVERT: 0e9f29cc5 Revert "Fix UI shenanigans with python deps"
REVERT: 70ab9740d Fix UI shenanigans with python deps
REVERT: 0303a8f7b Update staging workflow file to include core and ui linux tests
REVERT: 16d4c1133 Optimize the way errors are being checked in linux core tests
REVERT: 2ddc8cec7 Update dnsbl list regex to accept an empty one
REVERT: 6534a429a Fix looking for error in the wrong place in test code linux
REVERT: 25eb8de01 Try to fix a few shenanigans with linux core tests
REVERT: 2065d688f Fix ui tests with docker checking the wrong containers if healthy
REVERT: 87f84d438 Add a retry on nginx error in linux core tests
REVERT: 99b30af8e Fix reverse scan python script
REVERT: 1ff2aed68 Fix UI docker tests docker compose file
REVERT: 48bcb1198 Rearrange imports for blacklist init core test
REVERT: ae9450d0d Add whitelist and greylist linux core tests
REVERT: 9a17e92d6 Fix typos in dnsbl core test
REVERT: 2244f734f Add dnsbl linux test
REVERT: a29ac80e4 Add country linux tests
REVERT: cff5c7767 Fix sessions core test for linux
REVERT: 6ae6764f2 Fix blacklist core tests docker compose
REVERT: 27959e1aa Fix sessions permissions issues with python requirements
REVERT: 47e8f20f8 Fix CVE CVE-2023-38039
REVERT: 6283ce2dd Add linux tests for blacklist and bunkernet
REVERT: f3d6f860e Remove old cached files if urls are empty
REVERT: 61c8ef73b Fix permission issues with sessions core test with linux
REVERT: be25ae8e0 Fix failing linux core tests + add more logs when an error occur in ui tests
REVERT: 33e200f65 Fix UI using the wrong database when generating the new config
REVERT: 57374ecc2 Fix tests ui with linux
REVERT: 601f0fde6 Fix tests ui linux not starting the ui service
REVERT: fdb9a7c29 Fix errors linux tests permission issues
REVERT: df1205882 Fix tests ui linux executing the wrong file
REVERT: db404a62c Fix ui tests misconfiguration
REVERT: a0aced3e5 Fix tests ui linux workflow file
REVERT: e378be9a9 Fix typo in tests ui linux file name + add more logs in ui docker tests
REVERT: 432d1587c Add linux ui tests
REVERT: 2ad886178 Fix selfsigned job with cryptography not being found
REVERT: da4390b48 Fix python modules version conflict with web ui
REVERT: 7bd48203a Fix and update python deps
REVERT: ce2fa3d36 Fix a few core tests for linux
REVERT: bca36e296 Update self-signed job to regenerate the cert if the subject or the date has changed
REVERT: 06da40bf1 Added more linux core tests
REVERT: 84a27a3fc Fix DB core test with docker
REVERT: 9e3425182 Fix path issues with db core test init
REVERT: c90cd7399 Fix permission issues in tests core linux
REVERT: 91e5528a3 Fix already existing tests core linux
REVERT: aeee38ad3 Fix misc problems related to linux
REVERT: d97326656 Fix Database not clearing old services when not using multisite
REVERT: 8a6e14d8c Added linux tests to a few core plugins
REVERT: 0ece8fda0 Fix permission issues when starting BunkerWeb in antibot linux tests
REVERT: e93513224 ci/cd Try to fix permission problems with Firefox in test core linux
REVERT: 761c01af6 ci/cd Fix test core linux shenanigans with Firefox
REVERT: 0d9349611 ci/cd Try to fix errors with firefox in test core linux
REVERT: 094d5d5df ci/cd Fix a few things with test core linux + finish antibot linux core tests
REVERT: fdae4549c ci/cd Fix permission issues (again) with test core linux
REVERT: d59cf1835 ci/cd fix permissions issue in test core linux + fix shenanigans with antibot linux core tests
REVERT: 43b1a038f ci/cd clear out firefox before reinstalling it in test core linux
REVERT: d192fbb82 ci/cd Install Firefox manually in test core linux
REVERT: 0239ca64b ci/cd test core linux remove dns resolvers override
REVERT: 1dd1caeea ci/cd Fix Firefox installation for test core linux
REVERT: a0516f773 ci/cd Install firefox from apt instead of snap + fix antibot core tests for linux
REVERT: 480c680f1 ci/cd Fix timeout in geckodriver download for test core linux
REVERT: a94dab208 ci/cd fix retry job when downloading the geckodriver in test core linux
REVERT: d0a1aab15 ci/cd Fix perms issues (again) and optimize some things in test core linux
REVERT: dd0c4c93a ci/cd Install requirements and deps in test core linux
REVERT: 294402dbf ci/cd fix perms issues with test core linux
REVERT: cd35d35c2 ci/cd Fix perms in variables.env for test core linux
REVERT: 4cce8385c ci/cd fix write in /etc/hosts file in test core linux
REVERT: 990b6336e ci/cd Fix test core linux with dpkg versioning
REVERT: ccc5eb304 ci/cd Fix version error with ubuntu and test core linux
REVERT: 6a3839040 ci/cd Fix tee command not being ran as sudo in tests core linux
REVERT: 453cfc2dc ci/cd Fix BunkerWeb installation job with linux core tests
REVERT: 0b14f8a5d ci/cd Fix install command in linux core tests
REVERT: 624f4b5bb ci/cd Fix path of the .deb file
REVERT: 61bc8a3b1 ci/cd fix .deb fetching in Linux core tests
REVERT: fa91bf6c6 ci/cd change needs and logic in test core linux
REVERT: b54c7eb61 ci/cd test secret inherit for ubuntu private test image
REVERT: 30cba0a77 ci/cd fix dev.yml
REVERT: 80d56fcca ci/cd start working on linux core tests
REVERT: 69307fba6 Fix issues with GitHub rejecting the requests
REVERT: 7c5177bf4 [#643] Fix UI clearing configs folder at startup
REVERT: b5bd17d4d Merge pull request #641 from bunkerity/dev
REVERT: ad65e01a8 Update CHANGELOG.md
REVERT: 1259fb67d Merge pull request #634 from bunkerity/dependabot/github_actions/dev/docker/setup-buildx-action-3
REVERT: b9e752f12 Merge pull request #636 from bunkerity/dependabot/github_actions/dev/docker/login-action-3
REVERT: 278eb0c8a Merge pull request #635 from bunkerity/dependabot/github_actions/dev/docker/build-push-action-5
REVERT: dec97c8c3 Merge pull request #637 from bunkerity/dependabot/github_actions/dev/docker/metadata-action-5
REVERT: 9222420b7 [#640] Fix shenanigans when executing docker compose restart
REVERT: 07fb7cf16 [#638] When renaming a service in the UI, migrate the custom configurations as well
REVERT: f83b2278d Fix versions conflict between greenlet and gevent with UI
REVERT: e51e17835 Update python deps
REVERT: 3c95971e3 Fix CVE CVE-2023-4863
REVERT: bb7ef35ae Merge commit '35d13d7a097dd094cdbe993f18f29de0b08f1f2b' into dev
REVERT: 35d13d7a0 Squashed 'src/deps/src/zlib/' changes from 04f42ceca..09155eaa2
REVERT: d96253878 Merge commit '4430cf47ddc1f3647b3bc129f46fed2d7a145f8c' into dev
REVERT: 4430cf47d Squashed 'src/deps/src/luasec/' changes from fddde111f..4c0628705
REVERT: 37a2343e2 Merge commit 'd8ee65aa70e9737330c8a83301fd66c7dc8a8d7a' into dev
REVERT: d8ee65aa7 Squashed 'src/deps/src/lua-resty-session/' changes from 8b5f8752f..5f2aed616
REVERT: 6752b3647 Merge commit 'd7bde18da2a8a81f2d5f256bc975b1fb5b546107' into dev
REVERT: d7bde18da Squashed 'src/deps/src/lua-ffi-zlib/' changes from 1fb69ca50..61e95cb43
REVERT: af902fc4e Merge commit 'e0a89a2fcd1d0dd4cc103fc054242e8e8b10b7bf' into dev
REVERT: e0a89a2fc Squashed 'src/deps/src/modsecurity/' changes from 205dac0e8..ccc2d9b53
REVERT: 5ec7eb53a Squashed 'src/deps/src/luajit/' changes from 04f33ff0..e598aeb7
REVERT: 26d3d6c6c Merge commit '5ec7eb53a1fa30beb59d3358f16716483787b02e' into dev
REVERT: 0aaede4d6 Update core deps
REVERT: 955c7e063 deps/gha: bump docker/metadata-action from 4 to 5
REVERT: 8ea823e06 deps/gha: bump docker/login-action from 2 to 3
REVERT: a6efa5205 deps/gha: bump docker/build-push-action from 4 to 5
REVERT: a6b30f6a6 deps/gha: bump docker/setup-buildx-action from 2 to 3
REVERT: 1144a7381 make logs optional in issues, change assignee for dependabot and edit sitemap URL of the doc
REVERT: c364e4666 ci/cd - disable redirect when pushing doc
REVERT: d4f38cc79 ci/cd - fix error when parsing ARM types
REVERT: b6d49865b ci/cd - get ARM type availability
REVERT: d0a8cc381 ci/cd - use volume id instead of index for arm instance
REVERT: 30c952e9e ci/cd - set boot volume for arm instance
REVERT: 2382fdd37 ci/cd - start arm server after creation
REVERT: 05ecf558c ci/cd - use latest scw cli version
REVERT: 2b7ce389b ci/cd - reflect changes on release tf from refactoring
REVERT: d5d7364b1 Merge pull request #632 from bunkerity/dev
REVERT: 3adbd8757 [#628] Fix scheduler generating the wrong configuration with Linux
REVERT: fd7950863 Merge pull request #631 from bunkerity/dev
REVERT: 3ae9636d5 Fix error with the CSP header override of the antibot
REVERT: f99349900 Merge pull request #630 from bunkerity/dev
REVERT: ea6ae5253 Update ANTIBOT_HCAPTCHA_SECRET setting's regex to support new format
REVERT: 5811dc549 Merge pull request #629 from bunkerity/dev
REVERT: 6404b701c Update changelog
REVERT: 2b5654ba3 Update coreruleset to version 3.3.5
REVERT: c948e449a [#622] Handle configs dir more nicely in Linux
REVERT: fb5a8dc4f [#622] Fix permissions with folders in linux integrations
REVERT: 5f19b3fda Merge pull request #627 from bunkerity/dev
REVERT: 2fce08b72 Upgrade issue templates
REVERT: 2ed6584dd Update python deps hashes
REVERT: d6a14b671 Merge pull request #626 from bunkerity/dev
REVERT: b3c398cb5 Remove jinja2 from requirements.txt as it creates conflicts
REVERT: 6334a3d63 Merge pull request #623 from bunkerity/dev
REVERT: 8ab4ea2e2 Update id of ui.conf rules to avoid conflicts
REVERT: 11664cc1d Fix wrong variable name in limit core tests
REVERT: 9535c0414 Fix shinanigans with both multiple and global settings not being stored correctly in datastore
REVERT: 8cafded89 Fix variables that are both multiple and multisite not being stored properly in datastore
REVERT: c6b2199dd prepare for 1.5.2 🚀
REVERT: c418acdcf Update CHANGELOG.md
REVERT: 9d0d72ba0 [#576] Add support for ModSecurity JSON LogFormat
REVERT: cbc625938 Update mmdb files
REVERT: f57fc5d3f Fix menu.html dark_mode attribute in UI
REVERT: c7e834a0d Update python deps
REVERT: 673ee921f Lint files
REVERT: 9fb8dfca4 Fix Scheduler running two times for no reason
REVERT: 4787400d7 [#615] Fix BunkerWeb not being able to start after a restart because of the /var/run/bunkerweb directory missing in Linux
REVERT: f59476c26 Merge pull request #621 from bunkerity/dev
REVERT: 4be53d0cb Merge pull request #620 from bunkerity/ui
REVERT: 55ba29cd5 Fix UI error when values are empty
REVERT: 947690af8 Fix UI workflow
REVERT: 5cdf0ecf4 Merge pull request #619 from bunkerity/ui
REVERT: d1dd1fbae Fix shinanigans with the /data volume in the doc
REVERT: 1b84c6202 [#613] Fix logs with web-ui and Linux
REVERT: a2e0f1fe6 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 639eed8d0 Deactivate BunkerNet on first start with linux
REVERT: 500c3564a ci/cd - perform staging tests again
REVERT: 448efc0ef Merge branch 'staging' into dev
REVERT: 1b660691d ci/cd - fix typos for docker/packages pushes
REVERT: e62b7c9d1 Remove unused js files in web-ui
REVERT: b87316d7c Merge pull request #617 from bunkerity/ui
REVERT: 4cff39f49 Merge pull request #616 from bunkerity/dev
REVERT: bceb28602 Lint files
REVERT: d9d6ed9bb Fix settings regex with web-ui
REVERT: 01be5baea Merge pull request #611 from bunkerity/dev
REVERT: 059afec43 Update rhel docker image
REVERT: e564d8407 Merge pull request #610 from bunkerity/dev
REVERT: 2c15b3746 Fix rhel typos "el" instead of "rhel"
REVERT: 6f26c42c8 Merge pull request #609 from bunkerity/dev
REVERT: c5059ab22 Update doc to include TLS as well as HTTPS in some sections
REVERT: a7a317b5b Merge pull request #487 from bunkerity/dependabot/github_actions/dev/scaleway/action-scw-c718eca1fcb9fec1fb1433752d61599c6a0ad2e9
REVERT: 0681cf2c9 Update actions/checkout to v4
REVERT: 3a02c0ca5 Add more delays in badbehavior core test
REVERT: 040d44714 Change SQLite config to avoid locking
REVERT: 07725356b Merge branch 'staging' into dev
REVERT: 6a995723c autoconf - fix changes check bug with same variable name
REVERT: 47bf7299a Lint py files
REVERT: 656c5008d scheduler - ignore changes on first loop
REVERT: c206daf9d add basic config lock between autoconf and scheduler + remove reverse-proxy tests for linux
REVERT: cf55ade15 ci/cd - various fixes for k8s tests
REVERT: d28432e5f Fix API_SERVER_NAME regex
REVERT: b5638aae1 ci/cd - move k8s login in staging-tests job
REVERT: 4450762b8 ci/cd - fix image name in k8s tests
REVERT: 6e1660cd0 autoconf - fix wrong config update
REVERT: cb4c99f45 ci/cd - fix docker tag command for linux tests
REVERT: 64d2ed91e ci/cd - fix secret key
REVERT: 0e2420cff ci/cd - add timeout for cleanup jobs
REVERT: fa165522e ci/cd - use same md for openssl commands
REVERT: b03680388 ci/cd - remove double untar for k8s tests
REVERT: bae27806b ci/cd - fix tf state upload/download again
REVERT: 11794da8c ci/cd - fix tf artefact command
REVERT: c52e54b81 ci/cd - fix tf files again
REVERT: e5c37a00a ci/cd - fix k8s tf
REVERT: 9a3c26bf6 Merge branch 'dev' into staging
REVERT: 56422bca4 Update python deps regex for UI
REVERT: ee47407df Merge pull request #606 from bunkerity/dev
REVERT: 936b1e88f Remove old CVE fixes for nginx image
REVERT: f9f5b6570 Remove old CVE fixes for python images
REVERT: 8e8e042c2 Testing CVE on bw
REVERT: 1676ebeb7 Test CVE on autoconf
REVERT: 637573e59 Update docker images and python deps
REVERT: c3a4847de Update startup and temp env in bash files
REVERT: 3db7904d4 ci/cd - fix wrong image tag for Linux test images
REVERT: 037e1ba56 docs - add ghcr.io
REVERT: d6aa6a9b0 ci/cd - staging improvements
REVERT: 9aba00673 Fix oddities with the scheduler and the Database
REVERT: f7d9af9d6 Fix potential infinite loop when waiting for a configuration from the autoconf
REVERT: 95c796c1e ci/cd - delete temp compose downgrade
REVERT: 423e3b4a3 ci/cd - log to ghcr before getting tests containers
REVERT: 511597b7e ci/cd - fix tests image names
REVERT: bb77dcedf ci/cd - edit username for ghcr auth
REVERT: 3d0f17808 ci/cd - add dummy username for ghcr auth
REVERT: 5a9836fec ci/cd - fix nested permissions
REVERT: e1edfe4a7 ci/cd - fix missing permissions in wf
REVERT: e81ab4ff9 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 87b405340 ci/cd - use gh cache for docker cache and pushes to ghcr.io
REVERT: 45a81203e Update python deps
REVERT: 9feb66710 autoconf - force updating first configuration
REVERT: 3d13cf345 autoconf - only update data when needed and atomic changed metadata update
REVERT: 00cb6c1a8 tests - fix regex for geckodriver version
REVERT: 898ee7ec8 tests - tweak dpkg before installing BW
REVERT: 643b30f99 tests - ignore wrong testing version in deb packages
REVERT: 69e944d56 Revert "Fix LinuxTest package installation commands"
REVERT: 2b7f627d8 Merge pull request #602 from bunkerity/dev
REVERT: 82fb7b277 Fix LinuxTest package installation commands
REVERT: 1042e546b Merge pull request #601 from bunkerity/dev
REVERT: 6d1d464e1 Remove tries limit in wget commands (defaulting to 20 tries)
REVERT: b5de52ead Add more retries when testing the newly created service in ui tests
REVERT: 267522749 Merge pull request #599 from bunkerity/dev
REVERT: 4f82856b4 Update staging-create-infra to use a static version for monolithprojects.github_actions_runner == 1.18.1
REVERT: d670b409b Merge pull request #486 from bunkerity/dependabot/github_actions/dev/docker/build-push-action-4
REVERT: 0b93916a3 Merge branch 'dev' into dependabot/github_actions/dev/docker/build-push-action-4
REVERT: 76408cf04 Merge pull request #598 from bunkerity/dev
REVERT: f7cd7d9da Add dependency on tests-ui to not fail to push the testing image
REVERT: 8632dd324 Fix exit code for ui tests
REVERT: fbf0232d5 Update python deps
REVERT: 5b6f00dfc Revert "Remove unused imports in ui tests"
REVERT: 681def5f0 Remove unused imports in ui tests
REVERT: a844b235b Remove geckodriver.log
REVERT: 73e31ca62 Add wget to fix error with tests
REVERT: d82136f04 Fix UI tests not exiting if container fails to start
REVERT: 55fd17790 Fix wget command when downloading the geckodriver sometimes fails
REVERT: d8c95869e Fix database with multisite variables
REVERT: f24802b21 ci/cd - perform staging tests again
REVERT: 758fc13c3 ci/cd - replace version string for testing release
REVERT: cd825cd34 ci/cd - fix wrong VERSION path for testing release
REVERT: c03b1bb20 ci/cd - update VERSION file for testing release
REVERT: a5e50d0f7 ci/cd - fix linux package name for staging
REVERT: 1a57e0a20 ci/cd - remove linux arm64 packages pushes
REVERT: de568f335 ci/cd - temp disable staging tests
REVERT: 244b91247 ci/cd - fix syntax error in push-github wf
REVERT: 08ce31bb0 ci/cd - prepare for testing releases
REVERT: 7f47ac18c Fix plugins errors when reloading with a select and upgrade check
REVERT: b6b87fcb0 Update python deps
REVERT: 8bada2a02 Update update-version script and bw version in after-remove scripts
REVERT: b8778de08 use nightly tag for docker-socket-proxy
REVERT: b42b732d7 Merge branch 'staging' into dev
REVERT: fc1c81ce2 linux - add python3 dev dependency when building packages
REVERT: 76d36f3b9 v1.5.1 release
REVERT: 63355bb88 tests - increase radarr delay (again)
REVERT: 0ecf47876 Merge pull request #592 from bunkerity/staging
REVERT: 59dfb728f Fix DNS_RESOLVERS regex to be more open
REVERT: 47c560dd3 Merge pull request #591 from bunkerity/dev
REVERT: ff1e6cc28 k8s - use same namespace as ingress for services
REVERT: 81c2c3187 Fix config synchronization in scheduler + Remove MULTISITE variables being fetched when MULTISITE is set to no
REVERT: 7f3f3ac7e Add delay to radarr automatic tests
REVERT: 58d69ec20 Merge pull request #590 from bunkerity/dev
REVERT: 012bc3b43 Merge pull request #589 from bunkerity/staging
REVERT: 600ea7e16 Update python deps
REVERT: 18ee15971 lint python files
REVERT: eee26b5d7 tests - add delay for reverse-proxy-singlesite
REVERT: c00157ef3 fix wrong instances when using docker mode and add delay to docker-configs tests
REVERT: 6047a4335 set default value for ports in bw entrypoint, fix core db tests and fix missing PYTHONPATH for certbot job
REVERT: ee2aeda13 tests - add static delay for linux tests and fix core db tests
REVERT: bb6fd3073 linux - force kill nginx if graceful one doesn't work
REVERT: 6e6c08a71 ui - various edits
REVERT: 5df2a74ca improved LE certificates checks and fix missing full SERVER_NAME when MULTISITE=no
REVERT: 843c02370 tests - fix wrong command in linux tests
REVERT: 8f7833413 linux - fix letsencryt not working and fix permissions on /etc/bunkerweb/configs for tests
REVERT: 0ccd75781 linux - add missing pip to rhel
REVERT: adbed77f7 linux - install pip the official way
REVERT: ef7a6ac42 linux - fix fedora dockerfile
REVERT: 31ca183b1 Merge branch 'dev' into staging
REVERT: a763879c1 doc - update settings
REVERT: 03ba91e96 autoconf - fix deadlock with k8s
REVERT: 38ab5ea21 redirect - custom status code
REVERT: ee5397df5 bw - add HTTP and HTTPS port to temp config
REVERT: 9efd7a5a5 sessions - fix infinite loop when session checks fail
REVERT: 784ce643f db - disable connection pooling for one shot tasks
REVERT: f3081e3c3 scheduler - fix parent setter call
REVERT: 26a1ef689 Update mmdb files
REVERT: e2fe947cb ci/cd - fix tests UI not showing logs
REVERT: bf9cd367d fix missing Strict-Transport-Policy header, fix X-Forwarded-Prefix with regex URLs and print logs when UI tests failed
REVERT: 26f2852e5 scheduler - fix typo in fstring
REVERT: e93b2f65f cache dev container images, fix CVE-2023-35945 and force scheduler to reload when instances change
REVERT: f3ba16be9 add instances changes check to scheduler and auto push dev container images
REVERT: d9394567e add missing ctx arg in core plugins, always add X-Forwarded-Prefix header and add doc about timezone in containers
REVERT: d59b305f1 fix concepts image in doc, revert clientcache update and refactor headers
REVERT: ad45bbb4d Update python deps and fix error with PyYAML compilation
REVERT: db03aa9c7 Merge pull request #565 from bunkerity/dev
REVERT: bb14be820 Update python deps updater
REVERT: bedcf0c17 Fix bug with newer version of PyYAML by downgrading
REVERT: 68e9b057d Merge pull request #564 from bunkerity/dev
REVERT: 810340a49 [#559] Fix typos for custom-cert's settings in docs and examples
REVERT: a4db7c294 Fix CVE CVE-2023-2975
REVERT: 758901dfc Fix CVE CVE-2023-2975
REVERT: 9216becb5 Update python deps
REVERT: db413cc03 Merge pull request #555 from bunkerity/dev
REVERT: a4f4dfe4e remove unused imports in save_config.py
REVERT: 0d554a5f5 Update SERVER_NAME regex to be more open
REVERT: c11b44285 Merge pull request #554 from bunkerity/dev
REVERT: 25af02e4a FIx prevent the `DATABASE_URI` setting from being saved inside the database
REVERT: 9eec9e26c [#552] Fix scheduler not changing databases on linux
REVERT: 845364b2b Update log paths for linux based integrations
REVERT: 3dac0aef0 tests - temp fix for compose network errors
REVERT: 08f9e5f20 Fix bad behavior core tests by adding a custom subnet to the bw-docker network
REVERT: fccb25bee Add automatic bw-docker network removal between each try
REVERT: d6407b818 Fix db core tests by making the network bw-docker entirely external
REVERT: 1cf281ef8 Update core tests to be even more verbose
REVERT: 3a714b9a3 Update core tests to be more verbose
REVERT: 864619542 Fix core db tests (again)
REVERT: be46f7a8d Optimize db core tests
REVERT: 559039dfd Lint .conf files that contains lua code + remove useless comments
REVERT: aa0769dde Merge pull request #549 from bunkerity/dev
REVERT: ae6ccfcff Apply patch to luajit-geoip
REVERT: ed234fd63 Apply post_install script to lua-resty-openssl
REVERT: 09ae6da55 Apply patch to lua-resty-ipmatcher
REVERT: b516ca2ea Apply patch to lua-ffi-zlib
REVERT: 1e7f92af8 Apply patches to Modsecurity-nginx
REVERT: 008dc09a6 Stop checking return code of post_install scripts in init_deps.sh
REVERT: fcd230192 Fix init_deps.sh
REVERT: f3809bc69 Add -R to pull commands in init_deps.sh
REVERT: 96586d4a6 Apply post_install script to Modsecurity
REVERT: a75b90f52 Squashed 'src/deps/src/modsecurity/' changes from bbccedbdd..205dac0e8
REVERT: 948182ffd Merge commit 'a75b90f525b90bd74c090702034e02fdd6250e0e' into dev
REVERT: 544b4040e Add post_install scripts to init_deps.sh and update install.sh
REVERT: 6e146e2a5 Squashed 'src/deps/src/modsecurity/' changes from 205dac0e8..bbccedbdd
REVERT: 847ff5a3d Merge commit '6e146e2a54cb29eb0ac1bc9d65766fe90d30fa4f' into dev
REVERT: bbccedbdd Change tags into hashes in deps.json
REVERT: 14d69fa59 Update mmdb files
REVERT: d5e358b72 Merge pull request #548 from bunkerity/dev
REVERT: e0055328a Fix add missing deps for core db tests
REVERT: c93d5a2fc Fix CVE CVE-2023-3316
REVERT: 5631e2737 Merge pull request #547 from bunkerity/subtrees
REVERT: 3505c0d18 Remove clone.sh file
REVERT: 7b566b885 Squashed 'src/deps/src/zlib/' content from commit 04f42ceca
REVERT: ffd310031 Merge commit '7b566b885e99301b243c5f61360e65238035e048' as 'src/deps/src/zlib'
REVERT: 45dca7b44 Merge commit '2ab324a69f219b4051b2e77d211ee1a7fb1462b5' as 'src/deps/src/stream-lua-nginx-module'
REVERT: 2ab324a69 Squashed 'src/deps/src/stream-lua-nginx-module/' content from commit 309198abf
REVERT: f85f86e46 Merge commit 'c1073460677ba8aa2e325a1c57c3db1458f9fde5' as 'src/deps/src/luasocket'
REVERT: c10734606 Squashed 'src/deps/src/luasocket/' content from commit 95b7efa9d
REVERT: a7d4cc5bb Squashed 'src/deps/src/luasec/' content from commit fddde111f
REVERT: bd600e0d0 Merge commit 'a7d4cc5bbaabf8683b3b5cc1f42f9bd145cf1aa8' as 'src/deps/src/luasec'
REVERT: d15662693 Merge commit '2d86912af87048b94c2921a60b3a8a5a0953e132' as 'src/deps/src/lualogging'
REVERT: 2d86912af Squashed 'src/deps/src/lualogging/' content from commit 465c99478
REVERT: 1fb404757 Merge commit 'f3ceeb73a958e774b1e2fa55d2607cdd3eb419ca' as 'src/deps/src/luajit-geoip'
REVERT: f3ceeb73a Squashed 'src/deps/src/luajit-geoip/' content from commit fde33e045
REVERT: f81788c00 Merge commit '2678b91586e9183b47327fbb0f11ad23020f195f' as 'src/deps/src/lua-resty-upload'
REVERT: 2678b9158 Squashed 'src/deps/src/lua-resty-upload/' content from commit 03704aee4
REVERT: 2d06f2d7a Merge commit 'bc06cd71b8896c6e7a1aac4610c9c3f878956238' as 'src/deps/src/lua-resty-template'
REVERT: bc06cd71b Squashed 'src/deps/src/lua-resty-template/' content from commit c08c6bc9e
REVERT: a6379356e Merge commit '3038a0b027f09090e1cd8f101d2ee8c52c383070' as 'src/deps/src/lua-resty-string'
REVERT: 3038a0b02 Squashed 'src/deps/src/lua-resty-string/' content from commit b192878f6
REVERT: fdf0050a9 Merge commit 'ee5198ba2810e33e08ff987ede5abe10fc74f6e3' as 'src/deps/src/lua-resty-signal'
REVERT: ee5198ba2 Squashed 'src/deps/src/lua-resty-signal/' content from commit d07163e8c
REVERT: a3cd342f3 Squashed 'src/deps/src/lua-resty-session/' content from commit 8b5f8752f
REVERT: 6f8ff3f12 Merge commit 'a3cd342f3e1fffd7b16b83a24e03bb9ed501b319' as 'src/deps/src/lua-resty-session'
REVERT: 2f1cde097 Merge commit 'eca8662cfe981f66ab92b53bbf83af65da02b2b7' as 'src/deps/src/lua-resty-redis'
REVERT:…
TheophileDiot added a commit that referenced this issue Jan 12, 2024
93a7e0e56 Bumped version to 1.8.0
e0975fd14 Set release date
1f4cde07d Merge pull request #326 from maxmind/dependabot/github_actions/actions/checkout-4
ad756cc3c Merge pull request #327 from maxmind/dependabot/github_actions/github/codeql-action-2
6d3099567 Bump github/codeql-action from 1 to 2
22a974b47 Bump actions/checkout from 2 to 4
23c0354e8 Merge pull request #325 from maxmind/greg/windows-cleanup
3412437a7 Get PRs for updating our GitHub Actions
258c08cea Reduce number of warnings on Windows
5c22ca1ec Only use clang pragmas on clang
9517c8930 Stop defining PACKAGE_VERSION in public header on Windows
3cee53ebc Remove Visual Studio 12 project files
80bfed71e Merge pull request #324 from maxmind/horgh/static-analysis
b85913962 Rewrite a couple yoda style conditions
e71488685 Stop using assert() outside test code
30853b1ab Check return value of record_info_for_database()
83758e5c5 Merge pull request #320 from maxmind/horgh/posix
5771620f1 Bump copyright year in more spots
3081198cc Mention POSIX requirement in docs
5b22e0f7b Set feature test macro for tests in one spot
e2c8463af Do not set feature test macro in public header
0c4d8295f Bump copyright year
876e68ca2 Merge pull request #310 from maxmind/greg/fix-cmake-package-version
3f5e11273 Make PACKAGE_VERSION a private compile definition
da14286d2 Only set PACKAGE_VERSION on WIN32 if not set
761207062 Merge pull request #306 from maxmind/greg/v1.7.1
ac4d0d248 Bumped version to 1.7.1
3ccb89622 Set release date
44b4992cd Merge pull request #305 from maxmind/greg/require-linux-for-test
ff42640d3 Run clang-format on all code
47d9c22e4 Only run external symbols test on Linux. Closes #304.
2fac9911f Merge pull request #303 from maxmind/greg/v1.7.0
ac30fac72 Bumped version to 1.7.0
978f21c95 Bump copyright year
673d03fa5 Set release date
5b7ff3936 Merge pull request #302 from maxmind/greg/fix-ssize-check
c2d1e77b0 Install IPC::System::Simple for autodie in man-page script
121ceeb16 Compare st_size with SSIZE_MAX rather than itself
5cffab02c Merge pull request #298 from maxmind/sromani/cmake-builds
916f2fad9 Update actions
61902deb4 update instruction with build dir
bd676ae55 set working directory of tests
98765dbfc Merge pull request #295 from Biswa96/cmake-pkgconfig
0033122b9 cmake: Generate pkgconfig file
4dfd68ef0 Merge pull request #294 from Biswa96/autotools-mingw-ldflags
576b57e47 autotools: Add proper linker flags for mingw
43d80d920 Merge pull request #293 from Biswa96/cmake-mmdblookup-mingw
6aa022a6d cmake: Enable mmdblookup program for mingw
b8fb17f1a Merge pull request #289 from maxmind/nlogan/fix-compiler-warnings
7156241ca Fix -Wunused-parameter warning
9ec341e6a Fix -Wvla warnings
bd66f94be Fix -Wsign-conversion warnings
cf7ff4d0e Fix -Wshorten-64-to-32 warning
0d5026f2b Fix -Wcast-qual and -Wincompatible-pointer-types-discards-qualifiers warnings
c348d75df Merge pull request #287 from maxmind/horgh/flags
d56fda5d0 Merge pull request #288 from ryandesign/patch-1
918b0ca61 Add installation instructions with MacPorts
fd62c0b08 Use same error code as before
b22004f3e Enable more warnings
31642ef47 Update libtap submodule
536c19690 Ignore -Wformat-nonliteral warning
980288f0d Fix -Wundef warning
9a15c6559 Fix -Wembedded-directive warnings
0f17519b9 Fix -Wimplicit-int-float-conversion warnings
371607541 Fix -Wshadow warning
7557df30a Fix -Wimplicit-fallthrough warning
f6d0c1a98 Fix -Wshorten-64-to-32 warnings
7d7a9b831 Fix -Wsign-conversion warnings
62cdd2173 Fix -Wcast-qual warnings
249234d26 Merge pull request #285 from maxmind/horgh/sanitizer
cbb65cf3b Merge pull request #286 from maxmind/greg/add-changelog
c31d5324f Add change log entry for #284
fab6c20a2 Merge pull request #284 from satmandu/patch-1
319188c15 Add github action for AddressSanitizer
2c4aad8ba Use CXXFLAGS in C++ test
047451d88 Clean up in C++ test
2e9cadfe4 Remove dev tools section
24214dc3c Bump copyright year
529f22414 Use https URLs
4def8ec31 Allow for alternate libdir detection in linux
e5a409317 Merge pull request #283 from maxmind/greg/gh
389669100 Use gh instead of hub. Release from right branch.
99aecbc04 Merge pull request #282 from maxmind/greg/clang-static-analysis
7d6f348ca Don't use pointless ignore variable
6104e45bd Run Clang static analysis via GitHub Actions
e0ac6e361 Merge pull request #277 from rittneje/o-cloexec-fd-cloexec
41fbf3c6b only use FD_CLOEXEC if O_CLOEXEC is not available
26fac5006 Merge pull request #275 from maxmind/greg/fd-cloexec
4407f1cc7 Set FD_CLOEXEC on platforms that don't support O_CLOEXEC
5842352c6 Merge pull request #272 from maxmind/greg/changes-271
110bb2251 Add a changelog entry for #271
64513b862 Merge pull request #271 from SpaceIm/fix/ios-tvos-watchos
9e511cada fix installation of bundle for iOS/tvOS/watchOS
fca0cba93 Merge pull request #270 from maxmind/greg/269-changelog
ee3efb50d Wrap long line
37a0e1ef4 Update language in README.md
4f5887b58 Add comment on source of override rules
2f03eef82 Move block to be with other WIN32 items
dee93e614 Add changelog entry for #269
1b9284a98 Merge pull request #269 from rafael-santiago/main
a1d742526 Only showing MSVC_STATIC_RUNTIME build option description when on Windows
d0cdf3aec Adding support for static Run-Time library (MT/MTd) on MSVC
d918412fe Merge pull request #265 from maxmind/greg/release
7f7e918bf Update release instructions
ac433e3da Bumped version to 1.6.0
2d0e6b736 Merge pull request #264 from maxmind/greg/1.6.0
538637f30 Add all static library archive files to .gitignore
96f86d17e Update copyright notice
0a0aa77ea Update Changes.md for 1.6.0
cc2d3ca1f Merge pull request #262 from fcelda/windows-export-symbols
5e4b9be18 build: cmake: export all symbols on Windows
9ec72a113 Merge pull request #261 from fcelda/remove-hard-coded-install-paths
ac0cc21dc build: cmake: fix installation of .dll files on Windows
9a8ea2f1d Merge pull request #260 from maxmind/greg/cmake-changes
684cb344a Add recent cmake PRs to Changes.md
f898d8df9 build: cmake: remove lib prefix on Windows (#258)
588fdc799 Merge pull request #259 from fcelda/fix-include-directories
123a66d4d build: cmake: fix target_include_directories
e7f134bdb Merge pull request #257 from fcelda/cmake-c99-support
6197b976d build: cmake: properly enable C99 support
ed7a4252c Merge pull request #254 from maxmind/greg/fix-cmake-builds
b39f0b987 Drop -V flag for cmake
d9a1a7f66 Bumped version to 1.5.2
d1889667d The alloc change didn't make it into 1.5.1. Re-releasing
b63fc8ded Set release date
822c2cf1c Merge pull request #253 from maxmind/greg/check-calloc-rv
ec946c10d Check all calloc/malloc return values. Closes #252.
367ffaa3b Merge pull request #251 from paravoid/more-manpage
e631bd9f3 make-man-pages: make lowdown the default translator
6c81348bc make-man-pages: drop tempfile indirections
06efc186c make-man-pages: small tidying
518ea89a3 Merge pull request #249 from maxmind/greg/no-master
2c3456c9a Replace master reference
4acfa8901 Add Changes entry for #248
3ca12d0a5 Merge pull request #248 from paravoid/manpage-improvements
76c3d9426 Pass pandoc a more-compatible Markdown flavor
9e7684807 Disable "smarty" filters from manpage generation
e623f7110 Add lowdown as an alternative Markdown->man translator
d67743cfa Remove Pandoc version from manpages
5883be157 Limit scope of generated (3) manpages to MMDB_
ed78313a2 Merge pull request #247 from maxmind/greg/clang-format
a949defd8 Don't use weird LOCAL macro for static
d5b2e4565 Format with clang-format
f32241e9a Add clang-format config. Remove uncrustify config
d22760af1 Build PPA packages for groovy and not eoan
466537c77 Bumped version to 1.5.0
7f85778ae Set release date
ad35e6af1 Merge pull request #243 from bsergean/master
87a6bef31 always build mmdblookup and remove src/CMakeLists.txt from Makefile.am
9b88d25ab link with thread library on unix
63f26969b refactor testing CMake file
0c8df5365 Merge pull request #245 from maxmind/greg/fix-typo
c722f8b18 Fix typo
6c1d4cac8 Add dummy file to try to make CodeQL-Build happy
73f123695 disable mmdblookup on windows
8f9b4d5c8 MAXMINDDB_BUILD_TEST_PROGRAMS -> BUILD_TESTING
87b8e90fb CI: request cmake testing build
01601dc56 rename test option to BUILD_TESTING
0bfd237ee on windows we need ws2_32
99d65f908 fix typo which was causing headers files not to be installed
3998f42bd handle soversion
42fa81199 pic code on Linux
a85d98286 build test by default
1117b4ba2 rework CMake files ; can be used on macOS and compatible with fetchContent
e79e2b0af Merge pull request #241 from maxmind/greg/cmake
07eb7ed6e Include cmake header 'in' file in dist
bd968c7e5 Do a minor version bump since we are adding something new
5e3719aaa Remove leftover set
13da4f953 Fix typos
6c6a55b4b Remove AppVeyor config
55d33a8c9 Add CMake files to dist
c4b8b664c Use correct relative path for test files
6e6f51ad2 Update documentation
d4c811278 Provide our own build config for codeql-analysis
1a8e96fd6 Update version in cmake
0c09ad1b7 Set SOVERSION to match Autoconf build
d2d22195e Fix some warnings in the Windows build
e07e5d11f Add per dir cmake config
c74cfde1b Do not build mmdblookup on Windows
c6a281989 Skip bad_databases_t and threads_t on Windows
7eff16bdd Handle different uint128 cases with cmake
646d11577 Test with cmake
7fd2aceb5 Add cmake build
68b35aa82 Merge pull request #240 from maxmind/horgh/github-actions
7d60ee607 Use GitHub Actions to test
ee212f8c0 Disable gcc warning
07dc88c7f adding support for linux on power pc
07797e9df Bumped version to 1.4.3
afed9fdb8 Set 1.4.3 releae date
5dda63adc Merge pull request #237 from maxmind/greg/fix-heap-buffer-overflow
3f4eb8765 Run uncrustify
eac45e291 Replace most malloc uses with calloc
e6e63a7f5 Merge pull request #235 from maxmind/greg/code-scanning
bb5b3b2fa Create codeql-analysis.yml
0cb758d86 Merge pull request #230 from maxmind/greg/fix-typo
a1a0919e1 Use correct prefix. Closes #229
9a8fa0c4f Mention #228 in changelog
bdb3da0dd Merge pull request #228 from iSLC/master
9b32c6c19 Don't force wide string on possibly `CreateFileA`.
fc183662e Bumped version to 1.4.2
05b7083b8 Update date of release
63feb100e Merge pull request #219 from maxmind/greg/revert-record-info-change
e9a9e086b Add appropriate warnings
830f83751 Update with 1.4.2 release notes
60df86476 Revert "Do not calculate record_info repeatedly"
2a6dbc30d Bumped version to 1.4.1
6009c06d4 Correctly generate man page links
5688f530e Bumped version to 1.4.0
c582c62e1 Update changes for release
4eb81cef3 Merge pull request #217 from tpoechtrager/patch-1
89ef9dc38 Fix MinGW cross compilation
658518cce Merge pull request #214 from maxmind/greg/simplify-search-tree-lookup
a2e8eee54 Merge pull request #215 from maxmind/greg/mmdblookup-prefix-length
2293d2aa5 Display prefix length for record in mmdblookup
5bf3db24f Do not calculate record_info repeatedly
2d49f4f04 Simplify search tree code
3dd3449e1 Merge pull request #211 from maxmind/greg/fix-strndup
69a51cce3 Ignore unused-function warnings
08bfbf02b Add src to win32 project include directories
1bced5ae5 Standardize on one strndup implementation
8bdfe7017 Merge pull request #208 from maxmind/greg/update-changes-and-docs
058a71297 Run uncrustify
74cca8da5 Update change log for negative array indices
589de5d93 Update docs for negative array indices
f96b5f7ae Change error code returned to be more consistent
b85ffd2a0 Merge pull request #205 from shareaholic/negative-index
a42979d68 Merge pull request #206 from saurik/master
df65fa15a Do not use uninitialized variable on UTF8 failure.
716817609 Allow negative array indicies
85ff16afb solve memory leak
b2576cdd6 Add Changes entry for #199
ea5dd4acf Merge pull request #199 from kurt-nj/const_mmdb_s
e9bca7eee one to many const
0cc6caecc constify mmdb_s
d985ed8ec Merge pull request #195 from geraldcombs/fixup-define-unicode
b4fe6f9f8 Don't force the Unicode API on Windows consumers.
e1db7584a Merge pull request #193 from maxmind/greg/remove-regen-macros
d862532db Remove unnecessary prototype
c0f4e6c3d Remove unnecessary INDENT-OFFs
8623eb63f Remove now unnecessary macros
0d29c0cf8 Merge pull request #192 from maxmind/greg/remove-regen-prototypes
fb34bee29 Remove script to regenerate prototypes
12572083e Remove prototype added by regen-prototypes.pl
02b59a7e8 Add changes entry for #191
a7f2b19d6 Use UTF-8 internally on Windows.
9660f7e14 Merge pull request #181 from maxmind/greg/leak-changelog
36d6cd370 Add a changelog entry for #180
15c1e837e Merge pull request #180 from Kokan/metadata-lang-name-leak
e63d5224c Fix memory leak in metadate.languages.names
7b2cfd3db Merge pull request #178 from maxmind/greg/make-travis-happy
2137cf0fd Fix undeclared open_memstream on macOS
1ea5e0fe6 Merge pull request #176 from maxmind/pcronin/clarify-installation
0d17f5ae0 Grammatical and formatting improvements
e72c7fc46 Clarify instructions by source
b5cba6a44 Mention #168 in change log
e02773708 Merge pull request #171 from maxmind/greg/no-po-files
2290e1c6a Do not include all of t/ in dist
6a0e29951 Add #166 to changelog
0d6f6b661 Merge pull request #166 from ffontaine/master
501f85fa7 Add --disable-binaries
cc7b88026 Bumped version to 1.3.2
e32451587 Update changelog
1858a31fe Merge pull request #165 from maxmind/pcronin/test-external-symbols
b9c99cb34 Merge pull request #164 from maxmind/nchelluri/fix-readme-ppa
e69771745 Uncrustify
f5956047f Add test to ensure only intended symbols are exported (MMDB_*)
877f65307 Docs read apt, not aptitude
141a73ff5 Merge pull request #159 from maxmind/horgh/mmdblookup-from-file
12e64aeb3 Comment that we intentionally do not document certain modes/flags
7a3cf56ad Always output summary information when looking up IPs from file
41fe12d4b Merge pull request #163 from maxmind/horgh/o_cloexec
cbd5d3a9a Check for O_CLOEXEC directly rather than POSIX version
84dfa3a0c Disable unused command line arguments in Clang on OSX
8bc831b76 Use -Werror for Travis OSX builds too
73c029cb5 Add Travis builds with POSIX.1-2001
e04bfe77a Mention O_CLOEXEC and POSIX.1-2008 in the changelog
f6d8a48c8 Use O_CLOEXEC for exec-safety in MMDB_open
6c7e9392b Request POSIX.1-2008 definitions and features
dfd17d998 Update README to state POSIX.1-2001 as a requirement
50fd6e505 Mention hiding internal symbols in the changelog
65a268603 Merge pull request #162 from paravoid/to-upstream/160
21324a8e1 Add -export-symbols-regexp to LDFLAGS
9cfcbbc04 Simplify autoconf check for open_memstream
e4b7a3036 Fall back to time() if clock_gettime() is not available
a599166b0 Work around a Clang bug that complains about missing field initializers
80c11c486 Switch from clock() to clock_gettime() in the threaded benchmark
f0778d139 Print error reason if retrieving list fails in threaded mode
5448444e6 Add a way to mmdblookup to look up multiple IPs from a file
a8880bda5 Merge pull request #155 from maxmind/horgh/no-realloc
219c6b044 Delete out of date test
8de5a0915 Reduce work needed to free the list
f219ef7be Work around Clang warning about missing initializers
ecb5a6452 Optimize the data pool a bit
c9cf1fac6 Set -pthread more correctly in mmdblookup's automake
50c7ebae3 Allocate in multiple chunks rather than reallocating one single chunk
9e9eab9b3 Merge pull request #154 from maxmind/will2/multithreaded-mmdblookup
b1e1eb9a5 Simplify excluding threaded code on Windows
f38d74393 Do not provide --threads flag on Windows
ec604d718 Add a way to run multithreaded lookups in mmdblookup
dba925a53 Bumped version to 1.3.1
e3262f084 Set version 1.3.1 in the changelog
ce501d27d Add information about #152 to the changelog
7245f7da2 Merge pull request #153 from maxmind/will2/invalid-read
18ad9483d Use better key/value index variable names
282422c96 Fix race to write/set ipv4_start_node on MMDB_s
19a5c5b91 Make LOCAL set functions static in mmdblookup
c7165e4de Update changelog
b265b97fe Treat entry data list pointers as invalid when we grow the memory pool
155798aeb Fix a memory leak in a test
b7c49d8b7 Add a test where we hit the invalid read/write
b8f762e03 Make valgrind-all run against the tests, not just mmdblookup
512b03783 Merge pull request #152 from rgerhards/fix-rpl_malloc
d0cd6bec3 remove build problems related to rpl_malloc
f7cd0f307 Merge pull request #150 from maxmind/will2/more-release-instructions
73c2e4e75 Add some more info to README.dev about releasing
780e94414 Update homebrew URL in release instructions
78659b5ae Remove old release instructions
33cccb0a1 Fix ppa release script
bf8fce6b8 Add artful to Ubuntu versions
c197d1380 Bumped version to 1.3.0
7b0e8832a Bump version in changelog
59d248ba9 Merge pull request #149 from maxmind/will2/list-last-element
152f881b8 Set the last element in the list's next pointer to NULL
ed8766319 Merge pull request #147 from maxmind/will2/fewer-allocations
89d293a9c Update changelog
8d82d0366 Allocate memory for multiple MMDB_entry_data_list structs up front
fa60ece1d Add vim swap files to .gitignore
f47cc1ea5 Add additional valgrind flags to valgrind-all.pl
a6acf3e07 Comment about using valgrind-all with libtool
b70a4361a Fix path to test databases in valgrind-all.pl
7244823b6 Free lookup_path memory when benchmarking in mmdblookup
79278df30 Update changelog
4c2a864e7 Merge pull request #143 from rainerjung/mmdblookup-time_t-32bit
ed0b533ad Fix wrong epoch formatting for verbose mmdblookup (at least on 32 bit builds on Solaris Sparc).
0cdc9d2b5 Update release instructions
0ffea5659 Update PPA release script
cb277ecbb make clean before make dist
e79a8b18c make dist in release script
3f59a4277 Bumped version to 1.2.1
6b49dabda Update release script
dd27cd366 Update libtap
cb6635636 Update change log for 1.2.1
6a63165c0 Merge pull request #136 from ffontaine/master
08e44e1d3 Fix small typo in test
07412b30f Merge pull request #141 from maxmind/greg/no-buffer-check-overflow
0881b61a1 Add a check for min data_section_size
bdf8c9f19 Remove unused regex
1a9a22426 Add VS project file for metadata pointer test
b2936739b Add bad databases test
d1851da32 Fix integer overflow in bound checks
8287848f7 Add --disable-tests to configure
1b378ab8e Merge pull request #139 from nigoroll/submodules_https
cfdd03352 use https submodule urls
b8e079635 Merge pull request #133 from maxmind/greg/no-install-libtap
7c9ca21a4 Do not try to install libtap
e0ff6341b Merge pull request #132 from maxmind/greg/build-fixes
cc6d3fa63 Test on OS X too
3fa8cf156 Use libtap's Makefile
020d8815d Add Changes entry for #130
566b93c97 Use uint8_t type for maybe_populate_result
ec7530a17 Fix MSVC compiler warnings
ebe5a6112 Merge pull request #131 from maxmind/greg/upgrade-libtap
307383149 Upgrade libtap to latest version
9a9ad0b40 Merge pull request #127 from maxmind/greg/misc
2d7c78052 Prefer current directory for maxminddb_config.h
00c1ab708 Make use of "mmdb" consistent in the docs (#124)
f735fb95a Merge pull request #123 from maxmind/autarch/fix-endianness-check
892130447 Add docs on the netmask returned for an IPv4 address in an IPv6 database
cbdaab2cf Add a paragraph explaining you can use MMDB_read_node to iterate over the search tree
a280aebce Use autoconf to check system endianness rather than compiler macros
8f2ad88f0 Update Slack notification
5cd80a8e5 Fix example in the docs. Closes #116.
4bc4b620e Add a basic PPA release script
f7934c805 Bumped version to 1.2.0
b56b222a5 Update release data
0db855145 Merge pull request #111 from maxmind/greg/read-node-update
4a5759874 Add more fields to MMDB_search_node_s. Closes GitHub #110
52100fafb Remove outdated release documentation
223a83ad8 Bumped version to 1.1.5
432249af0 Version 1.1.5
2472335b2 Re-add release target
539772b24 Update relase documentation
3e2f86d16 Merge pull request #109 from maxmind/greg/fix-metadata-pointers
bb5ea0fc5 Allow decoding of dbs with pointers in metadata
a46eb85d4 Merge pull request #107 from maxmind/greg/simplify-ip-resolution
72a81ab0e Set MMDB_IPV6_LOOKUP_IN_IPV4_DATABASE_ERROR on MMDB_lookup_sockaddr too
a3d75b916 Let getaddrinfo detect the address family
ff4fbfdf4 Send AppVeyor Slack notifications on every build
b11fc6f9c A few more typo fixes
6691cf788 Fix small typo in libmaxminddb docs
854246342 Use a new Slack token for notifications
6478aa94c Update AppVeyor to send notifiations via Slack & email
7d035196d Small tweaks from .travis.yml munger
8654a3405 Send notifications to slack
6a1bf9b75 Fix typo in Changes.md
36b0bba47 Fix for GitHub release directions
63520c6b0 Bumped version to 1.1.4
838f31fd9 Changes for 1.1.4
cc0e5f680 Make the safedist target depend on clean
5c8b40fa8 Add a few more details on uploading PPAs
247537ffc Wrap <> in `` so it shows up on GitHub
68dd2d40b More details on the whole release process
bfdc2df4d Update PPA instructions
fd462b1bf Bumped version to 1.1.3
150d06eb6 Merge pull request #104 from maxmind/dave/misc-fixes
ea204980b Update appveyor.yml to send notifications via email instead of hipchat
acdd24a0d Cast mmdb->file_size to uint32_t when comparing to search_tree_size
7040abfb0 Fix wrong var name in dump_entry_list for platforms where int128 is a byte array
63b7613e2 dump_entry_list does not return status code, it sets *status and returns NULL
9ce3d12b4 Small tweak to wording of change in 1.1.2
7a8d8e071 Add date for today's release
aa926a96a Add Changes.md entries for memory fixes in this branch
9d4cc2424 Reimplement size overflow checks as a macro
6a022d195 Added preprocessor statements around SIZE_MAX
3e7af59ec Avoid integer overflows during memory allocation
a860913e4 Check OOM condition in value_for_key_as_string
51481f0cf Avoid integer overflow on very large files.
a159e406f Verify existence of metadata marker
b2e9398a7 Prevent out of boundary access when using offset
c65772acb Send all emails to dev-ci@mm
a2a6c8614 Fix typo in Changes (extra comma)
22d96d056 Merge pull request #100 from maxmind/greg/old-db-notice
8749c4b4f Added notice about incompatibility with old databases
49f4d3ad9 Add debug messages on more errors
b0fe37a78 Bumped version to 1.1.2
e5330a957 Add 1.1.2 release date
507fcbedf Merge pull request #99 from maxmind/greg/depth-fixes
62e424b42 Limit depth of data structures to 512
55ebd4f5f Check for more errors while decoding metadata
243859bea Disallow pointers to pointers per the spec
a3d4d7434 Merge pull request #98 from maxmind/greg/more-bound-checks
51255f113 Fix several segfaults from missing bounds checks
9f131156b Merge pull request #96 from maxmind/greg/remove-unused-assignment
98f4e23e4 Remove unused assignment. Reorganize.
9b788d049 Add pkg-config support
00316fefe Merge pull request #91 from maxmind/rafl/docs
19f6577fe Fix two small documentation errors
3d9626992 Bumped version to 1.1.1
53c0351f5 Added maxminddb-compat-util.h back to source dist
1bf066eca Replace utopic with vivid in PPA release instructions
8f4549511 Bumped version to 1.1.0
dd4bd01dd Update release script
46b828e77 Merge pull request #90 from maxmind/greg/includedir
ba9587c36 All headers in includedir. Do not install internal header. Fixes #89.
603ac5a00 Merge pull request #88 from maxmind/greg/fix-clang-analysis-warnings
22c8d339a Uncrustify
f9c218b7d Update changes
25266f431 Check status of MMDB_get_entry_data_list
72c9d7685 Fix warnings from Clang's scan-build
f0dcad3b4 Merge pull request #87 from maxmind/dave/use-travis-containers
f85e366fe Travis handles submodules for us
3c8281a1b Use Travis container-based infrastructure
464fe0815 Merge pull request #83 from maxmind/greg/mac-os-x-test-fix
4249537d1 Fix compile_c++_t.pl test on OS X
04af62961 Always put () after function names in Changes.md for consistency
aab44408e Changes for latest Windows fix
610f61dcc Fix typo in Changes.md
91ba26848 Merge pull request #78 from blyhostetler/master
51eb95c44 Updated per most recent comments on pull request
afc128e70 Update from pull request review
ec3a06e48 CreateFileMapping can actually return an error (and returns NULL in that case)
dff3ce7d8 Added note about W32 file closing fix to change log
e1519ca53 Merge pull request #76 from blyhostetler/master
97f1e068b Issue 75 - handle and WSAStartup cleanup
3fab5a81f Merge pull request #74 from maxmind/greg/save-errno
3a74dd9b3 Add a comma in Changes.md
a76792dcb Fixed typo in handle name
678811b56 Update change log for errno change
a354c7ae7 Don't clobber errno when cleaning up from error
1886fcb15 Update submodule. Closes #73
7d462ebb7 Add PPA instructions
1337363d3 Add basic instructions for releasing to PPA
03ac93269 Prepare for 1.0.4
a83721bdf Merge pull request #71 from maxmind/greg/update-dist-docs
a5590f059 Clarify the lookup paths. Fixes #68.
f6968f9ae Add explicit note about utf8_string's size. Closes #66.
8cc92b7aa Use IPC::Run3 from Debian package
714d154a1 Update dist to include VS files and update docs
69e52dcfa Use correct maxminddb_config.h and remove MMDB_UINT128_IS_BYTE_ARRAY
a736f102f Added x64 and Release VS12 property pages
ca7c2b298 Change log for C++ test failure
282306ea8 Merge pull request #67 from maxmind/greg/handle-strtol-errors
5473b4c78 Remove a pointless memset() call
4dc402bb4 Fixed two issues with our error handling of strtol
d42328fea Merge pull request #63 from Ironholds/master
3c5ff46c7 I'm pretty sure that's a typo
f10f50bdb Merge pull request #62 from maxmind/greg/fix-c++-test
0c1897eb8 Run cpanm as root
6715da537 Install cpanm
addb2d79e Install IPC::Run3 for Travis
cb87a6cb2 Make C++ test work even if libmaxminddb is not installed
cbfe14e77 Merge pull request #59 from maxmind/greg/vs-tests
7e1db37a7 Update changes
bd43072d4 Revert accidental failing test
2f724ac76 Tidy regen script
013cdde21 Fix config header and quiet some warnings
5c6a85f95 Don't try to run threads test
2203a7731 Specify exes directly rather than using forfiles
ecc639144 Switch back to older version of libtap
0d66cad8e Make AppVeyor fail on failure
55d2ee7be Check that _MSC_VER is set
7a3194c99 Add VS project files for tests and run tests in AppVeyor
cd37c4057 Automatic release message for tag
82e07b83a Don't try to commit if there are no changes
d660bf4ff Allow git commit to fail if we've already bumped version
8ea6206ab Add release date
dbedfed91 Push all changes including tags when doing release
20822d0d5 Remove set -x
2b5589625 Bumped version to 1.0.3
3312f5549 Make release script bump version
918ebfb66 Merge pull request #58 from maxmind/dave/c++-extern
9ff6f7ed5 Add Changes entry for extern "C" bits
1face3765 Turn on verbose mode for tests when running under Travis
23dd6663e Add extern C to maxminddb.h for C++ compilation and test this
15420bd54 We can rely on FindBin always being available
07d20f138 Add Changes entry for realloc fixes
23f5d7bf5 Merge pull request #56 from maxmind/dave/no-realloc
67bfd92da Remove use of realloc but use malloc to allocate dynamic array in MMDB_vget_value
527dc6589 Upgrade to the latest libtap
01997a8f7 Add change log entry about the Windows header case
242dc0862 Merge pull request #57 from SuckerServ/master
6bfea21b9 Lowercase Windows includes in order to build with MinGW on GNU/Linux
f76b80877 Add subdir-objects option when using automake 1.14+
4ed277c44 Update .gitignore for new files produced under make check
2eb95c224 Fix outdated comments
cbae1a2e4 Merge pull request #53 from maxmind/greg/vs-build
847e597bb Updated change log and removed .hgtags files
f0243ee11 Add AppVeyor build file
601a0003d Merge pull request #51 from maxmind/greg/lib-path
32c1c63d5 Visual Studio build files and Windows fixes
2790d5628 Added directions about how to add /usr/local to shared lib path
6baa9159f Added change for documentation fix
5fa3eb4a8 Merge pull request #50 from fgsch/master
f05ff6021 Correct example
7c2b8a0e7 Added note about leak fix to Changes.md
cf7d98367 Merge pull request #49 from fgsch/master
b01925423 Fix leaks in MMDB_open()
54e775878 Merge pull request #45 from zno5/master
116312b34 The dwMaximumSizeLow parameter of CreateFileMapping function set to zero. The maximum size of the file mapping object is equal to the current size of the file.
8798ae2f7 Prepare for 1.0.2
8a82131c3 Merge pull request #44 from maxmind/dave/fix-dangling-pointers
e2a755f76 Make sure to set pointers to NULL after freeing them
4da78594d Add note to Changes about Coverity fixes
0398e815e Merge pull request #43 from maxmind/greg/coverity-fixes
f7d00c278 Add back WSAStartup for Windows
22d9f86ad Ignore last Coverity warning
f29bc3413 Remove unnecessary '0 !=' in if statement
424f2839f Close fd is stat fails
42320863d Fixes for issues discovered by Coverity
070a576e1 Submit build info to Coverity
df7783484 Merge pull request #42 from maxmind/bz/fix-ld-solaris
7a20fb5f7 We should link against -lsocket on solaris
ef7c94e24 Prepare for 1.0.1
b6a2b4e1a Added missing LICENSE and NOTICE. Fixes GitHub #39
716290b3f Add Changes.md and README.md to dist
a7bb9f4c5 Prepare for 1.0.0
005afbd4f Fix Changes formatting
72353d707 Add release date
33164f4c7 Bump version
d715ef33b Merge pull request #38 from maxmind/dave/more-fix-missing-free
75cb031d3 Set struct to NULL so later NULL check is sane
0b1d7c137 Doc all changes for 0.5.6
84a896655 Make sure to call freeaddrinfo on a getaddrinfo error
11dc4eb29 Style fixes - NULL != foo (not the other way around)
21396b7f6 Merge pull request #37 from maxmind/dave/fix-missing-free
ddb2b424e Add leak fix to Changes
fa1b8b159 Run uncrustify-all
fd09e1a56 Add the compile file to .gitignore
0b084b199 Fix some odd line breaking
cb7459fc2 Make sure to call free_mmdb_struct() if we can't find metadata in the MMDB file
1d54c0961 Merge pull request #33 from maxmind/greg/gh-pages-release-script
dc380407f Add version metadata
6b6a8400c Updated make-release.sh to regenerate gh-pages
423ca4200 Merge pull request #32 from maxmind/bz/fix-freebsd
5972f0e39 Ignore return code and free every nonnull pointer
c0d945c6c Use GitHub Flavored Markdown
d481d73a9 Fix segfault - freeaddrinfo's *addrinfo must be valid.
bda6b71dc FreeBSD's getaddrinfo can't handle AI_V4MAPPED
12b9ec8c2 Merge pull request #31 from maxmind/bz/remove-space-in-dir-check
19daf2110 Remove error message libtool warns anyway
07465c4da Merge pull request #28 from maxmind/greg/mmdblookup-man
e50aafb6e Rename $type to $section in code to make man pages
7f811f08c Tidy Perl code
83c6ba10b Add .perltidyrc file
6afa1b57f Removed extra new line
43cd8df29 Added a mmdblookup man page
cd5492e40 Merge pull request #27 from maxmind/bz/remove-non-std-hdr
59d0ecf48 Mingw needs malloc.h
07206ac24 Merge pull request #25 from maxmind/greg/thread-safety-doc
d979d54c7 Typo fix
0cf3e95a7 Remove non std header
a3a019bec Merge pull request #26 from maxmind/greg/space-in-path
040f2e7e5 Added warning when there is whitespace in build dir name
18695f3cc Mention that this library is thread-safe
c59465627 Merge pull request #23 from maxmind/dave/make-distcheck-work
4947aaa3d Add note about make safedist to README.md
7d1174b2e I gave up on distcheck and made a safedist target instead
91149131e Fix tests for latest test data
5f499c14a Move maxmind-db to t/maxmind-db
d45e05dc4 Ignore all libmaxminddb-* files & dirs
d45a2a3a9 Merge pull request #22 from maxmind/greg/return-value-doc
446af5474 Add more return value notes
d1eb7c837 Document return value for data lookup functions
ddb88b57e Merge pull request #21 from thekindofme/patch-2
1031c0c3a Merge pull request #20 from thekindofme/patch-1
cf75f7a62 Add instructions for installing via Homebrew to README
b8559f908 Add missing step to README
f1774ebdd Bump version
1156213ec Add Changes for 0.5.5
6abd936b3 Make sure src/maxminddb-compat-util.h gets included in distro
e59b6e04d Removed space between Changes.md items
bab5ed622 Add a document describing how to do a libmaxminddb release
27c1b63f6 Bump version in configure.ac
08fa6ce42 Add release date to Changes.md
ca32d0748 Merge pull request #17 from maxmind/dave/const-public-functions
e28fd0dc2 Fix the signature for MMDB_open in the docs
ffec74306 Add a bit more const to MMDB_aget_value()
e139c6c92 Merge pull request #16 from maxmind/dave/const-public-functions
630e69c81 Mention const additions in Changes.md
c18ef8a51 Update docs for const changes
440640b89 Small formatting fix
eaf2025c4 Add more const to MMDB_open filename parameter
a67ad56ca Create struct all at once rather than initializing each member separately
e81a0e664 Remove consts that -Wall warned me about
8cf222465 First stab at consting public functions
4e2efba6e Only try to remove ltmain.sh if it exists
be985abe2 Update Changes for next release
bc11aef1d Merge pull request #15 from maxmind/dave/remove-gpl-code
dcf0d0095 Use git protocol URL for submodule
b417753b6 Update submodule for travis build
d0ed9c37a Made t/libtap a submodule instead of copying the files into our repo
81cdbe1c3 Update to the latest libtap
e5a634518 Use memmem, strdup, and strndup from FreeBSD rather than libiberty
e632760cf Fixed outdated license information
2fe92bafd Merge pull request #14 from maxmind/dave/apache-license
74a4f8677 Add the full license text back in LICENSE
64a90ce95 Rename COPYRIGHT to NOTICE
4df83901d Switch to Apache 2.0 license
428599dfc Doc MinGW support in Changes
575e018f2 Comment tweak for win32 conditional bits
1aba9ad40 Cleanup formatting in configure.ac
be529741c Uncrustify all code
fc85b027e Removed unnecessary includes
22ea5a1df Add Win32 support.
9429a82a6 Add make install & ldconfig steps for Git repo install
5c04ecacc Add links to the releases, repo, and issue tracker in the docs
9472c2a87 Update build instructions to include ldconfig
f176ad4dd Small markdown fix
7bad1f380 Changes for test fix
51f278de1 test needs IPC::Run3 as well
9d4720fcb Changes for next release
4f8a4ec94 Bump library and binary versions
ab5005fd9 The ip_version in the metadata is a uint16_t in the spec
4d542f905 value_for_key_as_uint16 should return a uint16_t, not a uint32_t
f5ba4521a Add even more debugging output for search tree traversal
a90fae70a Remove debugging cruft from header
f8dec34f5 Uncrustify threads_t.c
f99667a42 Add some more debugging output for error conditions
237ca73da Added a note about prereqs for installing from git
5f97dd6e5 Use `` instead of ""
960e1c3ae Changes for next release (and release dates)
2eb49e9cc Bump version to 0.5.2
7a5149c60 Handle man page fakery from Makefile so we don't need to include dev-bin in tarball
2e6e2aa5c Bump package version
2b223b507 Set -std=c99
9e8423fb2 Set strict CFLAGS under Travis
d63d82d48 Removed unused variables
7ca677841 Added make release target
816519838 Separate handling of maxminddb_config.h into an include_exec_HEADERS target
e39d00dab Mentions threads test in Changes
fdca76281 Add a test that uses libmaxminddb inside threads
47a680020 Add Changes note for memory allocation and const-ness
91addf8f5 Make valgrind-all.pl find all the tests rather than hardcoding them by name
05e5105d1 Call MMDB_free_entry_data_list() on entry_data_list struct
284b33531 Call freeaddrinfo before returning an error
ffc7f309f Make sure all tests call MMDB_close and free the mmdb struct
ee2c895a2 Simplify freeing of lookup path - no need for extra elem variable
241888913 Add const to various variable declarations
be6e8c230 avoid unneeded memory allocations
d723ff353 Add Changes note for OSX & OpenBSD fixes
4fe4ecb5f Handle AI_V4MAPPED not existing on OpenBSD
51bc57f52 Use "%" PRIu64 instead of "%lu" for printf with uint64 values
325446a63 Rename functions copied from libiberty
54b28ffed Copy memmem, strdup, and strndup from libiberty rather than writing our own (or copying from some other source)
c394f9726 define _BSD_SOURCE to get proper prototypes on linux
e7f304c65 fix osx build
395bfb682 Remove test for memmem. We have to use our own it is a gnu extension
43a04c1e7 Our custom config should not be in the public header
6fb33978d Never define the _GNU_SOURCE macro
a6d6d68b4 Load our config first
8299f68bd Make a fake man page to satisfy make install when run from checkout
15578d589 Revert "Add an empty man/man3 dir so "make install" works from checkout dir"
c068d2d34 Add an empty man/man3 dir so "make install" works from checkout dir
477c339f8 Add back .PHONY for man/man3/*.3 to see if this fixes jenkins issues
df4205d55 Delete .git* files/dirs from distro tarball
197a2380a More updates for distro tarball
31f97ff50 Include maxmind-db dir in dist
6cc62ffe9 Update Changes.md to mention man pages
31ebfc327 Make sure dist includes all files in t/ dir
31d2876bc Reformat all code so it doesn't go past column 80
502534037 Tweak generated man page to only indent code blocks by 4 spaces (not 8)
c57f94b0a Apparently there's no need for the .PHONY bit (which I misspelled as .PHONE)
57b63a27f Add a fake do-nothing man/man3/*.3 target to make "make all" happy
bb7a6502b Generate man pages using pandoc as part of "make dist"
159b18652 Only require autoconf 2.63
23a3a1ab7 Update Changes.md for pointer fix
eb8e883f2 Make decode_one_follow smarter when handling offset_to_next
3051c5b03 Fix typo for error name
763acdbd2 Add an additional test for pointer handling bugs
f77bdb8d0 Bump -version-info for library
87e3467b5 Start recording change history in Changes.md
19a58cbb6 Add --recursive to git clone instructions
1c8bea8a1 Rename MMDB_LOOKUP_PATH_DOES_NOT_MATCH_DATA define to MMDB_LOOKUP_PATH_DOES_NOT_MATCH_DATA_ERROR
75e7716d0 Not using C::Scan in regen-prototypes.pl
9ea39056f Remove extra whitespace
12dc63f29 Fix handling of pointers when looking up paths in an array or map
7949b9a14 Fix a bug in the pointer bug tests and generaly improve data_ok() in the test helper
e94b91ce1 Make sure that entry_data is always zeroed out when MMDB_get_value returns an error status
d1b4e2c46 Don't run all tests if lookup fails
c20746b0b Add more debugging output
6cae2d416 Add new test file to t/Makefile.am
53fb6f7ca Add a failing test for the pointer bug reported in https://github.com/maxmind/libmaxminddb/issues/2
47c0015af Check the return value of recursive calls to skip_map_or_array
7bdfb910d Add more debugging output
35654f59c Added a number of tests for the Xget_value functions
546e50c11 We also need libgen.h
550dad857 mmdblookup.c is not using assert.h
482f7adb5 We're not using anything from assert.h
8deb8b0d0 Actually check for all the headers we use
83152b960 Add an explicit error when someone attempts to look up an IPv6 address in an IPv4-only database.
4c2393fb7 Fix typo in README.md
3a1b68b91 When we calculate the IPv4 start node, we also need to know the netmask where we found it
4da7b8aa6 Don't regen prototype for strndup in maxminddb_test_helper.c
bcac4502b Run uncrustify on code
ec7e86855 Add an IPv4 start node cache - all tests pass
ddf03d4ec Put string error in diag, not mmdb error code
6246ddfd3 Rename record_info struct to record_info_s for consistency
906b9bffe Make ip_version a uint8_t
43991ec7a Minor clean-up
0354e8e2d Don't install libmmdbtest
9e733fb15 Call uncrustify twice for each file to avoid flip-flopping style changes
dadc65773 Add a version to the library
c971829e2 Pass --foreign to automake so it doesn't complain that we don't have a README
6f78c1d3a Bump the libmaxminddb version
ff15da8c9 Small formatting tweaks in README.md
2fa89cee4 Rename README to README.md
4a5bc7100 Write a real README for libmaxminddb
c8e6f8af6 Remove auto-generated INSTALL file from repo
e9bc21e2f Revert "C99 does not allow anonymous unions in a struct"
ab37031f4 Add -fms-extensions to compiler flags if the compiler will accept it
90a0c2886 Use a slightly less gross method of ensuring we get c99, not gnu99
037392958 On some systems strndup may be defined as a macro
ec5e6edc2 Add comment about gross autoconf bits
57648a33b C99 does not allow anonymous unions in a struct
a80808d92 Changes to get code compiling under --std=c99
8aaa0f0b2 We need _BSD_SOURCE to get MAP_ANONYMOUS
7f9023dfa Remove include/maxminddb_config.h from repo - this should never be checked in
e29e82e48 Update docs to reflect current state of uint128 handling
dbbda1d47 Changes to get libmaxminddb working with GCC 4.{4,5} version of int128
543c6784f Fix snprintf call - size should include null byte
fef558b68 Add license file and add license & copyright info to docs
6c8d60f82 Add AUTHORS to docs
f5906c0d2 Add tests for bad pointers
55bf84d65 Remove an unused var passed to lookup_path_in_{array,map}
45d3b978b Add some more complex lookup path tests for deeply nested data structures
6d565c10b Check aget_value with an array index other than 0
d89a0da22 Remove unused int_pread function
3cdec8d18 Fix check for iterations - missing a star
e8ba963ac Remove unused vars and fix signed vs unsigned comparison issues
1db2a6a0c Check status of lookup_path_in_* functions
8c7df5591 Use snprintf instead of GNU-specific asprintf
782d245f3 Handle functions with no arguments
3e8a4738f Made ip_address not required in benchmark mode
b4a5bb7ab Added a better benchmark mode (IPv4 only)
2195efe56 Add string error for MMDB_INVALID_NODE_NUMBER_ERROR
876ef775f Make sure all error status codes end with _ERROR
08b718ccc Uncrustify test code
d87ab41d0 Add an MMDB_read_node function
f53196564 Remove unused DPRINT_KEY
a69e2ba48 Test and fix handling of zero-length entries
58e51127b Fix a bug where offset_to_next was wrong after following a pointer
b675c4d89 Fix typo in test description
8dac36eb7 Refactor MMDB_aget_value
daf4ea0e0 Updated to latest test data
0b4faefa1 Add some more debugging output
394f725b1 Rename a confusing variable
51614498c Debug functions need to be at top of file to be seen
4385eb3a9 Update to latest test data
643f323b3 Loosen build_epoch test - just check that value is greater than a known epoch
cde10cafc Clarify the lookup path argument(s) to the {,v,a}get_value() functions
eda042947 Small wording tweak in docs
a730feaed Remove the memory cache mode
e008a6daa Add a --benchmark options to mmdblookup
92c554a21 Change SYNOPSIS to just show prototypes and some data structures
94ecf15b7 Minor wording changes
497fd7c6d Make sure maxminddb_config.h gets installed
584d7e37c Define public maxminddb_config.h header properly
4daf9f093 Revert "Install config.h as maxminddb_config.h"
bf9ea1730 Remove unused MMDB_new_mddb function
08ec9d99b Make open_ok() check to see if the file is readable first
9f4a988a5 Install config.h as maxminddb_config.h
6c412f758 Expose a MMDB_UINT128_IS_BYTE_ARRAY macro
a375982c6 doc spell fix
09ec1079b Reflow paragraphs and clean up whitespace.
986135ae8 Add link to MaxMind DB spec
9f343cf8a Small doc tweak for clarity
2b311b712 Fix memory leaks in metadata_t.c
ae94effc1 Forgot to regen the headers after the last change
addd3a0f0 Remove obsolete docs and pydemo code
0d5712c80 Docs are now complete
02d8469a8 MMDB status codes are int's, not uint16_t's
be40c31a2 Make MMDB_new_entry_data_list private - there's no need for external code to call this
b3f1f0bad Spell out POINTER and EXTENDED in data type macros
b93c3ed0c Add a has_data member to the MMDB_entry_data_s struct
3e8302b01 Make MMDB status/error code an int everywhere
cb9d3a11a Suppress unused var warning
169e66064 Rename vars for *_get_value for consistency
cc8c40842 Compile with Clang as well
d800c47bc Work in progress on docs
ba0281287 Replace if chain with switch in MMDB_strerror
4fd969156 Comment on why the calloc() calls are needed.
77cb5559b Replace a calloc with a malloc
28faef232 This code doesn't compile as C++ so remove the __cplusplus cruft
9f8c2233d Make MMDB_metadata_s->database_type const
d35dc0f70 Avoid a warning from the test code
8a66761d8 Make MMDB_s->filename const
50eae774b Reverse the sense of the check for the unsigned __int128 type
534854970 Use autoconf to check whether we need to link against libm
8fb73ea7d The only function we actually check for in the code is memmem
4eff1e54b Skip the entire test if we don't have open_memstream
ed78bd389 Rename HAS_* macros to HAVE_*
1ce227a36 Check for the open_memstream() function in configure.ac
2435df4e3 clang wants -lm and this doesn't seem to matter either way for gcc
4b0b0a21f All my todos are done!
809ae49a3 Add conditional compilation for UINT128
25e9aef68 Fix broken use of strcmp when I needed to use strstr
0381d396a Add a check for unsigned __int128 type
74c29f614 We're not using the uintptr_t type in the library
0c510452a Make sure that we don't attempt to read past the end of the data section
53581c872 No record in the search tree should ever resolve to zero
df9b29f41 Check that a search tree's resolved data pointer doesn't go beyond the bounds of the data section
60d63725d Add comment about remoing -O2 from CFLAGS & CXXFLAGS
050ac9663 Check that metadata ip_version is 4 or 6
a29e68c8a Add size validity checks for float & double types
cff58f726 There's really no case where we shouldn't follow a pointer during decoding
410942079 Can't run cpanm for a C project in Travis
bec7d51b2 More TODOs are done
63e6471e0 Install Test::More and IPC::Run3 for the benefit of the mmdblookup test
878467d9f Add some tests for mmdblookup
4ef5b20b8 More TODOs are done
ae1e8ecc4 Add details about lookup paths to the mmdblookup help output
2dc2a6756 Add an API to get the database's metadata as an *entry_data_list
1f3b5c5ac Use Greg's suggested algorithm for bytes_to_hex
39073873f Put a guard around the #define _GNU_SOURCE line
dd51d1060 Shut up one last warning from test code
aa5f6b54f Mark function only used for debugging so they're not put into prototypes at top of file
047cd6364 A few more uncrustify tweaks
ba5426697 Add UNUSED macro to mark unused parameters
ed87e2dd1 Sort and align each group of config directives
8bbae8366 Fix compiler warnings in test files
e5562f906 Fix "sed" typo in configure.ac
f8ee47dab Fix various compiler warnings in mmdblookup.c
408f5a70a Ran uncrustify
56604952f Only use MMDB_aget_value internally
99318056a Since we're going to read or mmap the entire file, just use that to find metadata
3cd782cd6 Move debugging macros to maxminddb.c and start refactoring debug output
7fc8f047a The binary_format_minor_version can be 0 so we can't really check it
5128081c2 Include string error when open fails
73a6d7ec1 Don't free path when we still need it
71d534e53 Check that every metadata key has a sane value
c093136c2 Don't add -O2 when configure gets --enable-debug flag
7004f6df4 Just use (char *) for strings, not (unsigned char *)
766099ac5 Fix a bunch of warnings from -Wall and -Wextra
2195a7ed9 Add --enable-debug configure flag
1f9aee5f1 Reorder functions in maxminddb.c to roughly match call order
900ac7d83 Small code simplification
46495c1b8 include more information when MMDB_open fails
8b2b6a18e Remove pointless init() function
c7eb75b50 Don't attempt to read more data than the size of the file when looking for metadata
4b485dbb6 Make comparison look like all the others (NULL == ...)
372397a15 Improve error message formatting for mmdblookup
3f4657056 Don't blow up with a bad read when we fail to initialize the metadata
051472e0c Add a bunch of missing frees in dump_t.c
925c844dd Fix a few more memory errors
dd901643b Fix memory errors in MMDB_lookup_string and resolve_any_address found by valgrind
79b3a3a88 Just call MMDB_lookup_sockaddr from MMDB_lookup_string
2b7290427 Update valgrind-all which new tests and removed CLIs
d266fa870 Check all allocations in MMDB_vget_value
d0e221cb3 Greatly simplify MMDB_lookup_string
bf3f55719 Properly regen prototypes in maxminddb.c
abb467e93 Uncrustify mmdblookup.c
8d9bdf78f Don't try to regen prototypes for files which no longer exist
ad19e61f8 Remove unused code in bin and update bin/Makefile.am
ddb312ddb The mmdblookup command now works for any type of lookup
c02261a52 Uncrustify new test code
0d6704fb6 Rename path_elemlen to path_elem_len
c07908ce1 Rename src_key => path_elem
df6b55151 Add MMDB_aget_value function
89cfc93d9 Fix struct initializer alignment with uncrustify
049dbfccb Untabify file
64729b4f4 Set max line length for uncrustify
039cd144b Check in properly regen'd headers
7b8b30e24 Fix one last bug with regen headers
acf71545b Don't rewrite files when they haven't changed
933361fc6 Run regen-prototypes on mmdblookup.c
64c015d18 Fix regen-prototypes to actually work
fedb8e6e3 Remove semi-colon from macro
e9703d0cb Align the backslash for multi-line macros
2dff8eb5f Uncrustify appears to be idempotent - no need to run it twice on each file
4b76a3c18 Use uncrustify instead of indent
901066f83 Remove semi-colon from macro
67bef088d Add a script to run indent on all files at once
2bdbc8033 Remove not very useful comment
6daad287e Don't let indent reformat auto-generated prototypes.
6eb2ecf2f Add MMDB_lookup_sockaddr function to libmaxminddb
81dc11136 Replace int with bool for is_ipv4 variable
c8a6317c7 Don't assume struct only contains one member
a2c54f600 Shut up compiler warning
2cf725ccb Rename lookup_ok to string_lookup_ok in the test helper lib
c7842ac5d Make MMDB_lookup_string return a result struct, not a pointer
3ac9deb4d Rename MMDB_lookup to MMDB_lookup_string
82304fcab Remove a done todo
508954682 Add tests for MMDB_dump_entry_data_list
21ba65c50 More todos done
d381dc2da Make the entry list dump output pretty
fcf67d543 Change MMDB_DTYPE to MMDB_DATA_TYPE
c2be9ad3e Remove MMDB_DTYPE_MAX
68e215fd5 Rename the various error macros
f47d97dd0 Some todos are done
2af119bf9 Add MMDB_INVALID_DATA to MMDB_strerror and add handling for unknown error codes
7b1ff3927 Allow dump_entry_data_list to set a *status var to indicate errors
a641b8d07 Update header file for earlier MMDB_free_entry_data_list var name change
5e17b50f8 Check memory allocations in dump_data_entry_list
76a32aee8 Move declarations in dump_entry_data_list to where the variables are used
4793d6263 fixed spelling
1d64d7d64 More todos
7712033fe Some todos done
e4cfdc5bc Make valgrind-all more thorough
67af3d99c Make valgrind-all.pl executable
eb135135c Shut up some compiler warnings
9ed330734 Fix memory leaks in no_map_get_value_t
ec6f82559 Fix memory leaks in metadata_t
67a9f58e2 Fix memory leak in data_types_t
6a2e44d06 Fix memory leak in basic_lookup_t
40c294817 Add a script to run valgrind against all our binaries and tests
d8381849f Make tests a little smarter about finding the path to the test data
0c2f942e9 Free all memory allocated in data_entry_list_t
d023e55de Rename var - freeme => entry_data_list
fe761c852 Add a test for the MMDB_get_entry_data_list function and the data structure it returns
d94d678b8 Add compare_float to maxminddb_test_helper and use that in data_types_t.c
80b274abe Add missing test_database_path declaration back to maxminddb_test_helper.h
e1fb1f1da Fix parsing for prototypes so it doesn't break on static var declarations
9d2246a02 Use new compare_double function to test double value
422c113bb Use regen-prototypes.pl on t/maxminddb_test_helper.*
71ad44799 Add compare_double function to maxmind_test_helper.c
019756d72 Don't free the underlying MMDB_s struct in free_mmdb_struct
27a843456 Rename MMDB_new to MMDB_new_mmdb
e580381b7 Rename MMDB_alloc_entry_data_list to MMDB_new_entry_data_list
23d6a8679 Rename metadata_content var to last_128kb since that's what it is
3553b00b0 Fix the metadata finding algorithm
b3afd6ae8 Don't export every function in maxminddb_app_helper.c
867593f84 Update metadata max block size to 128kb
0662f07e6 Make macros ALL_CAPS
b19b8cd89 Make regen-prototypes.pl run on bin/maxmind_app_helper.* too
d23ceca06 Remove unused code maxmind_app_helper.*
224f7bf2d Add an MMDB_new() convenience function
b9eb76e33 Get CLI apps working (ish)
c46989e6f Make dump take a FILE * stream rather than only printing to stdout
23cb1ba03 Add missing word in comment
6460a5526 The entry_data.data_size member is a uint32_t, not an int or size_t
ebbf916af Move type declarations closer to where variables are first used
103c3476b Slightly simplify some code
02ce16e08 Update TODO list
0f744fabf Make all decoding function return a status and check that status wherever they are called
c49648b92 Replace a bunch of assert() calls with error codes
ab0b4dded No need to chcek metadata_content allocation twice
6869317a6 Update the TODO list
8dd6d1a0f Rename silly_pindent to print_indentation
681fb4f2a Check almost every memory allocation and return MMDB_OUT_OF_MEMORY if it fails
0424d7c9f More todo items
e4608a212 s/MMDB_MODE_STANDARD/MMDB_MODE_MMAP/g
ca73d1a41 Remove MMDB_resolve_address
5b8bb0d53 More todo items done
a346ee07a Updated many comments
c9985fcbb s/fname/filename/ for consistency in code base
25f599886 Add a comment explaining use of MMDB_s when reading metadata
b1fac1cc7 Not going to create accessors for the metadata
1462bdfec Not going to try to hide the struct definitions from the public API
f9a826933 Use metadata to determine ip_version, not mmdb->depth
facc8b31e Remove the fake_metadata_db and meta members from the MMDB_s struct
661c85b69 Rename a few MMDB_s struct members
f8c516344 Another todo done
65e4449a1 Fix MMDB_vget_value so it can lookup the first entry that an IP points to
0293d4cd8 We need zero out the MMDB_entry_data_s struct
96c9115d6 Fix a bug introduced in some debugging code after an earlier refactoring
455ae069b Rename var from ioerror => status - it's not IO-specific
e250ebd6f Remove now unused custom test data
460c5b3d2 Remove all references to MMDB_DEFAULT_DATABASE
4ba303cb6 Remove another done todo
7c7203178 Make guard macro name match file name
dadbfed7b Fix indentation issues when inserting prototypes into maxminddb.h
167451877 Rename get_tree to get_entry_data_list
ae69f4a00 Rename MMDB_decode_all_s to MMDB_entry_data_list_s
27d3e187d Get rid of the MMDB_decode_s struct entirely
2625489e0 More todo items
5ab59b2a4 More todo
3a42c1b38 Make regen-prototypes.pl update the header file as well
936cee314 Rename MMDB_return_s to MMDB_entry_data_s
4e716f350 Add a TODO item
976f3f15a Small variable rename - res => result
f6b6b13dc Make get_sintX return int32_t, not int
f6bef742f Remove some done todos
8b4f6fc8f Actually rename MMDB_Helper.* files
c04abee96 Rename apps => bin
c463d943c Rename MMDB_Helper to maxminddb_app_helper
12e5bd84c Rename MMDB_test_helper to maxmind_test_helper
e8fb21994 Removed old lookup functions
6ca035d85 Make MMDB_DATA_SECTION_SEPARATOR private to maxminddb.c
7a3a2bcb7 Rename MMDB_DATASECTION_NOOP_SIZE to MMDB_DATA_SECTION_SEPARATOR
6bc43777b Remove some unused macros
3850cf7b6 Tighten up type declarations
0f041311c Changed the main data return type to include one union field for every data type
cb839350c Rename float & double macros to remove IEEE754_ from name
f4d24d7ac Use the uint64_t type for 64-bit ints
16bde81a0 Remove some done todo items
8e0336b5d Remove MMDB_strcmp_result, MMDB_pread, and bytesdup functions
99eb96713 Run indent on code
d687098a9 Rename root => result
3e6654b89 Moved and renamed many files
702f3faec Simplify Makefile.am for apps directory
19301bcbd Remove commented our programs
c44b27ca7 Remove country_lookup app
504da65a6 Remove the dump test, since it's not really a unit test
d31484ec5 Indent code
01b2573bd Simplify loop when checking search for address
ad7c08e0a Check that record size is 24, 28, or 32 - we can't handle other sizes right now
a3d6e6b3e Use a single function to search both IPv4 and IPv6 trees
545a64a84 Don't hard code depth, get it from mmdb struct
70ac743c9 Shut up some compiler warnings from test code
9d87eb628 Free all result objects
f848c7219 Fix bad malloc size - we need the size of the struct, not the size of the pointer
a2e860655 Fix memory leaks in test code
e1eccfbb5 Fix memory leak in MMDB_lookup when lookup fails for some reason
00180ef80 Add a thorough lookup test
cdca24377 We have to convert the result of getaddrinfo into network byte order when calling MMDB_lookup_by_ipnum()
2f94c5f06 Copy the sin_addr.s_addr struct member rather than the whole sin_addr struct
17d22f23e Use MAP_FAILED macro to check mmap result
9d6dd3d7a Sort include lines
1c75e8bc7 Move all headers needed by tests to MMDB_test_helper.h
aca84b2e5 Move tap code to t/libtap
2061c5788 Require mmap function
c6bc7f18b Require the uint64_t type
6583d9c72 Use cmp_ok() instead of ok() where appropriate
9eda7f767 Move type declarations to where variables are used
a3ffe1e70 Get build_epoch metadata key and test this
39ac8ca22 Get rid of file mode
3795e4f6a Complete data types test
47d7044c8 Updated maxmind-db submodule
770224aaf Make vget_value an external function as MMDB_vget_value
ead704dfd Rename variable from ok to is_ok so it's not the same as the ok() function
8587968de Reorder a few more functions
0974659c8 Reorder functions and defines
398b25822 Use ip_version from metadata rather than depth
06b2eed35 Remove MMDB_BROKEN_TYPE define
c22ca8a1c Move all local function prototypes to the top of MMDB_Core.c so we can order them sanely
7cb5638b4 Make sure all MMDB_ prefixed functions are in MMDB.h
b4bf47a1a Tell indent about all of our typedefs and re-indent source files
1c475030b Rename MMDB_root_entry_s to MMDB_lookup_result_s
0c5344b5e Include struct name in declaration
7c5faa304 Run indent on all updated code
8d39c9ace Change .indent.pro to spell all options out and sort them
19247e4cb Avoid possible double free of metadata_content
5fb4dd77f Fix various compiler warnings about implicit casts
caf96044d Free path string
f14350549 Make sure to free metadata_content if we're not saving it in the mmdb struct
4c1ec9cea Make sure to free allocated decode_all structures while getting metadata
c32385455 Add implementation and tests for getting description metadata
41d6cc7f0 Don't hard code string length, use strlen() instead
265dc075f Avoid a compiler warning by casting to non-const when calling free()
33ef5e022 Include cast in call to strndup
9f894d851 Tweak TODO wording
72836ff23 Add a TODO file
bebd98fb1 Improve debugging output for string & byte fields
00cb43887 Populate languages in metadata
db7f9192c Improve dump to show more info about all types
2e570f6a6 Move metadata marker string to a define
f5eed25ad Make MMDB_get_tree void
8862d1633 Avoid warning from call to free
5ff5aff59 Rename variable named "tmp"
036212076 Remove unneeded variable
13dabd18d Get database_type metadata
f2623c886 Use MMDB_get_value in get_uint_value, and do pass NULL as last arg
e328a11b8 Move get_uint_value so it's near the only function that uses it
2286a06bd Remove unneeded MMDB_get_uint function
a0adeff81 Start refactoring metadata handling
81cedc52e Add a helper function to construct the full path to a test database
a4b95a76d Check all malloc calls with an assert
7d498f7ce Can't reorder struct defs in MMDB.h
f9f1f006e Run indent on MMDB_Core.c
2afa96b1a Small cleanup to MMDB.h
d7c9ab551 Add MMDB_lookup public function to lookup an entry from a string address
9578bc260 Update to latest MaxMind-DB test data
bff8ca3d5 Make fdlookup_* function LOCAL
bb3cc8daf Start of new tests with more helpers
d5e011cd3 Make MMDB_open return the status code so we can do something useful with failures
df059e211 Rename error codes to be more readable and make them positive numbers
b74face41 The BROKEN_PTR issue has been resolved for a while, remove this macro
6e46a3103 Update maxmind-db submodule
3b104ea67 Fix ignore rules for generated files in t/ dir
b4689d8a6 Work in progress on revising the libmaxminddb tests
9a85bf535 Add a .indent.pro file
dedf3389b Make indentation in configure.ac consistent and remove tabs
250d5ccad Add maxmind-db submodule
8b70b2ee6 Bump the version and switch to three-part version (0.4.0)
5b8b4f300 Check the return value of all memory allocation operations
423e39c18 Put curly braces on all if/while/for clauses
11d0d2cd3 Remove vestigial if clause
8aa0d3a59 Rename MMDB_lookupaddressX to MMDB_resolve_address
436d90c36 Move all types into the switch statement in get_tree
d7c493122 Remove an extra unneeded variable assignment
554760c09 Fix indentation
075f5fbc4 Simplify the implementation of MMDB_get_tree
1faef32a4 Add .gitignore
6c664dcd3 Remove extra sets of parens
984aeaba0 Remove trailing whitespace
bd9b63617 Add docs and example how to use the CAPI
b24929ce6 Remove commented area
dbb91d02f Remove used code
4d766bd81 Handle only known binary databases
c8bdc106c Configure should check for some more types and functions
c3b3c67ce Free meta buffer on cleanup
82f13af73 Beautify the helper functions a bit
8ecb5d325 Add more tests
56df93005 Search the database for a specific field.
77a24abab Fix debug output typo
bfdf3a090 The default database file should be GeoIP2-City.mmdb
2f6726ba7 The filename is read only
a2fff26fa Remove superfluous default db definition
138595e8f The default database name has changed
98f231028 free_all is not a public function
37a720d0d .travis.yml typo fix
8db63d5b3 Test with Travis
beb213082 Test automake version before using serial-tests
5c30791b2 Use the same pread like function erverywhere
f2e53b4e1 Run test more comfortable
d7a149804 Rename atomic_read to int_pread
66a08c412 Remove unused code
dde4937a3 Use generic pointers to our data
fc6d65ef7 Enable tests for file based databases
7dcd68599 The diskbased functions to dump the database structure need to know about the database / filehandle / size / ...
fda904f0a Export MMDB_pread - comfortable pread replacement
a29b08cda Force binary float and double types to 4 and 8 bytes in size
12c456ec5 Paranoid check the size of larger integer types
0de283e29 Force the size of the binary float and double types to 4 and 8
85ceba87d Paranoid check the size of larger integer types and read them into the buffer
405bb710c Make sure the minibuffer size is at least 128 bit
36c3cbe0e Add debug info
e62f2669a Do not test the diskmode, it is unfininshed
d4e230293 Use a more common method to check the byte order
7b1687fd7 Add missing include math.h
d74b1dab6 Remove the v4 test file.
ee3c62efa The lookup test use all new test databases
50cc741ec Add test database files
b788ee7bd Update test database
26b28750b Add new float and double types - remove the old double type
2e1688617 Add function to compare floats
735c89309 Simplify string double types.
dac990d5f Update version to 0.3 since API has changed - we support binary float and double
0f489f7fb Update configure.ac make sure the OS provide whatever we need
1e3818fe5 Memorize database filename
83fbd55f9 Fix typo the function name is memmem
fa682785a Use custom memmem function unless OS provides memmem
aa82d4e68 configure should check for memmem
dda2c526e Add AC_PROG_LIBTOOL to configure.ac
0265d606f Check error codes more carefully
bacb32f5e Remove odds and ends from fast ipaddress conversion. We use the simple semifast getaddrinfo for now.
c4afd570b Remove unused vars
b05699da6 No need to initialize MMDB_decode_all_s
b7be4ef21 No need to initialize MMDB_decode_all_s
e750068bf Remove unused vars
6fc5508ca Silence warining
0e6ce35da Silence sign warnings in endian test case
eca7fb030 Add simple test for bin float and double types
c105e1f45 Add binary float and double types
dc74aa06a The country code's name has changed to iso_3166_1_alpha_2
3661d32df Use names not name
10668e70b Jump to disk functions in STANDARD_MODE
f635a1f14 Metadata is always in memory.
4ac2410b9 Skip some tests if the database is to depth for the test
e844317a3 Use GeoIP2-City.mmdb as default database
2ad26e31c Simplify all tests
4be5ff8cf Add test_helper.[ch] to our test files
f6ac474d9 t/dump_t.c: Remove unsed code
1d23b9aea Remove unused code.
2c2c3e3e6 Make all defines consistent
c5ef0d501 Add boolean test. Unfortunately there is a bug in the diskbased code somewhere
3513a3263 Update v4-28.mmdb b/c the database file was broken.
954c67a63 Add v4 test database with boolean data
442a4ca20 dump can handle boolean data
c098e59ba Update version number 0.2 b/c boolean is a new datatype
9eeec3a2c Handle boolean datatype
394fe05f4 Add MMDB_TRUE and MMDB_FALSE it looks better
fa630999c Require autoconf 2.65 rather than 2.68
7fac05fa6 Copied bootstrap script from geoip-api-c to be used by the installer
71c2e5756 Simplify code.
9da53a2f6 Remove mmdblookup6 - mmdblookup can do almost the same
49d5f49ff mmdblookup works for IPv6 and v4
829acaf82 Remove superfluous code
2a709a013 Move is_ipv4 to MMDB_Helper.c
c85f7e73b Remove mmdbdump6 - mmdbdump can do almost the same
0c70997e0 No need to allocate memory. MMDB_get_tree does it for us
089bfd931 mmdbdump works with IPv4 or v6 databases
3a1ff3ad9 Allocate the structure inside MMDB_get_tree - One line of code less in user code.
aa5e7fe21 Remove unused functions
dcd644e1d MMDB_lookupaddress* functions convert hostname or ipaddress into useful numbers
6df4817e9 Fix largest memory leak temporary
9770fc419 Use calloc(count, size) not the other way around
41cc100ae Add new functions MMDB_alloc_decode_all and MMDB_free_decode_all
422974bec Do not free memory twice
ea9d80aa1 Remove usage function. It is now in MMDB_Helper.c
ef699913f mmdbdump use the same dump functions as mmdbdump6 and mmdblookup*
4edddad33 Add mmdbdump6
e26060755 Remove unused vars
e770bce15 Use another default database and update the country code field name
73fdf259a mmdblookup should share some code with mmdblookup6
64035ed54 Add mmdblookup6 to lookup v6 databases
8f4786219 Fix strange decoding bug
d7334b480 MMDB_dump: Assume success until I have a better idea
f572243a0 We renamed the fields in the database. So I do here
7790bc4e1 Rename err to status
6b0875ee2 Fix Makefile to build mmdbdump
4370d658d Fix Makefile for mmdbdump
520ae4e7b Dump should dump to stdout
425b59615 Add debug info in get_tree
22828d2b3 Fix follow pointers almost
32bdcf655 Fix MMDB_DTYPE_UINT64 and MMDB_DTYPE_UINT128
e0e302f80 Read MMDB_DTYPE_INT32 datatypes a bit smarter.
cb4dc7800 Define internal functions as static but not in debug mode.
1a238728d Remov…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants