Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > System > Networking

    stratum 0.2.12

    Download button

    No screenshots available
    Downloads: 134  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    slush | More programs
    Other/Proprietary Li... / FREE
    September 11th, 2012, 14:58 GMT
    ROOT / System / Networking

     Read user reviews (0)  Refer to a friend  Subscribe

    stratum description

    Stratum server implementation based on Twisted

    stratum is server implementation of Stratum protocol using asynchronous networking written in Python Twisted.

    Installation

    Following instructions will work on Ubuntu & Debian*:

    a) From GIT, for developers
    git clone git://gitorious.org/stratum/server.git
    sudo apt-get install python-dev
    sudo python setup.py develop


    b) From package, permanent install
    sudo apt-get install python-dev
    sudo python setup.py install


    #sudo apt-get install python-setuptools
    #sudo easy_install twisted
    #sudo easy_install ecdsa
    #sudo easy_install pyopenssl
    #sudo easy_install autobahn


    *) Debian don't have a 'sudo' command, please do the installation
    process as a root user.

    Configuration

    a) Basic configuration
    Copy config_default.py to config.py
    Edit at least those values: HOSTNAME, BITCOIN_TRUSTED_*

    b) Message signatures
    For enabling message signatures, generate server's ECDSA key by python signature.py > signing_key.pem and fill correct values to SIGNING_KEY and SIGNING_ID (config.py)

    c) Creating keys for SSL-based transports
    For all SSL-based transports (HTTPS, WSS, ...) you'll need private key and certificate file. You can use certificates from any authority or you can generate self-signed certificates, which is helpful at least for testing.

    Following script will generate self-signed SSL certificate:

    #!/bin/bash
    openssl genrsa -des3 -out server.key 1024
    openssl req -new -key server.key -out server.csr
    cp server.key server.key.org
    openssl rsa -in server.key.org -out server.key
    openssl x509 -req -in server.csr -signkey server.key -out server.crt


    Then you have to fill SSL_PRIVKEY and SSL_CACERT in config file with values 'server.key' and 'server.crt'.

    Startup

    Start devel server:
    twistd -ny launcher.tac

    Devel server *without* lowlevel messages of Twisted:
    twistd -ny launcher.tac -l log/twistd.log


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    stratum server | asynchronous networking | stratum | server | Twisted

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM