Marco Munizaga
5961756bdf
Add quic-v1
2022-11-11 20:47:12 -08:00
Marten Seemann
d93ccc5148
use decimal numbers for multicodecs
2022-09-08 17:29:40 +03:00
Marco Munizaga
cbdb5fa109
Add SNI
2022-09-07 19:54:37 -07:00
Chinmay Kousik
696f50ab79
Add webrtc ( #179 )
...
* Add x-webrtc
* update webrtc protocol
* address review comments
* fix fmt
* update code to 0x118
2022-07-17 02:39:29 -07:00
Marten Seemann
494efd07c6
add support for certhash
2022-06-20 22:59:47 +02:00
Marten Seemann
e0eb8cdf5d
add support for WebTransport
2022-06-19 19:26:22 +02:00
Marco Munizaga
f5adc3b7a2
add ipcidr support ( #177 )
...
* Add support for ipcidr protocol
* Move test
* Fix gocheck
* PR comments
* Check byte slice len
2022-06-19 09:15:36 -07:00
Marten Seemann
a40b139ce8
add a codepoint for the plaintextv2 protocol
2021-09-19 17:12:54 +01:00
Marten Seemann
89ffaeea18
add Noise
2021-07-01 16:41:44 -07:00
Pavel Karpy
99477a348c
feat: add TLS protocol
2021-05-26 16:04:06 +03:00
Steven Allen
7bffa37597
feat: add wss protocol
...
Now that we define all protocols in this package, we might as well add wss.
fixes #72
2020-02-28 18:58:05 -08:00
Steven Allen
438f18c3f9
feat: switch to /p2p multiaddrs by default
2019-11-01 14:22:21 -07:00
Steven Allen
a088a4a5ef
feat: add dns support
...
This is a defacto standard and is used by js-libp2p.
Ported from https://github.com/multiformats/go-multiaddr-dns/pull/17 .
This was decided in https://github.com/multiformats/multiaddr/issues/22 .
2019-09-18 17:13:14 -07:00
godcong
bbcf5cbbc5
move dns protocol definitions ( 3974bf3f84/dns.go (L11)
)
2019-09-18 14:19:59 +08:00
godcong
0550a5ba36
move ws protocol definitions ( ec8d1818a2/websocket.go (L23)
)
2019-09-18 14:07:40 +08:00
godcong
c80d054253
move protocol definitions ( https://github.com/libp2p/go-libp2p-circuit/blob/master/transport.go#L13-L24 )
2019-09-18 13:53:31 +08:00
idk
71e227b59a
correct the protocol codes for garlic addresses
2019-04-05 15:15:05 -04:00
idk
d288e979d6
variable-length garlic32 addresses
2019-03-29 14:52:24 -04:00
Raúl Kripalani
794e406662
remove stale TODO.
2019-02-27 12:10:50 +00:00
backkem
6b421eaeda
Add p2p-webrtc-direct protocol
2018-12-20 12:10:18 +01:00
idk
567daf242f
made garlic64 variable-length
2018-12-13 04:53:17 -05:00
idk
0f1c1ba00d
remove garlic32 protocol
2018-11-30 22:48:29 -05:00
idk
684664541d
switch back to P_ONION and remove P_ONION2 alias
2018-11-30 20:09:02 -05:00
idk
a91caf054e
add both base64 and base32 addresses as separate protocols, remove port from addresses to be expressed as /tcp, etc.
2018-11-30 19:55:52 -05:00
idk
54ddf83b00
Switch to using base64 i2p addresses to facilitate transport
2018-11-26 05:03:37 -05:00
idk
cf7ed7c1ad
created onionv3 and garlic multiaddrs
2018-11-15 04:11:07 -05:00
mwnx
1f9df061aa
Add "zone" multiaddr (IPv6 zone)
...
See [rfc4007].
Can be prefixed to "ip6" like so:
/zone/eth0/ip6/fe80::1
This corresponds to the rfc4007 address `fe80::1%eth0`
[rfc4007] https://tools.ietf.org/html/rfc4007
2018-09-14 18:41:48 -07:00
Steven Allen
1ae1320955
refactor the protocol definition files
...
Also use `AddProtocol` for *all* protocols (even predefined ones).
2018-07-18 09:09:29 -07:00
Steven Allen
6688376452
unexport ProtocolsByName and add protocolsByCode
2018-06-26 14:53:06 -07:00
Steven Allen
47e3ab13b2
validate protocol definition in add protocol
2018-06-22 18:34:55 -07:00
Steven Allen
b68c4a264d
go fmt
2018-06-22 13:28:00 -07:00
Jeromy
dea70a9f19
begin transition from /ipfs/ to /p2p/ multiaddrs
2018-06-18 18:24:36 -07:00
mwnx
7bf24dca81
Fix CodeToVarint []byte size
...
We were missing a logarithm... CodeToVarint would previously allocate
more bytes than necessary (exponentially) for the varint slice. This bug
was silent but deserves to be fixed nonetheless.
2018-06-16 19:53:08 +02:00
Steven Allen
a8637d432a
Change QUIC multicodec to a unique number
...
It conflicted with CBOR.
part of multiformats/multicodec#55
2017-07-30 19:50:20 -07:00
Steven Allen
71c1bfde36
Fix protocol multicodecs numbers
...
1. Swap udt/utp.
2. Fix udp (17 is SHA1)
3. Change them to hex so it's easier to compare them with the official
multicodec table.
4. Remove the local protocols.csv table.
Fixes #49
Fixes multiformats/multicodec#51
2017-07-20 14:39:12 -07:00
Marten Seemann
22c78388e2
add QUIC
2017-03-17 13:26:26 +07:00
Jakub Sztandera
1919305418
add Transocoder functionality
...
Allowing multiaddr extensions to have data with
2016-10-14 11:48:19 -04:00
jbenet
bdf3e3a444
added unix path protocol
2016-09-19 11:06:27 +08:00
Ian Preston
e32e9cd0f0
Implemented byte decoder for onion addresses. Corrected onion bit size.
2016-08-09 19:21:28 +01:00
Jeromy
9c4a0baf6d
cleanup panics and make NewFromBytes faster
2016-04-29 14:16:41 -07:00
Jeromy
b185168cd2
modularize multiaddr protocols
2016-01-17 01:28:18 -08:00
David Stainton
3bc1e2e8c3
Onions are 80 bits
2015-09-26 01:36:31 +02:00
David Stainton
0e7ae0d2ee
Renamed tor to onion and added embedded port field
2015-08-31 03:19:47 +02:00
David Stainton
ed310561bd
Add Tor .onion address support and unit test cases
2015-08-29 19:48:07 +02:00
Juan Batiz-Benet
f529ec7884
added http, https, and ipfs protocols
2015-01-17 21:12:54 -08:00
Juan Batiz-Benet
32d9d68b64
ProtocolsWithString
2015-01-09 05:51:16 -08:00
Juan Batiz-Benet
17f4666d01
Protocols now value
2015-01-09 05:37:39 -08:00
Juan Batiz-Benet
59f6cfc921
implement varints + add utp, udt
2014-11-19 13:02:06 -08:00
Juan Batiz-Benet
b90678896b
go lint + unexporting some funcs
2014-09-11 10:47:56 -07:00
Juan Batiz-Benet
99196c0d23
dialing + consts
2014-07-07 01:25:20 -07:00