aboutsummaryrefslogtreecommitdiff
path: root/dns/dnsdbq
Commit message (Collapse)AuthorAgeFilesLines
* 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