No description
Find a file
Patryk Hegenberg 42e4a63a6a fix(sender,receiver): fixed bug with sender and receiver trying to connect to https with http address
to fix this bug i had to change the way a user can support a relay
address. the user can no longer provide the address in the form
"0.0.0.0:8000" instead he has to use "ws://0.0.0.0:8000" or
"wss://0.0.0.0:8000" the switch between ws/http or wss/https is handle
by the program
2024-05-02 21:22:17 +02:00
.github/workflows first try yml by chatgpt 2024-05-02 13:26:11 +02:00
src fix(sender,receiver): fixed bug with sender and receiver trying to connect to https with http address 2024-05-02 21:22:17 +02:00
.gitignore base: add .env to gitignore 2024-04-19 12:52:04 +02:00
Cargo.lock fix(sender,receiver): fixed bug with sender and receiver trying to connect to https with http address 2024-05-02 21:22:17 +02:00
Cargo.toml fix(sender,receiver): fixed bug with sender and receiver trying to connect to https with http address 2024-05-02 21:22:17 +02:00
packets.proto project: first attempt of reimplemantation of caesar with websockets 2024-04-26 13:03:52 +02:00
pull_request_template.md Create pull_request_template.md 2024-04-28 13:19:51 +02:00
README.md docs: added README file 2024-04-19 12:50:43 +02:00

Caesar

This program provides a simple relay server that can be controlled via the command line.

Prerequisites

Rust toolchain installed

Installation

  1. Clone the repository:
git clone https://github.com/your-username/caesar.git
  1. Change to the project directory:
cd caesar
  1. Build the program:
cargo build --release

Usage

The program offers the following commands: serve Starts the relay server.

./target/release/caesar serve

You can optionally specify the listening address and port using flags:

./target/release/caesar serve -p 8080 -l 192.168.1.100

By default, the server listens on 0.0.0.0:1323.

send Sends data through the relay server.

./target/release/caesar send

receive Receives data through the relay server.

./target/release/caesar receive

Help

For more information about the commands and arguments, use:

./target/release/caesar --help

Development

To start a test system, please follow these steps: Start the relay server:

./target/release/caesar serve

Open a send window in another terminal:

./target/release/caesar send

Open a receive window in another terminal:

./target/release/caesar receive

Now you can test the functionality of the relay server.