Commit b1b384cc authored by matthewcroughan's avatar matthewcroughan
Browse files

nixos/scion: changes for 0.12

These are the necessary changes for updating to 0.12, which supports dispatcherless operation by foregoing the dispatcher's unix socket in favour of UDP
parent b2135d30
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@ let
    general = {
      id = "cs";
      config_dir = "/etc/scion";
      reconnect_to_dispatcher = true;
    };
    beacon_db = {
      connection = "${connectionDir}/scion-control/control.beacon.db";
+0 −1
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@ let
    general = {
      id = "sd";
      config_dir = "/etc/scion";
      reconnect_to_dispatcher = true;
    };
    path_db = {
      connection = "${connectionDir}/scion-daemon/sd.path.db";
+1 −2
Original line number Diff line number Diff line
@@ -14,8 +14,7 @@ let
  defaultConfig = {
    dispatcher = {
      id = "dispatcher";
      socket_file_mode = "0770";
      application_socket = "/dev/shm/dispatcher/default.sock";
      local_udp_forwarding = true;
    };
    log.console = {
      level = "info";
+1 −0
Original line number Diff line number Diff line
{
  "dispatched_ports": "31000-32767",
  "attributes": [
    "core"
  ],
+1 −0
Original line number Diff line number Diff line
{
  "dispatched_ports": "31000-32767",
  "attributes": [
    "core"
  ],
Loading