Files
Alexandr Stelnykovych 809ad61c42 feat(spn/navigator): add port and protocol to route simulation
Without a port or protocol, rules with a port never matched, so hubs
whose exit policy allows only some ports were always disregarded.

- Add "port" and "protocol" query parameters; parse "encrypted"
  (default: derived from the port, as the firewall does).
- Move the encrypted port list to netutils.IsEncryptedPort.
- Show the simulation inputs and what is not simulated.
- Note that routes do not apply with the "home" routing algorithm.
- Fix the disclaimer and the Connection.Encrypted comment.

Example:
  http://127.0.0.1:817/api/v1/spn/map/main/route/to/example.com?profile=global&port=443&protocol=tcp&encrypted=true
2026-11-20 14:23:16 +02:00
..
2024-08-09 18:15:48 +03:00
2024-08-09 18:15:48 +03:00
2024-08-09 18:15:48 +03:00
2024-08-09 18:15:48 +03:00
2024-08-09 18:15:48 +03:00