Steven Allen
2ad02f79b2
chore: update to go-log v2
4 years ago
Steven Allen
2a72777ef9
fix: address review feedback
4 years ago
Steven Allen
58b40c1ca8
chore: update deps
- update go-libp2p-swarm to fix some dialing issues.
- update go-netroute/go-sockaddr to fix some (theoretical) memory safety
issues on windows.
4 years ago
vyzo
b313b4af98
option for custom dns resolver
4 years ago
Steven Allen
6c0336634a
chore: update deps
* update go-log & zap.
* update golang.org/x deps to pull in bug fixes.
* update autonat to simplify some logic
4 years ago
Steven Allen
c39da30592
chore: update deps
4 years ago
Aarsh Shah
69916ed465
Emit event for User's NAT Type i.e. Hard NAT or Easy NAT ( #1042 )
* emit NAT device type
4 years ago
vyzo
8ea7ba4a88
gomod: update deps
4 years ago
Aarsh Shah
c575ec40e1
Finish and Test the simultaneous connect problem in libp2p peers ( #1041 )
* Implement support for SimOpen.
4 years ago
Marten Seemann
7e81b7e411
update yamux and mplex, to actually use the context passed to OpenStream
4 years ago
Marten Seemann
34eb40850b
use a context when opening streams
4 years ago
Steven Allen
7a98f28856
feat: update to go-libp2p-core 0.7.0 interface changes
This patch updates go-libp2p for the stream interface changes in go-libp2p-core
0.7.0. This is a _significant_ breaking change to streams and all users should
read https://github.com/libp2p/go-libp2p-core/releases/tag/v0.7.0 . In practice,
this change should remove a significant footgun.
TL;DR:
* `Stream.Close` now behaves like `net.TCPConn.Close`.
* There is a new `Stream.CloseWrite` (send an EOF) and `Stream.CloseRead` (close
for reading), behaving like their counterparts in `net.TCPConn`.
4 years ago
vyzo
868f975b78
gomod: go-datastore dependency
4 years ago
Adin Schmahmann
fb3179e617
chore: update go-multiaddr
4 years ago
Steven Allen
db5f196114
feat: switch from SECIO to Noise as the default security transport
This is a backwards incompatible change and will require a major version bump
plus an announcement. Users can choose to re-enable SECIO by passing
`libp2p.Security(secio.ID, secio.New)` to the constructor.
4 years ago
Adin Schmahmann
6b509be0eb
chore: update deps
4 years ago
Will
7cfc4e645e
Bump Autonat version & validate fixed call loop in `.Addrs` ( #988 )
* add test for host address with attached autonat
* bump autonat release
4 years ago
Raúl Kripalani
aae9c77cd8
upgrade go-libp2p-circuit to v0.3.1. ( #986 )
4 years ago
Raúl Kripalani
a5786f0415
upgrade deps + interoperable uvarint delimited writer/reader. ( #985 )
4 years ago
Raúl Kripalani
985120b6f9
upgrade swarm; add ID() on mock conns and streams. ( #970 )
4 years ago
Steven Allen
a5b6745ff9
chore: update deps
* Updates yamux to reduce lock contention.
* Updates the peerstore to remove an issue where we'd forget our peer's addresses instead of extending the TTL.
4 years ago
vyzo
2ca365a944
gomod: update go-libp2p-circuit
4 years ago
Aarsh Shah
1b36fd8697
first draft
4 years ago
vyzo
ae7645ce85
gomod: update dependencies
go-libp2p-core@v0.5.7
go-libp2p-connmgr@v0.2.4 [indirect]
go-eventbus@v0.2.1
4 years ago
Aarsh Shah
3a1d20b748
Filter Interface Addresses ( #936 )
* Filter Host Addresses
5 years ago
Raúl Kripalani
7abe2e4c63
release v0.9.0: upgrade dependencies. ( #937 )
5 years ago
Aarsh Shah
887f2c40cf
implement connection gating at the top level ( #881 )
5 years ago
Aarsh Shah
973933ad7d
Remove race between ID, Push & Delta ( #907 )
* Solve races between Identify, Push and Delta.
5 years ago
dependabot-preview[bot]
408e4d1286
build(deps): bump github.com/libp2p/go-libp2p-circuit
Bumps [github.com/libp2p/go-libp2p-circuit](https://github.com/libp2p/go-libp2p-circuit ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-circuit/releases )
- [Commits](https://github.com/libp2p/go-libp2p-circuit/compare/v0.2.1...v0.2.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
a276aade96
build(deps): bump github.com/libp2p/go-libp2p-discovery
Bumps [github.com/libp2p/go-libp2p-discovery](https://github.com/libp2p/go-libp2p-discovery ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/libp2p/go-libp2p-discovery/releases )
- [Commits](https://github.com/libp2p/go-libp2p-discovery/compare/v0.3.0...v0.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Steven Allen
bd040ba050
fix: refactor logic for identifying connections
0. NEVER call `peerstore.SetProtocols(p)` (clear the protocol set). Given the
new identify events, if someone looked in the peerstore at the wrong time, they
could decide that the peer no longer speaks some protocol.
1. Reliably wait for identify before trying to open a stream. The old logic was
_really_ racy.
2. Avoids potentially calling identify on the same connection multiple times.
3. Calls identify as early as possible. Previously, we'd invoke identify on
inbound connections using an event that was only invoked _after_ all `Connected`
event handlers completed. Now we invoke identify from a `Connected` handler.
5 years ago
dependabot-preview[bot]
c1d75c13d1
build(deps): bump github.com/libp2p/go-ws-transport from 0.3.0 to 0.3.1
Bumps [github.com/libp2p/go-ws-transport](https://github.com/libp2p/go-ws-transport ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/libp2p/go-ws-transport/releases )
- [Commits](https://github.com/libp2p/go-ws-transport/compare/v0.3.0...v0.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
0dd75aff91
build(deps): bump github.com/libp2p/go-stream-muxer-multistream
Bumps [github.com/libp2p/go-stream-muxer-multistream](https://github.com/libp2p/go-stream-muxer-multistream ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/libp2p/go-stream-muxer-multistream/releases )
- [Commits](https://github.com/libp2p/go-stream-muxer-multistream/compare/v0.2.0...v0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
dde9d47473
build(deps): bump github.com/libp2p/go-conn-security-multistream
Bumps [github.com/libp2p/go-conn-security-multistream](https://github.com/libp2p/go-conn-security-multistream ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/libp2p/go-conn-security-multistream/releases )
- [Commits](https://github.com/libp2p/go-conn-security-multistream/compare/v0.1.0...v0.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
f650f4b3df
build(deps): bump github.com/ipfs/go-log from 1.0.3 to 1.0.4
Bumps [github.com/ipfs/go-log](https://github.com/ipfs/go-log ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/ipfs/go-log/releases )
- [Commits](https://github.com/ipfs/go-log/compare/v1.0.3...v1.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Steven Allen
eb76a02251
feat: support TLS by default
But don't make it the default per https://github.com/libp2p/go-libp2p/pull/710#pullrequestreview-382182995 .
5 years ago
dependabot-preview[bot]
70b242b685
build(deps): bump github.com/libp2p/go-libp2p-autonat
Bumps [github.com/libp2p/go-libp2p-autonat](https://github.com/libp2p/go-libp2p-autonat ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-autonat/releases )
- [Commits](https://github.com/libp2p/go-libp2p-autonat/compare/v0.2.1...v0.2.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
a9e9654f0a
build(deps): bump github.com/libp2p/go-libp2p-peerstore
Bumps [github.com/libp2p/go-libp2p-peerstore](https://github.com/libp2p/go-libp2p-peerstore ) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/libp2p/go-libp2p-peerstore/releases )
- [Commits](https://github.com/libp2p/go-libp2p-peerstore/compare/v0.2.2...v0.2.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
8ffd6a94e2
build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Aarsh Shah
615f125342
Remove goprocess from Host ( #865 )
* remove goprocess from Host
5 years ago
Steven Allen
d14fdba1ef
chore: update deps again
One final time.
5 years ago
Steven Allen
79f13c024f
chore: update the rest of the deps
5 years ago
Will Scott
ec2907ed95
disable write coalescing
5 years ago
dependabot-preview[bot]
f8e12fcb8e
build(deps): bump github.com/libp2p/go-libp2p-peerstore
Bumps [github.com/libp2p/go-libp2p-peerstore](https://github.com/libp2p/go-libp2p-peerstore ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-peerstore/releases )
- [Commits](https://github.com/libp2p/go-libp2p-peerstore/compare/v0.2.1...v0.2.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
82d957e31d
build(deps): bump github.com/libp2p/go-libp2p-yamux from 0.2.5 to 0.2.6
Bumps [github.com/libp2p/go-libp2p-yamux](https://github.com/libp2p/go-libp2p-yamux ) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/libp2p/go-libp2p-yamux/releases )
- [Commits](https://github.com/libp2p/go-libp2p-yamux/compare/v0.2.5...v0.2.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Steven Allen
31e2e45f7f
chore: update deps
* Update logging to fix logging on windows.
* Update autonat to improve filtering of potential AutoNAT peers.
5 years ago
dependabot-preview[bot]
5b578f5921
build(deps): bump github.com/ipfs/go-log from 1.0.2 to 1.0.3
Bumps [github.com/ipfs/go-log](https://github.com/ipfs/go-log ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/ipfs/go-log/releases )
- [Commits](https://github.com/ipfs/go-log/compare/v1.0.2...v1.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Steven Allen
aa30b1d124
fix: update goprocess to fix a test race
5 years ago
Steven Allen
1ce9b9980a
chore(dep): update go-libp2p-peerstore
fixes psmem.Close()
5 years ago
Will Scott
685ba00833
update to current autonat interface
5 years ago