Commit Graph

636 Commits

Author SHA1 Message Date
Thomas Eizinger
a27dd9e97e RFC/0002-signed-envelopes: Update protobufs to latest version (#333)
These protobuf definitions are taken from the go-libp2p repo.

See https://github.com/libp2p/specs/issues/329 for details.
2021-06-17 09:14:11 +02:00
Max Inden
e8873a3933 RFC/0003-routing-records: Fix dht-spec link (#331) 2021-06-09 12:11:13 +02:00
Max Inden
f36e36371a connections: Add hole punching vision document (#323)
Extend connections specification with a document describing the long
term vision of hole punching in libp2p across transport protocols,
platforms and implementations.

Co-authored-by: Steve Loeppky <stvn@loeppky.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2021-06-08 14:53:47 +02:00
Takashi Matsuda
126fb60dd6 peer-ids/: Fix typo (#332) 2021-06-07 09:08:49 +02:00
Max Inden
d21418638d identify: Document identify behavior for asymetrical protocols (#327)
* identify: Document identify behavior for asymetrical protocols

> Note on asymmetrical protocols: Assume an asymmetrical
request-response style protocol `foo` where some clients only support
initiating requests while some servers (only) support responding to
requests. To prevent clients from initiating requests to other clients,
which given them being clients they fail to respond, clients should not
list `foo` in their `protocols` list.

Question emerged in https://github.com/libp2p/specs/issues/324.

* identify/README: Reword to inbound substreams
2021-05-25 18:37:22 +02:00
Max Inden
a5bbb2fa61 identify: Document identify behavior for asymetrical protocols (#327)
* identify: Document identify behavior for asymetrical protocols

> Note on asymmetrical protocols: Assume an asymmetrical
request-response style protocol `foo` where some clients only support
initiating requests while some servers (only) support responding to
requests. To prevent clients from initiating requests to other clients,
which given them being clients they fail to respond, clients should not
list `foo` in their `protocols` list.

Question emerged in https://github.com/libp2p/specs/issues/324.

* identify/README: Reword to inbound substreams
2021-05-25 17:06:54 +02:00
Max Inden
f922a3e4ff identify: Document identify behavior for asymetrical protocols (#327)
* identify: Document identify behavior for asymetrical protocols

> Note on asymmetrical protocols: Assume an asymmetrical
request-response style protocol `foo` where some clients only support
initiating requests while some servers (only) support responding to
requests. To prevent clients from initiating requests to other clients,
which given them being clients they fail to respond, clients should not
list `foo` in their `protocols` list.

Question emerged in https://github.com/libp2p/specs/issues/324.

* identify/README: Reword to inbound substreams
2021-05-25 17:06:19 +02:00
vyzo
9274d301ba connections: multistream-select 1.0 simultaneous open protocol extension (#196)
> In order to support direct connections through NATs with hole punching, we
> need to account for simultaneous open. In such cases, there is no single
> initiator and responder, but instead both peers act as initiators. This breaks
> protocol negotiation in multistream-select, which assumes a single initator.
>
> This draft proposes a simple extension to the multistream protocol negotiation
> in order to select a single initator when both peers are acting as such.

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
Co-authored-by: bigs <cole@protocol.ai>
Co-authored-by: Max Inden <mail@max-inden.de>
Co-authored-by: Steven Allen <steven@stebalien.com>
2021-05-11 15:27:05 +02:00
Steven Allen
dadddd2094 Merge pull request #316 from libp2p/feat/rsa-deprecate
feat: drop RSA to SHOULD
2021-04-30 10:38:58 -07:00
raulk
458320f95d update revision to r2. 2021-04-30 18:37:59 +01:00
Vasco Santos
fecbe3c189 rendezvous/README: Add recommendations (#302)
This commit adds recommendations to the rendezvous spec regarding how a rendezvous
point should be configured. These were based on the discussions on the go
implementation PR and current code.

Co-authored-by: Max Inden <mail@max-inden.de>
2021-04-30 14:01:20 +02:00
Steven Allen
daf523ed78 Merge pull request #322 from libp2p/fix/mplex-64
Revert "mplex: allow for 28bit stream IDs."
2021-04-27 11:01:37 -07:00
Steven Allen
53306a55a3 fix(mplex): formatting
Co-authored-by: Max Inden <mail@max-inden.de>
2021-04-27 11:01:32 -07:00
Steven Allen
cc7c986a2e Revert "mplex: allow for 28bit stream IDs."
This reverts commit 51ec3e5ab1.

See the discussion starting at:

https://github.com/libp2p/specs/pull/317#issuecomment-826362668
2021-04-27 10:41:34 -07:00
Steven Allen
7cfc6a5010 Merge pull request #320 from mxinden/connections-secio
connections: Replace SECIO with Noise as baseline sec proto
2021-04-27 10:40:39 -07:00
Max Inden
4480efe66c relay/README: Add rust-libp2p to list of implementations (#318) 2021-04-27 15:09:14 +02:00
Max Inden
1d89217215 connections: Replace SECIO with Noise as baseline sec proto 2021-04-27 13:42:53 +02:00
Steven Allen
7e40097629 Merge pull request #317 from libp2p/fix/259
fix: specify max mplex stream ID size
2021-04-23 09:33:28 -07:00
Steven Allen
51ec3e5ab1 mplex: allow for 28bit stream IDs. 2021-04-22 09:53:10 -07:00
Steven Allen
3292c8220d fix mplex spec wording
Co-authored-by: Max Inden <mail@max-inden.de>
2021-04-22 08:50:50 -07:00
Steven Allen
076eec5532 fix: specify max mplex stream ID size
fixes #259
2021-04-21 17:08:21 -07:00
Steven Allen
c3d5c95634 feat: drop RSA to SHOULD
While its important for interop with IPFS, it's not really a
_requirement_ for libp2p. This makes Ed25519 the "standard".
2021-04-21 14:36:48 -07:00
Max Inden
c05edce42a connections/README: Add missing link to resource manager issue (#311) 2021-04-09 16:02:12 +02:00
Max Inden
9f6523988a pubsub/gossipsub/README: Mark rust gossipsub v1.0 as complete (#310) 2021-04-09 16:01:53 +02:00
Sammy
69e57d59dc pnet: Fix typos (#309) 2021-04-01 13:37:25 +02:00
Steven Allen
4a8d520084 Merge pull request #308 from mxinden/deprecate-secio
secio: Transition SECIO spec from Active to Deprecated
2021-03-26 10:28:25 -07:00
Max Inden
7a96e8039e secio: Transition SECIO spec from Active to Deprecated
The SECIO security transport has been deprecated [1]. This commit
updates the specification accordingly.

[1] https://blog.ipfs.io/2020-08-07-deprecating-secio/
2021-03-26 17:42:25 +01:00
Steven Allen
6a8fb7c0b3 Merge pull request #295 from mxinden/plaintext-prefix
plaintext: Clarify only handshake messages being framed
2021-03-14 21:21:37 -07:00
tmakarios
eb094acabe relay: Use SUCCESS instead of OK for relay status code (#293) 2021-03-13 17:52:07 +01:00
Raúl Kripalani
7d02f53b86 gossipsub v1.1 spec: fix anchor links. (#304)
* gossipsub v1.1 spec: fix anchor links.

* fix p3 and p3b links.

* Update gossipsub-v1.1.md
2020-12-10 10:41:05 +00:00
Jacob Heun
b70ccf2319 Merge pull request #217 from libp2p/rfc/address-records
RFC: Signed Address Records
2020-11-19 15:05:09 +01:00
Jacob Heun
e401b14ada fix: correct link in RFC/0002-signed-envelopes.md
Co-authored-by: tmakarios <githubcorrespondence@freespoken.nz>
2020-11-13 13:35:04 +01:00
Jacob Heun
2e175f01cd Merge pull request #284 from libp2p/fix/rendezvous-spec
fix: rendezvous spec
2020-11-13 13:22:38 +01:00
Jacob Heun
5b6628b205 Merge pull request #301 from maxvonhippel/patch-1
fix: typos
2020-11-13 12:49:00 +01:00
Max von Hippel
d23d59d1f8 2 one-char typo fixes. 2020-11-12 13:06:09 -07:00
Steven Allen
898d72be28 Merge pull request #282 from oskarth/patch-4
Update README being explicit about proto2
2020-10-19 10:05:01 -07:00
Raúl Kripalani
40f20485c3 Merge pull request #299 from libp2p/signing-policy-review 2020-09-30 10:54:33 +01:00
Raúl Kripalani
402b8c3c4a minor edits. 2020-09-29 15:32:24 +01:00
Raúl Kripalani
948c901fea fix typo. 2020-09-25 16:17:30 +01:00
Raúl Kripalani
b3c498ebad pubsub: define 'origin-stamped' term. 2020-09-25 16:00:06 +01:00
Raúl Kripalani
03a68d53eb pubsub: signing policy editorial changes. 2020-09-25 15:50:16 +01:00
Raúl Kripalani
e8b85d0b12 Update pubsub/README.md 2020-09-25 13:43:52 +01:00
Raúl Kripalani
a7862dd1f5 apply @raulk's suggestions. 2020-09-24 23:01:41 +01:00
Raúl Kripalani
58df0ddfa9 apply @raulk's suggestions. 2020-09-24 23:01:10 +01:00
protolambda
dc1fe8ba67 clarify message ID per topic, and default function 2020-09-24 19:58:48 +02:00
Diederik Loerakker
b585401d35 Apply suggestion to clarify policy incompatibility
Co-authored-by: Jacek Sieka <arnetheduck@gmail.com>
2020-09-24 19:39:38 +02:00
protolambda
e80c67cc15 update TOC 2020-09-24 19:23:27 +02:00
protolambda
0ccb3b01ef define message ID option, clarify two common flavors 2020-09-24 19:18:28 +02:00
protolambda
e4eb5ee113 PR suggestions, formatting, clarification 2020-09-24 18:37:56 +02:00
Max Inden
c1e678b2e6 plaintext/README: Wrap lines 2020-09-24 11:24:06 +02:00