./net/statzone, DNS zone file analyzer targeted at TLD zones

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.1.0, Package name: statzone-1.1.0, Maintainer: fcambus

StatZone is a DNS zone file analyzer targeted at TLD zones.

After analyzing a zone, it returns counts for: IPv4 and IPv6 glue records,
NS records (total and uniques), DS records, DNSSEC signed domains, IDNs
domains, and total number of domains.


Required to build:
[pkgtools/cwrappers] [devel/uthash]

Master sites:

SHA1: 5cd1a7f783afe5ca022e273febef820cb39614e6
RMD160: b80628797ca0860dfa0d1d6d042034135c5d76d2
Filesize: 18.066 KB

Version history: (Expand)


CVS history: (Expand)


   2021-04-01 18:07:32 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
statzone: update to 1.1.0.

StatZone 1.1.0 (2021-04-01)

- Remove "USAGE:" prefix when displaying usage information
- Add missing periods when displaying options in usage(), sync README
- StatZone is now a C++ project and requires a C++11 compiler
- Use std::unordered_set instead of uthash to count unique strings
- Remove now unneeded dependency on uthash
- Use std::chrono to calculate elapsed time in summary()
- Remove now unneeded timespecsub macro in compat header
- Remove now unneeded CLOCK_MONOTONIC fallback macro in compat header
- Use iostream to output CSV values
- Start using std::string for domain and previous_domain
- Remove now unused error() function
- Use std::basic_string::compare instead of strncmp(3)
- Add a signal handler for SIGINFO, wrapping summary()
- Remove pledge() support and get rid of the compat directory entirely
- Bump CMake minimum required version to 2.8.12
   2021-02-08 21:38:23 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
statzone: update to 1.0.5.

StatZone 1.0.5 (2021-02-08)

- Stop forcing FORTIFY_SOURCE level 2, it should be package builders decision
- Remove hardcoded program name in the manual page
- Rename displayUsage() and displaySummary() to usage() and summary()
- Get rid of most global variables, move all declarations to main()
- Remove dead increments for argc and argv
- Refactor things to check earlier on if *lineBuffer is not NUL
- Refactor the domain comparison checks, allows removing strdup("") call
- Add an error() function to wrap errx() calls
- Check malloc() and strdup() return value and error out on failed allocations
- Group and initialize uthash struct declarations
- Free previous_domain to appease Clang's static analyzer
   2020-10-19 18:03:21 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
statzone: update to 1.0.4.

StatZone 1.0.4 (2020-10-19)

- Add support for seccomp on arm
- Update error message to use seccomp architecture names
- Improve experimental seccomp support mention in the README
- Make displayUsage() and displaySummary() static
- Set CMAKE_BUILD_TYPE to "Release" in CMakeLists.txt
- Enable FORTIFY_SOURCE level 2
   2020-07-06 17:26:46 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
statzone: update to 1.0.3.

StatZone 1.0.3 (2020-07-06)

- Remove some unneeded seccomp related includes
- Validate architectures for seccomp
- Add seccomp support on i386, tested on glibc and musl
- Use __NR_ instead of SYS_ prefix in #if defined checks
   2020-06-10 19:43:37 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
statzone: update to 1.0.2.

StatZone 1.0.2 (2020-06-10)

- Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available
- Remove unneeded <sys/select.h> include
- Define _GNU_SOURCE in CMakeLists.txt to avoid cluttering source files
- Allow the openat and write syscalls, they are used on glibc systems
- No need to set HAVE_SECCOMP to 1, defining it is enough
- Introduce the displaySummary() function, and use it to print summary
- Move elapsed time calculation in the displaySummary() function
- Add a signal handler for SIGINFO, to display progression on
  supported platforms
- Do not use intermediate variable to calculate elapsed time
- Remove now useless runtime member from the results structure
   2020-05-08 11:32:41 by Frederic Cambus | Files touched by this commit (4)
Log message:
net/statzone: import statzone-1.0.1.

StatZone is a DNS zone file analyzer targeted at TLD zones.

After analyzing a zone, it returns counts for: IPv4 and IPv6 glue records,
NS records (total and uniques), DS records, DNSSEC signed domains, IDNs
domains, and total number of domains.