teschmitt / dtn7-showroom

A virtual showroom with various applications using dtn7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat

dtn7 showroom

This Docker image contains a virtual showroom and playground for various applications using dtn7-rs. To play with the container docker on arm64 or x64 is needed as well as a VNC client.

Currently, the following example scenarios are included:

  • dtn dwd: delay-tolerant weather warnings
  • dtnchat: a simple text-based dtn chat including a chatbot
  • NNTP DTN: a NNTP-to-DTN gateway for group discussions using thunderbard, pan, etc.

Running

Only the dtn7showroom.sh script or docker itself are needed:

$ docker run --rm -it --name showroom -p 5901:5901 --privileged -v /tmp/shared:/shared gh0st42/dtn7-showroom

'########::'########:'##::: ##:'########::'######::'##::::'##::'#######::'##:::::'##:'########:::'#######:::'#######::'##::::'##:
 ##.... ##:... ##..:: ###:: ##: ##..  ##:'##... ##: ##:::: ##:'##.... ##: ##:'##: ##: ##.... ##:'##.... ##:'##.... ##: ###::'###:
 ##:::: ##:::: ##:::: ####: ##:..:: ##::: ##:::..:: ##:::: ##: ##:::: ##: ##: ##: ##: ##:::: ##: ##:::: ##: ##:::: ##: ####'####:
 ##:::: ##:::: ##:::: ## ## ##:::: ##::::. ######:: #########: ##:::: ##: ##: ##: ##: ########:: ##:::: ##: ##:::: ##: ## ### ##:
 ##:::: ##:::: ##:::: ##. ####::: ##::::::..... ##: ##.... ##: ##:::: ##: ##: ##: ##: ##.. ##::: ##:::: ##: ##:::: ##: ##. #: ##:
 ##:::: ##:::: ##:::: ##:. ###::: ##:::::'##::: ##: ##:::: ##: ##:::: ##: ##: ##: ##: ##::. ##:: ##:::: ##: ##:::: ##: ##:.:: ##:
 ########::::: ##:::: ##::. ##::: ##:::::. ######:: ##:::: ##:. #######::. ###. ###:: ##:::. ##:. #######::. #######:: ##:::: ##:
........::::::..:::::..::::..::::..:::::::......:::..:::::..:::.......::::...::...:::..:::::..:::.......::::.......:::..:::::..::

==> vnc://127.0.0.1:5901
==> password: sneakers

[...]

You can then connect with any VNC client to the local dtn7 showroom instance with the password sneakers.

NOTE: In case of weird connection problems within the showroom, please make sure that ebtables and sch_netem kernel modules are loaded!

Manually building the container

Just run docker build -t dtn7-showroom . and run it with docker run --rm -it --name showroom -p 5901:5901 --privileged -v /tmp/shared:/shared dtn7-showroom

About

A virtual showroom with various applications using dtn7


Languages

Language:Python 61.0%Language:JavaScript 13.7%Language:Scheme 12.2%Language:Dockerfile 7.0%Language:Shell 5.7%Language:DenizenScript 0.2%Language:Roff 0.2%