<p>Makes torrc "editable" via system properties.</p>
<h3>Usage</h3>
<ul>
<li>use <code>-Dtorrcfile=/path/to/torrc</code> to source a valid torrc file from you system</li>
<li>use <code>-Dtorrc:key1=value1 -Dtorrc:key2=value2</code> to append the tor configuration</li>
<li>use both for a more complex setup</li>
</ul>
<h3>Examples</h3>
<ul>
<li>
<p>use <code>-Dtorrc:Socks5Proxy=host[:port]</code> to configure a Socks5 proxy</p>
</li>
<li>
<p>use <code>-Dtorrcfile=/path/to/customtorrc</code> with <code>customtorrc</code> containing</p>
<pre><code>Log info file /tmp/bisq.tor.log
TruncateLogFile 1
</code></pre>
<p>to configure raw tor logging for troubleshooting.</p>
</li>
</ul>
<h3>Notes</h3>
<p>note that torrc-entries which are critical to the software cannot be overwritten</p>
<p>bumps <a href="https://github.com/JesusMcCloud/netlayer">netlayer</a> to 0.4.7  in order to profit from its bugfixes and addresses <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="264994241" data-permission-text="Issue title is private" data-url="https://github.com/bisq-network/bisq/issues/965" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/965/hovercard" href="https://github.com/bisq-network/bisq/issues/965">#965</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="234133093" data-permission-text="Issue title is private" data-url="https://github.com/bisq-network/bisq/issues/829" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/829/hovercard" href="https://github.com/bisq-network/bisq/issues/829">#829</a> and thus <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="151879497" data-permission-text="Issue title is private" data-url="https://github.com/bisq-network/bisq/issues/413" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/413/hovercard" href="https://github.com/bisq-network/bisq/issues/413">#413</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="159771316" data-permission-text="Issue title is private" data-url="https://github.com/bisq-network/bisq/issues/483" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/483/hovercard" href="https://github.com/bisq-network/bisq/issues/483">#483</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/1893'>https://github.com/bisq-network/bisq/pull/1893</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>bumped netlayer to 0.4.7</li>
  <li>custom torrc file available</li>
  <li>custom override of torrc</li>
  <li>got rid of magic strings</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/1893/files#diff-0">build.gradle</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/1893/files#diff-1">gradle/witness/gradle-witness.gradle</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/1893/files#diff-2">p2p/src/main/java/bisq/network/p2p/network/TorNetworkNode.java</a>
    (36)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/1893.patch'>https://github.com/bisq-network/bisq/pull/1893.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/1893.diff'>https://github.com/bisq-network/bisq/pull/1893.diff</a></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/bisq/pull/1893">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZttQttqERrZAhQm9FDANrZhlPRjymks5uswuAgaJpZM4YSyWY">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtiy2G3VxxwIBUZBcFQRhVT99QwcXks5uswuAgaJpZM4YSyWY.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq","title":"bisq-network/bisq","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Torrc (#1893)"}],"action":{"name":"View Pull Request","url":"https://github.com/bisq-network/bisq/pull/1893"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/1893",
"url": "https://github.com/bisq-network/bisq/pull/1893",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Torrc (#1893)",
"sections": [
{
"text": "",
"activityTitle": "**Florian Reimair**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@freimair",
"facts": [

]
},
{
"title": "Commit Summary",
"facts": [
{
"name": "73fc354",
"value": "bumped netlayer to 0.4.7"
},
{
"name": "a46328f",
"value": "custom torrc file available"
},
{
"name": "7b07a15",
"value": "custom override of torrc"
},
{
"name": "03683a7",
"value": "got rid of magic strings"
}
]
},
{
"title": "File Changes",
"facts": [
{
"name": "Modified",
"value": "[build.gradle](https://github.com/bisq-network/bisq/pull/1893/files#diff-0) (2 changes)"
},
{
"name": "Modified",
"value": "[gradle/witness/gradle-witness.gradle](https://github.com/bisq-network/bisq/pull/1893/files#diff-1) (12 changes)"
},
{
"name": "Modified",
"value": "[p2p/src/main/java/bisq/network/p2p/network/TorNetworkNode.java](https://github.com/bisq-network/bisq/pull/1893/files#diff-2) (36 changes)"
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"bisq-network/bisq\",\n\"issueId\": 1893,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close pull request",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"PullRequestClose\",\n\"repositoryFullName\": \"bisq-network/bisq\",\n\"pullRequestId\": 1893\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/bisq-network/bisq/pull/1893"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/bisq-network/bisq/pull/1893.patch"
}
],
"@type": "OpenUri",
"name": "View patch"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/bisq-network/bisq/pull/1893.diff"
}
],
"@type": "OpenUri",
"name": "View diff"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 407578008\n}"
}
],
"themeColor": "26292E"
}
]</script>