- improved iptables management: apply_iptables_rules and apply_iptables_rules_wg now automatically remove duplicate rules before reapplying them, ensuring a clean setup without disrupting iptables
- consolidated joke feature: unified the "joke through the mixnet" logic into a generic function, allowing it to work seamlessly across any specified interface
- enhanced tunnel checks: added check_nym_wg_tun alongside check_nymtun_iptables, making it easier to verify the state of both tunnels
- reduced error-prone behavior: simplified workflows to avoid issues caused by running commands multiple times
how to use:
1. download the script and make it executable:
curl -L -o network_tunnel_manager.sh https://raw.download.github.of.this.file && chmod u+x network_tunnel_manager.sh
2. run the following commands as needed:
- apply_iptables_rules: apply and clean iptables rules for nymtun0
- apply_iptables_rules_wg: apply and clean iptables rules for nymwg
- check_ipv6_ipv4_forwarding: verify if ipv4 and ipv6 forwarding are enabled
- check_ip_routing: display the current ipv4 and ipv6 routing tables
tldr:
- improved iptables handling to avoid duplicates
- unified functionality for better maintainability
- reduced potential errors when rerunning commands
* fixed signer related endpoints
* fixed aggregation of partial data if the api is not a signer
* fixes to swagger docs for global ecash endpoints
* remove unused axum_macros
* fixed test traits
* added statement logging to nym-api db
* adding additional pool options
* dont blow up upon failing to submit network monitor results
* store in-memory cache of node database ids
* feat: add env vars to NNM
* update version to testfran
* add ip and port for locust connection as variables
* bump version
* bump version, fix env variable names
* bump version to correct one
* Agents authenticate with NSAPI
* /submit with better auth
- also adjust agent run script to authenticate, even in parallel
* /request better authentication
- moved agent API calls to Client struct
* Replay protection
* Fix testrun cleanup bug
- introduce a new column last_assigned which is different than
created_at so that stale testruns get cleaned up based on
last_assigned
- created_at is still useful for determining the "oldest" testrun
to be picked up
* Uniform request authentication
* Suppress ts-rs serde warnings
* Update cargo version
* All agents use the same key
- remove assigned_agent column
- remove logic which would stop agents with
the same key to connect
- as a safety measure, add cap to total no. of agents