Commit Graph

776 Commits

Author SHA1 Message Date
Alex Potsides
6634ca7abb circuitv2: clarify what to do when data limit is reached (#526)
This documents the rust-libp2p behaviour when more data than is allowed is transferred over a relayed connection.  js-libp2p will take the same approach.  go-libp2p may need to be updated.

---------

Co-authored-by: Max Inden <mail@max-inden.de>
Co-authored-by: Prithvi Shahi <50885601+p-shahi@users.noreply.github.com>
2023-03-23 15:49:37 +00:00
Thomas Eizinger
7530296745 feat(connections): clarify state management around supported protocols (#530) 2023-03-23 13:35:20 +01:00
Alex Potsides
aac4e1f1c8 circuitv2: specify timestamp units for reservation expiration (#531)
The reservation expiration date is specified in seconds so be explicit about that in the spec in the same way we are explicit about the duration limit units.
2023-03-21 21:21:49 +13:00
Prithvi Shahi
d4b5fb0152 chore: update webrtc implementation links (#527) 2023-03-01 16:41:56 -08:00
Thomas Eizinger
4df161dd9a Add yamux specification (#519)
* Add initial yamux spec by copying in hashicorp one

* Add ACK backlog recommendation

* Add wemeetagain to interest group

* Apply suggestions from code review

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* Add yamux protocol string

* Add ianopolous to interest group

---------

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2023-02-26 02:46:51 -08:00
Marten Seemann
e764f1149a autonat: document that the observed address may also be dialed (#518) 2023-02-24 23:35:46 +13:00
Max Inden
c844f72e77 docs(relay-v2): Document that relayed conn is upgraded with sec and mux (#522) 2023-02-20 15:50:17 -08:00
T
512eeed6b7 tls: remove outdated paragraph on use of NamedCurve encoding in certificates (#516) 2023-02-15 14:09:48 +01:00
Marco Munizaga
df3418e98b Merge pull request #511 from ckousik/ckousik/circuit-v2-proto3
Update circuitv2 to proto3
2023-02-07 21:12:28 -08:00
Marco Munizaga
6fffda0e24 Update proto definition 2023-01-31 18:25:30 -08:00
Marten Seemann
f0c2d15446 roadmap: move WebTransport to Done section (#460)
* roadmap: move WebTransport to Done

* Apply suggestions from code review

Co-authored-by: Prithvi Shahi <50885601+p-shahi@users.noreply.github.com>

---------

Co-authored-by: Prithvi Shahi <50885601+p-shahi@users.noreply.github.com>
2023-01-31 13:40:32 -08:00
Chinmay Kousik
4c3d32a327 update revision 2023-01-31 21:27:23 +05:30
Chinmay Kousik
0db6c537e0 update circuitv2 to proto3 2023-01-31 08:24:28 +05:30
Marco Munizaga
2e77be6f76 Merge pull request #506 from libp2p/marco/proto3
Recommend proto3
2023-01-23 10:24:22 -08:00
Danny Salman
1ec40b3f9c refactor: use rfc6890 special-purpose addresses (#505) 2023-01-23 15:02:20 +01:00
Marco Munizaga
c733210b3a Make existing protocols explicit about proto2 2023-01-20 17:13:13 -08:00
Marco Munizaga
a920e7aa6d Update README to recommend proto3 2023-01-20 17:12:09 -08:00
Marten Seemann
76ccc4fabb add a basic QUIC spec (#499)
* add a basic QUIC spec

* fix spec status

Co-authored-by: Max Inden <mail@max-inden.de>

* specify ALPN and link to libp2p TLS

* add link to QUIC spec to README

Co-authored-by: Max Inden <mail@max-inden.de>
2023-01-05 14:53:35 -08:00
Danny Salman
ae6399b1e7 chore(rendezvous): Typo in rendezvous TTL upper-bound + writing style updates (#490) 2022-12-14 17:11:30 +01:00
Danny Salman
946441e549 minor tweak to lifestyle doc phrase (#494) 2022-12-14 17:09:28 +01:00
Danny Salman
3fe53ec835 ping(fix): update type and enhance content (#493) 2022-12-14 17:07:35 +01:00
julian88110
41d5104513 Muxer selection in security handshake (#446)
* Muxer selection in security handshake spec

* Add cross version and security sections

* Add security and more sections

* Address review feedback points, add protobuf.

* Address some more review points.

Update Noise handshake section, Revise muxer string in examples.

* Correct some typos

* Address feedback points and update noise section

* update Noise extention protobuf

* Remove TBD item

* Remove some redandant info

* add alternative options considered

* Update noise registration with NoiseExtensions field for muxers.

* Update connections/muxer-sel-in-sec-handshake.md

Co-authored-by: Max Inden <mail@max-inden.de>

* Revise noise handshake section to reflect early data carrier msg change.

* Correct sequence example in noise handshake

* Update connections/muxer-sel-in-sec-handshake.md

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* replace nextproto with ALPN extension

* Update connections/muxer-sel-in-sec-handshake.md

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* Update title

* Update connections/muxer-sel-in-sec-handshake.md

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* Update connections/muxer-sel-in-sec-handshake.md

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* address some review points

* Revise some typos

* Revise the Noise selection process so that the selection of muxer is based on the responder's priority
and fix some typos

* Editorial

* formatting

* Update muxer-sel-in-sec-handshake.md

* Update muxer-sel-in-sec-handshake.md

* Update muxer-sel-in-sec-handshake.md

Consolidate some sections and clarify backward compatibility section.

* Consolidate some sections again and simplify some descriptiosn.

* remove accidentally checked file

* Editorial changes

* Update connections/muxer-sel-in-sec-handshake.md

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* Update connections/muxer-sel-in-sec-handshake.md

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* Update connections/muxer-sel-in-sec-handshake.md

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* Update connections/muxer-sel-in-sec-handshake.md

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* Apply some suggestions from code review

* add myself to list of authors

* rewrite the Security section

* use the client's preference in Noise

* rename document, link to it from connections README

* remove section describing current muxer selection

* remove repetitive section introducing muxer selection

* improve TLS section

* condense Noise section

* Apply suggestions from code review

Co-authored-by: Prithvi Shahi <50885601+p-shahi@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Prithvi Shahi <50885601+p-shahi@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Prithvi Shahi <50885601+p-shahi@users.noreply.github.com>

* bump revisions

* Apply suggestions from code review

Co-authored-by: Elena Frank <elena.frank@protonmail.com>

Co-authored-by: Max Inden <mail@max-inden.de>
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
Co-authored-by: Prithvi Shahi <50885601+p-shahi@users.noreply.github.com>
Co-authored-by: Elena Frank <elena.frank@protonmail.com>
2022-12-12 13:18:38 -08:00
Yiannis Psaras
9a646c0283 kad-dht/: Recommend new values for Provider Record Republish and Expiration (#451)
Recommend new values for provider record republish and expiration (22h/48h) based on request-for-measurement 17 results.

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-12-12 21:00:46 +01:00
Prithvi Shahi
cfcf0230b2 chore: update lifecycle and maturity (#484) 2022-11-27 18:35:02 -08:00
vyzo
8586d46d5f Merge pull request #486 from gossipsubfm/patch-1
Add link to formal specification of GossipSub
2022-11-28 04:25:37 +02:00
GossipSub FM
b62e9b3bdd Add link to formal specification of GossipSub
The added link goes to a full formal specification for GossipSub provided in ACL2s, an automated theorem proving environment.
2022-11-27 17:03:18 -07:00
Prithvi Shahi
0ee005fa52 chore: proposal to update WebRTC Browser to Server to Candidate Recommendation (#482) 2022-11-22 18:06:00 -08:00
Marco Munizaga
a2e37364c1 Merge pull request #473 from libp2p/marco/spec-ping
Add ping spec
2022-11-15 07:41:20 -08:00
Marco Munizaga
bdbb9a1fa7 Update ping/ping.md
Co-authored-by: Max Inden <mail@max-inden.de>
2022-11-15 07:41:00 -08:00
João Oliveira
29a6b49df8 mdns: fix typo in spec (#476) 2022-11-09 15:23:25 -08:00
Max Inden
e74a82bba0 webrtc/: Add libp2p WebRTC browser-to-server spec (#412)
Enable browsers to connect to public server nodes without those server nodes
providing a TLS certificate within the browser's trustchain.

Co-authored-by: Chinmay Kousik <chinmaykousik1@gmail.com>
Co-authored-by:  Anton Kaliaev
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2022-11-09 06:10:40 -05:00
Marco Munizaga
a26355033a Fix double space 2022-11-05 05:46:40 -07:00
Marco Munizaga
8af5686ad9 More precise language 2022-11-05 05:45:03 -07:00
Marco Munizaga
8383370a89 Add ping spec 2022-11-04 17:55:21 -07:00
Prithvi Shahi
ede944a96f roadmap: add core tenets, move Wasm to short term goals (#470) 2022-10-20 09:57:54 -07:00
Marten Seemann
287a4d7137 roadmap: rewrite the telemetry section (#463) 2022-10-12 13:18:34 -07:00
Marten Seemann
e93e7eb7de readme: add WebTransport to list of protocols (#468) 2022-10-12 13:16:36 -07:00
Marten Seemann
2e4c260d30 roadmap: rewrite the section about efficient handshakes (#461)
* roadmap: rewrite the section about efficient handshakes

* fix typos

Co-authored-by: Max Inden <mail@max-inden.de>
Co-authored-by: Prithvi Shahi <50885601+p-shahi@users.noreply.github.com>

Co-authored-by: Max Inden <mail@max-inden.de>
Co-authored-by: Prithvi Shahi <50885601+p-shahi@users.noreply.github.com>
2022-10-12 12:54:09 -07:00
Marten Seemann
47da09e760 webtransport: fix interest group links, add Elena (#467)
* webtransport: fix link to GitHub profiles

* webtransport: add Elena to interest group
2022-10-12 12:53:07 -07:00
Marten Seemann
12f9a31c00 add a WebTransport spec (#404)
* add a draft for the WebTransport spec

* describe the HTTP endpoint

* improve introduction

Co-authored-by: Melanie Riise <mark.riise26@gmail.com>

* use Noise to check end-to-end encryption of the WebTransport connection

* define protobuf to encode certificate hashes

* use a separate multiaddr component for certificate hashes

* remove server mode using CA signed certificates

* apply suggestions from code review

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Max Inden <mail@max-inden.de>

* webtransport: move certhash verification to the client (#455)

* webtransport: remove confusion around Noise handshake completion

* webtransport: update certificate generation logic

* webtransport: link to Noise Extensions spec

* webtransport: move spec to Candidate Recommendation

* webtransport: remove misleading mention of hole punching

* webtransport: fix typos

* webtransport: add interest group

* webtransport: add link to Firefox meta-issue

* webtransport: soften language around URL multiaddr encoding

* webtransport: clarify that WebTransport over HTTP/3 is meant

* webtransport: fix typo

Co-authored-by: Elena Frank <elena.frank@protonmail.com>

* webtransport: clarify certificate regeneration logic

* webtransport: fix typos

Co-authored-by: Elena Frank <elena.frank@protonmail.com>

* webtransport: allow use of CA-signed certificates

* address minor issues raised in code review

* clarify that servers with a CA-signed certificate don't use /certhash

Co-authored-by: Melanie Riise <mark.riise26@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Max Inden <mail@max-inden.de>
Co-authored-by: Elena Frank <elena.frank@protonmail.com>
2022-10-12 12:21:27 -07:00
Thomas Eizinger
106b4ad5a3 tls: Add test vectors for TLS spec (#464) 2022-10-04 12:12:22 +01:00
Marten Seemann
87d721379a roadmap: remove browser use cases (#462) 2022-10-03 05:11:19 -07:00
Marten Seemann
4b052c0df0 noise: introduce an extension registry (#453)
* noise: introduce an extension registry

* noise: remove WebRTC and stream muxer from NoiseExtensions

* don't specify how many Noise extensions there are

* improve description of extensions

* noise: add Changelog
2022-09-23 07:22:22 -07:00
Marten Seemann
746f052d90 noise: specify proto2 (#456)
* noise: specify proto2

* noise: specify optionality of fields in protobuf

* noise: bump version
2022-09-20 11:41:05 -07:00
libp2p-mgmt-read-write[bot]
bae7d15d4c chore: Update .github/workflows/stale.yml [skip ci] 2022-09-19 13:42:19 +00:00
Marten Seemann
2f65a89670 noise: remove interface definition (#452) 2022-09-15 11:16:15 -07:00
Marco Munizaga
0fe750e09f Merge pull request #449 from kellytk/patch-1
Correct grammar in ROADMAP
2022-09-13 09:52:27 -07:00
Kelly Thomas Kline
ed935b6cc0 Correct grammar in ROADMAP 2022-09-13 05:20:51 -07:00
Max Inden
3babcc0598 tls/: Fix typo in libp2p Public Key Extension (#448) 2022-09-11 09:50:02 +02:00
Marcin Rataj
6b3d2630bb chore: fix outdated links (#447) 2022-09-09 23:25:50 -07:00