Commit graph

15 commits

Author SHA1 Message Date
Sergey Prokhorov
121d8b7413
docs: split-mode setup guide, architecture diagrams, cert script, build
README:
- New 'Split-mode setup' section: motivation, firewall rules, step-by-step
  instructions for both VPN tunnel and TLS distribution options
- Split-mode bullet added to Features list
- Notes on DPI-resistant tunnels (Shadowsocks, VLESS/XRay, Hysteria2) for
  Russian deployment; standard VPN protocols (WireGuard, OpenVPN) may be blocked
- Install instructions updated to use `make init-config` (copies templates,
  auto-detects public IP) instead of manual cp; ROLE= documented throughout
- Split-mode Step 4 uses `make ROLE=back/front` so template-change detection
  works correctly after `git pull`

Makefile:
- ROLE ?= both variable selects config templates (both/front/back)
- Config prereq rules use $(SYS_CONFIG_SRC) / $(VM_ARGS_SRC) based on ROLE
- New `init-config` target: force-copies templates, auto-detects public IP,
  prints edit reminder; replaces manual cp in install workflow

scripts/gen_dist_certs.sh:
- Two-step workflow: `init <dir>` on back server (CA + back cert),
  `add-node <dir> <name>` per front server (cert signed by existing CA)
- Generates per-node ssl_dist.<name>.conf with paths substituted (no
  NODE_NAME placeholder to edit manually)
- ssl_dist.<name>.conf is now used directly (no rename to ssl_dist.conf);
  vm.args examples and README updated to match

config/vm.args.{front,back}.example:
- -ssl_dist_optfile points to role-specific filename (ssl_dist.front.conf /
  ssl_dist.back.conf) so cert files can be copied as-is without renaming

AGENTS.md:
- Role-overview Mermaid flowchart showing front/back/both process split
- Data-plane section replaced with links to doc/ (no duplication)
- Supervision tree, key interactions, split-mode config keys updated

doc/handler-downstream-flow.md, doc/migration-flow.md:
- Mermaid box grouping to visually separate FRONT and BACK node participants
- erpc:call reference corrected (was rpc:call)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-12 00:34:45 +02:00
Sergey Prokhorov
247bd9339b
Replace seriyps.ru with seriyps.com
The old domain no longer works
2024-12-04 12:28:56 +01:00
Sergey Prokhorov
46800f0671
Minor makefile fixes
* fix epmd detection on CentOS
* get rid of awk dependency
2019-08-28 23:46:17 +02:00
Sergey Prokhorov
c6e6ee6f3b
Add helpers for configuration reload 2019-08-27 00:32:23 +02:00
Sergey Prokhorov
dcdf05a318
Use explicit ipv4 in curl makefile; add timeout; disable unused emulator threads 2019-08-18 19:30:11 +02:00
Sergey Prokhorov
0c2aa335ca
Add interactive installer script 2019-08-13 18:05:38 +02:00
Sergey Prokhorov
fbe8cb593f
Allow any in tls_allowed_domains. 2019-08-13 00:45:29 +02:00
Sergey Prokhorov
40b1d8da0a
Dead code removed 2019-08-12 19:02:37 +02:00
Сергей Прохоров
68c4659fdb
Add epmd systemd service on systems that don't have it. Fixes #5 2019-02-16 20:27:41 +01:00
Сергей Прохоров
d49a451d42
Don't create installation dirrectory 2018-10-22 22:26:46 +02:00
Сергей Прохоров
d4b8c76cdf
Ease debugging
use fully qualified node name
2018-10-22 22:21:30 +02:00
Сергей Прохоров
ef7380700f
makefile: create user before logdir 2018-10-21 21:26:02 +02:00
Сергей Прохоров
5fd3987e0a
Fix improper use of DESTDIR convention 2018-09-24 13:48:35 +02:00
Сергей Прохоров
bb75d8a368
Use DESTDIR makefile convention 2018-09-21 15:47:28 +02:00
Сергей Прохоров
15b264c9cc
Add makefile and a way to easily overwrite configuration 2018-09-21 15:35:33 +02:00