Skip to content

Add onlynet=onion config option #1538

Description

@gousasin

Please add an onlynet=onion configuration option like in Bitcoin Core to exclusively allow connections to Bitmessage nodes behind a Tor Onion Service for enhanced privacy at the network layer.

Activity

  1. sgj3 commented on Oct 28, 2019

    @sgj3
    Contributor

    Implemented by PR #1545.

  2. g1itch commented on Oct 28, 2019

    @g1itch
    Collaborator

    Implemented by PR #1545.

    Close but not exact implementation. In the future PR's consider to put closes # in the commit message.

  3. sgj3 commented on Feb 14, 2020

    @sgj3
    Contributor

    So, do you want this refactored to use literally "onlynet=onion"?

  4. gousasin commented on Feb 14, 2020

    @gousasin
    Author

    I don't really care about the syntax if the functionality is implemented. "onlynet=onion" is used by Bitcoin so I just copied it from there. I leave it up to you.

  5. sgj3 commented on Feb 15, 2020

    @sgj3
    Contributor

    OK, understood.

    @g1itch What do you think? You left it open and assigned the refactoring label. Is this is what you had in mind?

  6. sgj3 commented on Mar 15, 2020

    @sgj3
    Contributor

    @g1itch Bump

  7. added this to the v0.7.0 milestone on Aug 27, 2020
  8. g1itch commented on Oct 5, 2020

    @g1itch
    Collaborator

    Besides the refactoring there is a new complaint from chan:

    If onionservicesonly is enabled and there are no available onion bootstrap servers PyBitmessage will never connect to the network without connecting to bootstrapXXXX.

    When onionservicesonly is enabled, the user expects PyBitmessage not to connect non-onion nodes at all.
    So if onion bootstrap nodes are not to be connected, PyBitmessage should stop bootstrapping and show error message.
    The user then decides not to use PyBitmessage for a while or to change his policy to connet to non-onion nodes.
    Security policy is more important than connectivity.
    ...

    If onionservicesonly is enabled and there are no available onion bootstrap servers PyBitmessage will never connect to the network without connecting to bootstrapXXXX.
    ...

    PyBitmessage should not connect to bootstrapXXXX when:

    • onionservicesonly is enabled, or
    • trusted mode is used.
      Currently there are no guards for these cases.

    Thought it cannot be implemented right now because quzwelsuziwqgpt2.onion (sole onion bootstrap server) is down.

  9. added 2 commits that reference this issue on Dec 7, 2020
    229db60
    7b168b7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions