Skip to content

Releases: dmachard/go-dnscollector

v1.2.0

15 Nov 17:12
e86a45a
Compare
Choose a tag to compare

If you find the project helpful, please consider supporting the project via monthly donation via GitHub Sponsors or simply add a star to this project.

What's Changed

  • feat: added ElasticSearch API basic authentication by @dmachard in #866
  • feat: add new jinja format settings in console and logfile by @dmachard in #856
  • fix: set go version in githubactions properly by @dmachard in #862
  • fix: dns parser - TLSA typo by @tomarcade in #860
  • fix #837 : file logger: compression is no more blocking by @dmachard in #854
  • fix #636 : file logger: no more block postrotate command by @dmachard in #855
  • chore(docs): update documentations by @dmachard in #861
  • chore(deps): bump github.com/tinylib/msgp from 1.2.2 to 1.2.3 by @dependabot in #858
  • chore(deps): bump github.com/prometheus/common from 0.60.0 to 0.60.1 by @dependabot in #857
  • chore(deps): bump github.com/tinylib/msgp from 1.2.3 to 1.2.4 by @dependabot in #863
  • chore(deps): bump github.com/fsnotify/fsnotify from 1.7.0 to 1.8.0 by @dependabot in #864

Bug reporters

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

23 Oct 19:51
b09de44
Compare
Choose a tag to compare

If you find the project helpful, please consider supporting the project via monthly donation via GitHub Sponsors or simply add a star to this project.

Highlights

This release introduces some fixes and increase performance with file logger.

What's Changed

  • feat: disable global telemetry by default + channel buffer size up to 8192 by @dmachard in #840
  • feat: file logger: reducing the frequency of disk writes by @dmachard in #841
  • feat: add arcount, nscount and ancount in json output #828 by @dmachard in #829
  • feat: lookup ECS ip on geoip transform #776 by @dmachard in #830
  • feat: prometheus logger: add new counter for dns messages operations by @dmachard in #852
  • feat: set go minimum version to 1.21 by @dmachard in #851
  • fix #849 : hang during shutdown with high load by @dmachard in #850
  • fix: invalid ingress counter for dnstap collector by @dmachard in #839
  • fix #831 : afpacket sniffer: fix deadlock on stop under load by @dmachard in #842
  • fix: error on dns decoder for response without question by @dmachard in #843
  • fix(doc): update transform_rewrite.md by @jpmens in #825
  • chore(deps): bump github.com/tinylib/msgp from 1.2.1 to 1.2.2 by @dependabot in #834
  • chore(deps): bump github.com/klauspost/compress from 1.17.9 to 1.17.11 by @dependabot in #824 #846
  • chore(deps): bump github.com/prometheus/client_golang from 1.20.3 to 1.20.5 by @dependabot in #823 #847
  • chore(deps): bump golang.org/x/net from 0.29.0 to 0.30.0 by @dependabot in #832
  • chore(deps): bump github.com/prometheus/common from 0.59.1 to 0.60.0 by @dependabot in #833
  • chore(deps): bump golang from 1.23.1-alpine3.19 to 1.23.2-alpine3.19 by @dependabot in #835
  • chore(deps): bump github.com/grafana/loki/v3 from 3.2.0 to 3.2.1 by @dependabot in #848
  • chore(deps): bump google.golang.org/protobuf from 1.34.2 to 1.35.1 by @dependabot in #844

Bug reporters

New Contributors

Full Changelog: v1.0.0...v1.1.0

v1.0.0

23 Sep 15:03
f7a6a72
Compare
Choose a tag to compare

If you find the project helpful, please consider supporting the project via monthly donation via GitHub Sponsors or simply add a star to this project.

Highlights

The release is the first stable release with great new features.

