Proto commits in PowerDNS/pdns

These 60 commits are when the Protocol Buffers files have changed:

Commit:a5458c5
Author:Charles-Henri Bruyand
Committer:Charles-Henri Bruyand

dnsdist: add support for dnstap new http_protocol field

The documentation is generated from this commit.

Commit:920eef2
Author:Otto Moerbeek

Process comments from review: - rename needECS to needEDNSParse - remove lookForECS in getQNameAndSubnet - extend test to include packet cache hit case - take new dnsmessage.proto form dnsmessage repo

Commit:deff21b
Author:Otto Moerbeek
Committer:Otto Moerbeek

Use new fields in dnsmessage.proto

Commit:7968a0e
Author:Otto Moerbeek
Committer:GitHub

Typo in comment Co-authored-by: Remi Gacogne <github@coredump.fr>

Commit:6f5cb02
Author:Otto Moerbeek
Committer:Otto Moerbeek

rec: add a few more fields to the protobuf messages Implements #13020 If/when this is merged, do not forget to update https://github.com/PowerDNS/dnsmessage/blob/master/dnsmessage.proto

Commit:8b3639c
Author:Charles-Henri Bruyand
Committer:Charles-Henri Bruyand

dnsmessage.proto: fix naming consistency

Commit:a261cde
Author:Charles-Henri Bruyand
Committer:Charles-Henri Bruyand

dnsdist: properly set protocol for dnstap and protobuf logging when using DoQ or DoH3

Commit:bbdea07
Author:Otto

Add LuaPostResolveFFI enum to dnsmessage.proto

Commit:2df9ed2
Author:Remi Gacogne

Update our protocol buffer message definitions to include more protocols Proposed upstream: https://github.com/PowerDNS/dnsmessage/pull/5

Commit:7b61b55
Author:Remi Gacogne

Update the dnstap message to include more transports

Commit:18594f4
Author:Otto

Sync with https://github.com/PowerDNS/dnsmessage

Commit:b090b7c
Author:Otto

whitespace in dnsmessage.proto

Commit:65ee1fc
Author:Otto
Committer:Otto

Comments in .proto file

Commit:ade7a5e
Author:Otto
Committer:Otto

Process review comments: move semantics, more general event names and re-adjust timebase if an event is added before the current base.

Commit:f5b1d3b
Author:Otto
Committer:Otto

Allow for a custom eventtype, with a user-specified name

Commit:7705bec
Author:Otto
Committer:Otto

Move timestamps to a signed type

Commit:4cdc62f
Author:Otto
Committer:Otto

Start of protobuf handling

Commit:3d29bc4
Author:Remi Gacogne
Committer:GitHub

Merge pull request #10537 from rgacogne/ddist-exact-protocol-in-dq dnsdist: Carry the exact incoming protocol (Do53, DNSCrypt, DoT, DoH) in DQ

Commit:634dd69
Author:Charles-Henri Bruyand
Committer:Charles-Henri Bruyand

recursor: lua ffi, add support for setting arbitrary key-value metadata

Commit:4b0530d
Author:Remi Gacogne
Committer:Remi Gacogne

Update dnstap.proto

Commit:eba7c91
Author:Peter van Dijk
Committer:GitHub

Merge pull request #10104 from Habbie/sync-dnsmessage update dnsmessage.proto from upstream

Commit:2232e61
Author:Otto

Zap TA and NTA enum values, they are for internal use only

Commit:2e62715
Author:Otto
Committer:Otto

Add validation state to protobuf message. Fixes #8587.

Commit:e09276b
Author:Peter van Dijk

dnsmessage.proto: fix whitespace

Commit:a46fcb5
Author:Peter van Dijk
Committer:Peter van Dijk

