Commit Graph

7 Commits

Author SHA1 Message Date
Alexandru Ardelean 3b680cc166 coredns: fix netlink compat for wgsd plugin
wgsd (WireGuard Service Discovery plugin) pulls in
golang.zx2c4.com/wireguard/wgctrl -> mdlayher/genetlink v1.2.0 ->
mdlayher/netlink v1.6.2. This version of netlink calls
mdlayher/socket's Sendmsg/Recvmsg with the old API signatures
(pre-context.Context, single-return-value Sendmsg), but coredns
itself requires mdlayher/socket v0.5.1 which changed these
signatures to include context.Context and return (int, error).

Add a go get step that upgrades netlink to v1.7.2 after the wgsd
plugin dependencies are pulled in, ensuring the build uses a
netlink version compatible with socket v0.5.x.

Should fix:
  https://downloads.openwrt.org/snapshots/faillogs/i386_pentium-mmx/packages/coredns/compile.txt

```
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:105:9: too many return values
	have (int, error)
	want (error)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:105:35: not enough arguments in call to c.s.Sendmsg
	have ([]byte, nil, *"golang.org/x/sys/unix".SockaddrNetlink, number)
	want (context.Context, []byte, []byte, "golang.org/x/sys/unix".Sockaddr, int)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:116:9: too many return values
	have (int, error)
	want (error)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:116:33: not enough arguments in call to c.s.Sendmsg
	have ([]byte, nil, *"golang.org/x/sys/unix".SockaddrNetlink, number)
	want (context.Context, []byte, []byte, "golang.org/x/sys/unix".Sockaddr, int)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:127:42: not enough arguments in call to c.s.Recvmsg
	have ([]byte, nil, number)
	want (context.Context, []byte, []byte, int)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:142:41: not enough arguments in call to c.s.Recvmsg
	have ([]byte, nil, number)
	want (context.Context, []byte, []byte, int)
github.com/aws/aws-sdk-go-v2/aws/protocol/query
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding
github.com/aws/smithy-go/private/requestcompression
```

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-29 06:42:29 +03:00
Vladimir Ermakov 1caf7c89c2 coredns: update to 1.14.3
Changelog: https://github.com/coredns/coredns/releases/tag/v1.14.3

CVE-2026-32282, CVE-2026-32289, CVE-2026-33810, CVE-2026-27144,
CVE-2026-27143, CVE-2026-32288, CVE-2026-32283, CVE-2026-27140.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2026-04-24 17:12:06 +03:00
Vladimir Ermakov 9c5f17f9b1 coredns: update to 1.14.2
Security fixes for CVE-2026-26017, CVE-2026-26018.

Release notes: https://github.com/coredns/coredns/releases/tag/v1.14.2

Package changes:
- Add optional proxyproto plugin config
- Fix configure-plugin macro to preserve upstream plugin ordering
- Reorganize Config.in with section headers and help texts

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2026-03-20 21:07:04 +02:00
Fabrice Fontaine 866b2ed5e9 net/coredns: assign PKG_CPE_ID
cpe:/a:coredns.io:coredns is the correct CPE ID for coredns:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:coredns.io:coredns

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2026-03-19 14:34:18 +02:00
Vladimir Ermakov 19dd33d120 coredns: update to 1.14.1
Release note: https://coredns.io/2026/01/15/coredns-1.14.-release/

Co-authored-by: George Sapkin <george@sapk.in>
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2026-01-23 20:32:27 +02:00
Vladimir Ermakov d070142451 coredns: update 1.14.0
- Update version
- Add finalize plugin

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2026-01-14 07:27:51 +02:00
Vladimir Ermakov 3554c264f5 coredns: replace wgsd-coredns to full 1.13.2
- Add coredns package 1.13.2
- Make wgsd-coredns package transitional to coredns with wgsd plugin enabled
- Make coredns plugin list configurable, disable heavy plugins by
  default and add wgsd plugin
- Place the service into ujail
- Add netbox plugin

Co-authored-by: Tianling Shen <cnsztl@gmail.com>
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2025-12-30 16:24:42 +02:00