Skip to content

Commit

Permalink
Change metal table default drop in forward chain to accept after start
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Jan 22, 2024
1 parent 56be4e2 commit 6f129de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/metal-stack/firewall-controller-manager v0.3.2-0.20240115082359-d2ad341a4113
github.com/metal-stack/metal-go v0.24.3
github.com/metal-stack/metal-lib v0.13.5
github.com/metal-stack/metal-networker v0.33.0
github.com/metal-stack/metal-networker v0.33.1-0.20240122140354-df52bd9b79c8
github.com/metal-stack/v v1.0.3
github.com/miekg/dns v1.1.55
github.com/txn2/txeh v1.5.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ github.com/metal-stack/metal-hammer v0.11.5 h1:bW4mkcBG8J1O7f71bXIrqVPL7uHZ4FZDF
github.com/metal-stack/metal-hammer v0.11.5/go.mod h1:Y4Pa0rt5aHLc+3YL36Xu7uI4Mo7ljV1PDZgQ5Y/c3CM=
github.com/metal-stack/metal-lib v0.13.5 h1:OX94H+Pw31MOE9xSr460kFBv6CNJ2Nhjf4GY5IcuCxM=
github.com/metal-stack/metal-lib v0.13.5/go.mod h1:BAR7fjdoV7DDg8i9GpJQBDaNSFirOcBs0vLYTBnhHQU=
github.com/metal-stack/metal-networker v0.33.0 h1:DZf79nBS4CAL0QQnTq1jTucbL/Cj1qfj+jfFpmU8+Ws=
github.com/metal-stack/metal-networker v0.33.0/go.mod h1:lVpSIE7E0iYgyTAavjcrLrUYB5IaFrtthhKzKn5fcH4=
github.com/metal-stack/metal-networker v0.33.1-0.20240122140354-df52bd9b79c8 h1:OEZO/17v+jIegFLDFdKFF6v7NN9KpqWjjj2W1xYp05g=
github.com/metal-stack/metal-networker v0.33.1-0.20240122140354-df52bd9b79c8/go.mod h1:rmhP+MAz8GJyuhXGqb+F4LhtEcYUZPYj7ul8VN3pUF4=
github.com/metal-stack/v v1.0.3 h1:Sh2oBlnxrCUD+mVpzfC8HiqL045YWkxs0gpTvkjppqs=
github.com/metal-stack/v v1.0.3/go.mod h1:YTahEu7/ishwpYKnp/VaW/7nf8+PInogkfGwLcGPdXg=
github.com/miekg/dns v1.1.55 h1:GoQ4hpsj0nFLYe+bWiCToyrBEJXkQfOOIvFGFy0lEgo=
Expand Down
2 changes: 1 addition & 1 deletion pkg/nftables/firewall.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func (f *Firewall) ReconcileNetconfTables() error {
if err != nil {
return fmt.Errorf("failed to init networker configurator: %w", err)
}
configurator.ConfigureNftables()
configurator.ConfigureNftables(netconf.ForwardPolicyAccept)

return nil
}
Expand Down

0 comments on commit 6f129de

Please sign in to comment.