Skip to content

Conversation

jonasschnelli
Copy link
Contributor

Tests if addresses are online or offline by briefly connecting to them. These short lived connections are referred to as feeler connections. Feeler connections are designed to increase the number of fresh online addresses in tried by selecting and connecting to addresses in new. One feeler connection is attempted on average once every two minutes.

This change was suggested as Countermeasure 4 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

Backport for 0.13 from #8282

Tests if addresses are online or offline by briefly connecting to them. These short lived connections are referred to as feeler connections. Feeler connections are designed to increase the number of fresh online addresses in tried by selecting and connecting to addresses in new. One feeler connection is attempted on average once every two minutes.

This change was suggested as Countermeasure 4 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.
@jonasschnelli
Copy link
Contributor Author

Applies without changes, opened this PR to not forget about it.

0.12 BP – in case we want to do this – would be here: https://github.com/bitcoin/bitcoin/compare/0.12...jonasschnelli:2016/08/feeler_012?expand=1 (needed some merge-care).

@gmaxwell
Copy link
Contributor

gmaxwell commented Sep 1, 2016

ACK.

@sipa
Copy link
Member

sipa commented Sep 5, 2016

utACK e8a7df8. Verified the backport by recreating it.

@fanquake fanquake added this to the 0.13.1 milestone Oct 10, 2016
@btcdrak
Copy link
Contributor

btcdrak commented Oct 11, 2016

utACK e8a7df8

@maflcko
Copy link
Member

maflcko commented Oct 11, 2016

Nit: Can you include the original commit hash and pull number in the body?

@luke-jr created a devtool for this: https://botbot.me/freenode/bitcoin-core-dev/2016-09-09/?msg=72737288&page=2, which should be added to our master branch.

@laanwj
Copy link
Member

laanwj commented Oct 13, 2016

This was already backported in #8679, closing

@laanwj laanwj closed this Oct 13, 2016
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants