[onionmx] SRV and v3 onions

John Paraskevopoulos io.paraskev at gmail.com
Wed Dec 19 14:03:35 CET 2018


Hello,

Onionrouter (the python implementation) supports multiple records but
currently it only returns the first one (
https://github.com/ehloonion/onionrouter/blob/master/onionrouter/rerouter.py#L68)
. And the reason for this decision iirc is what ale said about how postfix
handles things. So good news is that onionrouter can easily support this.
Bad news is we don't know how exactly to handle this in communication level
between postfix and onionrouter

On Wed, Dec 19, 2018 at 2:56 PM ale via onionmx <onionmx at lists.immerda.ch>
wrote:

>
>
> On 12/19/18 11:34 AM, meskio via onionmx wrote:
> > I agree v3 records should be prioritized in an attempt to face v2 out.
> >
> > Having a fast look into the code into the existing implementations[0][1]
> it
> > looks like none of them acknowledges the priorities. The go
> implementation only
> > uses the first found, the python interpretation looks like it might try
> all of
> > the ones found.
> >
> > I think adding a second record might break existing setups.
>
> Well AFAIK the Go implementation has zero users, so I wouldn't be too
> concerned about breaking changes on that front :)
>
> Unfortunately (and I hope I'm remembering correctly the state of
> things), there's a deeper issue with the semantics of supporting
> multiple SRV records and priorities: the current Postfix implementations
> (both of them) aren't hooked at the right "level" to handle retries,
> there is no tracking of previous delivery state, so we can't handle
> priorities in the same way as you would with MX records. Not a big deal
> if all you want to use SRV priorities for is v2/v3 selection, but worth
> keeping in mind.
>
>
> --
> ale
>
> _______________________________________________
> onionmx mailing list
> onionmx at lists.immerda.ch
> https://lists-7.immerda.ch/mailman/listinfo/onionmx
>


-- 

Everything you do now was once an unremembered dream
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists-7.immerda.ch/pipermail/onionmx/attachments/20181219/8bfb5ca5/attachment.html>


More information about the onionmx mailing list