Skip to content

Commit 41f5a6d

Browse files
disabled lan security (#2550)
- disable lansecurity - use netbase/nft pkg
1 parent ee1af08 commit 41f5a6d

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

cmds/modules/networkd/main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ func action(cli *cli.Context) error {
138138
return errors.Wrap(err, "error creating network manager")
139139
}
140140

141+
// if err := nft.DropTrafficToLAN(dmz.Namespace()); err != nil {
142+
// return errors.Wrap(err, "failed to drop traffic to lan")
143+
// }
144+
141145
log.Info().Msg("start zbus server")
142146
if err := startZBusServer(ctx, broker, networker); err != nil {
143147
return errors.Wrap(err, "unexpected error")

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/threefoldtech/tfchain/clients/tfchain-client-go v0.0.0-20241127100051-77e684bcb1b2
1818
github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go v0.16.1-0.20241229121208-76ac3fea5e67
1919
github.com/threefoldtech/zbus v1.0.1
20-
github.com/threefoldtech/zosbase v0.1.3-0.20250311121639-6e42ba27c11c
20+
github.com/threefoldtech/zosbase v0.1.3-0.20250311132434-87a5a38f424b
2121
github.com/urfave/cli/v2 v2.17.2-0.20221006022127-8f469abc00aa
2222
gopkg.in/yaml.v2 v2.4.0
2323
)

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,10 @@ github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go v0.16.1-0.20241229121208-76ac3
542542
github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go v0.16.1-0.20241229121208-76ac3fea5e67/go.mod h1:93SROfr+QjgaJ5/jIWtIpLkhaD8Pv8WbdfwvwMNG2p4=
543543
github.com/threefoldtech/zbus v1.0.1 h1:3KaEpyOiDYAw+lrAyoQUGIvY9BcjVRXlQ1beBRqhRNk=
544544
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.20250311121639-6e42ba27c11c h1:/NnPB6v4S7B4LIHr1j+JQJuoELnMBCvUoj/6OzLTfd4=
546-
github.com/threefoldtech/zosbase v0.1.3-0.20250311121639-6e42ba27c11c/go.mod h1:rxc49wA04S4IsBOYe0omVO7nu7GXridueh2PJh34gSo=
545+
github.com/threefoldtech/zosbase v0.1.3-0.20250311105934-040947350269 h1:EIcvDBctNSsrViOwTUJjfYudSuA8NeyHZDk/hDhB7ho=
546+
github.com/threefoldtech/zosbase v0.1.3-0.20250311105934-040947350269/go.mod h1:rxc49wA04S4IsBOYe0omVO7nu7GXridueh2PJh34gSo=
547+
github.com/threefoldtech/zosbase v0.1.3-0.20250311132434-87a5a38f424b h1:Kj7fGWHmVpIi2zdmVfsp+ZVVUE3PBoX07lqm5PqMCpY=
548+
github.com/threefoldtech/zosbase v0.1.3-0.20250311132434-87a5a38f424b/go.mod h1:rxc49wA04S4IsBOYe0omVO7nu7GXridueh2PJh34gSo=
547549
github.com/tinylib/msgp v1.1.5 h1:2gXmtWueD2HefZHQe1QOy9HVzmFrLOVvsXwXBQ0ayy0=
548550
github.com/tinylib/msgp v1.1.5/go.mod h1:eQsjooMTnV42mHu917E26IogZ2930nFyBQdofk10Udg=
549551
github.com/tklauser/go-sysconf v0.3.11 h1:89WgdJhk5SNwJfu+GKyYveZ4IaJ7xAkecBo+KdJV0CM=

0 commit comments

Comments
 (0)