🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #329034

Re: Single Use Reply Blocks (SURBs)

#329034
From: Nomen Nescio
Date: Sun, 04 May 2025 14:29
143 lines
7605 bytes
In article <1e3fdce7f2a0777c0ca0060f233e42d914dd730b@i2pn2.org>
Stefan Claas <stefan@mailchuck.com> wrote:


>Well, my understanding is that a gateway can only see my IP address,
>like it is the case with the Tor network too. Since we are using sphinx
>packets, only the last mixnode hop can see the receiver address, but not
>the SURB address, which only the receiver can see, while he does not see
>the real Nym network sender address.


https://nym.com/docs/network/traffic/anonymous-replies

As outlined in the concepts section, SURBs are layer encrypted sets
of Sphinx headers detailing a reply path ending in the sending
client's Nym address.


https://nym.com/docs/network/traffic/flow

Packet Flow Breakdown

Nym Clients, on startup, register with a particular node to use as
an Entry[/Exit] Gateway. This partially defines their Client
Address.

...

The final hop of Mixnet traffic involves:

- The Exit Gateway for the packet route (the Entry Gateway that the
receiving Nym Client registered with on startup) performing the
decryption and MAC check.

- The Exit Gateway forwards the Sphinx packet on to the Nym Client
if it is online. If the Client is not online, the Gateway holds the
packet for up to 24 hours.

The receiving Nym Client will then decrypt the final Sphinx packet
layer and have access to the decrypted packet payload, and SURB
header information for anonymous replies.


And from https://nym.com/nym-whitepaper.pdf

4.5 Anonymous replies and reliable transport with Single Use Reply
Blocks (SURBs)

The lack of reliable transport has historically been an issue for
mixnets – a mixnet’s functionality is severely diminished if users
cannot determine whether or not their messages are delivered. To
address this longstanding issue and serve as a generic internet
infrastructure for privacy, Nym takes advantage of the predictable
end-to-end latency afforded by continuous mixes, in combination with
a very useful feature of Sphinx: Single-Use-Reply-Blocks (SURBs).
SURBs are pre-computed Sphinx packet headers encoding a mixnet route
that ends in the participant that created the SURB. A sender can
generate one or more SURBs and include them in their Sphinx message
to a recipient. The recipient can use the SURBs as Sphinx headers to
send back replies – or acknowledgements – that anonymously reach
back the original sender after going through the mixnet.

SURBs are the Sphinx equivalent of "onion addresses" in Tor, with
the caveat that a SURB can only be used once (to prevent replay
attacks) and within its epoch of validity (the mix node public keys
used to prepare the SURB are only valid for a limited period). SURB
headers are encrypted by the sender, so the recipient sending it
back cannot infer from it any information about the message route,
the per-hop latency, or the sender’s address, which is encoded in
the innermost (last) routing layer of the SURB. Note that the
identity of the first mix node in the path of the reply must be
visible to the recipient, as they must know to which node to address
the reply (tunneled via the recipient’s own gateway). A SURB
effectively contains: (1) the encrypted headers of a Sphinx message
that, if sent to the mixnet, will be routed back to the original
sender; (2) the address of the first-layer mix node where the
message should be sent; and (3) a cryptographic key to encrypt the
reply payload.

Upon receiving a message containing a SURB, the recipient can take a
data payload, process it with the cryptographic keys provided along
with the SURB, attach the payload to the headers received in the
SURB, and send the message to the appropriate first layer mix node
(through the receiver’s gateway of choice). The design of Sphinx is
such that new (forward) messages are indistinguishable from SURB
(reply) messages, even to the mix nodes that route the messages. In
this way, replies and forward messages blend into one large
anonymity set, reinforcing the overall anonymity properties of the
mixnet.

Besides enabling anonymous replies, the Nym network uses SURBs to
provide reliable transport even if there’s packet loss in the
network. This is achieved by including a SURB in Sphinx messages, in
the layer addressed to the recipient’s gateway. The gateway
immediately sends the SURB back to the mixnet to let the anonymous
sender know that the message has been received, optionally including
flags in the payload, e.g., to signal errors such as "recipient
unknown" or "recipient mailbox full." The SURB is addressed to the
recipient’s gateway rather than the end recipient because the
recipient may not always be online, while the gateway is an
always-online service that can immediately send back the
acknowledgement when a message is received. The sender re-transmits
a message if no acknowledgement is received within the expected time
frame (the sum of per-hop latencies in the forward message and the
SURB and an estimate of the propagation time between mix nodes for
both directions).

Participants may also want to broadcast SURBs as a way of being
publicly reachable without exposing their location, e.g., Lightning
Network nodes that want to establish payment channels without
disclosing their IP addresses, in order to protect wallets hosted in
those servers. In summary, SURBs are a feature that makes the Nym
mixnet a private communication infrastructure versatile enough to
support a broad range of applications, far beyond electronic mail
and voting – the two canonical use cases in the mixnet literature.


I repeat:

SURBs are pre-computed Sphinx packet headers encoding a mixnet route
that ends in the participant that created the SURB.

and

The design of Sphinx is such that new (forward) messages are
indistinguishable from SURB (reply) messages, even to the mix nodes
that route the messages.

which means a reply using a SURB is delivered to the Nym holder's
address like a normal Nym message, where it makes no sense to
obfuscate the recipient's Nym address in any way towards the
gateway.

And paragraph 4 of that chapter

Besides enabling anonymous replies, the Nym network uses SURBs to
provide reliable transport even if there’s packet loss in the
network.

confirms the presence of a SURB in every Nym message you send!


IMO that leaves no room for speculation. - Hands off!
Technical Details
Message-ID: <89be7c92942c925d762793a63bed2508@dizum.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!alphared!sewer!news.dizum.net!not-for-mail
References: <vuqgo1$1744$1@solani.org> <20250430133648.87F231F469@mail.virebent.art> <z5mql2jdoe.1746192602@mzvtp.wv> <20250502.221208.1c0862cc@msgid.frell.theremailer.net> <75a91727f3277076b13243e03b19ec2c631fbe16@i2pn2.org> <20250503.160359.32ac73bf@msgid.frell.theremailer.net> <1e3fdce7f2a0777c0ca0060f233e42d914dd730b@i2pn2.org>

Show Full Headers
Complete Article Headers
Message-ID: <89be7c92942c925d762793a63bed2508@dizum.com>
Subject: Re: Single Use Reply Blocks (SURBs)
Date: Sun, 04 May 2025 14:29:24 +0000
From: Nomen Nescio <nobody@dizum.com>
References: <vuqgo1$1744$1@solani.org> <20250430133648.87F231F469@mail.virebent.art> <z5mql2jdoe.1746192602@mzvtp.wv> <20250502.221208.1c0862cc@msgid.frell.theremailer.net> <75a91727f3277076b13243e03b19ec2c631fbe16@i2pn2.org> <20250503.160359.32ac73bf@msgid.frell.theremailer.net> <1e3fdce7f2a0777c0ca0060f233e42d914dd730b@i2pn2.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!alphared!sewer!news.dizum.net!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 2001::1/128