Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: langyu on February 04, 2015, 02:36:51 PM



Title: Are there any solutions to identify relay-ip of one tx like blockchain.info
Post by: langyu on February 04, 2015, 02:36:51 PM
Often see on blockchain.info But cannot get through bitcoind

http://ww2.sinaimg.cn/large/005X3q9sjw1eoxpblc5wvj30kv07dmxo.jpg


Title: Re: Are there any solutions to identify relay-ip of one tx like blockchain.info
Post by: kjj on February 04, 2015, 03:02:08 PM
No.


Title: Re: Are there any solutions to identify relay-ip of one tx like blockchain.info
Post by: shorena on February 04, 2015, 07:53:34 PM
Quote
Title: Are there any solutions to identify relay-ip of  one tx like blockchain.info 
Often see on blockchain.info But cannot get through bitcoind

http://ww2.sinaimg.cn/large/005X3q9sjw1eoxpblc5wvj30kv07dmxo.jpg

Thats the IP of the node that first informed blockchain.info about the transaction in question. The chance that its the node that created the transaction is very slim. In fact the node that broadcasts a transaction to the network for the first time might not belong to the person that created the transaction or own the private keys in question. E.g. I broadcasted a transaction for someone yesterday. That person had trouble accessing their wallet. Even if you would have caught the IP address for that transaction, it would have been my IP address and not the IP-address of the person that owns the bitcoins in question.

tl;dr: Its basically useless information.


Title: Re: Are there any solutions to identify relay-ip of one tx like blockchain.info
Post by: DannyHamilton on February 05, 2015, 04:56:46 AM
cannot get through bitcoind

bitcoind does not track or store this information as far as I know of.  I'm not sure why you would want to know which of your peers told you about a transaction, but if it is important to you for some reason, you'd have to modify your own copy of the program and rebuild the software to take note of and store the information for your own use.


Title: Re: Are there any solutions to identify relay-ip of one tx like blockchain.info
Post by: langyu on February 05, 2015, 06:49:24 AM
Thanks. I just want to know the information about nodes connected.


Title: Re: Are there any solutions to identify relay-ip of one tx like blockchain.info
Post by: zetaray on February 05, 2015, 06:56:20 AM
Will this relay IP gives some location information of the person who created the transaction? Some users are using tor just to hide that IP, are they wasting their effort?


Title: Re: Are there any solutions to identify relay-ip of one tx like blockchain.info
Post by: DannyHamilton on February 05, 2015, 07:58:47 AM
Will this relay IP gives some location information of the person who created the transaction?

No.  It will only tell you which of your peers relayed the transaction to you.  It won't tell you who they got it from, or who created it.

Some users are using tor just to hide that IP, are they wasting their effort?

That depends on what other steps they are taking to protect themselves.  TOR doesn't magically hide your IP if you make mistakes that leak your IP outside of TOR (or through TOR).


Title: Re: Are there any solutions to identify relay-ip of one tx like blockchain.info
Post by: Foxpup on February 05, 2015, 08:50:30 AM
Some users are using tor just to hide that IP, are they wasting their effort?
If they're using Tor just to hide their IP address, then yes, because that's not Tor is for. The IP address itself is irrelevant and doesn't prove anything. However, someone with full access to your network connection (your ISP, the NSA, etc) can see if you sent a transaction that you didn't already receive from another peer, which proves that transaction is yours and you're not relaying someone else's transaction. Tor protects against this, and this is the reason people (should) use Tor. IP addresses have nothing to do with it.


Title: Re: Are there any solutions to identify relay-ip of one tx like blockchain.info
Post by: shorena on February 05, 2015, 01:26:32 PM
-snip-
However, someone with full access to your network connection (your ISP, the NSA, etc) can see if you sent a transaction that you didn't already receive from another peer, which proves that transaction is yours and you're not relaying someone else's transaction.
-snip-

Thats not necessarily true. I could potentially create a signed transaction and send it to e.g. Danny via PM/(Snail)mail/SMS/OTR/DVBT/etc. for broadcasting. Or - even easier - broadcast it from a public WiFi at a remote coffee shop in my city. There are several miners and services that allow you to push a TX via their node.

Thanks. I just want to know the information about nodes connected.

If you just want information about the nodes your node is connected to you can use getpeerinfo it will include IP addresses.


Title: Re: Are there any solutions to identify relay-ip of one tx like blockchain.info
Post by: spin on February 05, 2015, 01:38:05 PM
Thanks. I just want to know the information about nodes connected.

Code:
bitcoin-cli getpeerinfo
wil tell you which nodes are connected to your node (including their ips).


Title: Re: Are there any solutions to identify relay-ip of one tx like blockchain.info
Post by: swapcoiner on February 05, 2015, 06:34:45 PM
Thanks. I just want to know the information about nodes connected.

Code:
bitcoin-cli getpeerinfo
wil tell you which nodes are connected to your node (including their ips).


Yes, relay ips are just peer ips.