Skip to content
Bridge between Tor Prop279 clients and Namecoin
Go
Branch: master
Clone or download
JeremyRand Merge #1: Add "Only Onion" mode (disabled by default)
8f30809 Add "Only Onion" mode (disabled by default) (JeremyRand)

Pull request description:

  This mode disables `A`/`AAAA`/`CNAME` resolution, making `.bit` behave identically to `.bit.onion`.

ACKs for commit 8f3080:

Tree-SHA512: ddde88d81014cca17b036184997122551dd98a350b31ffaa7d0f0e61c841ebaed91932a77e717e9118482e72bbec6ab3f9e38b777fbaad501aa999d4f0fc0e50
Latest commit 57e3b1b Sep 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Jun 23, 2019
LICENSE
README.md Add proper README Jun 23, 2019
cookiefile.go Initial code commit Jun 23, 2019
ncprop279.go Add "Only Onion" mode (disabled by default) Sep 16, 2019

README.md

Tor Prop279 Provider for Namecoin

ncprop279 acts as a bridge between Tor Prop279 clients and Namecoin; it can be used for Namecoin naming in Tor. Unlike dns-prop279, it does not use the DNS wire protocol. This reduces attack surface and binary size, but prevents delegation from Namecoin to DNS via NS/DS records.

Usage

You need StemNS or TorNS in order to use ncprop279. You also need a Nameecoin lookup client such as Namecoin Core, ConsensusJ-Namecoin, or Electrum-NMC. Your StemNS/TorNS services configuration might look like this:

_service_to_command = {
    "bit.onion": ['/path/to/ncprop279'],
    "bit": ['/path/to/ncprop279'],
}

Security Notes

  • ncprop279 hasn't been carefully checked for proxy leaks.
  • Using ncprop279 will make you stand out from other Tor users.
  • Stream isolation for streams opened by applications (e.g. Tor Browser) should work fine. However, stream isolation metadata won't propagate to streams opened by the Namecoin lookup client. That means you should only use ncprop279 with a Namecoin name lookup client that will not generate outgoing traffic when you query it, e.g. a full-block-receive Namecoin node such as Namecoin Core or libdohj-namecoin in leveldbtxcache mode. Electrum-NMC is not a good idea.
  • ncprop279 probably caches lookups. This could be used to fingerprint users.
  • This whole thing is highly experimental! Please test it and give feedback, but don't rely on it behaving correctly.

License

ncprop279 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ncprop279 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ncprop279. If not, see https://www.gnu.org/licenses/.

ncprop279 is produced independently from the Tor® anonymity software and carries no guarantee from The Tor Project about quality, suitability or anything else.

You can’t perform that action at this time.