dominion-chat

Crates.iodominion-chat
lib.rsdominion-chat
version0.3.0
sourcesrc
created_at2022-07-25 13:52:34.044075
updated_at2023-02-03 19:56:00.699832
descriptionDNS chat server for fun and profit
homepage
repositoryhttps://github.com/lopukhov/dominion
max_upload_size
id632566
size20,943
(lopukhov)

documentation

README

Dominion Chat

DNS chat server for fun and profit

Messages can be sent in clear text or xor encrypted:

$ dig @127.0.0.1 -p 5533 hello-world.example.com
$ dig @127.0.0.1 -p 5533 xor.6b666f6f6c23706660716677.example.com

Giving:

dominion-chat

A file can also be requested, getting its encrypted contents:

dominion-chat

Usage

Usage: dchat [-t <threads>] [-p <port>] [-i <ip>] [-d <domain>]

Receive DNS messages from the world

Options:
  -t, --threads     number of threads in the thread pool
  -p, --port        UDP port to listen to
  -i, --ip          ip to listen to
  -d, --domain      domain name to use as a filter
  --help            display usage information

Configuration file

If a file called configuration.toml exists in the current directory it will be read to configure dominion-chat.

Example:

ip = "0.0.0.0"
port = 5353
domain = "example.com"
threads = 1

[xor]
key = 3
signal = "test"

[files]
this = "test1.txt"
is = "test2.txt"
an = "test3.txt"
example = "test4.txt"
Commit count: 19

cargo fmt