Article View: alt.privacy.anon-server
Article #329036Re: Single Use Reply Blocks (SURBs)
From: D
Date: Sun, 04 May 2025 16:26
Date: Sun, 04 May 2025 16:26
141 lines
9339 bytes
9339 bytes
On Sun, 4 May 2025 16:29:24 +0200 (CEST), Nomen Nescio <nobody@dizum.com> wrote: >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! i've never used nyms, and i'm only a retired hobbyist (jack of all trades), but the onmimix tutorial https://www.danner-net.de/omom/tutornym.htm seems to reinforce the caveat that anonymity could be compromised if not careful about setting up and using nyms . . . and this is using mixmaster remailer chains . . . (it's a jungle out there . . . i would not trust tor-mailers) >Please consider, that the repetitive use of a nym account, whether replying >to your mail address or better a newsgroup, can never be as secure as an >ordinary one-shot remailer message with its traces vanishing after the >transmission is done! Beyond that you always have to keep in mind, that >only one single less secure data exchange with your nym server may be >enough to reveal the originator of all of your former nym's statements! So >be very careful when you send any configuration requests or other messages >to the nym server. That's why there is a dedicated remailer chain setting >at the 'SetNym' tab, which should define a really long sequence. Moreover, >any message that comes with a 'Nym Message Header' (preset 'O-Nym') >including an argument other than 'No' is supposed to be a nym message, and, >if OmniMix isn't able to assign the 'From' address to a known nym, is >rejected. So use this feature to make sure, that messages from your nym >with only a spelling mistake in the 'From' header don't go the 'normal' way. >Now let's set up a nym and send a few messages through it. [end quote; next https://www.danner-net.de/omom/tutornymsetup.htm]
Technical Details
Message-ID:
<20250504.122649.b561acfd@dirge.harmsk.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-mailReferences:
<vuqgo1$1744$1@solani.org> <20250430133648.87F231F469@mail.virebent.art> <20250502.221208.1c0862cc@msgid.frell.theremailer.net> <75a91727f3277076b13243e03b19ec2c631fbe16@i2pn2.org> <20250503.160359.32ac73bf@msgid.frell.theremailer.net> <1e3fdce7f2a0777c0ca0060f233e42d914dd730b@i2pn2.org> <89be7c92942c925d762793a63bed2508@dizum.com>Show Full Headers
Complete Article Headers
Message-ID: <20250504.122649.b561acfd@dirge.harmsk.com> Subject: Re: Single Use Reply Blocks (SURBs) Date: Sun, 4 May 2025 12:26:49 -0400 From: D <noreply@dirge.harmsk.com> References: <vuqgo1$1744$1@solani.org> <20250430133648.87F231F469@mail.virebent.art> <20250502.221208.1c0862cc@msgid.frell.theremailer.net> <75a91727f3277076b13243e03b19ec2c631fbe16@i2pn2.org> <20250503.160359.32ac73bf@msgid.frell.theremailer.net> <1e3fdce7f2a0777c0ca0060f233e42d914dd730b@i2pn2.org> <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 Content-Transfer-Encoding: 7bit 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