aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yaml6
-rw-r--r--README.md3
-rw-r--r--db_v2.sqlite3bin24576 -> 24576 bytes
-rw-r--r--src/common.rs2
4 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 461f80c..4ef98a9 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -59,6 +59,9 @@ jobs:
# - name: Run tests
# run: cargo test --verbose
+ - name: Exec chmod
+ run: chmod -v a+x target/${{ matrix.job.target }}/release/*
+
- name: Publish Artifacts
uses: actions/upload-artifact@v3
with:
@@ -92,6 +95,9 @@ jobs:
name: binaries-${{ matrix.job.name }}
path: ${{ matrix.job.name }}
+ - name: Exec chmod
+ run: chmod -v a+x ${{ matrix.job.name }}/*
+
- name: Pack files (${{ matrix.job.name }})
run: |
sudo apt update
diff --git a/README.md b/README.md
index 18ecd43..e0272e1 100644
--- a/README.md
+++ b/README.md
@@ -48,6 +48,8 @@ docker run --name hbbr --net=host -v "$PWD/data:/root" -d rustdesk/rustdesk-serv
or without --net=host, but P2P direct connection can not work.
+For systems using SELinux, replacing `/root` by `/root:z` is required for the containers to run correctly. Alternatively, SELinux container separation can be disabled completely adding the option `--security-opt label=disable`.
+
```bash
docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v "$PWD/data:/root" -d rustdesk/rustdesk-server:latest hbbs -r <relay-server-ip[:port]>
docker run --name hbbr -p 21117:21117 -p 21119:21119 -v "$PWD/data:/root" -d rustdesk/rustdesk-server:latest hbbr
@@ -180,6 +182,7 @@ We use these environment variables:
| DB_URL | yes | path for database file |
| KEY_PUB | yes | public part of the key pair |
| KEY_PRIV | yes | private part of the key pair |
+| RUST_LOG | yes | set debug level (error|warn|info|debug|trace) |
### Secret management in S6-overlay based images
diff --git a/db_v2.sqlite3 b/db_v2.sqlite3
index 245eb7e..3d9350d 100644
--- a/db_v2.sqlite3
+++ b/db_v2.sqlite3
Binary files differ
diff --git a/src/common.rs b/src/common.rs
index 253d3d1..a57485b 100644
--- a/src/common.rs
+++ b/src/common.rs
@@ -118,7 +118,7 @@ pub fn gen_sk(wait: u64) -> (String, Option<sign::SecretKey>) {
};
let (mut pk, mut sk) = gen_func();
for _ in 0..300 {
- if !pk.contains("/") {
+ if !pk.contains("/") && !pk.contains(":") {
break;
}
(pk, sk) = gen_func();