Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Traffic Control] Introduce script to aid in configuration (#20693)
## Description A script to somewhat simplify the process of determining how to configure TrafficController in cases where nodes are running behind proxies or other infra. See usage comment in code for more context. ## Test plan ```yaml # after changing x-forwarded-for configuration to 0 and restarting sui-node on the host... ubuntu@jnb-tnt-val-00:~$ journalctl -fu sui-node | ./config-traffic-control.sh "95.217.193.168" x-forwarded-for contents: 95.217.193.168 Configuration: client-id-source: x-forwarded-for: 1 ``` --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
- Loading branch information