Code Monkey home page Code Monkey logo

dtella's Introduction

Dtella

A distributed P2P system which emulates a Direct Connect hub, primarily for college campuses and other low-latency LANs, for more information see http://dtella.org.

About this Repository

This repository is a fork of gnu-user/dtella which is in turn a fork of the latest revision (r635) of Dtella from the official SVN repository. The intent of this fork, like the other fork is to improve upon the original Dtella implementation, investigate ways that it could be improved further and additionally adapt it for local use.

Installing

See Install Instructions

After follwing the install instructions, follow the Connecting to Dtella (connecting to local DCC hub) section below (Step #3 onwards).

Connecting to Dtella (connecting to local DCC hub)

  1. Open the DCC client

  2. Start the dtella script

  3. Add a new connection to your Client

  4. Enter the name as anything you like

  5. For the Hub address enter the loopback address followed by your dtella port in the format of <ip_address>:<port> e.g:

     127.0.0.1:7314
    
  6. Save the connection

  7. Connect to the newly created hub.

Connecting to Peers

You should be able to automatically connect to all Peers. (This takes some time the first time you join the network)

If for whatever reason this does not work, you should be able to use the following command

    !addpeer <Peer's IP>:13337

The previous command will add the peer to your client (however it might take a while to refresh)

You can always re-connect to the hub (hit Ctrl-R in your DC client) to restart the peer search.

Peer Discovery Methods Supported

In decreasing order of efficiency.

  1. Google Spreadsheet
  2. DNS
  3. Multicast
  4. Network Scan

TODO

  • DTella page
  • Clean up code
  • Add better/faster P2P scanning
  • Improve multicasing code
  • Document differences clearly
  • Expose debugging and configuration options via flags/bot commands
  • Replace existing readboard with a distributed one (possibly by extending the DC protocol)

Additional Configuration Options

This fork adds a couple of options to the original dtella configuration file, doucmented here:

  • force_scan: A full Network Scan is a floody technique, it's used only when this option is set to True
  • default_udpport: Used by Network Scan, set to None if you wish to use a random port like the original dtella instead.

Original README.md

See README.md.old

Copyright (Really Copyleft)

All of the source code in this repository is licensed under the GNU General Public License, Version 2. All kudos go to the original creators of Dtella, Jacob Feisley, Paul Marks, and Dtella Labs.

dtella's People

Contributors

amoghbl1 avatar cs-shadow avatar databaseerror avatar feisley avatar ffledgling avatar gnu-user avatar nehaljwani avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.