Commit Graph

7 Commits

Author SHA1 Message Date
Don Lewis e631c689ee Upgrade dns/dnsdbq to version 2.2.1.
* 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.
2020-07-24 06:21:08 +00:00
Don Lewis e2c0f7e5bc Upgrade dns/dnsdbq to version 2.1.1:
* 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.
2020-03-25 02:43:21 +00:00
Don Lewis 6ca1d11b19 Upgrade dnsdbq to version 2.1.0:
* 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.
2020-03-24 17:15:35 +00:00
Don Lewis 0238f91b09 Upgrade dns/dnsdbq to version 1.5.0:
* 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.
2019-12-20 00:02:18 +00:00
Don Lewis 91f760e546 Upgrade dns/dnsdbq port to version 1.4.0.
Sponsored by:	Farsight Security, Inc.
2019-10-03 18:05:46 +00:00
Don Lewis d576258263 Upgrade dnsdbq to version 1.0.0:
* 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.
2018-03-17 01:27:47 +00:00
Don Lewis 1428bd76b4 New port dnsdb/dnsdbq.
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.
2018-02-15 06:56:11 +00:00