<blockquote>
<p><em>This is a Bisq Network proposal. Please familiarize yourself with the <a href="https://docs.bisq.network/proposals.html" rel="nofollow">submission and review process</a>.</em></p>
</blockquote>

<h1>Censorship Resistance with 1M5 Integration</h1>
<p>Proposal for Bisq Network to integrate <a href="https://1m5.io" rel="nofollow">1M5</a> into its communication stack, inter-node and when accessing remote Bitcoin, seed, and pricing nodes (or any public node).</p>
<h2>Issue</h2>
<p><a href="https://en.wikipedia.org/wiki/Censorship" rel="nofollow">Censorship</a> is the suppression of speech, public communication, or other information, on the basis that such material is considered objectionable, harmful, sensitive, politically incorrect or "inconvenient" as determined by government authorities or by community consensus. Bisq, by providing a decentralized exchange not registered in any jurisdiction, <a href="https://bitcoinexchangeguide.com/sec-vs-decentralized-exchanges-dexs-are-under-attack-from-the-securities-and-exchange-commission/" rel="nofollow">is likely to come under attack by jurisdictions that consider it illegal</a>.</p>
<p>Bisq runs its DApps as Tor hidden services using seeds to discover the Bisq network. Tor can be censored, <a href="https://en.wikipedia.org/wiki/Internet_censorship_in_China#Using_Tor_and_DPI-resistant_tools" rel="nofollow">as is done in China</a>, by discovering entry nodes and blocking them by IP. Bisq gets around this by offering bridges to bypass the blocks but these bridges can also be blocked, same with VPNs. There are an estimated 7000 Tor nodes in operation today with about 2000 of them entry nodes and 1000 exit nodes. To block 2000 entry nodes is easy work as they are provided publicly and it's not a large list. But Tor is the ideal method to connect to a remote Bitcoin node as they normally are ran in the clear via the internet.</p>
<h2>Opportunities</h2>
<p>The <a href="https://geti2p.net/en/" rel="nofollow">Invisible Internet Project (I2P)</a> is much less known and thus less targeted. It works somewhat similarly to Tor with a few differences. Where Tor shines when accessing clearnet sites privately, I2P shines accessing other nodes running I2P, e.g. peer-to-peer networking apps like messaging. I2P doesn't have entry nodes, every node is a potential entry node and there are roughly 65,000 I2P peers (all I2P peers by default are contributors to the network). I2P, like any application, has its vulnerabilities, but they are an active team working to constantly improve it. There is no known attempts to block the I2P network globally although when cellular towers are turned off or the user is behind a severely restrictive firewall (e.g. corporate), even I2P will not work as it requires internet access. This is where Bluetooth and WiFi Direct have become helpful.</p>
<p><a href="https://en.m.wikipedia.org/wiki/Bluetooth" rel="nofollow">Bluetooth</a> and <a href="https://en.wikipedia.org/wiki/Wi-Fi_Direct" rel="nofollow">WiFi Direct</a> support sending messages to nearby peers to share information. This has been used successfully in demonstrations in Hong Kong among others. But what they do not do is propagate out until a peer with internet access is available and use that peer to complete a request for an internet resource. Bluetooth and WiFi Direct are implemented using low-powered radios in phones and PCs and they're easily jammed (WiFi more so than Bluetooth). When in this position, shortwave communications is necessary.</p>
<p>Using the full <a href="https://en.wikipedia.org/wiki/Radio_spectrum" rel="nofollow">radio spectrum</a> is the next major advancement in commercial radio communications. Adding <a href="https://en.wikipedia.org/wiki/Electronic_counter-countermeasure" rel="nofollow">anti-jamming</a> capabilities additionally will enhance censorship resistance further. But what happens when you're under serious jamming? LiFi is the next battlefield.</p>
<p><a href="https://en.wikipedia.org/wiki/Li-Fi" rel="nofollow">LiFi</a> is short for Light Fidelity. It is basically wireless light communications. A dongle with a LiFi transceiver can send/receive light as data to/from another LiFi transceiver and the only method for blocking it is to physically block the light. Line-of-sight is required although some bouncing can be supported with degraded bandwidth and range.</p>
<h2>Proposal</h2>
<p>Routing using Tor, I2P, Bluetooth, WiFi Direct, WiFi, Shortwave, and LiFi to ensure censorship resistance is the primary mission behind 1M5 - Invisible Matrix Services. It's designed to support additional future networks like Nym if/when they prove to be helpful. When integrated with Bisq, 1M5 would ensure each node can find each other and maintain communications regardless how attacked, even with a national or global internet shutdown. It would also ensure the same level of censorship-resistance when accessing remote Bitcoin, seed, or price nodes...any public node.</p>
<p>Development would require the ability to expose 1M5 as a proxy to Bisq, testing the integration, then documenting it. In addition, a 1M5 Operator/Admin Role would be added to monitor and report on 1M5 effectiveness fixing any bugs that come up while providing an expected level of support.</p>
<p>1M5 currently can access the Tor and I2P networks. Ensuring Tor blocks get routed through I2P until a node with 1M5 that has access to Tor can complete the request needs a little extra work and testing. Additional networks will be integrated in the future.</p>
<ul>
<li>Integration via Proxy: 520 hours @ 1M Satoshis/hr (~$39k USD 1/2020)
<ul>
<li>Development: ~320 hours</li>
<li>Testing: ~160 hours</li>
<li>Documentation: ~40 hours</li>
</ul>
</li>
<li>1M5 Operator/Admin Role: 25 hours/month @ 1M Satoshis/hr (~$1875 USD/month)
<ul>
<li>Keep 1M5 online and functioning normally: ~5 hrs/month</li>
<li>Keep 1M5 up to date with latest versions: ~5 hrs/month</li>
<li>Tune 1M5 for optimal performance based on feedback & local peer monitoring: ~5 hrs/month</li>
<li>Fix bugs in a timely manner: ~5 hrs/month</li>
<li>Be available for support issues: ~5 hrs/month</li>
<li>Report on any incidents</li>
</ul>
</li>
</ul>
<h2>Notes</h2>
<h3>Resources</h3>
<ul>
<li><a href="https://1m5.io/" rel="nofollow">1M5 Site</a></li>
<li><a href="https://github.com/1m5">1M5 GitHub</a></li>
<li><a href="https://1m5.io/assets/pdf/1m5-info-deck.pdf" rel="nofollow">1M5 Info Deck</a></li>
<li><a href="https://1m5.io/assets/pdf/1m5-wp.pdf" rel="nofollow">1M5 Whitepaper</a></li>
<li><a href="https://github.com/1m5/1m5-docs">1M5 Docs</a></li>
<li><a href="https://github.com/objectorange">ObjectOrange GitHub</a></li>
<li><a href="https://www.linkedin.com/in/decentralizationarchitect/" rel="nofollow">ObjectOrange LinkedIn</a></li>
</ul>
<h3>Keybase Conversations</h3>
<ul>
<li>12/14/2019 #chinese: <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/ff98sha/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ff98sha">@ff98sha</a> verified I2P not blocked in Shanghai</li>
<li>12/14/2019 #chinese: <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/wiz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wiz">@wiz</a> perhaps believes bridges are good enough (I feel is not true and short-sighted)</li>
<li>12/28/2019 #general: <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/sunerok/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sunerok">@sunerok</a> knows I2P amd favors it</li>
<li>12/31/2019 #dev: <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/mileschet/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mileschet">@mileschet</a> likes 1M5 and has experience with Nym, a potential future integration</li>
</ul>
<h3>Future Projects</h3>
<p>Future 1M5 projects will request contributions from Bisq along with other users of 1M5 to spread costs<br>
across the user community. Some future projects include:</p>
<ul>
<li>using Tor when I2P gets blocked</li>
<li>using Bluetooth to propagate out requests (implementation started but on hold)</li>
<li>using WiFi Direct for request propagation</li>
<li>using Shortwave/Full Radio Spectrum (large scope that will be broken down)</li>
<li>using LiFi (some research completed, vendor relationship in place)</li>
<li><a href="https://nymtech.net/" rel="nofollow">Nym</a> potentially</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/proposals/issues/168?email_source=notifications&email_token=AJFFTNRRQF7N3TICGWHWNF3Q5LYSDA5CNFSM4KFW6TWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IFSIDBQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNSJPDYS6BJ56RIQ6VLQ5LYSDANCNFSM4KFW6TWA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNRSZXUS5XFGUDZU4R3Q5LYSDA5CNFSM4KFW6TWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IFSIDBQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/proposals/issues/168?email_source=notifications\u0026email_token=AJFFTNRRQF7N3TICGWHWNF3Q5LYSDA5CNFSM4KFW6TWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IFSIDBQ",
"url": "https://github.com/bisq-network/proposals/issues/168?email_source=notifications\u0026email_token=AJFFTNRRQF7N3TICGWHWNF3Q5LYSDA5CNFSM4KFW6TWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IFSIDBQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>