Commit Graph

1299 Commits

Author SHA1 Message Date
Steven Allen 9fbcf243f9
Merge pull request #577 from libp2p/fix/only-reported-addrs
identify: be more careful about the addresses we store
2019-04-08 10:20:09 -07:00
Steven Allen bcbf7a59c1 identify: only record observed addresses that match an address we're announcing
This is should prevent us from, e.g., announcing relay addresses _just_ because
a peer tells us we're reachable through a relay.
2019-04-08 10:15:42 -07:00
vyzo fcb60e2474
Merge pull request #581 from libp2p/gomod/update
gomod: update go-libp2p-circuit
2019-04-08 19:10:03 +03:00
vyzo 9bb06fcb2a gomod: update go-libp2p-circuit 2019-04-08 19:07:47 +03:00
Steven Allen a5ef3bd892
Merge pull request #578 from libp2p/fix/relay-host-stuff
relay: turn autorelay into a service and always filter out relay addresses
2019-04-06 08:53:38 -07:00
Steven Allen beb02be512
Merge pull request #576 from libp2p/fix/constructor-nits
chore: fail in the libp2p constructor if we fail to store the key
2019-04-06 08:36:32 -07:00
Steven Allen 87d57b5155 relay: allow users to explicitly add relay addresses 2019-04-06 08:23:07 -07:00
Steven Allen 7093262620 relay: update documentation 2019-04-06 08:12:29 -07:00
vyzo fee7b01e32 add missing word 2019-04-06 18:11:33 +03:00
Steven Allen c580255d13 relay: drop design comments
These are issues for another day.
2019-04-06 07:42:38 -07:00
Steven Allen 1d8efc31aa doc: document relay options 2019-04-06 07:42:38 -07:00
vyzo 45df977d57 bump relay record limit to 50 2019-04-06 12:22:12 +03:00
Steven Allen 5b665643c7 relay: only stop advertising relay addresses if we fully disconnect 2019-04-05 19:54:31 -07:00
Steven Allen 80ada8a7d6 relay: no more wrapping
We don't need the host wrappers, we can just replace the filter AddrsFactory.

Also, always filter out relay addresses.
2019-04-05 19:54:26 -07:00
Steven Allen 12d0f8c535
Merge pull request #580 from albrow/patch-1
Fix broken link in README.md
2019-04-05 14:41:59 -07:00
Alex Browne 125e0995c8
Fix broken link in README.md
It looks like `github.com/whyrusleeping/go-smux-mplex` was renamed to `github.com/whyrusleeping/go-smux-multiplex`.
2019-04-05 14:36:04 -07:00
Steven Allen 09d9f0cc22 chore: fail in the libp2p constructor if we fail to store the key 2019-04-05 14:09:40 -07:00
Steven Allen 544c412193 identify: only store _reported_ multiaddrs
We still tell the remote host about the observed addr but we don't store it.
That way, we give them a chance to decide if they want to actually use and
advertise it.

Ideally, we'd distinguish between local information and signed routing
information but we don't do that yet.