dnsmessage.proto: Add PBDNSMessageList wrapper for repeated PBDNSMessages (taken from https://github.com/PowerDNS/dnsmessage/commit/741fb7ffcd968070a28a407b3a87b8abc7a578e0 )

Commit:12152c8
Author:Nicolas Dehaine
Committer:Nicko Dehaine

Use an enum for Policy Kind

Commit:8359448
Author:Nicolas Dehaine
Committer:Nicko Dehaine

Add Policy Kind to Response Protobuf message Closes #9653

Commit:d47fca7
Author:Konrad Wojas
Committer:Konrad Wojas

dnsmessage.proto: make CC0 Public Domain

Commit:7f60444
Author:Otto Moerbeek
Committer:Otto Moerbeek

Also record the value that caused a hit. For triggers fomr rpz zones it makes sense to store them as listed there. For hit values (names or IPs) it makes more sense to store them in the regular string value and not list them as rpz trigger format. e.g.: a trigger is listed 24.0.2.0.192.rpz-ip.rpz.local. A corresponding hit as 192.0.2.1

Commit:b5892cf
Author:Otto Moerbeek
Committer:Otto Moerbeek

Log trigger in protobuf message

Commit:ef2ea4b
Author:Josh Soref
Committer:Peter van Dijk

spelling: [API] deserialize spelling: across spelling: acted spelling: added spelling: address spelling: advantageous spelling: against spelling: algorithms spelling: answers spelling: authoritative spelling: availability spelling: boundaries spelling: boundary spelling: cannot spelling: canonical spelling: capability spelling: choices spelling: combination spelling: comboring spelling: comparison spelling: constraints spelling: constructor spelling: contain spelling: convenience spelling: current spelling: delegation spelling: dependency spelling: distribution spelling: doesnotexist spelling: dropping spelling: everything spelling: example spelling: existence spelling: explicitly spelling: extremely spelling: from spelling: housekeeping spelling: idonotexist spelling: ipfilter spelling: issuing spelling: logging spelling: message spelling: method spelling: modified spelling: must spelling: name spelling: negative spelling: obtaining spelling: occurred spelling: omitted spelling: overridden spelling: password spelling: policy spelling: positives spelling: possibility spelling: preresolve spelling: probabilistic spelling: prohibitively spelling: protocol spelling: provider spelling: public spelling: repeatedly spelling: repositories spelling: responding spelling: response spelling: several spelling: should spelling: sizing spelling: supplied spelling: support spelling: synthesized spelling: the spelling: transaction spelling: usually spelling: visitor

Commit:7d2a6e3
Author:Remi Gacogne
Committer:Otto Moerbeek

dnsdist: Add the source and destination ports to the protobuf msg (cherry picked from commit 36de33306ac5bfa4f55e26975f35fb35a90914da)

Commit:36de333
Author:Remi Gacogne

dnsdist: Add the source and destination ports to the protobuf msg

Commit:ea4aa15
Author:Charles-Henri Bruyand
Committer:Otto Moerbeek

recursor: add new deviceName field to the dnsmessage protobuf export (cherry picked from commit 0a6a45c8545f86a668003f453b38177308f5aff5)

Commit:4710324
Author:Otto Moerbeek
Committer:GitHub

Merge branch 'master' into rec-outgoing-timeouts

Commit:0a6a45c
Author:Charles-Henri Bruyand
Committer:Charles-Henri Bruyand

recursor: add new deviceName field to the dnsmessage protobuf export

Commit:57f8413
Author:Remi Gacogne

rec: Export a protobuf incoming response message for timeouts

Commit:6d89551
Author:Remi Gacogne
Committer:Remi Gacogne

rec: Export the server ID in protobuf messages (cherry picked from commit c165308b66fcaf6bd2517afa165a27027e5919ad)

Commit:d639900
Author:Neil Cook
Committer:Neil Cook

Add NOD and UDR to Protobuf Logs - Add newly observed domain flag to DNS Message protobuf definition - Add unique dns response flag to RRs in DNS Message Response definition - Utility methods to manipulate new flags in Protobuf messages

Commit:c165308
Author:Remi Gacogne

rec: Export the server ID in protobuf messages

Commit:a49ce70
Author:Erik Winkels

Add syntax to dns.proto to silence compilation warning.

Commit:82a91dd
Author:Chris Hofstaedtler
Committer:Chris Hofstaedtler

Add dnstap-compatible protobuf support to dnsdist. Based on a PR by Justin Valentini <jvalentini@dyn.com>.

Commit:b6113e6
Author:Peter van Dijk
Committer:GitHub

Merge pull request #5646 from neilcook/deviceid Support for identifying devices by id such as mac address

Commit:590388d
Author:Neil Cook

Support for identifying devices by id such as mac address

Commit:f3da83f
Author:Remi Gacogne

rec: Log the policy type (QName, Client IP, NS IP...) over protobuf

Commit:1455a02
Author:Remi Gacogne
Committer:Peter van Dijk

Specify that dnsmessage.proto uses protobuf version 2 Recent proto-c versions are complaining loudly otherwise.

Commit:7a2a645
Author:Remi Gacogne
Committer:Remi Gacogne

rec: Log outgoing queries / incoming responses via protobuf (cherry picked from commit 4898a34807043c2af442ef983f9ef45e0b473651)

Commit:4898a34
Author:Remi Gacogne
Committer:Remi Gacogne

rec: Log outgoing queries / incoming responses via protobuf

Commit:bc4a08d
Author:Remi Gacogne
Committer:Remi Gacogne

Specify that dnsmessage.proto uses protobuf version 2 Recent proto-c versions are complaining loudly otherwise. (cherry picked from commit 2e14d4bbf6549c70e3422b315287bc69bfe398dd)

Commit:2e14d4b
Author:Remi Gacogne

Specify that dnsmessage.proto uses protobuf version 2 Recent proto-c versions are complaining loudly otherwise.

Commit:0170a3b
Author:Remi Gacogne
Committer:Remi Gacogne

Add requestorId and some comments to the protobuf definition file (cherry picked from commit 0caa1aa850208caf18924b49e5be5ca7cdbf0515)

Commit:0caa1aa
Author:Remi Gacogne

Add requestorId and some comments to the protobuf definition file

Commit:1247184
Author:Pieter Lexis
Committer:Pieter Lexis

Standardize license text in all PDNS files

Commit:58307a8
Author:Remi Gacogne

Add protobuf fields for the query's time in the response This way it's possible to compute the latency by looking only at the response message. Implemented for: * dnsdist * dnspcap2protobuf * ProtobufLogger.py * rec

Commit:667f6c7
Author:Remi Gacogne

rec: Manage the applied policy and tags from pre/post resolve hooks This adds a `appliedPolicy` string member to the dq object, along with new methods: * `addPolicyTag(string)` * `setPolicyTags(table of strings)` * `getPolicyTags()` A new repeated (ie, {0,n}) `tags` is added to our protobuf responses.

Commit:e824728
Author:Remi Gacogne

protobuf: add an "originalRequestorSubnet" field

Commit:aa7929a
Author:Remi Gacogne
Committer:Remi Gacogne

rec: Add protobuf support

Commit:d8c19b9
Author:Remi Gacogne
Committer:Remi Gacogne

WIP: dnsdist: Add a hackish protobuf over TCP log exporter

Commit:c091afe
Author:Kees Monshouwer
Committer:mind04

remove unreferenced files from source tree for FILE in $(git ls-files pdns/*); do git grep $(basename "$FILE") > /dev/null || echo "would remove $FILE" done

This commit does not contain any .proto files.

Commit:073be81
Author:Bert Hubert

Google Protocol Buffers coming to PowerDNSSEC for transporting records & signatures git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1973 d19b8d6e-7fed-0310-83ef-9ca221ded41b