Skip to content

sui_v1.40.0_1734659421_ci

@williampsmith williampsmith tagged this 19 Dec 23:39
## 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:
Assets 2
Loading