This should reduce the address explosion issue where peers learn about
multiple (bad) observed addresses for the same peer. It should also give peers
more control over how they can be dialed.
2019-04-05 13:57:50 -07:00
Steven Allen 28eb467dc4
Merge pull request #572 from libp2p/dep/update-transports
dep: update transports
2019-04-04 00:51:13 -07:00
Steven Allen e170c4a6bb
Merge pull request #571 from libp2p/readme-update
Link to docs & discuss in readme
2019-04-04 00:48:15 -07:00
Steven Allen 2a8398b05f dep: update transports 2019-04-04 00:47:38 -07:00
vyzo 534a24105c
Merge pull request #570 from libp2p/feat/autorelay-timing
Reduce autorelay boot delay and correctly handle private->public transition
2019-04-04 10:22:07 +03:00
vyzo b33e731689 gomod: update go-libp2p-autonat 2019-04-04 10:19:25 +03:00
Yusef Napora 5b0e2d3373 link to docs & discuss in readme 2019-04-03 16:34:41 -04:00
vyzo 62531f9a10 reduce autorelay boot delay to 20s 2019-04-03 17:27:03 +03:00
vyzo bace7d4ceb autorelay: correctly handle private->public transition 2019-04-03 12:02:49 +03:00
vyzo c3b5ece119 reduce autorelay discovery timeout to 30s 2019-04-03 11:51:26 +03:00
vyzo e2412502a6 reduce autorelay boot delay to 30s 2019-04-03 11:44:16 +03:00
vyzo a786afe7f7
Merge pull request #568 from libp2p/fix/verbose-nat-error
reduce nat error level
2019-03-28 09:55:13 +02:00
Steven Allen 16a60f9751 reduce nat error level 2019-03-28 02:20:06 +00:00
vyzo 9a5a437772
Merge pull request #563 from libp2p/fix/simplify-unspecific-relay
relay: simplify declaration of multiaddr var
2019-03-18 15:43:59 +02:00
Lars Gierth 7741442478 relay: simplify declaration of multiaddr var 2019-03-18 13:29:00 +01:00
Steven Allen 0e4b173287
Merge pull request #561 from lnykww/master
Fix UDP listen on a Unspecified Address and Dial from the Unspecified Address
2019-03-15 11:14:20 -07:00
Raúl Kripalani 169e5c6451
Merge pull request #562 from andrew/ci-readme-badges
Remove jenkins column from package table
2019-03-15 16:42:48 +00:00
Andrew Nesbitt 2b1f7dd23f Remove jenkins column from package table
Also update travis-ci.org to travis-ci.com
2019-03-15 14:51:31 +00:00
lnykww 5da711dc6c Fix UDP listen on a Unspecified Address and Dial from the Unspecified Address
LocalMultiaddr May return the Unspecified Address, if so, we need to
check if we listen on the Unspecified address and they were equal.
2019-03-14 10:57:19 +08:00
Raúl Kripalani d42487d59b remove Jenkinsfile. 2019-03-11 16:08:01 +00:00
vyzo 165c59fe92
Merge pull request #557 from libp2p/gx/update
gx publish 6.0.41
2019-03-07 15:21:07 +02:00
vyzo e5e6e67c50 gx publish 6.0.41 2019-03-07 15:22:02 +02:00
vyzo 2308ba3c00
Merge pull request #556 from libp2p/gomod/update
update go-smux-yamux dependency
2019-03-07 13:55:22 +02:00
vyzo eb20b61a6d update go-smux-yamux 2019-03-07 13:43:17 +02:00
Steven Allen b1ba17c750
Merge pull request #555 from curiousleo/patch-1
Fix typos in p2p/net/README.md
2019-03-06 20:20:18 -08:00
Leonhard Markert 2a7478131a
Fix typos in p2p/net/README.md
"Requet" -> "Request", "tls" -> "TLS"
2019-03-07 03:23:01 +00:00
Steven Allen abe3981df7
Merge pull request #549 from libp2p/feat/better-natmapping
better nat mapping
2019-03-06 15:59:28 -08:00
Raúl Kripalani 82ac647330
readme: update usage instructions for gomod. 2019-03-07 00:54:35 +01:00
Steven Allen 5c51323aa2 mock: increase tolerance for latency tests
These were exceeding their tolerances when run under the race detector on CI.
2019-03-06 12:01:08 -08:00
Steven Allen 5b643cde2d mock: reduce peer count in FuzzManyPeers when the race detector is enabled 2019-03-06 11:27:28 -08:00
Steven Allen e96aefc3b3 autorelay: disable consistantly failing auto-relay test 2019-03-06 11:21:25 -08:00
Steven Allen 58f40b9d11 mocknet: fix data race 2019-03-06 11:08:14 -08:00
Steven Allen 8c8f08e36f natmgr: rename refresh to sync 2019-03-06 10:56:49 -08:00