Commit c0f76b4d authored by 神楽坂玲奈's avatar 神楽坂玲奈

tcp

parent 177f6500
......@@ -8,7 +8,7 @@ redistribute if {{interface}}
{% endfor %}
redistribute local deny
reflect-kernel-metric true
local-path-readwrite /var/run/babeld/babeld.sock
local-port-readwrite 33123
{% for connection in connections %}
{% if connection.protocol != "null" and not (connection.protocol == "oc" and connection.ocType == "server") and connection.remoteLocalAddress != address %}
......
......@@ -19,6 +19,6 @@ ip addr del "$localRubbishAddress" dev "$dev"
{{ansible_user_dir}}/nextgen-network/scripts/predown.sh
{{ansible_user_dir}}/nextgen-network/scripts/postup.sh
echo -e "interface $dev type tunnel rxcost 300 faraway true rtt-max 500 \nquit" | nc -U /var/run/babeld/babeld.sock
echo -e "interface $dev type tunnel rxcost 300 faraway true rtt-max 500 \nquit" | nc ::1 33123
true
......@@ -159,7 +159,7 @@ class InventoryBuilder {
image: 'git-registry.mycard.moe/railgun/babeld',
network_mode: 'host',
cap_add: ['NET_ADMIN', 'NET_BROADCAST', 'NET_RAW'],
volumes: ['./babeld.conf:/etc/babeld.conf:ro', '/var/run/babeld:/var/run/babeld']
volumes: ['./babeld.conf:/etc/babeld.conf:ro']
}
}
};
......@@ -303,7 +303,6 @@ class InventoryBuilder {
'./ocserv/ocpasswd:/etc/ocserv/ocpasswd:ro',
`./ocserv/certs/${local.ocservCert}:/etc/ssl/certs/${local.ocservCert}:ro`,
'$HOME/nextgen-network/scripts:$HOME/nextgen-network/scripts:ro',
'/var/run/babeld:/var/run/babeld'
],
depends_on: ['babeld']
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment