aboutsummaryrefslogtreecommitdiff
path: root/dns/dnsdbq
Commit message (Collapse)AuthorAgeFilesLines
* dns/dnsdbq: Upgrade to version 2.6.4Don Lewis2022-09-154-41/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.6.1 - use 'zu' format string in deduper_dump() (#196) - ctype.h functions require int arguments. cygwin gcc enforces this. Update version to 2.6.1 * 2.6.2 - fix three memory leaks revealed by valgrind (#202) - see if we can remove the need for res_rcode() by changing the error path (#200) - use strtok_r() in preference to strsep(), for consistency and modernity (#203) - based on PR 204, refactor and comment for clarity (#205) * 2.6.3 - replace strtok_r() by new tokstr library - tokstr_h was a typo, thanks to codereview.stackexchange.com for finding it - attempt to work around gcc11 structure size checks (#207) - tokstr regions (#208) - Revised fix for issue 209: "error: unknown type ssize_t; did you mean _ssize_t?" (#211) - Can now build on Apple M1 processors by following the instructions (#212) - Clarify that not all macOS M1 machines have homebrew in the new /opt/homebrew location - Document again the HTTPS_PROXY environment variable * 2.6.4 - Issue 214: batch option parsing bug in tokstr library changes. (#215) Sponsored by: DomainTools
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-071-2/+0
| | | | | | | | | | Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)
* Add WWW entries to port MakefilesStefan Eßer2022-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
* dns/dnsdbq: Upgrade to version 2.6.0Don Lewis2021-11-213-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * change DCE text, per molloy@fsi.io * for clarity, init LCV within loop * "-p minimal" option outputs only the owner name or rdata, one per line and deduplicated; for use by shell scripts. * some lint fixed * return results must be checked * this branch allows a comma-separated list of rrtypes anywhere a single rrtype was allowed before. this will result in multiple parallel fetches from the API server, which reduces transaction latency at the expense of higher instantaneous load. the new functionality and documentation has been tested and reviewed by joe st sauver. * man page corrections * detect duplicate or overrun in rrtype sets * Document MAX_FETCHES variable Add post-release patch to fix build on i386 and others. Sponsored by: Farsight Security, Inc.
* dns/dnsdbq: upgrade to version 2.5.5Don Lewis2021-07-162-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | * clarify dnsdb is dnsdb2 and when to use dnsdb1 (#177) * clarify relationship of -c to -A/-B, in both main text and examples (#181) * dedup the PDNS JSON presentation (lookup vs. summarize) (#180) * add -0 option to test countoff() * shelter callers of countoff() from its recursive innards; change counted->nlabel * change counted->nlabel from size_t to int * if there are no alnums, cons up a "." string, in sortable_dnsname() * gcc-11 caught an if statement that needed curly brackets * cleanups Sponsored by: Farsight Security, Inc.
* dns/dnsdbq: Update to 2.5.4Don Lewis2021-04-192-4/+4
| | | | | | | - Add DNSDBQ_CONFIG_FILE environment variable below which can specify a different configuration file to use. Sponsored by: Farsight Security, Inc.
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Upgrade dns/dnsdbq to version 2.5.3:Don Lewis2021-03-122-6/+5
| | | | | | | | | | | | | | | | | * Removed probe feature. * Add note: not all passive DNS systems or versions of those system implement the same query features. * Remove unreached error msg * Renamed existing "dnsdb" system to be "dnsdb1". Made "dnsdb" be an alias for "dnsdb2". Restructured parts of the man page Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=568146
* Update dns/dnsdbq to version 2.5.2:Don Lewis2021-03-072-4/+4
| | | | | | | | | | | * fix assertion failure, ignore non-alnum chars for sorting * fix minor memory leaks Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=567541
* Upgrade dns/dnsdbq to 2.5.1:Don Lewis2021-03-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | * add zone times to datefix, add json to reverse, fix usage messages * remove some name-reversal debugging output; handle names which don"t end in dots * add "truncate" transform, clean up the "reverse" string arithmetic * Add missing trailing period and newline to the -8 usage text * retire APIKEY from the environment, allow it only in config file * remember when the system has been specified * change transform "truncate" to be called "chomp" * portability fixes Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=567404
* Upgrade dns/dnsdbq to version 2.4.0:Don Lewis2021-02-213-4/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Requires using an updated DNSDB API server. (2.3.0) * To use the new features, add the following line the ~/.dnsdb-query.conf file: (2.3.0) DNSDBQ_SYSTEM=dnsdb2 or add the command-line option -u dnsdb2 If you leave out that line, that command-line option, or use DNSDBQ_SYSTEM=dnsdb then dnsdbq will function as it previously did with DNSDB API version 1. * change DEFAULT_SYS from dnsdb to dnsdb2; adapt rest of system to cope (2.4.0) * add support to probe what pDNS systems the endpoint supports (2.4.0) * normalize DNSDB APIv2; rename encap_bare to encap_cof; incorporate encap into pdns_system; remove all encap inequality tests (2.4.0) Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=566207
* Upgrade dns/dnsdbq to version 2.2.1.Don Lewis2020-07-242-4/+4
| | | | | | | | | | | | | | | | | | * Summarize needs to never make two upstream queries * When adding O: to QPARAM_OPTS, it has to be removed from the other getopt options * Remove the strange deduplication logic that was never necy * Improve doc of relative form with explicit labels * Do not round upward for zone time durations, those are not sightings Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=543003
* Upgrade dns/dnsdbq to version 2.1.1:Don Lewis2020-03-252-4/+4
| | | | | | | | | | | | | * Fail if -r or -n argument is not 7 bit clean unless new -8 switch given. * Various changes that were inadvertently omitted from the 2.1.0 release. * Minor fixes. Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=529073
* Upgrade dnsdbq to version 2.1.0:Don Lewis2020-03-242-8/+6
| | | | | | | | | | | | | | | * Code reorganized in order to support new pdns systems (such as dnsdb2 * Many small improvements * Backwards compatible with older versions Fix PORTSCOUT. Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=529053
* Add LOCALBASE/share/man to the valid path for manpagesBaptiste Daroussin2020-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also compress manpages in this location. As a followup of a discussion which occured in 2017: https://lists.freebsd.org/pipermail/freebsd-arch/2017-March/018115.html And following: https://svnweb.freebsd.org/base?view=revision&revision=315053 and https://svnweb.freebsd.org/base?view=revision&revision=315142 All the supported FreeBSD version now supports share/man in manpath for LOCALBASE As a result the ports tree can now accept it for manpage, but more over migrate to this new path. Resulting in more consistency now the manpages in base and ports would be in the relative path (under share/) and a reduced amount of patching needed to port something to FreeBSD Note1: this has already be done for GNU info pages earlier Note2: due to the fact that for end user no functionnality will change during the migration of the manpages to the new location and to avoid massive rebuild of packages, it has been decided to not bump portrevision when migrating. Reviewed by: mat (portmgr) Differential Revision: https://reviews.freebsd.org/D23166 Notes: svn path=/head/; revision=523104
* Upgrade dns/dnsdbq to version 1.5.0:Don Lewis2019-12-202-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add -q and document -v * Use CURLOPT_PATH_AS_IS option if it is available * Correct -r to be "-r rrset". Correct batch rdata/ip to be "rdata/ip/ADDR[,PFXLEN]" * In man page: remove duplicate -v flag description. Move -q flag to be in alphabetical order * Change -R option to be a -N option. Add a new -R option that searches the left-hand-side. Reference dnstable-encoding(5) * fix no-newline-eof bug in -f for jonas; add -f -f support (verbose batching) * correct behaviour of -l and -L with respect to -f and -m * only call writer_fini() from the scope who called writer_init(), except in the my_exit() path * kill the sort on overcount * add error code and description to the -f -f ++ marker * fix abort in writer_status() by changing where "once" lives from reader to writer * fix no-newline-eof bug in -f; add -f -f support (verbose batching) * Change parsing -l and -L to use parse_long so it will catch parsing errors * Fix an assert * fix #90 with some warning and documentation changes * fix #89 by restructuring the validate_verb() system * fix #88 by better explaining text vs. dns formats * fix #87 by reorganizing some man page text * fix #86 by checking argument to -A and -B options * fix #83 by rewording the -k section of the man page * replace text for -A and -B options * improve documentation about interaction of -s/-S with -l/-L * fix #81 * improve documentation of -c to explain about -A + -B quota impact * time, not date * fix everything noted in #85 * document RRset (raw) query. document HEX better (#111) Restrict portscount to real release tags. Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=520453
* Upgrade dns/dnsdbq port to version 1.4.0.Don Lewis2019-10-032-4/+4
| | | | | | | Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=513681
* dns/dnsdbq: fix build on GCC architecturesPiotr Kubaj2019-09-191-5/+1
| | | | | | | | | Builds fine with GCC from ports. Approved by: mentors (implicit approval) Notes: svn path=/head/; revision=512374
* Mark ports broken on mips64 that are already broken on powerpc64. InMark Linimon2018-07-021-0/+2
| | | | | | | | | | | | most cases, the failure mode is the same. Also, mark them broken on mips when necessary. While here, pet portlint. Approved by: portmgr (tier-2 blanket) Notes: svn path=/head/; revision=473699
* Mark ports broken on powerpc64, categories d-f.Mark Linimon2018-06-181-0/+2
| | | | | | | | | While here, pet portlint and do some other cleanup. Approved by: portmgr (tier-2 blanket) Notes: svn path=/head/; revision=472670
* Upgrade dnsdbq to version 1.0.0:Don Lewis2018-03-172-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add positivity check for -l * avoid EPIPE from sort * catch the case where /bailiwick is specified for - * display usage errors without help text; instead, tell the user about the -h option * notice with -c is used without -A or -B * replace last remaining fgets with getline * correct and improve option-incompatibility testing * add -a for alternative server api prefixes, and -u for alternative server api syntax * remove some debugging code * remove layering violation in the 404 handling * allow error-body to span several tcp segments (writer_func calls) Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=464746
* New port dnsdb/dnsdbq.Don Lewis2018-02-153-0/+40
This is a pure C program that accesses the DNSDB API server at Farsight Security. An API key is required for operation. The command syntax was inspired by a python script called dnsdb_query, but significant departure has occured, largely inspired by a modern understanding of "time fencing" and a desire for new features such as CSV output and JSON reprocessing. Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=461859