sessionStats(1)

πŸ“¦
version 21.1 Β· 2 versions
, in fedora 43, fedora 44

okay bestie, sit down, hydrate, because we're doing sessionStats today πŸ’– she's a tiny cjdns tool whose whole manual name is literally "show cjdns crypto sessions" β€” that's the vibe, that's the assignment, that's the entire personality of this page, and everything below is her. ✨


✨ SYNOPSIS ✨

sessionStats

No flags. No arguments. No options to memorize. She takes literally nothing and gives you the whole tea. πŸ‘‘


πŸ’œ DESCRIPTION πŸ’œ

cjdroute always talks to other nodes over a "session", and it's giving very much the same energy as a TLS session. A session isn't just for chatting with each peer, bestie β€” you also need one when you're talking to intermediate nodes to ask them about their peers while you're planning out a route. Like, you can't just slide into the group chat without a handshake first. 🫢

The cjdns protocol offers Perfect Forward Secrecy, which is genuinely iconic of it. Every single session gets its own random symmetric key that encrypts that session. So if a node gets compromised 😭, the attacker can get the session keys and read current and future sessions. That's the bad part. But here's the slay: the session keys are securely erased when a session is destroyed, so past sessions β€” anything from before the compromise β€” cannot be read. Periodt. The lifetime of a session is somewhat random, because of course it is. cjdroute caches recently active sessions, and destroys sessions that haven't been used in a while. It's giving spring cleaning but for crypto. 🧹✨


πŸŽ€ USAGE πŸŽ€

Running sessionStats requires admin privilege, no cap. The cjdnsadmin lib will try to read /etc/cjdroute.conf for the admin password. That will normally succeed only for root β€” so if you're just some random user, don't be surprised. Otherwise, it tries ~/.cjdnsadmin. πŸ¦‹


πŸ“ FILES πŸ“

  • ~/.cjdnsadmin
  • /etc/cjdroute.conf

πŸ’€ BUGS πŸ’€

If you get a TypeError, you probably have the wrong admin password. That's the whole bug note. That's the lore. Don't overthink it, bestie. πŸ™ˆ


🌈 SEE ALSO 🌈


okay that's the page, you're fully caught up, go forth and check those crypto sessions πŸ’… this one's sessionStats(1) from cjdns β€” that's the name sitting down there in the footer, and there's no date or version stamp on this page, so just vibe with the title alone. you're doing amazing, sweetie πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from