Compare commits

...

7 Commits

Author SHA1 Message Date
Frew777
c93469a413 Merge 2648ded530 into f8e1e2f2ea 2026-03-21 07:32:48 +00:00
Alexey
2648ded530 Update config.toml 2026-03-21 10:32:43 +03:00
Alexey
f8e1e2f2ea Merge pull request #495 from DavidOsipov/rescue/flow-sec-security
Add adversarial and security tests for client, handshake, and relay modules
2026-03-19 17:33:08 +03:00
David Osipov
924c0d32e9 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-19 18:23:36 +04:00
Alexey
25847c9a00 Merge branch 'flow-sec' into fix/api-docker-connection 2026-03-17 11:24:57 +03:00
Frew777
bd740e6088 whitelist docker network range (172.16.0.0/12) 2026-03-17 01:45:45 +03:00
Frew777
8175df059d Update docker-compose to include logging and api port
Added API port
Added logging configuration with json-file driver.
2026-03-17 01:40:26 +03:00
3 changed files with 10 additions and 1 deletions

View File

@@ -39,6 +39,8 @@ port = 443
enabled = true enabled = true
listen = "0.0.0.0:9091" listen = "0.0.0.0:9091"
whitelist = ["127.0.0.0/8"] whitelist = ["127.0.0.0/8"]
# Network for Docker Environment
#whitelist = ["127.0.0.0/8", "172.16.0.0/12"]
minimal_runtime_enabled = false minimal_runtime_enabled = false
minimal_runtime_cache_ttl_ms = 1000 minimal_runtime_cache_ttl_ms = 1000

View File

@@ -6,7 +6,8 @@ services:
restart: unless-stopped restart: unless-stopped
ports: ports:
- "443:443" - "443:443"
- "127.0.0.1:9090:9090" - "127.0.0.1:9090:9090" # Metrics
- "127.0.0.1:9091:9091" # API
# Allow caching 'proxy-secret' in read-only container # Allow caching 'proxy-secret' in read-only container
working_dir: /run/telemt working_dir: /run/telemt
volumes: volumes:
@@ -28,3 +29,8 @@ services:
nofile: nofile:
soft: 65536 soft: 65536
hard: 65536 hard: 65536
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"

View File

@@ -1040,5 +1040,6 @@ impl RunningClientHandler {
#[cfg(test)] #[cfg(test)]
#[path = "client_security_tests.rs"] #[path = "client_security_tests.rs"]
mod security_tests; mod security_tests;
#[cfg(test)]
#[path = "client_adversarial_tests.rs"] #[path = "client_adversarial_tests.rs"]
mod adversarial_tests; mod adversarial_tests;