joold(8) | NAT64 Jool's Session Synchronization Daemon | joold(8) |
joold - Userspace Session Synchronization (SS) daemon for NAT64 Jool.
This command is deprecated, and it's now implemented as a wrapper for jool session proxy. See jool(8).
joold [NETSOCKET] [MODSOCKET] [PORT]
The file is a JSON-formatted collection of keyvalues.
The file is a JSON-formatted collection of keyvalues.
IPv6 version:
$ # All Jool instances should have the basic configuration.
$ jool --file same-config-as-everyone-else.json
$
$ # Configure the SS interface
$ ip addr add 2001:db8:ff08::4/96 dev eth0
$ ip link set eth0 up
$
$ # joold
$ cat ipv6-netsocket.json
{
"multicast address": "ff08::db8:64:64",
"multicast port": "6464",
"in interface": "eth0",
"out interface": "eth0",
"ttl": 3
}
$
$ cat modsocket.json
{ "instance": "default" }
$
$ joold ipv6-netsocket.json modsocket.json 45678 &
IPv4 version:
$ # All Jool instances should have the basic configuration.
$ jool --file same-config-as-everyone-else.json
$
$ # Configure the SS interface
$ ip addr add 192.0.2.1/24 dev eth0
$ ip link set eth0 up
$
$ # joold
$ cat ipv4-netsocket.json
{
"multicast address": "233.252.0.64",
"multicast port": "6464",
"in interface": "192.0.2.1",
"out interface": "192.0.2.1",
"ttl": 3
}
$
$ cat modsocket.json
{ "instance": "default" }
$
$ joold ipv4-netsocket.json modsocket.json 45678 &
Request stats:
$ echo "" | nc -u 127.0.0.1 45678
KERNEL_SENT_PKTS,4
KERNEL_SENT_BYTES,208
NET_RCVD_PKTS,0
NET_RCVD_BYTES,0
NET_SENT_PKTS,4
NET_SENT_BYTES,208
Zero on success, non-zero on failure.
NIC Mexico & ITESM
https://github.com/NICMx/Jool/issues
1. Maybe the daemon should be able to automatically enable SS on the kernel module.
To be perfectly honest, the main reason why fixing this isn't in the radar is because joold is giving me the impression that nobody is using it.
Copyright 2024 NIC Mexico.
License: GPLv2 (GNU GPL version 2)
This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.
https://nicmx.github.io/Jool/en/session-synchronization.html
https://nicmx.github.io/Jool/en/usr-flags-session.html
2024-08-23 | v4.1.13 |