soft3/radio/.github/sims/paused/adverse.json

{
    "name": "adverse_iroh",
    "cases": [
        {
            "name": "direct_throttled",
            "description": "Direct transfer with 4Mbit/s throttle",
            "visualize": true,
            "nodes": [
                {
                    "name": "i_srv",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json provide",
                    "type": "public",
                    "wait": 10,
                    "connect": {
                        "strategy": "none"
                    },
                    "param_parser": "iroh_endpoint_json"
                },
                {
                    "name": "i_get",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json fetch --duration=30 --remote-direct-address=\"%s\" %s",
                    "type": "public",
                    "connect": {
                        "strategy": "params_with_parsed_addrs",
                        "node": "i_srv"
                    },
                    "process": "short",
                    "parser": "iroh_json",
                    "integration": "magic_iroh_client_json",
                    "integration_require": {
                        "transfer_success": "true",
                        "final_conn_direct": "true"
                    },
                    "link": {
                        "bw": 4,
                        "latency": 200,
                        "loss": 0
                    }
                }
            ]
        },
        {
            "name": "direct_lossy",
            "description": "Direct transfer with 1% packet loss",
            "visualize": true,
            "nodes": [
                {
                    "name": "i_srv",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json provide",
                    "type": "public",
                    "wait": 10,
                    "connect": {
                        "strategy": "none"
                    },
                    "param_parser": "iroh_endpoint_json"
                },
                {
                    "name": "i_get",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json fetch --duration=30 --remote-direct-address=\"%s\" %s",
                    "type": "public",
                    "connect": {
                        "strategy": "params_with_parsed_addrs",
                        "node": "i_srv"
                    },
                    "process": "short",
                    "parser": "iroh_json",
                    "integration": "magic_iroh_client_json",
                    "integration_require": {
                        "transfer_success": "true",
                        "final_conn_direct": "true"
                    },
                    "link": {
                        "loss": 1,
                        "bw": 8,
                        "latency": 200
                    }
                }
            ]
        },
        {
            "name": "relay_dns_throttled",
            "description": "Relay+DNS transfer with 4Mbit/s throttle",
            "visualize": true,
            "nodes": [
                {
                    "name": "1_r",
                    "count": 1,
                    "cmd": "./bins/iroh-relay --dev --config-path ./data/relay.cfg",
                    "type": "public",
                    "wait": 2,
                    "connect": {
                        "strategy": "none"
                    }
                },
                {
                    "name": "2_d",
                    "count": 1,
                    "cmd": "./bins/iroh-dns-server --config ./data/dns.test.cfg",
                    "type": "public",
                    "wait": 2,
                    "connect": {
                        "strategy": "none"
                    }
                },
                {
                    "name": "i_srv",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json provide --env dev --relay-url=\"http://10.0.0.1:3340\" --pkarr-relay-url=\"http://10.0.0.2:8080/pkarr\" --dns-origin-domain=\"10.0.0.2:5300\"",
                    "type": "public",
                    "wait": 10,
                    "connect": {
                        "strategy": "none"
                    },
                    "param_parser": "iroh_endpoint_json"
                },
                {
                    "name": "i_get",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json fetch --duration=30 --env dev --relay-url=\"http://10.0.0.1:3340\" --remote-relay-url=\"http://10.0.0.1:3340\" --pkarr-relay-url=\"http://10.0.0.2:8080/pkarr\" --dns-origin-domain=\"10.0.0.2:5300\" --remote-direct-address=\"%s\" %s",
                    "type": "public",
                    "connect": {
                        "strategy": "params_with_parsed_addrs",
                        "node": "i_srv"
                    },
                    "process": "short",
                    "parser": "iroh_json",
                    "integration": "magic_iroh_client_json",
                    "integration_require": {
                        "transfer_success": "true",
                        "final_conn_direct": "true"
                    },
                    "link": {
                        "bw": 4,
                        "latency": 200,
                        "loss": 0
                    }
                }
            ]
        },
        {
            "name": "relay_dns_lossy",
            "description": "Relay+DNS transfer with 1% packet loss",
            "visualize": true,
            "nodes": [
                {
                    "name": "1_r",
                    "count": 1,
                    "cmd": "./bins/iroh-relay --dev --config-path ./data/relay.cfg",
                    "type": "public",
                    "wait": 2,
                    "connect": {
                        "strategy": "none"
                    }
                },
                {
                    "name": "2_d",
                    "count": 1,
                    "cmd": "./bins/iroh-dns-server --config ./data/dns.test.cfg",
                    "type": "public",
                    "wait": 2,
                    "connect": {
                        "strategy": "none"
                    }
                },
                {
                    "name": "i_srv",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json provide --env dev --relay-url=\"http://10.0.0.1:3340\" --pkarr-relay-url=\"http://10.0.0.2:8080/pkarr\" --dns-origin-domain=\"10.0.0.2:5300\"",
                    "type": "public",
                    "wait": 10,
                    "connect": {
                        "strategy": "none"
                    },
                    "param_parser": "iroh_endpoint_json"
                },
                {
                    "name": "i_get",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json fetch --duration=30 --env dev --relay-url=\"http://10.0.0.1:3340\" --remote-relay-url=\"http://10.0.0.1:3340\" --pkarr-relay-url=\"http://10.0.0.2:8080/pkarr\" --dns-origin-domain=\"10.0.0.2:5300\" --remote-direct-address=\"%s\" %s",
                    "type": "public",
                    "connect": {
                        "strategy": "params_with_parsed_addrs",
                        "node": "i_srv"
                    },
                    "process": "short",
                    "parser": "iroh_json",
                    "integration": "magic_iroh_client_json",
                    "integration_require": {
                        "transfer_success": "true",
                        "final_conn_direct": "true"
                    },
                    "link": {
                        "loss": 1,
                        "bw": 8,
                        "latency": 200
                    }
                }
            ]
        },
        {
            "name": "nat_both_throttled",
            "description": "Both nodes behind NAT with 4Mbit/s throttle",
            "visualize": true,
            "nodes": [
                {
                    "name": "1_r",
                    "count": 1,
                    "cmd": "./bins/iroh-relay --dev --config-path ./data/relay.cfg",
                    "type": "public",
                    "wait": 2,
                    "connect": {
                        "strategy": "none"
                    }
                },
                {
                    "name": "i_srv",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json provide --env dev --relay-url=\"http://10.0.0.1:3340\"",
                    "type": "nat",
                    "wait": 10,
                    "connect": {
                        "strategy": "none"
                    },
                    "param_parser": "iroh_endpoint_json"
                },
                {
                    "name": "i_get",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json fetch --duration=30 --env dev --relay-url=\"http://10.0.0.1:3340\" --remote-relay-url=\"http://10.0.0.1:3340\" --remote-direct-address=\"%s\" %s",
                    "type": "nat",
                    "connect": {
                        "strategy": "params_with_parsed_addrs",
                        "node": "i_srv"
                    },
                    "process": "short",
                    "parser": "iroh_json",
                    "integration": "magic_iroh_client_json",
                    "integration_require": {
                        "transfer_success": "true",
                        "final_conn_direct": "true"
                    },
                    "link": {
                        "bw": 4,
                        "latency": 200,
                        "loss": 0
                    }
                }
            ]
        },
        {
            "name": "nat_both_lossy",
            "description": "Both nodes behind NAT with 1% packet loss",
            "visualize": true,
            "nodes": [
                {
                    "name": "1_r",
                    "count": 1,
                    "cmd": "./bins/iroh-relay --dev --config-path ./data/relay.cfg",
                    "type": "public",
                    "wait": 2,
                    "connect": {
                        "strategy": "none"
                    }
                },
                {
                    "name": "i_srv",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json provide --env dev --relay-url=\"http://10.0.0.1:3340\"",
                    "type": "nat",
                    "wait": 10,
                    "connect": {
                        "strategy": "none"
                    },
                    "param_parser": "iroh_endpoint_json"
                },
                {
                    "name": "i_get",
                    "count": 1,
                    "cmd": "./bins/iroh-transfer --output json fetch --duration=30 --env dev --relay-url=\"http://10.0.0.1:3340\" --remote-relay-url=\"http://10.0.0.1:3340\" --remote-direct-address=\"%s\" %s",
                    "type": "nat",
                    "connect": {
                        "strategy": "params_with_parsed_addrs",
                        "node": "i_srv"
                    },
                    "process": "short",
                    "parser": "iroh_json",
                    "integration": "magic_iroh_client_json",
                    "integration_require": {
                        "transfer_success": "true",
                        "final_conn_direct": "true"
                    },
                    "link": {
                        "loss": 1,
                        "bw": 8,
                        "latency": 200
                    }
                }
            ]
        }
    ]
}

Graph