What's Changed

  • feat: log malformed packet enabled by default by @dmachard in #819
  • feat: build with go1.23 by @dmachard in #818
  • feat: add tests for matching feature with pipeline mode by @dmachard in #797
  • feat: convert latency field to float + new advanced example by @dmachard in #758
  • feat: support round robin partitionner for kafka producer by @dmachard in #759 #809
  • feat: update README.md and remove beta code warning by @dmachard in #755
  • feat: add rewrite transform + quote some text directives by @dmachard in #756
  • feat: update normalize transform to replace non printable characters by @dmachard in #754
  • feat: add custom text format with jinja templating by @dmachard in #748
  • feat: enhanced text-format with raw text by @peterand-pa in #609
  • feat: move docker config to pipelines by @dmachard in #757
  • fix: matching with arrays failed with dnsmessage collector by @dmachard in #797
  • fix: decode properly dynamic/update dns queries by @dmachard in #819
  • chore(deps): bump to loki 3.2 by @dmachard in #742 #768 #782 #817
  • chore(docs): update README.md by @dmachard in #760
  • chore(deps): bump github.com/Azure/sdk/azidentity from 1.5.1 to 1.6.0 by @dependabot in #743
  • chore(deps): update unbound and pdns-recursor version in CI by @dmachard in #765
  • chore(deps): bump github.com/prometheus/common from 0.48.0 to 0.59.1 by @dependabot in #726 #762 #806
  • chore(deps): bump github.com/miekg/dns from 1.1.59 to 1.1.62 by @dependabot in #744 #788
  • chore(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by @dependabot in #745
  • chore(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by @dependabot in #746
  • chore(deps): bump alpine from 3.20.0 to 3.20.3 by @dependabot in #752 #778 #802
  • chore(deps): bump prometheus from 0.51.0 to 0.54.1 by @dependabot in #751 #773 #781 #794
  • chore(deps): bump github.com/dmachard/go-dnstap-protobuf from 1.0.1 to 1.0.2 by @dependabot in #750
  • chore(deps): bump github.com/oschwald/maxminddb-golang from 1.13.0 to 1.13.1 by @dependabot in #761
  • chore(deps): bump golang.org/x/net from 0.26.0 to 0.28.0 by @dependabot in #767 #780
  • chore(deps): bump golang.org/x/sys from 0.22.0 to 0.25.0 by @dependabot in #779 #783 #803
  • chore(deps): bump github.com/IBM/sarama from 1.43.2 to 1.43.3 by @dependabot in #787
  • chore(deps): bump github.com/creasty/defaults from 1.7.0 to 1.8.0 by @dependabot in #789
  • chore(deps): bump github.com/cilium/ebpf from 0.15.0 to 0.16.0 by @dependabot in #777
  • chore(deps): bump github.com/tinylib/msgp from 1.1.9 to 1.2.1 by @dependabot in #766 #804
  • chore(deps): bump golang from 1.22.4-alpine3.19 to 1.22.6-alpine3.19 by @dependabot in #770 #784
  • chore(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 by @dependabot in #772
  • chore(deps): bump github.com/prometheus/client_golang from 1.19.1 to 1.20.3 by @dependabot in #805

Bug reporters

New Contributors

Full Changelog: v0.46.0...v1.0.0

v0.46.0

14 Jun 15:21
f495c3c
Compare
Choose a tag to compare

If you find the project helpful, please consider supporting the project via monthly donation via GitHub Sponsors or simply add a star to this project.

Highlights

The release is the last one before the first stable release. In the meantime, this release introduces some great features:

  • Some new global metrics to follow your pipeline performance and dropped packets.
  • The multiplexer configuration mode is marked as DEPRECATED.
    Please to update your config with pipelines definition.
  • The memory usage of the tool has been reduced.

What's Changed

  • feat: add integration examples with Loki, Prometheus and InfluxDB by @dmachard in #740
  • feat: new global settings for default buffer size set to 4096 instead of 65535 by @dmachard in #739
  • feat: add global telemetry #641 #512 by @dmachard in #724
  • feat: mark as deprecated the multiplexer mode by @dmachard in #719
  • feat: add pid file support by @dmachard in #723
  • fix(regression): dnstap files with ingestor not properly processed by @dmachard in #732
  • fix: invalid error message with config checker by @dmachard in #733
  • chore(deps): bump github.com/oschwald/maxminddb-golang from 1.12.0 to 1.13.0 by @dependabot in #725
  • chore(deps): bump golang from 1.22.3-alpine3.19 to 1.22.4-alpine3.19 by @dependabot in #734
  • chore(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by @dependabot in #735
  • chore(deps): bump goreleaser/goreleaser-action from 5 to 6 by @dependabot in #730
  • chore(deps): bump golang.org/x/net from 0.25.0 to 0.26.0 by @dependabot in #736
  • chore(deps): bump alpine from 3.19.1 to 3.20.0 by @dependabot in #721

Bug reporters

Full Changelog: v0.45.0...v0.46.0

v0.45.0

26 May 08:02
ee45e33
Compare
Choose a tag to compare

If you find the project helpful, please consider supporting the project via monthly donation via GitHub Sponsors or simply add a star to this project.

Highlights

The focus of this update is again bug fixes and code factoring to prepare future stable release.

What's Changed

  • fix: support properly yaml tag flow in config checker by @dmachard in #716
  • fix: to avoid deadlock on stop with the XDP sniffer by @dmachard in #712
  • chore(docs): add missing docs and tests for dnsmessage collector by @dmachard in #717
  • chore(refactor): redesign transformers by @dmachard in #715
  • chore(refactor): use external default library to set default values in config by @dmachard in #714
  • chore(refactor): remove xdp and pkgutils packages by @dmachard in #710
  • chore(refactor): use external go-netutils library by @dmachard in #713 @dmachard in #709
  • chore(refactor): remove processors package by @dmachard in #704
  • chore(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 by @dependabot in #706
  • chore(deps): bump golang from 1.22.2-alpine3.19 to 1.22.3-alpine3.19 by @dependabot in #707
  • chore(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.1 by @dependabot in #697
  • chore(deps): bump golangci/golangci-lint-action from 5 to 6 by @dependabot in #700
  • chore(deps): bump github.com/cilium/ebpf from 0.14.0 to 0.15.0 by @dependabot in #698
  • chore(deps): bump github.com/dmachard/go-clientsyslog from 0.3.0 to 0.4.0 by @dependabot in #705
  • chore(deps): bump github.com/IBM/sarama from 1.43.1 to 1.43.2 by @dependabot in #699

Full Changelog: v0.44.0...v0.45.0

v0.44.0

10 May 07:43
53cfdf3
Compare
Choose a tag to compare

If you find the project helpful, please consider supporting the project via monthly donation via GitHub Sponsors or simply add a star to this project.

Highlights

The focus of this update is on maintenance to prepare future stable release

  • Fixed support for IP fragments with AFPACKET sniffer.
  • Major code refactoring of the base code.
  • Completely redesigned the configuration checker.

What's Changed

  • feat: support IP defrag on afpacket sniffer by @dmachard in #691
  • feat: redesign config checker to support freeform keys by @dmachard in #678
  • feat: add Scalyr defaults by @pieterlexis-tomtom in #677
  • fix: quick fix to avoid panic with fragmented packet by @dmachard in #684
  • fix: kafka - add missing textformat setting by @dmachard in #694
  • chore(refactor): major code refactoring and cleanup by @dmachard in #667 #702 #696 #701
  • chore(deps): bump github.com/klauspost/compress from 1.17.7 to 1.17.8 by @dependabot in #680
  • chore(deps): bump golangci/golangci-lint-action from 4 to 5 by @dependabot in #692
  • chore(deps): bump github.com/miekg/dns from 1.1.58 to 1.1.59 by @dependabot in #687
  • chore(deps): bump github.com/dmachard/go-dnstap-protobuf from 1.0.0 to 1.0.1 by @dependabot in #688
  • chore(deps): bump github.com/dmachard/go-powerdns-protobuf from 1.1.0 to 1.1.1 by @dependabot in #689

Bug reporters

Full Changelog: v0.43.0...v0.44.0

v0.43.0

12 Apr 06:50
0267e3b
Compare
Choose a tag to compare

If you find the project helpful, please consider supporting the project via monthly donation via GitHub Sponsors or simply add a star to this project.

Highlights

This release introduces some great features

What's Changed

  • feat: transform: normalize lowercase RR's by @dmachard in #665
  • feat: build with golang 1.22 and 1.20 support removed by @dmachard in #660
  • feat: added Clickhouse Logger by @zunnurainbadar in #349
  • feat: add compression support on DNSTap client and server by @dmachard in #538
  • feat: new relabeling transform by @dmachard in #645
  • fix: relabel-config error in loki client by @dmachard in #664
  • chore(docs): add more docs for the atags transformer by @dmachard in #656 #659
  • chore(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0 by @dependabot in #651
  • chore(deps): bump golang.org/x/net from 0.21.0 to 0.22.0 by @dependabot in #652
  • chore(deps): bump Loki to v2.9.6
  • chore(refactor): code cleanup on transformers by @dmachard in #666

New Contributors

Bug reporters

Full Changelog: v0.42.0...v0.43.0

v0.42.0

19 Mar 19:07
94e02da
Compare
Choose a tag to compare

If you find the project helpful, please consider supporting the project via monthly donation via GitHub Sponsors or simply add a star to this project.

Highlights

This release introduces some important bug fixes (memory leak) and minor features

  • Fix memory leak with ElasticSearch logger, thank to @misaki-kawakami to report that.
  • Optimizations to reduce CPU usage, more particularly for flat-json
  • Add support for query-zone field on DNStap collector

What's Changed

  • feat: decode dns class on queries and replies by @dmachard in #635
  • feat: more docs for kafka and fluentd loggers, change channel buffer to 4096 by @dmachard in #637 #639
  • feat: normalize transformer: add icann managed flag in dnsmessage by @dmachard in #640
  • feat: refactor to optimize dnsmessage model by @dmachard in #632
  • feat: dnstap collector: decode query zone field by @dmachard in #621
  • feat: dnstap collector: ignore empty raw dns payload by @dmachard in #622
  • fix: elasticsearch: release buffer properly to avoid memory leaks by @dmachard in #630 #644
  • fix: build to support 32b platform by @dmachard in #620
  • chore(deps): bump github.com/klauspost/compress from 1.17.6 to 1.17.7 by @dependabot in #625
  • chore(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #633
  • chore(deps): bump golang.org/x/sys from 0.16.0 to 0.17.0 by @dependabot in #606
  • chore(deps): bump golang.org/x/net from 0.20.0 to 0.21.0 by @dependabot in #607
  • chore(deps): bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by @dependabot in #616
  • chore(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by @dependabot in #647
  • chore(deps): bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 by @dependabot in #648
  • chore(ci): add timeout in github actions tests by @dmachard in #623
  • chore(ci): add bench-go github actions by @dmachard in #638
  • chore(ci): bump softprops/action-gh-release from 1 to 2 by @dependabot in #646

Bug reporters

Full Changelog: v0.41.0...v0.42.0

v0.41.0

21 Feb 10:24
ea96326
Compare
Choose a tag to compare

If you find the project helpful, please consider supporting the project via monthly donation via GitHub Sponsors or simply add a star to this project.

Highlights

This release introduces some new features and bug fixes.

What's Changed

  • feat: add doh3 http version field support and test for DoQ by @dmachard in #610
  • feat: add peer name text-format directive by @dmachard in #608
  • feat: add configuration examples for pipeline mode by @dmachard in #599
  • feat: add DNStap policy support by @dmachard in #593 #530
  • feat: add RPZ policy details with powerdns protobuf by @dmachard in #590 #572
  • feat: expose dns id in json model by @dmachard in #586
  • feat: detect and exit on error with invalid text directives by @dmachard in #576
  • fix: fluentd: remove msgpack lib and duplicates entries #611 by @dmachard in #612
  • fix: add missing rd and cd flags in json model by @dmachard in #589
  • fix: dnstap collector: stuck on stop can be possible in specific situation by @dmachard in #597
  • fix: syslog logger - fix protocol wrong type for unix socket by @dmachard in #598
  • chore(docs): add documentation to use docker-compose by @dmachard in #563
  • chore(docs): update makefile and docs by @dmachard in #604
  • chore(deps): bump golangci/golangci-lint-action from 3 to 4 by @dependabot in #603
  • chore(deps): bump alpine from 3.19.0 to 3.19.1 by @dependabot in #577
  • chore(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 by @dependabot in #579
  • chore(deps): bump github.com/klauspost/compress from 1.17.4 to 1.17.6 by @dependabot in #596
  • chore(deps): bump github.com/dmachard/go-topmap from 0.5.0 to 1.0.0 by @dependabot in #580
  • chore(deps): bump github.com/dmachard/go-powerdns-protobuf from 1.0.0 to 1.1.0 by @dependabot in #578

Full Changelog: v0.40.2...v0.41.0

Bug reporters

v0.40.2

28 Jan 20:20
a0ceb9f
Compare
Choose a tag to compare

If you find the project helpful, please consider supporting the project via monthly donation via GitHub Sponsors or simply add a star to this project.

What's Changed

  • fix(major): patch to avoid deadlock situations in multiplexer mode - regression by @dmachard in #569
  • fix(minor): detect invalid logger type in configuration file by @dmachard in #573
  • fix(minor): add tests to check and avoid deadlocks with pipeline mode by @dmachard in #571
  • chore(deps): bump github.com/segmentio/kafka-go from 0.4.46 to 0.4.47 by @dependabot in #517
  • chore(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 by @dependabot in #518
  • chore(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 by @dependabot in #519
  • chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0 by @dependabot in #524
  • chore(deps): clean security code scanning and some dependencies by @dmachard in #554
  • chore(deps): bump Loki to v2.9.3 by @dmachard in #555 #556
  • chore(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0 by @dependabot in #559
  • chore(deps): bump github.com/dmachard/go-framestream from 0.7.0 to 0.10.0 by @dependabot in #560
  • chore(deps): bump github.com/miekg/dns from 1.1.57 to 1.1.58 by @dependabot in #561
  • chore(deps): bump github.com/prometheus/common from 0.45.0 to 0.46.0 by @dependabot in #558

Full Changelog: v0.40.0...v0.40.2