Antonio Ojea
c9a67ccd0c
Add integration tests for nftables package
...
This commit adds integration tests to the nftables package to verify
that the Go code correctly programs nftables rules. The tests use
external nftables scripts to define the expected state and compare
it with the state produced by the Go code.
Change-Id: I9c8439ee462b4882b221e6244f53379b822446dc
Signed-off-by: Antonio Ojea <aojea@google.com>
2025-01-15 12:42:22 +01:00
dependabot[bot]
85aee131ff
Bump golang.org/x/net from 0.23.0 to 0.33.0 in the go_modules group ( #295 )
...
Bumps the go_modules group with 1 update: [golang.org/x/net](https://github.com/golang/net ).
Updates `golang.org/x/net` from 0.23.0 to 0.33.0
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-14 09:46:28 +01:00
Michael Stapelberg
45dc72792b
pull in latest mdlayher/netlink to drop josharian/native dep
...
Turns out we cannot make github.com/google/nftables/binaryutil
forward to encoding/binary because it’s not an API-compatible
drop-in replacement: The PutUint* methods allocate in our API,
but do not allocate in encoding/binary.
2025-01-13 21:22:41 +01:00
dependabot[bot]
20edd38e22
Bump golang.org/x/net from 0.22.0 to 0.23.0 ( #261 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 19:12:50 +02:00
Michael Stapelberg
5494b7c55f
bump go.mod to go1.21, update deps
...
fixes https://github.com/google/nftables/issues/254
2024-03-10 13:09:31 +01:00
singchia
5555df300c
feat: add monitor on table chain rule set setelem and obj events ( #250 )
...
fixes https://github.com/google/nftables/issues/224
2023-12-13 08:23:07 +01:00
dependabot[bot]
4efd25beb8
Bump golang.org/x/net from 0.7.0 to 0.17.0 ( #241 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 08:09:03 +02:00
dependabot[bot]
e016b4e9fa
Bump golang.org/x/net from 0.4.0 to 0.7.0 ( #216 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 14:01:22 +01:00
Michael Stapelberg
2a00dee9fc
pull in latest mdlayher/netlink
...
related to issue #210
2022-12-12 17:19:45 +01:00
Michael Stapelberg
38a96768db
bump go.mod version to go 1.17
...
fixes https://github.com/google/nftables/issues/158
2022-05-02 17:29:23 +02:00
Michael Stapelberg
edf9fe8cd0
remove dependency on now-deleted koneu/natend
...
Instead, we just do the unsafe.Pointer() calls directly.
fixes https://github.com/google/nftables/issues/145
2022-02-10 08:29:02 +01:00
Matt Layher
611d399a5e
go.mod: use github.com/mdlayher/netlink@v1.4.2 ( #136 )
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-12-09 23:08:14 +01:00
Serguei Bezverkhi
e0f4f3f8f8
Add bitwise decoder logic ( #71 )
2019-11-07 15:38:12 +01:00
Michael Stapelberg
d3930927e4
declare a Go module
2019-05-24 02:21:35 +02:00