statzone

DNS zone file analyzer targeted at TLD zones
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2021-04-04 14:04Fix erroneous comment about timer value in summary().Frederic Cambus1+1-1
2021-04-04 09:41Formatting fixes in CMakeLists.txt.Frederic Cambus1+4-5
2021-04-03 11:37Switch to using nullptr instead of NULL.Frederic Cambus1+9-9
2021-04-01 15:56StatZone 1.1.0 release.Frederic Cambus7+8-8
2021-04-01 15:54Update ChangeLog.Frederic Cambus1+20-0
2021-03-31 12:41Bump CMake minimum required version to 2.8.12.Frederic Cambus1+1-1
2021-03-31 12:36Remove pledge() support and get rid of the compat directory entirely.Frederic Cambus6+6-39
2021-03-30 19:59Remove now unneeded <inttypes.h> include.Frederic Cambus1+0-1
2021-03-30 19:45Add a signal handler for SIGINFO, wrapping summary().Frederic Cambus1+10-2
2021-03-30 19:35Stop defining _GNU_SOURCE in CMakeLists.txt, it's not needed anymore.Frederic Cambus1+1-1
2021-03-30 19:21Add -std=c++11 in CMakeLists.txt, StatZone requires C++11.Frederic Cambus1+1-1
2021-03-30 19:16Use std::basic_string::compare instead of strncmp(3).Frederic Cambus1+2-4
2021-03-30 18:14Remove a couple of now unneeded C headers.Frederic Cambus1+0-2
2021-03-30 18:12Remove now unused error() function.Frederic Cambus1+0-6
2021-03-30 18:11Start using std::string for domain and previous_domain.Frederic Cambus1+7-11
2021-03-30 18:07Rename #include guards in all header files.Frederic Cambus4+15-15
2021-03-30 18:04Rename all header files to use the .hpp extension.Frederic Cambus8+12-12
2021-03-30 17:38Use iostream to output CSV values.Frederic Cambus1+10-11
2021-03-30 17:36Remove now unneeded CLOCK_MONOTONIC fallback macro in compat header.Frederic Cambus1+0-5
2021-03-30 17:35Remove now unneeded timespecsub macro in compat header.Frederic Cambus1+0-12
2021-03-30 17:33Use std::chrono to calculate elapsed time in summary().Frederic Cambus1+8-9
2021-03-30 17:28Remove uthash mention in the README, it is not used anymore.Frederic Cambus1+1-1
2021-03-30 17:28Do not check for uthash anymore in CMakeLists.txt.Frederic Cambus1+0-4
2021-03-30 17:28Remove the now unneeded domain struct and remove uthash include.Frederic Cambus1+0-7
2021-03-30 17:23Use std::unordered_set instead of uthash to count unique strings.Frederic Cambus1+11-33
2021-03-30 17:11Rename files to .cpp, and build statzone as a C++ project.Frederic Cambus4+5-5
2021-02-15 12:31Preemptively remove Travis-CI bages, as service will be shutdown.Frederic Cambus1+4-8
2021-02-15 11:42Add missing periods when displaying options in usage(), sync README.Frederic Cambus2+5-5
2021-02-12 20:24Remove "USAGE:" prefix when displaying usage information.Frederic Cambus1+1-1
2021-02-12 20:13Get rid of a forgotten camelCase occurrence.Frederic Cambus1+7-7
2021-02-08 20:25Switch the link to Internic FTP site to HTTPS.Frederic Cambus1+1-1
2021-02-08 20:22Fix link to Internic FTP site for .arpa zone files.Frederic Cambus1+1-1
2021-02-08 20:14StatZone 1.0.5 release.Frederic Cambus7+8-8
2021-02-08 20:12Update ChangeLog.Frederic Cambus1+16-0
2021-02-08 18:42Move some variable declaration down.Frederic Cambus1+2-2
2021-02-08 18:12Formatting fixes: add some blank lines for better spacing.Frederic Cambus1+2-0
2021-02-08 17:21Formatting fixes: tabs vs spaces in the README.md.Frederic Cambus1+7-7
2021-02-08 17:16Fix typo in variable name: 'intput' -> 'input'.Frederic Cambus1+4-4
2021-02-08 16:35Stop forcing FORTIFY_SOURCE=2, it should be package builders decision.Frederic Cambus1+0-1
2021-02-08 16:24Bump copyright year to 2021 in CMakeLists.txt.Frederic Cambus1+1-1
2021-02-08 16:04Rename struct timespec 'end' to 'current', to reflect reality.Frederic Cambus1+3-3
2021-02-08 16:01Formatting fixes: extraneous whitespace.Frederic Cambus1+2-2
2021-02-08 15:58Rename the my_struct struct to domain.Frederic Cambus1+5-5
2021-02-08 15:45Free previous_domain to appease Clang's static analyzer.Frederic Cambus1+1-0
2021-02-08 15:45Group and initialize uthash struct declarations.Frederic Cambus1+2-4
2021-02-08 14:34Check strdup() return value and error out on failed allocations.Frederic Cambus1+9-0
2021-02-08 14:25Check malloc() return value and error out on failed allocations.Frederic Cambus1+6-0
2021-02-08 14:25Add an error() function to wrap errx() calls.Frederic Cambus1+6-0
2021-02-08 14:16Refactor the domain comparison checks, allows removing strdup("") call.Frederic Cambus1+3-4
2021-02-08 13:56Reorder and reformat variables declaration.Frederic Cambus1+6-13
2021-02-08 13:44Rename a few variables to get rid of all camelCase occurences.Frederic Cambus1+27-27
2021-02-08 13:27Remove useless braces.Frederic Cambus1+2-4
2021-02-08 13:22Refactor things to check earlier on if *lineBuffer is not NUL.Frederic Cambus1+61-60
2021-02-08 10:36Remove dead increments for argc and argv.Frederic Cambus1+0-3
2021-02-08 10:28Get rid of most global variables, move all declarations to main().Frederic Cambus1+23-24
2021-02-08 09:43Try to harmonize usage information everywhere.Frederic Cambus3+9-9
2021-02-08 09:41Rename displayUsage() and displaySummary() to usage() and summary().Frederic Cambus1+7-7
2021-02-08 09:23Remove hardcoded program name in the manual page.Frederic Cambus1+1-1
2021-02-08 09:22Bump copyright year to 2021.Frederic Cambus7+8-8
2021-01-28 15:48Add a new workflow to perform CodeQL Analysis (GitHub Actions).Frederic Cambus1+27-0
2021-01-28 15:47Do not install build artefacts and reformat slightly (GitHub Actions).Frederic Cambus1+3-1
2021-01-28 15:30Add a step to checkout the repository (GitHub Actions).Frederic Cambus1+2-0
2021-01-28 15:26Add initial GitHub Actions configuration file.Frederic Cambus1+23-0
2020-11-16 21:48Do not override CMAKE_C_FLAGS_RELEASE when enabling FORTIFY_SOURCE.Frederic Cambus1+1-1
2020-11-16 13:02Add the ppc64le architecture to the build matrix (Travis CI).Frederic Cambus1+3-0
2020-10-24 10:10Only enable FORTIFY_SOURCE level 2 for release builds.Frederic Cambus1+2-1
2020-10-24 10:06Do not hardcode CMAKE_BUILD_TYPE to "Release" in CMakeLists.txt.Frederic Cambus1+1-2
2020-10-19 15:06StatZone 1.0.4 release.Frederic Cambus7+8-8
2020-10-19 15:02Update ChangeLog.Frederic Cambus1+11-0
2020-10-10 19:03Enable FORTIFY_SOURCE level 2.Frederic Cambus1+1-1
2020-10-10 19:03Set CMAKE_BUILD_TYPE to "Release" in CMakeLists.txt.Frederic Cambus1+2-1
2020-10-08 16:56Make displayUsage() and displaySummary() static.Frederic Cambus1+2-2
2020-09-17 15:51Improve experimental seccomp support mention in the README.Frederic Cambus1+4-2
2020-09-17 09:23Update error message to use seccomp architecture names.Frederic Cambus1+1-1
2020-09-17 09:23Add support for seccomp on arm.Frederic Cambus1+3-1
2020-07-06 15:16StatZone 1.0.3 release.Frederic Cambus7+8-8
2020-07-06 15:14Update ChangeLog.Frederic Cambus1+9-0
2020-06-25 12:57Use __NR_ instead of SYS_ prefix in #if defined checks.Frederic Cambus1+3-3
2020-06-24 18:10Add seccomp support on i386, tested on glibc and musl.Frederic Cambus1+9-3
2020-06-23 18:58Validate architectures for seccomp.Frederic Cambus1+15-1
2020-06-12 07:37Remove some unneeded seccomp related includes.Frederic Cambus1+1-4
2020-06-10 17:29StatZone 1.0.2 release.Frederic Cambus7+9-9
2020-06-10 16:04Update ChangeLog.Frederic Cambus1+16-0
2020-06-10 14:37Remove now useless runtime member from the results structure.Frederic Cambus1+0-1
2020-06-10 14:36Do not use intermediate variable to calculate elapsed time.Frederic Cambus1+2-3
2020-06-10 14:31Add a signal handler for SIGINFO, to display progression on supported platforms.Frederic Cambus1+5-0
2020-06-10 14:26Move elapsed time calculation in the displaySummary() function.Frederic Cambus1+7-6
2020-06-10 14:19Introduce the displaySummary() function, and use it to print summary.Frederic Cambus1+9-2
2020-06-09 20:11No need to set HAVE_SECCOMP to 1, defining it is enough.Frederic Cambus1+2-2
2020-06-09 19:57Allow the openat and write syscalls, they are used on glibc systems.Frederic Cambus1+3-3
2020-06-09 13:08Define _GNU_SOURCE in CMakeLists.txt to avoid cluttering source files.Frederic Cambus2+2-4
2020-05-25 15:46Remove unneeded <sys/select.h> include.Frederic Cambus1+0-1
2020-05-23 09:33Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available.Frederic Cambus1+5-0
2020-03-30 08:01StatZone 1.0.1 release.Frederic Cambus7+8-8
2020-03-30 07:57Update ChangeLog.Frederic Cambus1+10-0
2020-03-23 17:30Mention that seccomp is currently only optional on Linux.Frederic Cambus1+2-2
2020-03-23 17:27Lint the manual page, add missing paragraph break macros.Frederic Cambus1+3-3
2020-03-23 17:26Improve program description in README and in the man page.Frederic Cambus2+8-0
2020-03-23 17:20Add a test case, using the arpa.zone.Frederic Cambus2+165-0
2020-03-23 17:19Add install target for man page.Frederic Cambus1+2-1
2020-03-22 15:25StatZone 1.0.0 release.Frederic Cambus6+8-5
2020-03-22 15:20Add a manual page.Frederic Cambus1+59-0
2020-03-16 12:46Remove whitspace around commas when outputting CSV values.Frederic Cambus1+9-9
2020-02-14 10:31Actually emit comma separated values, and not semicolon separated values.Frederic Cambus1+9-9
2020-02-14 10:31Bump copyright year to 2020.Frederic Cambus7+7-7
2020-02-14 10:27Remove TODO.Frederic Cambus1+0-2
2020-02-13 20:42Remove items dating back from the Go version in TODO.Frederic Cambus1+0-5
2019-12-26 14:37Use OpenBSD style(9) for function prototypes and declarations.Frederic Cambus2+6-3
2019-12-23 13:53Use EXIT_FAILURE when exiting due to pledge violations.Frederic Cambus1+2-2
2019-12-22 13:25Replace 'log' by 'zone' in comments and printed error messages.Frederic Cambus1+4-4
2019-12-22 13:21Move printed statistics after the actual output.Frederic Cambus1+3-3
2019-12-22 13:20Add missing newline when printing output data.Frederic Cambus1+2-2
2019-11-17 22:01Use ${CMAKE_INSTALL_BINDIR} instead of hardcoding 'bin'.Frederic Cambus1+1-1
2019-11-17 21:59Disable seccomp by default, it needs more testing on non !amd64 platforms.Frederic Cambus1+2-2
2019-11-14 16:24Add ENABLE_SECCOMP build option, to allow building seccomp support conditionally.Frederic Cambus1+16-10
2019-10-28 16:04Add error checking for both prctl() calls.Frederic Cambus1+10-3
2019-10-26 17:27Add a note in the README about sandboxing and fuzzing.Frederic Cambus1+4-0
2019-10-26 17:26Add dummy test target in CMakeLists.txt.Frederic Cambus1+4-1
2019-10-26 17:25Adding missing #include guard in seccomp.h header file.Frederic Cambus1+6-1
2019-10-26 17:23Define and use the STATZONE_SYSCALL_ALLOW macro to make code more readable.Frederic Cambus1+13-18
2019-10-25 17:44Fix the build on aarch64 Linux, where the open() syscall does not exist.Frederic Cambus1+6-1
2019-10-25 17:28Use the HAVE_SECCOMP macro to check whether or not to enable seccomp.Frederic Cambus1+3-3
2019-10-25 17:26Check if system has seccomp in CMakeLists.txt.Frederic Cambus1+11-1
2019-10-25 16:50Merge branch 'seccomp'.Frederic Cambus2+62-1
2019-10-15 18:09Switch 'branch_pattern' to 'coverity_scan' to avoid triggering analysis for each commit (Travis CI).Frederic Cambus1+1-1
2019-10-10 08:49Also add osx to the build matrix (Travis CI).Frederic Cambus1+2-0
2019-10-10 08:28Add arm64 arch and a build matrix (Travis CI).Frederic Cambus1+11-0
2019-08-02 08:58Plug memory leak, always free previousDomain before calling strdup(3).Frederic Cambus1+4-1
2019-05-26 07:11Fix a typo.Frederic Cambus1+1-1
2019-05-09 12:59Use EXIT_SUCCESS and EXIT_FAILURE macros for return values.Frederic Cambus1+7-7
2019-04-12 07:25Run include-what-you-use and fix headers accordingly.Frederic Cambus1+2-2
2019-04-12 07:10Linting.Frederic Cambus2+13-13
2019-03-28 10:52Change Coverity configuration, run scans on master branch (Travis CI).Frederic Cambus1+1-1
2019-03-27 22:30Remove the Go version, Statzone is now in C.Frederic Cambus1+0-149
2019-03-27 22:25Do not pass NULL tokens to strchr().Frederic Cambus1+1-1
2019-03-27 22:18Make sure results.domains is greater than zero before decrementing.Frederic Cambus1+2-1
2019-03-27 18:38Ensure we correctly parse rdata if the zone contains a ns domain.Frederic Cambus1+3-0
2019-03-27 10:06Add a final dot when displaying elapsed time before printing results.Frederic Cambus1+2-2
2019-03-27 10:04Use strdup() when adding a signed domain to the list.Frederic Cambus1+1-1
2019-03-26 13:41Handle and skip comments at any position.Frederic Cambus1+5-0
2019-03-26 13:39Fix A and AAAA records count, don't mistake domains as RR types.Frederic Cambus1+2-2
2019-03-26 12:34Fix DS records count.Frederic Cambus1+1-1
2019-03-26 09:10Update README to mention where to find more TLD zone files to test the program.Frederic Cambus1+3-1
2019-03-26 09:09Add a comment showing how to generate the token for Coverity (Travis CI).Frederic Cambus1+1-0
2019-03-25 11:33Update README to mention tested platforms, and reflect reality.Frederic Cambus1+3-2
2019-03-25 11:18Correctly skip NSEC, NSEC3 and RRSIG records, we previously skipped domains.Frederic Cambus1+3-3
2019-03-25 11:17Count parsed tokens within a processed zone file line.Frederic Cambus1+4-1
2019-03-25 09:17Update TODO.Frederic Cambus1+1-0
2019-03-25 09:15Update documentation: add dependencies and building sections, update usage.Frederic Cambus1+18-4
2019-03-25 08:01Add Coverity Scan back to the pipeline, it's back up (Travis CI).Frederic Cambus1+16-0
2019-02-21 07:09Check if domain and previousDomain lengths are different.Frederic Cambus1+2-1
2019-02-15 12:04Check if rdata isn't NULL before attempting to use its value.Frederic Cambus1+8-6
2019-01-21 18:53Raise _POSIX_C_SOURCE value to 200809L, for strdup() visibility on glibc systems.Frederic Cambus1+1-1
2019-01-20 09:19Add .gitignore, to exclude the build directory.Frederic Cambus1+1-0
2019-01-20 09:18StatZone now uses pledge(2) on systems supporting it.Frederic Cambus5+24-1
2019-01-20 09:10Do not attempt to tokenize comments and directives.Frederic Cambus1+7-1
2019-01-16 14:45Remove Coverity Scan from the pipeline, it's down (Travis CI).Frederic Cambus1+0-16
2019-01-12 14:20Remove Coverity badge, it's down again.Frederic Cambus1+3-5
2019-01-09 21:37Print results on stdout instead of stderr.Frederic Cambus1+10-10
2019-01-09 20:54Count unique name servers.Frederic Cambus1+15-1
2019-01-07 14:33Add the badges for real, this time.Frederic Cambus1+2-0
2019-01-07 13:25Update README: remove Go mentions, and add badges for Travis CI and Coverity statuses.Frederic Cambus1+11-11
2019-01-06 20:53One more try at generating a correct token for Coverity (Travis CI).Frederic Cambus1+1-1
2019-01-06 20:45Update token for Coverity (Travis CI)Frederic Cambus1+1-1
2019-01-06 20:39Hook Coverity Scan to the build (Travis CI).Frederic Cambus1+16-0
2019-01-06 20:30Remove _XOPEN_SOURCE 700, it breaks the build on Linux.Frederic Cambus1+1-2
2019-01-05 23:26HASH_COUNT returns unsigned int, so change format specifier.Frederic Cambus1+1-1
2019-01-05 23:22Define _XOPEN_SOURCE 700, fixes 'strdup' implicit declaration on Linux.Frederic Cambus1+1-0
2019-01-05 23:19Define _POSIX_C_SOURCE 199309L, fixes 'clock_gettime’ implicit declaration on Linux.Frederic Cambus1+2-0
2019-01-05 23:15Add missing <sys/time.h> header.Frederic Cambus1+1-0
2019-01-05 23:10Try to install uthash from the Git repository (Travis CI).Frederic Cambus1+2-2
2019-01-05 22:24Initial Travis CI configuration file.Frederic Cambus1+11-0
2019-01-05 22:15Print analysis results as CVS values. We still need to count unique NS.Frederic Cambus1+12-1
2019-01-05 22:01Count unique domain names and unique IDN occurences.Frederic Cambus1+11-0
2019-01-05 21:35Update TODO, we are not using Go anymore.Frederic Cambus1+1-3
2019-01-05 20:28If we encounter a DS record, save the domain name in a hash table.Frederic Cambus1+17-1
2019-01-05 20:18If the first token isn't NULL, save the domain name.Frederic Cambus1+5-0
2019-01-04 14:56No need to use enumeration as we only have one property.Frederic Cambus1+1-3
2019-01-04 09:02Hook uthash to the build, will be used to count unique strings.Frederic Cambus2+8-2
2019-01-03 21:17Count number of occurences for A, AAAA, DS, and NS records.Frederic Cambus1+16-0
2019-01-03 21:14Stop tokenizing a line when we encounter NSEC, NSEC3, or RRSIG records.Frederic Cambus1+18-0
2019-01-03 21:10Tokenize each line of the zone file using strtok.Frederic Cambus1+11-2
2019-01-03 11:50Check that *lineBuffer is not NUL.Frederic Cambus1+1-1
2019-01-03 11:46Define timespecsub macro in compat.h if it doesn't exists.Frederic Cambus2+17-0
2019-01-03 11:42Add an initial CMakeLists.txt, we can now build the project.Frederic Cambus1+28-0
2019-01-03 11:41Add an strtolower() function, will be used to normalize RR types.Frederic Cambus2+45-0
2019-01-03 11:34Initial C version, only reading the file line by line for now.Frederic Cambus3+145-1
2017-05-20 11:49RR type is an encoded 16 bit valueFrederic Cambus1+2-2
2017-02-17 19:17StatDNS website is now HTTPS onlyFrederic Cambus2+3-3
2017-02-09 12:52Remove all Twitter mentionsFrederic Cambus2+0-2
2017-02-07 10:14Whitespace fixFrederic Cambus1+1-1
2017-02-03 11:10Do not display headerFrederic Cambus1+0-6
2017-02-03 11:10Bump copyright yearFrederic Cambus2+3-3
2017-02-03 11:10Use https URLs wherever possibleFrederic Cambus2+5-5
2017-02-03 11:09Formatting fixesFrederic Cambus3+18-18
2016-07-18 21:12Relicensed under the BSD 2-Clause licenseFrederic Cambus3+3-7
2016-07-18 21:11Removing extraneous charactersFrederic Cambus1+6-6
2016-07-18 11:50Remove THE REGENTS from LICENSEFrederic Cambus1+5-5
2016-01-18 10:40Documentation and TODO updatesFrederic Cambus2+5-2
2016-01-18 09:41Updating TODOFrederic Cambus1+5-2
2016-01-05 13:19Updating copyright in header + LICENSEFrederic Cambus2+6-5
2016-01-05 13:19Bye bye SourceForgeFrederic Cambus1+1-1
2015-08-10 20:53Gofmt -wFrederic Cambus1+2-2
2015-08-10 20:52Outputting name servers list + number of zones served for each name serverFrederic Cambus2+24-1
2015-08-10 20:38Adding TODOFrederic Cambus1+4-0
2015-08-10 20:38Documentation update (requirements, installation, usage)Frederic Cambus1+19-0
2015-08-09 11:35Check input parameters and show usage if no input file is specifiedFrederic Cambus1+12-5
2015-08-02 21:18Initial commitFrederic Cambus4+189-0