Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install ssmrandom

How to install ssmrandom

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install ssmrandom
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
0.3Never BuiltWhy not?
0.2 Available View build log
Linux (64-bit)
0.3 Available View build log
0.2 Available View build log
Lastest release
version 0.3 on Jan 9th, 2014


This is an experiment with using source specific multicast to distribute high-quality entropy to consumers. The package contains a single script which can act as both a sender and receiver.


# pip install ssmrandom

In order for this to work your network and hosts must be able to support SSM which in turn requires IGMP v3. For modern Linux and Windows this is enabled by default. For some network equipment (eg juniper) you must enable IGMP v3 explicitly (v2 is the default).

Quick Start

On the entropy producer (using the default multicast group and port):

# ssmrandom send -r /dev/urandom -t 32 -g -p 49999 -L info

On the entropy consumer(s):

# ssmrandom recv -o /var/run/rnd-pipe -g -p 49999 <ip-of-producer>

# rngd --rng-device=/var/run/rnd-pipe --rng-driver=stream --fill-watermark=90% --feed-interval=1

The idiots entropy distribution protocol (IEDP):

Messages are JSON objects with 3 keys:

  • v (version): the protocol version - '1.0' for this version
  • s (source): identifies the source of the random data, eg the name of a hw device
  • d (data): base64-encoded random data


{'s': '/dev/qrandom0','v':'1.0','d': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}

For security this can be signed, which is the reason for having framing at all.

Security issues

Collecting and adding external data to your entropy pool is a tricky issue. Adding multicast to the mix makes it quite hard to analyze. This experiment is trying to investigate the properties of a system for distributing entropy in an efficient and way. A couple of issues that are being investigated:

  • how much entropy do you have to consume in order to pick a random sample

System Message: WARNING/2 (<string>, line 57)

Bullet list ends without a blank line; unexpected unindent.

from the multicast feed? - how expensive would it be to validate signatures on each json mesage? - how good is rngtools at picking up bad entropy?



Release date: Fri Aug 17 15:12:12 CEST 201

  • support for redundant transmitters
  • debian packaging
    • lots of minor fixes and cleanups


Release date: Thu Aug 16 11:02:35 CEST 2012

  • First public release

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.