telehash / gogotelehash Goto Github PK
View Code? Open in Web Editor NEWThe official Telehash package for Go
Home Page: http://telehash.org/
License: Apache License 2.0
The official Telehash package for Go
Home Page: http://telehash.org/
License: Apache License 2.0
Currently channels don't handle incomming "err"
headers.
any ideas what might cause this to happen once in a while? is it my code? :)
go
src/mesh.c:39 mesh_new() mesh created version 3.0.10
src/e3x/self3.c:40 self3_new() self created with 1 csids
test/net_link.c:29: passed 1 tests
test/net_link.c:38: passed 2 tests
2014/11/20 15:53:58 golang: zi3qgzyfymmritlnjppuycbhystlblqi33sxmunzy5xxmbp4zl5q
2014/11/20 15:53:58 remote: tjeyplqm556njaekesikfkoyw5dseya5xqg2pgyp6svctulxw5ha
00:00:00.010 | zi3q tjey | addrbook | Changed path from <nil> to {"type":"udp4","ip":"127.0.0.1","port":50891}
00:00:00.010 | zi3q tjey | addrbook | Discovered path {"type":"udp4","ip":"127.0.0.1","port":50891} (latency=125ms, emwa=125ms)
src/net/udp4.c:37 udp4_pipe() new pipe to 127.0.0.1:53680
src/mesh.c:204 mesh_receive() mesh receiving handshake to tjeyplqm556njaekesikfkoyw5dseya5xqg2pgyp6svctulxw5ha via pipe 127.0.0.1:53680
src/mesh.c:235 mesh_receive() no link for hashname zi3qgzyfymmritlnjppuycbhystlblqi33sxmunzy5xxmbp4zl5q
src/mesh.c:95 mesh_add() mesh add {"hashname":"zi3qgzyfymmritlnjppuycbhystlblqi33sxmunzy5xxmbp4zl5q","keys":{"1a":"aligyu4e47jjqjqnt22v56r3rejuh7xvjq"}}
src/link.c:31 link_new() adding link zi3qgzyfymmritlnjppuycbhystlblqi33sxmunzy5xxmbp4zl5q
src/link.c:130 link_load() adding 1a key to link zi3qgzyfymmritlnjppuycbhystlblqi33sxmunzy5xxmbp4zl5q
src/link.c:153 link_load() delivering session token 7d56959feded13e075824841d58072e8 to zi3qgzyfymmritlnjppuycbhystlblqi33sxmunzy5xxmbp4zl5q
src/link.c:296 link_sync() link sync at 1416524039
src/net/udp4.c:21 udp4_send() udp4 to zi3qgzyfymmritlnjppuycbhystlblqi33sxmunzy5xxmbp4zl5q
00:00:00.051 | zi3q tjey | addrbook | Updated path {"type":"udp4","ip":"127.0.0.1","port":50891} (latency=31.712012ms, emwa=83.020405ms)
00:00:00.051 | zi3q tjey | e3x | Opened exchange
00:00:00.051 | zi3q tjey | e3x | Opened channel "link" 1
src/mesh.c:204 mesh_receive() mesh receiving channel to tjeyplqm556njaekesikfkoyw5dseya5xqg2pgyp6svctulxw5ha via pipe 127.0.0.1:53680
src/e3x/exchange3.c:164 exchange3_receive() no handshake
src/mesh.c:283 mesh_receive() channel decryption fail for link zi3qgzyfymmritlnjppuycbhystlblqi33sxmunzy5xxmbp4zl5q (null)
src/mesh.c:204 mesh_receive() mesh receiving channel to tjeyplqm556njaekesikfkoyw5dseya5xqg2pgyp6svctulxw5ha via pipe 127.0.0.1:53680
src/e3x/exchange3.c:164 exchange3_receive() no handshake
src/mesh.c:283 mesh_receive() channel decryption fail for link zi3qgzyfymmritlnjppuycbhystlblqi33sxmunzy5xxmbp4zl5q (null)
src/mesh.c:204 mesh_receive() mesh receiving channel to tjeyplqm556njaekesikfkoyw5dseya5xqg2pgyp6svctulxw5ha via pipe 127.0.0.1:53680
src/e3x/exchange3.c:164 exchange3_receive() no handshake
src/mesh.c:283 mesh_receive() channel decryption fail for link zi3qgzyfymmritlnjppuycbhystlblqi33sxmunzy5xxmbp4zl5q (null)
^C
Please :-)
Can you use telehash to store arbitrary data like a normal DHT?
There has not been commit for over the year. What's the current project status and is someone working on Telehash v3?
I have a minimal almost-automated test between c and js at https://github.com/telehash/telehash-c/blob/master/test/node.sh that just prints out the json over stdout and the recipient exits success/fail if a link was established.
I've been meaning to learn more about the go implementation, how far away do you think it is to set up a similar test or how hard would it be? :)
Hey @fd -- in looking across the net for go implementations of nat traversal I landed here. Looks like you're looking at this too right now. Your abstraction should perhaps be its own package. We'd probably use it if so.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.