Files
coredns/plugin
Yuheng 90d55611a2 Plugin dnstap: add support for "extra" field in payload (#6226)
* dnstap: add 'extra' field

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: add setup_test for 'extra' field

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* udnstap: update document and test

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: update setup_test for more coverage

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: add TapMessageWithMetadata function to Dnstap

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: adapt dnstap and forward plugins to use TapMessageWithMetadata

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* change TapMessageWithMetadata function

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* tab inconsistency fix

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* fix replacer to support empty state

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* add replacer test for empty status parameter

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: update unit test for 'extra' field

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* clean up code

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* gofmt fix & static analysis fix

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: refactor

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

---------

Signed-off-by: chenyuheng <chenyuheng99@qq.com>
2023-08-14 11:01:13 -07:00
..
2023-08-10 11:06:48 -04:00
2023-08-10 11:06:48 -04:00
2022-07-10 11:06:33 -07:00
2022-07-10 11:06:33 -07:00
2022-05-30 10:29:34 +00:00
2020-11-05 15:02:07 +01:00
2022-07-10 11:06:33 -07:00
2022-07-10 11:06:33 -07:00
2023-04-25 11:24:49 -04:00
2023-08-10 11:06:48 -04:00
2023-08-10 11:06:48 -04:00
2022-09-17 09:59:47 -04:00
2019-08-24 18:14:25 +00:00
2018-07-19 16:23:06 +01:00
2022-07-10 11:06:33 -07:00
2020-09-24 18:14:41 +02:00