sybilsim(8)
β¨ sybilsim(8) β¨
cjdns packet switch π β yeah bestie, this is the simulation corner of the cjdns universe, no real packets were harmed in the making of this mesh.
πΈ SYNOPSIS πΈ
/usr/libexec/cjdns/sybilsim < config.json
π DESCRIPTION π
Okay so here's the vibe: sybilsim reads a list of nodes and peers from stdin and then simulates the corresponding mesh β no actual networking β using the exact same code as cjdroute. Like, same brain, different body. π§
It's giving testing and optimizing cjdroute, and honestly? Iconic for that. π₯
Heads up bestie: every single node must have a valid cjdns private key. No key, no node, periodt.
And if you're writing scripts that generate the config, the makekeys(1) utility is lowkey your best friend for that. π«Ά
π USAGE π
Example config, look at her:
{
"nodes": {
"alice": {
"privateKey":
"5e2295679394e5e1db67c238abbc10292ad9b127904394c52cc5fff39383e920",
"peers": []
},
"bob": {
"privateKey":
"6569bf3f0d168faa6dfb2912f8ee5ee9b938319e97618fdf06caed73b1aad1cc",
"peers": [ "alice" ]
}
}
}
Example use β pipe it, bestie:
makekeys | head -20 >keys.txt
node /usr/libexec/cjdns/tools/lib/makesim.js keys.txt |
/usr/libexec/cjdns/sybilsim
π¦ SEE ALSO π¦
And that's the whole page, babes π β this was sybilsim(8) from the cjdns packet switch era, and yeah, the footer is just... sybilsim(8) again with no version or date in sight, which is very mysterious main character energy of it, ngl. Go simulate something cute. πβ¨
π¦ where this page comes from
- fedora 43: cjdns 21.1-16.fc41 Β· GPLv3 and MIT and BSD and ISC
- fedora 44: cjdns 21.1-16.fc41 Β· GPLv3 and MIT and BSD and ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms