Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where can i find a list off all the protocol codes? #4

Closed
fd opened this issue Oct 24, 2014 · 9 comments
Closed

Where can i find a list off all the protocol codes? #4

fd opened this issue Oct 24, 2014 · 9 comments

Comments

@fd
Copy link

fd commented Oct 24, 2014

Not just the ones in protocols.csv

@jbenet
Copy link
Member

jbenet commented Oct 24, 2014

@fd multiaddr is brand new, and we're adding protocols as we need them. Hence still small. Which protocols are you looking for? Happy to add them.

I should mention that we're starting to look at -- but haven't added support for -- addresses like this:

# ipfs node address, with hash of public key
/ip4/10.20.30.40/tcp/1234/ipfs/QmZSWmvJdrjtUo9TAVnRnRZbMfgcVbMbwMBhvsYTjBZ9es

# multiaddr specifying tls cypher
# 0xcc14 = TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
/ip4/10.20.30.40/tcp/1234/tls/cc14/ipfs/QmZSWmvJdrjtUo9TAVnRnRZbMfgcVbMbwMBhvsYTjBZ9es/

@jbenet
Copy link
Member

jbenet commented Oct 24, 2014

And, i should also mention that I intend to distribute the multiaddr source and protocol table using IPFS itself, so that code can be self-describing.

@fd
Copy link
Author

fd commented Oct 25, 2014

@jbenet Well I was looking into this as it might come in handy for my telehash (Go) implementation.

Btw seems like ipfs is a good fit for telehash.

@jbenet
Copy link
Member

jbenet commented Oct 25, 2014

@fd cool, let me know what protocols you need multiaddr to support and we'll add them.

Btw seems like ipfs is a good fit for telehash.

Thanks, but I think we'll stick to our own mesh. Depending on another project like that is not going to be good for us. :( I also don't think that JSON is the right serialization.

Telehash is described as JSON + UDP + DHT, and I think this is shortsighted. I think we don't want to force any of the serialization, the transport, or the routing. The approach we're taking with IPFS is that every component is pluggable, with clean self-describing abstractions. (hence multiaddr, multihash, and soon multicodec)

(but I'm really glad Telehash is seeing solid work + support!)

@jbenet
Copy link
Member

jbenet commented Oct 25, 2014

And @fd, come hang out in #ipfs in freenode.

@fd
Copy link
Author

fd commented Oct 27, 2014

@jbenet There is no definitive list I could give you as telehash is completely plug-able. But a short list would be: (not all of these are are implemented atm.)

  • udp
  • tcp
  • ipv4
  • ipv6
  • web sockets
  • webrtc
  • bluetooth

I also don't think that JSON is the right serialization

JSON is mainly used internally. As a user of the telehash stack you don't have to use JSON. But I agree that JSON can be too verbose at times.

Depending on another project like that is not going to be good for us

At the moment it would definitely not be a good idea to run ipfs over telehash as everything is still very much in flux. But in the long run I think does make sense to consolidate the networking stacks developed by many of the redecentralized/distributed/p2p projects out there. And that is exactly what telehash is aiming for.

Anyways, ❤️ ipfs

@jbenet
Copy link
Member

jbenet commented Oct 27, 2014

@jbenet There is no definitive list I could give you as telehash is completely plug-able.

Looks to have changed, which is great! :)

At the moment it would definitely not be a good idea to run ipfs over telehash as everything is still very much in flux.

If telehash has become pluggable, it may be worth discussing at some point. We are going to implement message routing eventually (i.e. proper overlay network), and perhaps should interop or maybe we can help.

@yalamerde
Copy link

Why not mentioning NDN here?

@rynomad once also used telehash to route Federated Wiki from browser to browser.

@ghost
Copy link

ghost commented Jan 17, 2017

There's a protocols.csv file in the root of this repository now, and some of the implementations have the same file, with the protocols they support.

@ghost ghost closed this as completed Jan 17, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants