Re:DoX: DNS Queries over XMPP
by SamWhited on Monday April 01, 2019 @10:40AM
(#19543698)
Yah, naming a DNS protocol DOX and then releasing it on the worst day of the year on the internet might not have been a great idea… I suppose we should have seen this coming :)
Re:DoX: DNS Queries over XMPP
by SamWhited on Monday April 01, 2019 @10:26AM
(#19543518)
> But do I need to trust XMPP server 1 and 2?
You trust whatever server you query. That might be server one, or it might be server one and server two. It's a federated network, so you make requests through your own server.
> And will XMPP server 2 have my IP address?
No. It's a federated network, like email, so it just gets your XMPP address (historically referred to as a "Jabber ID" or "JID").
Re:DoX: DNS Queries over XMPP
by tgragnato on Monday April 01, 2019 @10:22AM
(#19543476)
XMPP is not e2ee, the second server gets your JID (but not your IP, supposing your client doesn't leak it): you need to trust the servers (1, 2 and the resolver).
Also; you don't get virtual circuits, but the performance should be superior. Tor only supports A, AAAA and PTR; DoX supports every record type.
Re:DoX: DNS Queries over XMPP
by moparisthebest on Monday April 01, 2019 @10:36AM
(#19543656)
You can connect to XMPP servers over tor, even host them on .onion addresses.
Also, XMPP has e2e extensions, at least one of which supports encrypting/verifying arbitrary XML[1], so if the resolver supported it, you could only trust the resolver. (also don't forget about DNSSEC which can be used to verify DNS responses too)
Re:DoX: DNS Queries over XMPP
by tgragnato on Monday April 01, 2019 @10:54AM
(#19543865)
Agreed, the best case is when you have e2ee (which unfortunately is not in core) and DNSSEC.
I must admit to being biased against using DNSSEC alone because a malicious XMPP server can still inspect and/or modify queries and responses. By self-hosting you mitigate, but without e2ee the server is still trusted (in the threat-model).
Re:DoX: DNS Queries over XMPP
by davecridland on Monday April 01, 2019 @10:04AM
(#19543308)
There's an awful lot of "why not?" here. Remember, this is an Experimental XEP. The XMPP Council saw no reason to actively block it, but that doesn't mean we're all mad keen that everyone should rush out and do it.
There was an intense debate on whether it ought to be published as Standards Track or Humorous...
Re:DoX: DNS Queries over XMPP
by jholloway7 on Monday April 01, 2019 @10:07AM
(#19543342)
I'm sure there are valid reasons, but I also think there's a law that no matter how comprehensive your application protocol, it will eventually get turned into a transport for a higher-level (sometimes shoddier) application protocol.
Re:DoX: DNS Queries over XMPP
by ops4c0d3 on Monday April 01, 2019 @10:54AM
(#19543863)
Purely curious, what advantages does this give you in a corporate sort of scenario where your login is probably authing against Active Directory? Does this protocol offer any leverage for developers in a multi-forest setup via API to programmatically choose domain controllers?
It seems DoX would fit in there perfectly!
* the name of the protocol: DoX
* the name of the request: IQ-get
* lastly, the current date
edit: OK, this might not be a joke after all, but it sure has a few hints in there.
DoH is DNS-over-HTTP
DoT is DNS-over-TLS
IQ is the usual abbreviation for info/query elements in XMPP ...
Have you read it completely?
>Version 0.0.1 (2019-03-11)
1. performance: since the TCP+TLS handshake is only performed once and the connection is kept open forever
2. privacy: the resolver doesn't get the requesting party's IP address
How does that work? Is it somewhat like Tor?
[Requesting Party]<--->[XMPP server]<--->[XMPP Server]<--->[Resolver]
And will XMPP server 2 have my IP address?
You trust whatever server you query. That might be server one, or it might be server one and server two. It's a federated network, so you make requests through your own server.
> And will XMPP server 2 have my IP address?
No. It's a federated network, like email, so it just gets your XMPP address (historically referred to as a "Jabber ID" or "JID").
Also; you don't get virtual circuits, but the performance should be superior. Tor only supports A, AAAA and PTR; DoX supports every record type.
Also, XMPP has e2e extensions, at least one of which supports encrypting/verifying arbitrary XML[1], so if the resolver supported it, you could only trust the resolver. (also don't forget about DNSSEC which can be used to verify DNS responses too)
[1]: https://xmpp.org/extensions/xep-0373.html
I must admit to being biased against using DNSSEC alone because a malicious XMPP server can still inspect and/or modify queries and responses. By self-hosting you mitigate, but without e2ee the server is still trusted (in the threat-model).
There was an intense debate on whether it ought to be published as Standards Track or Humorous...
https://github.com/wiktor-k/prosody-dox
https://github.com/moparisthebest/jDnsProxy
It's just as humorous as DoT or DoH.