Commit a28d710 1 parent 6f016df commit a28d710 Copy full SHA for a28d710
File tree 4 files changed +5
-25
lines changed
4 files changed +5
-25
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ import (
10
10
11
11
"github.com/oasisprotocol/curve25519-voi/primitives/x25519"
12
12
"github.com/pkg/errors"
13
+ "github.com/threefoldtech/zosbase/pkg/netbase/nft"
13
14
"github.com/threefoldtech/zosbase/pkg/netlight"
14
15
"github.com/threefoldtech/zosbase/pkg/netlight/bridge"
15
16
"github.com/threefoldtech/zosbase/pkg/netlight/ifaceutil"
16
- "github.com/threefoldtech/zosbase/pkg/netlight/nft"
17
17
"github.com/threefoldtech/zosbase/pkg/netlight/public"
18
18
"github.com/threefoldtech/zosbase/pkg/netlight/resource"
19
19
"github.com/urfave/cli/v2"
@@ -34,9 +34,6 @@ const (
34
34
//go:embed nft/rules.nft
35
35
var nftRules embed.FS
36
36
37
- //go:embed nft/lansecurity.tmpl
38
- var securityRules string
39
-
40
37
// Module is entry point for module
41
38
var Module cli.Command = cli.Command {
42
39
Name : "netlightd" ,
@@ -115,7 +112,7 @@ func action(cli *cli.Context) error {
115
112
}
116
113
rules .Close ()
117
114
118
- if err := nft .DropTrafficToLAN (securityRules ); err != nil {
115
+ if err := nft .DropTrafficToLAN ("" ); err != nil {
119
116
return fmt .Errorf ("failed to drop traffic to lan: %w" , err )
120
117
}
121
118
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ require (
40
40
github.com/threefoldtech/tfchain/clients/tfchain-client-go v0.0.0-20241127100051-77e684bcb1b2
41
41
github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go v0.16.1-0.20241229121208-76ac3fea5e67
42
42
github.com/threefoldtech/zbus v1.0.1
43
- github.com/threefoldtech/zosbase v0.1.3-0.20250304112457-4fe70d8d47ff
43
+ github.com/threefoldtech/zosbase v0.1.3-0.20250310155434-097d1a0f59f3
44
44
github.com/urfave/cli/v2 v2.17.2-0.20221006022127-8f469abc00aa
45
45
github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852
46
46
github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f // indirect
Original file line number Diff line number Diff line change @@ -542,8 +542,8 @@ github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go v0.16.1-0.20241229121208-76ac3
542
542
github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go v0.16.1-0.20241229121208-76ac3fea5e67 /go.mod h1:93SROfr+QjgaJ5/jIWtIpLkhaD8Pv8WbdfwvwMNG2p4 =
543
543
github.com/threefoldtech/zbus v1.0.1 h1:3KaEpyOiDYAw+lrAyoQUGIvY9BcjVRXlQ1beBRqhRNk =
544
544
github.com/threefoldtech/zbus v1.0.1 /go.mod h1:E/v/xEvG/l6z/Oj0aDkuSUXFm/1RVJkhKBwDTAIdsHo =
545
- github.com/threefoldtech/zosbase v0.1.3-0.20250304112457-4fe70d8d47ff h1:jKXimkoOIOpv+3/VHp5cag7WYAduFcBw6IlX4nMlsqk =
546
- github.com/threefoldtech/zosbase v0.1.3-0.20250304112457-4fe70d8d47ff /go.mod h1:rxc49wA04S4IsBOYe0omVO7nu7GXridueh2PJh34gSo =
545
+ github.com/threefoldtech/zosbase v0.1.3-0.20250310155434-097d1a0f59f3 h1:/qsDPVSzHUcr98btXPoqL7Sl9eqYhgD1wZLavwEYkrw =
546
+ github.com/threefoldtech/zosbase v0.1.3-0.20250310155434-097d1a0f59f3 /go.mod h1:rxc49wA04S4IsBOYe0omVO7nu7GXridueh2PJh34gSo =
547
547
github.com/tinylib/msgp v1.1.5 h1:2gXmtWueD2HefZHQe1QOy9HVzmFrLOVvsXwXBQ0ayy0 =
548
548
github.com/tinylib/msgp v1.1.5 /go.mod h1:eQsjooMTnV42mHu917E26IogZ2930nFyBQdofk10Udg =
549
549
github.com/tklauser/go-sysconf v0.3.11 h1:89WgdJhk5SNwJfu+GKyYveZ4IaJ7xAkecBo+KdJV0CM =
You can’t perform that action at this time.
0 commit comments