Page 1 of 1

SAM: change tunnel length and quantity at runtime

Posted: 03 Feb 2026 13:03
by anikey
As far as I have noticed, there is no way to change tunnel length and quantity after starting a SAM session.

But I've noticed before that snark can change them at runtime (well, it doesn't use SAM) - reduce the number of tunnels when idle or react to settings change.

Maybe this should be added to SAM?

Something like this, sent to the initial session socket:

Code: Select all

SESSION UPDATE outbound.quantity=3 inbound.quantity=3