Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quartzjer/TeleHash
Old v1 repo, please see http://github.org/telehash now.
https://github.com/quartzjer/TeleHash
Last synced: 7 days ago
JSON representation
Old v1 repo, please see http://github.org/telehash now.
- Host: GitHub
- URL: https://github.com/quartzjer/TeleHash
- Owner: quartzjer
- License: other
- Created: 2010-01-03T21:44:13.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2022-06-29T15:57:13.000Z (over 2 years ago)
- Last Synced: 2024-08-02T14:08:18.845Z (3 months ago)
- Language: Java
- Homepage: http://telehash.org/
- Size: 1010 KB
- Stars: 736
- Watchers: 51
- Forks: 65
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is the old/depreicated v1 repo, all of the work since 2013 is now located at [https://github.com/telehash/](https://github.com/telehash/).
***
TeleHash - Distributed JSON - http://telehash.org/
==================================================* org/ telehash.org contents (all docs so far)
* perl/ test implementations and utils in Perl
* c/ basic test stuff in C
* ruby/ rudimentary testing in Ruby
* erlang/ basic announcer in erlang
* switchd/ plans to create a utility daemon to do the dirty work
* diag/ graffle/diagrams of protocol statesWhat tech does one need to implement a switch?
==============================================* UDP
* JSON
* SHA1
* XOR'ing the 160 bits of a SHA1 hash
* handling both network events and timers (and possibly interactions with the "app" it's serving)What does a switch need to do?
==============================
- listen for UDP packets (off a random port)
- send something to an initial seed to discover its public IP:PORT
- announce itself and try to discover other switches nearby to it
- maintain the "lines" it has active with any other switches
- validate sender/status
- track bytes sent/received
- answer requests for nearby switches
- accept "taps" from other switches
- match incoming signals against any active taps and forward them
- that's plenty :)