Skip to content

Runing bitcoind through a tor proxy does not hide my ipv6 address #6585

@lunokhod

Description

@lunokhod

I am running bitcoind through a tor proxy, and everything seems to be working fine for my hidden service, as well as nodes that are being connected to via ipv4. I've verified (via getpeerinfo) that my real ipv4 address does not show up when inspecting the nodes I'm connected to. However, I was very surprised to see that I have a single incoming connection from ipv6 that is connected to my real ipv6 address.

Here is the info I am using in my bitcoin configuration file:

proxy=127.0.0.1:9050
onion=127.0.0.1:9050
externalip=myhiddenservice.onion
listen=1
discover=0

Here is the getpeerinfo on the node:

  {
    "id": 21,
    "addr": "[2a01:4f8:202:81b1::2]:4834",
    "addrlocal": "[my:ipv6:address:xxx:xxx:xxx:xxx:xxx]:8333",
    "services": "0000000000000000",
    "lastsend": 1440404xxx,
    "lastrecv": 1440403xxx,
    "bytessent": 2081xxx,
    "bytesrecv": 39xxx,
    "conntime": 1440367xxx,
    "timeoffset": 0,
    "pingtime": 0.043xxx,
    "version": 70002,
    "subver": "/Satoshi:0.9.3/",
    "inbound": true,
    "startingheight": 371217,
    "banscore": 0,
    "synced_headers": 371273,
    "synced_blocks": -1,
    "inflight": [
    ],
    "whitelisted": false
  },

And here is the relevant getnetwork output

  "networks": [
    {
      "name": "ipv4",
      "limited": false,
      "reachable": false,
      "proxy": "127.0.0.1:9050",
      "proxy_randomize_credentials": true
    }, 
    {
      "name": "ipv6",
      "limited": false,
      "reachable": false,
      "proxy": "127.0.0.1:9050",
      "proxy_randomize_credentials": true
    }, 
    {
      "name": "onion",
      "limited": false,
      "reachable": true,
      "proxy": "127.0.0.1:9050",
      "proxy_randomize_credentials": true
    }
  ],

For info, I am running this on OSX 10.10.5, bitcoin v0.11.99.0-49793fb and tor 0.2.6.10.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions