Skip to content

Deniable-IM/im-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instant Messaging Simulation

Prerequisites

This repository depends on tshark which can be found in most package managers such as apt.

apt install tshark

You need to change the permisisons for your user such that it is part of the wireshark group as outlined in the wireshark readme. You may need to restart your machine for the change in group permissions to take effect.

sudo usermod -a -G wireshark $USER

It is probably not ideal to be part of this group long-term so you might want to remove yourself from the group when you are done with this repository.

Container runtime

Use crun to run containers deamon-less for less memory footprint.

wget https://github.com/containers/crun/releases/download/1.20/crun-1.20-linux-amd64
sudo mv crun-1.20-linux-amd64 /usr/bin/crun
sudo chmod +x /usr/bin/crun

Add or replace daemon.json to enable use of crun runtime.

mv daemon.json /etc/docker/

Commands

Create certificates

Create the certificates used by clients and server before building

cd cmd/signal-sim/cert/
./generate_cert.sh

Run Signal protocol simulation

Run a Signal simulation with N clients

make signal

Run DenIM protocol simulation

Run a DenIM simulation with N clients

make signal

Stop simulation

Stop all running containers

make stop

Reset

Stop running containers and remove network IMvlan

make reset

About

Instant Messaging Simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published