From 486291871eed836ab05b6caca619b89a3df6016c Mon Sep 17 00:00:00 2001 From: Yann Stepienik Date: Sun, 27 Aug 2023 10:47:54 +0100 Subject: [PATCH] [release] v0.10.0-unstable4 --- package.json | 2 +- readme.md | 1 - src/constellation/index.go | 6 +++++- src/constellation/nebula_default.go | 16 ++++++++++++++-- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3a6fe6a..c84ddfb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cosmos-server", - "version": "0.10.0-unstable3", + "version": "0.10.0-unstable4", "description": "", "main": "test-server.js", "bugs": { diff --git a/readme.md b/readme.md index eb3ce03..1d141e7 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,6 @@

null null Clayton Stone -Billy Das Seraph91P

diff --git a/src/constellation/index.go b/src/constellation/index.go index 58299c1..0d83c0a 100644 --- a/src/constellation/index.go +++ b/src/constellation/index.go @@ -28,8 +28,12 @@ func Init() { // export nebula.yml utils.Log("Constellation: exporting nebula.yml...") - ExportConfigToYAML(utils.GetMainConfig().ConstellationConfig, utils.CONFIGFOLDER + "nebula.yml") + err := ExportConfigToYAML(utils.GetMainConfig().ConstellationConfig, utils.CONFIGFOLDER + "nebula.yml") + if err != nil { + utils.Error("Constellation: error while exporting nebula.yml", err) + } + // start nebula utils.Log("Constellation: starting nebula...") err := startNebulaInBackground() diff --git a/src/constellation/nebula_default.go b/src/constellation/nebula_default.go index 1264ff7..d2ae7d4 100644 --- a/src/constellation/nebula_default.go +++ b/src/constellation/nebula_default.go @@ -88,8 +88,20 @@ func InitConfig() { UDPTimeout: "3m", DefaultTimeout: "10m", }, - Outbound: nil, - Inbound: nil, + Outbound: []utils.NebulaFirewallRule { + utils.NebulaFirewallRule { + Host: "any", + Port: "any", + Proto: "any", + }, + }, + Inbound: []utils.NebulaFirewallRule { + utils.NebulaFirewallRule { + Host: "any", + Port: "any", + Proto: "any", + }, + }, }, } } \ No newline at end of file