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

Where to get support ? #249

Closed
fl0ppy-d1sk opened this issue Jun 5, 2022 · 1 comment
Closed

Where to get support ? #249

fl0ppy-d1sk opened this issue Jun 5, 2022 · 1 comment
Labels

Comments

@fl0ppy-d1sk
Copy link
Member

fl0ppy-d1sk commented Jun 5, 2022

Please do not use GitHub issues to ask for help.

If you are a company, we do provide enterprise offers such as support, consulting, development or partnership around BunkerWeb. You can visit the BunkerWeb panel, a dedicated platform for professional services, to get more information.

To get free community support you can use the following medias :

@fl0ppy-d1sk fl0ppy-d1sk pinned this issue Jun 5, 2022
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…
@MrCybertux
Copy link

@fl0ppy-d1sk The github disscusion seem to be closed or is it just me? Also maybe open up the subreddit since i am still wainting for posting rights, if needed i can offer to do the moderation.

image

Sorry to nekro this but it seems some of the options maybe changed since the initial opening of this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants