Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: darkfur93 on May 12, 2017, 06:58:59 AM



Title: addrlocal is listing strange IP address
Post by: darkfur93 on May 12, 2017, 06:58:59 AM
One of the peers I'm connected to is displaying a addrlocal that not my IP address.
Some text is censored with X for privacy.

Code:
{
    "id": 240,
    "addr": "34.207.XXX.XXX:XXXXX",
    "addrlocal": "216.150.XXX.XXX:8333",
    "services": "0000000000000001",
    "relaytxes": true,
    "lastsend": 1494571934,
    "lastrecv": 1494571018,
    "bytessent": 111665,
    "bytesrecv": 172,
    "conntime": 1494571017,
    "timeoffset": 0,
    "pingwait": 927.030135,
    "version": 70001,
    "subver": "/xbadprobe:1.0/",
    "inbound": true,
    "addnode": false,
    "startingheight": 0,
    "banscore": 0,
    "synced_headers": -1,
    "synced_blocks": -1,
    "inflight": [
    ],
    "whitelisted": false,
    "bytessent_per_msg": {
      "addr": 470,
      "alert": 192,
      "getheaders": 1021,
      "inv": 109800,
      "ping": 32,
      "verack": 24,
      "version": 126
    },
    "bytesrecv_per_msg": {
      "verack": 48,
      "version": 124
    }
  },


Title: Re: addrlocal is listing strange IP address
Post by: achow101 on May 12, 2017, 03:37:42 PM
addrlocal is just what that peer thought your IP address was when it first connected to you. It doesn't actually matter as that field isn't used for anything.


Title: Re: addrlocal is listing strange IP address
Post by: Foxpup on May 13, 2017, 07:33:37 AM
The addresses 216.150.155.151:8333 and 216.150.155.152:8333 are hard-coded into the xbadprobe client. It's not clear to me why it doesn't just send the actual addresses it's connecting to and from, but I guess that's why it's not called xgoodprobe.