├── .gitignore ├── Makefile ├── README.rst ├── conf.py ├── index.rst ├── requirements.txt ├── v8 ├── 1-the-mesh-of-death-adversity.rst ├── 2-the-crossed-streams-jeopardy.rst ├── 3-blowing-up-the-network.rst ├── about-duplicated-packets.rst ├── credits.rst ├── data │ ├── .gitignore │ ├── extract-data.sh │ ├── generate_graphs.sh │ ├── generic.R │ ├── results │ │ ├── 001-20150808 │ │ │ ├── 1 │ │ │ │ ├── BMX7 │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── Babel │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── Batman-adv │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── OLSRv1 │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── OLSRv2 │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── dup-normal-summary.svg │ │ │ │ ├── reboot-rtt-ecdf-zoom.svg │ │ │ │ ├── reboot-rtt-normal-summary.svg │ │ │ │ └── reboot-rtt-normal-zoom.svg │ │ │ ├── 2 │ │ │ │ ├── BMX7 │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── Babel │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── Batman-adv │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── OLSRv1 │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── OLSRv2 │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── ping-rtt-ecdf-zoom.svg │ │ │ │ ├── ping-rtt-normal-babel.svg │ │ │ │ └── ping-rtt-normal.svg │ │ │ ├── 3 │ │ │ │ ├── BMX7 │ │ │ │ │ ├── iperf │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── Babel │ │ │ │ │ ├── iperf │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── Batman-adv │ │ │ │ │ ├── iperf │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── OLSRv1 │ │ │ │ │ ├── iperf │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── OLSRv2 │ │ │ │ │ ├── iperf │ │ │ │ │ ├── ping │ │ │ │ │ └── ping.csv │ │ │ │ ├── pingiperf-bitrate-normal.svg │ │ │ │ ├── pingiperf-rtt-ecdf-zoom.svg │ │ │ │ └── pingiperf-rtt-normal.svg │ │ │ └── 4 │ │ │ │ ├── BMX7 │ │ │ │ ├── iperf │ │ │ │ ├── ping │ │ │ │ └── ping.csv │ │ │ │ ├── Babel │ │ │ │ ├── iperf │ │ │ │ ├── ping │ │ │ │ └── ping.csv │ │ │ │ ├── Batman-adv │ │ │ │ ├── iperf │ │ │ │ ├── ping │ │ │ │ └── ping.csv │ │ │ │ ├── OLSRv1 │ │ │ │ ├── iperf │ │ │ │ ├── ping │ │ │ │ └── ping.csv │ │ │ │ ├── OLSRv2 │ │ │ │ ├── iperf │ │ │ │ ├── ping │ │ │ │ └── ping.csv │ │ │ │ ├── bitrate-normal-summary.svg │ │ │ │ ├── dup-normal-summary.svg │ │ │ │ ├── rtt-ecdf-summary.svg │ │ │ │ └── rtt-normal-summary.svg │ │ └── 002-20150808 │ │ │ ├── 4 │ │ │ ├── BMX7 │ │ │ │ ├── iperf │ │ │ │ ├── ping │ │ │ │ └── ping.csv │ │ │ ├── Babel │ │ │ │ ├── iperf │ │ │ │ ├── ping │ │ │ │ └── ping.csv │ │ │ ├── Batman-adv │ │ │ │ ├── iperf │ │ │ │ ├── ping │ │ │ │ └── ping.csv │ │ │ ├── OLSRv1 │ │ │ │ ├── iperf │ │ │ │ ├── ping │ │ │ │ └── ping.csv │ │ │ ├── OLSRv2 │ │ │ │ ├── iperf │ │ │ │ ├── ping │ │ │ │ └── ping.csv │ │ │ ├── bitrate-normal-summary.svg │ │ │ ├── dup-normal-summary.svg │ │ │ ├── rtt-ecdf-summary.svg │ │ │ └── rtt-normal-summary.svg │ │ │ └── 5 │ │ │ ├── 8-streams-box.svg │ │ │ ├── 8-streams-cdf.svg │ │ │ ├── BMX7 │ │ │ ├── dslreports_8dn-2015-08-08T195728.242034.bmx6.flent.gz │ │ │ ├── rrul-2015-08-08T195442.918036.bmx6.flent.gz │ │ │ ├── rrul_be-2015-08-08T195617.411065.bmx6.flent.gz │ │ │ ├── tcp_download-2015-08-08T195949.889081.bmx6.flent.gz │ │ │ └── tcp_upload-2015-08-08T195839.211785.bmx6.flent.gz │ │ │ ├── Babel │ │ │ ├── dslreports_8dn-2015-08-08T190956.918089.babel.flent.gz │ │ │ ├── rrul-2015-08-08T190735.192553.babel.flent.gz │ │ │ ├── rrul_be-2015-08-08T190846.092966.babel.flent.gz │ │ │ ├── tcp_download-2015-08-08T191218.644349.babel.flent.gz │ │ │ └── tcp_upload-2015-08-08T191107.947499.babel.flent.gz │ │ │ ├── Batman-adv │ │ │ ├── dslreports_8dn-2015-08-08T201324.835316.batman_adv.flent.gz │ │ │ ├── rrul-2015-08-08T201057.885894.batman_adv.flent.gz │ │ │ ├── rrul_be-2015-08-08T201212.935686.batman_adv.flent.gz │ │ │ ├── tcp_download-2015-08-08T201546.644292.batman_adv.flent.gz │ │ │ └── tcp_upload-2015-08-08T201435.978116.batman_adv.flent.gz │ │ │ ├── OLSRv1 │ │ │ ├── dslreports_8dn-2015-08-08T194124.852253.olsrd.flent.gz │ │ │ ├── rrul-2015-08-08T193902.140047.olsrd.flent.gz │ │ │ ├── rrul_be-2015-08-08T194013.961773.olsrd.flent.gz │ │ │ ├── tcp_download-2015-08-08T194346.553658.olsrd.flent.gz │ │ │ └── tcp_upload-2015-08-08T194235.862263.olsrd.flent.gz │ │ │ ├── OLSRv2 │ │ │ ├── dslreports_8dn-2015-08-08T192532.299584.olsrd2.flent.gz │ │ │ ├── rrul-2015-08-08T192310.495778.olsrd2.flent.gz │ │ │ ├── rrul_be-2015-08-08T192421.400917.olsrd2.flent.gz │ │ │ ├── tcp_download-2015-08-08T192754.146616.olsrd2.flent.gz │ │ │ └── tcp_upload-2015-08-08T192643.459492.olsrd2.flent.gz │ │ │ ├── rrul-box.svg │ │ │ ├── rrul-cdf.svg │ │ │ ├── rrul-timeseries.svg │ │ │ ├── rrul_be-box.svg │ │ │ ├── rrul_be-cdf.svg │ │ │ ├── tcp-download-box.svg │ │ │ ├── tcp-download-cdf.svg │ │ │ ├── tcp-upload-box.svg │ │ │ └── tcp-upload-cdf.svg │ └── sortResults.sh ├── ecdf.rst ├── images │ ├── 1-the-mesh-of-death-adversity.svg │ ├── 2-the-crossed-streams-jeopardy.svg │ └── ecdf │ │ ├── bearing.svg │ │ ├── distrib.svg │ │ ├── ecdf.svg │ │ ├── gen.R │ │ ├── hist.svg │ │ ├── segment.svg │ │ ├── simple.svg │ │ └── trailing.svg ├── index.rst ├── lessons-learned.rst ├── push_authors.sh └── testbed │ ├── config │ ├── 172.17.0.1 │ │ ├── babeld │ │ ├── batman-adv │ │ ├── bmx6 │ │ ├── dhcp │ │ ├── dropbear │ │ ├── network │ │ ├── network.all │ │ ├── network.batman-adv │ │ ├── olsrd │ │ ├── olsrd2 │ │ ├── olsrd6 │ │ ├── system │ │ ├── ubootenv │ │ └── wireless │ ├── 172.17.16.1 │ │ ├── alfred │ │ ├── babeld │ │ ├── batman-adv │ │ ├── bmx6 │ │ ├── dhcp │ │ ├── dropbear │ │ ├── firewall │ │ ├── fstab │ │ ├── luci │ │ ├── network │ │ ├── network.all │ │ ├── network.batman-adv │ │ ├── olsrd │ │ ├── olsrd2 │ │ ├── olsrd6 │ │ ├── rpcd │ │ ├── system │ │ ├── ubootenv │ │ ├── ucitrack │ │ ├── uhttpd │ │ └── wireless │ ├── 172.17.24.1 │ │ ├── babeld │ │ ├── batman-adv │ │ ├── bmx6 │ │ ├── dhcp │ │ ├── dropbear │ │ ├── network │ │ ├── network.all │ │ ├── network.batman-adv │ │ ├── olsrd │ │ ├── olsrd2 │ │ ├── olsrd6 │ │ ├── system │ │ ├── ubootenv │ │ └── wireless │ ├── 172.17.32.1 │ │ ├── babeld │ │ ├── batman-adv │ │ ├── bmx6 │ │ ├── dhcp │ │ ├── dropbear │ │ ├── network │ │ ├── network.all │ │ ├── network.batman-adv │ │ ├── network.bmx │ │ ├── olsrd │ │ ├── olsrd2 │ │ ├── olsrd6 │ │ ├── system │ │ ├── ubootenv │ │ └── wireless │ ├── 172.17.40.1 │ │ ├── babeld │ │ ├── batman-adv │ │ ├── bmx6 │ │ ├── dhcp │ │ ├── dropbear │ │ ├── network │ │ ├── network.all │ │ ├── network.batman-adv │ │ ├── olsrd │ │ ├── olsrd2 │ │ ├── olsrd6 │ │ ├── system │ │ ├── ubootenv │ │ └── wireless │ ├── 172.17.48.1 │ │ ├── babeld │ │ ├── batman-adv │ │ ├── bmx6 │ │ ├── dhcp │ │ ├── dropbear │ │ ├── network │ │ ├── network.all │ │ ├── network.all.orig │ │ ├── network.batman-adv │ │ ├── olsrd │ │ ├── olsrd2 │ │ ├── olsrd6 │ │ ├── system │ │ ├── ubootenv │ │ └── wireless │ ├── 172.17.56.1 │ │ ├── babeld │ │ ├── batman-adv │ │ ├── bmx6 │ │ ├── dhcp │ │ ├── dropbear │ │ ├── network │ │ ├── network.all │ │ ├── network.batman-adv │ │ ├── olsrd │ │ ├── olsrd2 │ │ ├── olsrd6 │ │ ├── system │ │ ├── ubootenv │ │ └── wireless │ ├── 172.17.64.1 │ │ ├── babeld │ │ ├── batman-adv │ │ ├── bmx6 │ │ ├── dhcp │ │ ├── dropbear │ │ ├── network │ │ ├── network.all │ │ ├── network.batman-adv │ │ ├── olsrd │ │ ├── olsrd2 │ │ ├── olsrd6 │ │ ├── system │ │ ├── ubootenv │ │ └── wireless │ ├── 172.17.72.1 │ │ ├── babeld │ │ ├── batman-adv │ │ ├── bmx6 │ │ ├── dhcp │ │ ├── dropbear │ │ ├── network │ │ ├── network.all │ │ ├── network.batman-adv │ │ ├── olsrd │ │ ├── olsrd2 │ │ ├── olsrd6 │ │ ├── system │ │ ├── ubootenv │ │ └── wireless │ └── 172.17.8.1 │ │ ├── babeld │ │ ├── batman-adv │ │ ├── bmx6 │ │ ├── dhcp │ │ ├── dropbear │ │ ├── network │ │ ├── network.all │ │ ├── network.batman-adv │ │ ├── olsrd │ │ ├── olsrd2 │ │ ├── olsrd6 │ │ ├── system │ │ ├── ubootenv │ │ └── wireless │ ├── init.d │ └── olsrd2 │ └── scripts │ ├── flent-tests.sh │ ├── for_all_protocols.sh │ ├── routingswitch.sh │ ├── run_test_1-4.sh │ ├── run_test_4-5.sh │ └── switch_all_routers.sh └── v9 └── index.rst /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.DS_Store 3 | *~ 4 | ._* 5 | /_*/ 6 | /v8/data/results/*/*/*/*.svg 7 | *.komodoproject 8 | -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- 1 | Battlemesh tests docs 2 | ===================== 3 | 4 | This repository contains the documentation and results of tests executed during the 5 | `Wireless Battle of the Mesh `__, 6 | (starting from the v8 edition). 7 | 8 | Currently work in progress, contributions are very welcome. 9 | 10 | **The documentation is published at:** 11 | 12 | http://docs.battlemesh.org/ 13 | 14 | How to build the docs 15 | --------------------- 16 | 17 | Clone this repo:: 18 | 19 | git@github.com:battlemesh/battlemesh-test-docs.git 20 | cd battlemesh-test-docs 21 | 22 | Install sphinx:: 23 | 24 | pip install -r requirements.txt 25 | 26 | Build HTML:: 27 | 28 | make html 29 | 30 | Open the HTML files directly on your local machine. 31 | -------------------------------------------------------------------------------- /index.rst: -------------------------------------------------------------------------------- 1 | Battlemesh Tests Docs 2 | ===================== 3 | 4 | This repository contains the documentation and results of tests executed during the 5 | `Wireless Battle of the Mesh `__ (starting from the v8 edition). 6 | 7 | Editions: 8 | 9 | .. toctree:: 10 | :maxdepth: 2 11 | 12 | /v9/index 13 | /v8/index 14 | 15 | Indices and tables 16 | ================== 17 | 18 | * :ref:`genindex` 19 | * :ref:`modindex` 20 | * :ref:`search` 21 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx 2 | sphinx_rtd_theme 3 | -------------------------------------------------------------------------------- /v8/2-the-crossed-streams-jeopardy.rst: -------------------------------------------------------------------------------- 1 | 2. The Crossed Streams Jeopardy 2 | =============================== 3 | 4 | .. image:: ./images/2-the-crossed-streams-jeopardy.svg 5 | 6 | .. warning:: 7 | To perform the crossed streams tests we had to reuse the 8 | topology prepared for :doc:`The Mesh of Death Adversity Test 9 | <1-the-mesh-of-death-adversity>` because we were running out of time. 10 | 11 | Therefore this scenario inherits all the settings of the previous test 12 | but adds an additional stream of traffic to stress test the network. 13 | 14 | Topology 15 | -------- 16 | 17 | Same as :doc:`The Mesh of Death Adversity Test <1-the-mesh-of-death-adversity>` 18 | with a small variation: 19 | 20 | * there is a second stream of iperf traffic from node ``D`` to ``H`` 21 | 22 | Test 23 | ---- 24 | 25 | .. note:: 26 | The test scripts are available on github: 27 | 28 | * `10mbit iperf streams `__ 29 | * `100mbit iperf streams `__ 30 | 31 | The tests mainly consisted in measuring ping *Round Trip Time* and throughput 32 | from **client** to **server** while generating two streams of traffic: 33 | 34 | 1. from the **client** connected to **A** to the **server** connected **K** 35 | 2. from node **D** (*cross client*) to node **H** (*cross server*) 36 | 37 | The measurements where collected from **A**. 38 | 39 | 2 different tests were performed: 40 | 41 | * **10mbit iperf streams**: measure ping RTT while 2 simultaneous 10 Mbit/s UDP 42 | Iperf streams cross the network 43 | * **100mbit iperf streams**: measure ping RTT while 2 simultaneous 100 Mbit/s 44 | UDP Iperf streams cross the network 45 | 46 | .. note:: 47 | * **RTT** stands for `Round Trip Time `__ 48 | * **ECDF** stands for :doc:`Empirical Cumulative Distribution Function ` 49 | 50 | Results 51 | ------- 52 | 53 | Graphs and raw data are provided for each test. 54 | 55 | .. note:: 56 | The graphs were generated with the following command (requires the 57 | `R programming language `__):: 58 | 59 | R --vanilla --slave --args --out-type svg --separate-output --maxtime 300 --maxrtt 500 --width 9 --height 5.96 --palette "#FF0000 #005500 #0000FF #000000" results/ < generic.R 60 | 61 | the script `generic.R 62 | `__ 63 | is available on github. 64 | 65 | 10mbit iperf streams 66 | ^^^^^^^^^^^^^^^^^^^^ 67 | 68 | Measured RTT in :doc:`ECDF ` graph: 69 | 70 | (**How to read:** closer to left is better, learn more about :doc:`how to read ECDF graphs `) 71 | 72 | .. image:: ./data/results/001-20150808/4/rtt-ecdf-summary.svg 73 | :target: ../_images/rtt-ecdf-summary3.svg 74 | 75 | Measured RTT in classic graph: 76 | 77 | (**How to read:** lower is better) 78 | 79 | .. image:: ./data/results/001-20150808/4/rtt-normal-summary.svg 80 | :target: ../_images/rtt-normal-summary3.svg 81 | 82 | Measured Bitrate (from **client** to **server**): 83 | 84 | (**How to read:** higher is better) 85 | 86 | .. image:: ./data/results/001-20150808/4/bitrate-normal-summary.svg 87 | :target: ../_images/bitrate-normal-summary1.svg 88 | 89 | .. note:: 90 | `Raw data for this test 91 | `__ 92 | is available on github. 93 | 94 | 100mbit iperf streams 95 | ^^^^^^^^^^^^^^^^^^^^^ 96 | 97 | Measured RTT in :doc:`ECDF ` graph: 98 | 99 | (**How to read:** closer to left is better, learn more about :doc:`how to read ECDF graphs `) 100 | 101 | .. image:: ./data/results/002-20150808/4/rtt-ecdf-summary.svg 102 | :target: ../_images/rtt-ecdf-summary4.svg 103 | 104 | Measured RTT in classic graph: 105 | 106 | (**How to read:** lower is better) 107 | 108 | .. image:: ./data/results/002-20150808/4/rtt-normal-summary.svg 109 | :target: ../_images/rtt-normal-summary4.svg 110 | 111 | Measured Bitrate (from **client** to **server**): 112 | 113 | (**How to read:** higher is better) 114 | 115 | .. image:: ./data/results/002-20150808/4/bitrate-normal-summary.svg 116 | :target: ../_images/bitrate-normal-summary2.svg 117 | 118 | 119 | .. note:: 120 | `Raw data for this test 121 | `__ 122 | is available on github. 123 | 124 | Article written by Federico Capoano, Matthieu Boutier. 125 | -------------------------------------------------------------------------------- /v8/3-blowing-up-the-network.rst: -------------------------------------------------------------------------------- 1 | 3: Blowing up the network 2 | ========================= 3 | 4 | .. image:: ./images/1-the-mesh-of-death-adversity.svg 5 | 6 | .. warning:: 7 | To perform this test we had to reuse the 8 | topology prepared for :doc:`The Mesh of Death Adversity Test 9 | <1-the-mesh-of-death-adversity>` because we were running out of time. 10 | 11 | Therefore this scenario inherits all the settings of the previous test 12 | but adds parallel streams of traffic between **A** and **K** in order to 13 | deliberately cause disruption in the network. 14 | 15 | Test 16 | ---- 17 | 18 | .. note:: 19 | The tests were performed with `Flent (FLExible Network Tester) 20 | `__, the `shell script that launches the 5 different tests 21 | `__ 22 | is available on github. 23 | 24 | The tests mainly consisted in generating a high amount of traffic between 25 | **client** and **server** while measuring network performance. 26 | 27 | We ran five different tests on the test setup: 28 | 29 | * Realtime Response Under Load (RRUL) test 30 | * Realtime Response Under Load Best Effort (RRUL_BE) test 31 | * TCP download test 32 | * TCP upload test 33 | * 8-streams download test, designed to mimic the `dslreports speedtest `__ 34 | 35 | The point of this test series is to see what happens when the network is loaded 36 | to capacity (and beyond). Hence the "Blowing up the network" title of this test 37 | series. Since we only did a single test run, drawing conclusions from 38 | comparisons is not possible; but the tests can give an indication of the kind of 39 | behaviour that occurs at high load and point out areas for further 40 | investigation. And more rigorous testing with, above all, more repetitions can 41 | be performed to actually draw conclusions. 42 | 43 | Realtime Response Under Load (RRUL) tests 44 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 45 | 46 | The **RRUL** test consists of running four simultaneous bulk TCP streams in 47 | both the upstream and downstream directions (so eight streams total), 48 | while simultaneously running UDP and ICMP latency measurements. The test 49 | runs for 60 seconds, to make sure the network is fully saturated. 50 | 51 | Two variants of the test were performed: 52 | 53 | * the straight **RRUL** test, which marks each of the four TCP streams with different 54 | diffserv markings matching the mapping into hardware queues in the WiFi stack 55 | * best-effort only (called **RRUL_BE**) in which no diffserv marking is employed 56 | 57 | A timeseries graph of the behaviour of the RRUL test looks like this: 58 | 59 | .. image:: ./data/results/002-20150808/5/rrul-timeseries.svg 60 | :target: ../_images/rrul-timeseries.svg 61 | 62 | The TCP streams start up five seconds after the ping measurements start, which 63 | is the flat part of the bottom-most graph. Then, after the TCP flows start, the 64 | latency goes up significantly, peaking at several seconds of latency and quite a 65 | bit of packet loss (seen as gaps in the graph). The throughput figures are 66 | likewise erratic and throughput is highly asymmetric. Finally, the UDP latency 67 | measurement flows are lost entirely; this happens because Netperf stops the 68 | measurement flows when encountering packet loss. 69 | 70 | The name of the data set the above graph came from is deliberately omitted. The 71 | point here is not to beat up on a particular protocol, but to show the general 72 | pattern of failure experienced. As noted above, one should be wary comparing the 73 | different protocols from this data set, since there was only one test run. 74 | Instead, consider this an indication that they all break down, and that further 75 | investigation (and fixes!) is needed. 76 | 77 | Aggregate results from all five protocols is available below, along with a link 78 | to the dataset which can be explored in further detail with the Flent tool, 79 | which can also run the tests for those wishing to explore the behaviour of their 80 | own network. 81 | 82 | 83 | TCP traffic tests 84 | ^^^^^^^^^^^^^^^^^ 85 | 86 | The TCP traffic tests are just a single TCP stream with 87 | simultaneous latency measurement. 88 | 89 | Two different tests were performed: 90 | 91 | * TCP download 92 | * TCP upload 93 | 94 | 8-streams download test 95 | ^^^^^^^^^^^^^^^^^^^^^^^ 96 | 97 | The **8-stream** download test runs eight simultaneous download streams while also 98 | measuring latency. 99 | 100 | This test is designed to mimic the `dslreports speedtest `__. 101 | 102 | Results 103 | ------- 104 | 105 | Graphs are provided for each test. 106 | 107 | `Raw data `__ 108 | is available on github. 109 | 110 | .. note:: 111 | The graphs were generated with `Flent (FLExible Network Tester) `__ 112 | from the `raw data `__ 113 | collected in flent data files. 114 | 115 | Realtime Response Under Load (RRUL) 116 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 117 | 118 | ICMP latency in :doc:`ECDF ` graph: 119 | 120 | (**How to read:** closer to left is better, learn more about :doc:`how to read ECDF graphs `) 121 | 122 | .. image:: ./data/results/002-20150808/5/rrul-cdf.svg 123 | :target: ../_images/rrul-cdf.svg 124 | 125 | Download bandwidth, upload bandwidth and ICMP latency in box graph: 126 | 127 | .. image:: ./data/results/002-20150808/5/rrul-box.svg 128 | :target: ../_images/rrul-box.svg 129 | 130 | Realtime Response Under Load Best Effort (RRUL_BE) 131 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 132 | 133 | ICMP latency in :doc:`ECDF ` graph: 134 | 135 | (**How to read:** closer to left is better, learn more about :doc:`how to read ECDF graphs `) 136 | 137 | .. image:: ./data/results/002-20150808/5/rrul_be-cdf.svg 138 | :target: ../_images/rrul_be-cdf.svg 139 | 140 | Download bandwidth, upload bandwidth and ICMP latency in box graph: 141 | 142 | .. image:: ./data/results/002-20150808/5/rrul_be-box.svg 143 | :target: ../_images/rrul_be-box.svg 144 | 145 | TCP download 146 | ^^^^^^^^^^^^ 147 | 148 | Ping latency in :doc:`ECDF ` graph: 149 | 150 | (**How to read:** closer to left is better, learn more about :doc:`how to read ECDF graphs `) 151 | 152 | .. image:: ./data/results/002-20150808/5/tcp-download-cdf.svg 153 | :target: ../_images/tcp-download-cdf.svg 154 | 155 | Download bandwidth and ping latency in box graph: 156 | 157 | .. image:: ./data/results/002-20150808/5/tcp-download-box.svg 158 | :target: ../_images/tcp-download-box.svg 159 | 160 | 161 | TCP upload 162 | ^^^^^^^^^^ 163 | 164 | Ping latency in :doc:`ECDF ` graph: 165 | 166 | (**How to read:** closer to left is better, learn more about :doc:`how to read ECDF graphs `) 167 | 168 | .. image:: ./data/results/002-20150808/5/tcp-upload-cdf.svg 169 | :target: ../_images/tcp-upload-cdf.svg 170 | 171 | Upload bandwidth and ping latency in box graph: 172 | 173 | .. image:: ./data/results/002-20150808/5/tcp-upload-box.svg 174 | :target: ../_images/tcp-upload-box.svg 175 | 176 | 177 | 8-streams download test 178 | ^^^^^^^^^^^^^^^^^^^^^^^ 179 | 180 | Ping latency in :doc:`ECDF ` graph: 181 | 182 | (**How to read:** closer to left is better, learn more about :doc:`how to read ECDF graphs `) 183 | 184 | .. image:: ./data/results/002-20150808/5/8-streams-cdf.svg 185 | :target: ../_images/8-streams-cdf.svg 186 | 187 | 8 downloads bandwidth and ping latency in box graph: 188 | 189 | .. image:: ./data/results/002-20150808/5/8-streams-box.svg 190 | :target: ../_images/8-streams-box.svg 191 | 192 | Article written by Toke Høiland-Jørgensen, Federico Capoano. 193 | -------------------------------------------------------------------------------- /v8/about-duplicated-packets.rst: -------------------------------------------------------------------------------- 1 | About duplicated packets 2 | ======================== 3 | 4 | During the battlemesh v8 we uncovered a wifi driver bug which 5 | caused duplicated packets in certain cases. 6 | 7 | Here's a few graphs that show the duplicated packets that were captured: 8 | 9 | .. image:: ./data/results/001-20150808/1/dup-normal-summary.svg 10 | :target: ../_images/dup-normal-summary.svg 11 | 12 | .. image:: ./data/results/001-20150808/4/dup-normal-summary.svg 13 | :target: ../_images/dup-normal-summary2.svg 14 | 15 | .. image:: ./data/results/002-20150808/4/dup-normal-summary.svg 16 | :target: ../_images/dup-normal-summary3.svg 17 | 18 | Article written by Federico Capoano. 19 | -------------------------------------------------------------------------------- /v8/credits.rst: -------------------------------------------------------------------------------- 1 | Credits 2 | ======= 3 | 4 | Many thanks to all the contributors who actively participated 5 | in producing and documenting the results of this edition. 6 | 7 | Management and testbed setup 8 | ---------------------------- 9 | 10 | Management and test planning: 11 | 12 | * Amadeus Alfa 13 | * Juliusz Chroboczek 14 | 15 | Testbed setup and routers flashing: 16 | 17 | * Amadeus Alfa 18 | * Federico Capoano 19 | * Goran Mahovlić 20 | * Tomislava 21 | * Dario Stelitano 22 | * Riccardo Bloise 23 | 24 | Test and graph scripting 25 | ------------------------ 26 | 27 | * Henning Rogge (test scripts) 28 | * Thijs Van Veen (test scripts) 29 | * Matthieu Boutier (graph scripts) 30 | 31 | (:doc:`The mesh of death adversity <1-the-mesh-of-death-adversity>`, 32 | :doc:`The crossed streams jeopardy <2-the-crossed-streams-jeopardy>`) 33 | 34 | Flent tests 35 | ----------- 36 | 37 | * Toke Høiland-Jørgensen 38 | 39 | (:doc:`Blowing up the network test <3-blowing-up-the-network>`) 40 | 41 | Web site and documentation 42 | -------------------------- 43 | 44 | * Federico Capoano 45 | * Matthieu Boutier 46 | * Thijs Van Veen 47 | 48 | All contributions (with more details) 49 | ------------------------------------- 50 | 51 | **may be incomplete, feel free to send pull requests with additional names.** 52 | 53 | * Amadeus Alfa: test management and overview 54 | * Antonio Quartulli: configuration and debugging 55 | * Axel Neumann: configuration 56 | * Dario Stelitano: flashing and configuration 57 | * Dave Täht: configuration and testing of minstrel-variance patches 58 | * Federico Capoano: flashing, configuration and documentation 59 | * Goran Mahovlić: flashing and configuration 60 | * Henning Rogge: configuration, debugging and test scripts 61 | * Juliusz Chroboczek: configuration and test planning 62 | * Matthieu Boutier: data analysis and graph generation 63 | * Marek Lindner: configuration and debugging 64 | * Riccardo Bloise: flashing, configuration and debugging 65 | * Simon Wunderlich: configuration and debugging 66 | * Sven Eckelmann: debugging wifi driver bug 67 | * Thijs Van Veen: test scripts 68 | * Toke Høiland-Jørgensen: :doc:`Blowing up the network test <3-blowing-up-the-network>` (test, scripts and graphs) 69 | 70 | Article written by Federico Capoano, Matthieu Boutier. 71 | -------------------------------------------------------------------------------- /v8/data/.gitignore: -------------------------------------------------------------------------------- 1 | *.svg 2 | -------------------------------------------------------------------------------- /v8/data/extract-data.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # Copyright (c) 2015 by Matthieu Boutier 4 | # University of Paris Diderot 5 | 6 | # Permission is hereby granted, free of charge, to any person obtaining a copy 7 | # of this software and associated documentation files (the "Software"), to deal 8 | # in the Software without restriction, including without limitation the rights 9 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | # copies of the Software, and to permit persons to whom the Software is 11 | # furnished to do so, subject to the following conditions: 12 | 13 | # The above copyright notice and this permission notice shall be included in 14 | # all copies or substantial portions of the Software. 15 | 16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | # THE SOFTWARE. 23 | 24 | usage() { 25 | echo "usage: $0 [input ] [all]" 26 | exit 0 27 | } 28 | 29 | skip=true 30 | input= 31 | 32 | arg=1 33 | while [ $arg -le $# ]; do 34 | case ${!arg} in 35 | a*) skip=false;; # all 36 | i*) arg=$(($arg + 1)); input=${!arg};; 37 | help|*) usage;; 38 | esac 39 | arg=$(($arg + 1)) 40 | done 41 | 42 | if [ -z $input ]; then 43 | input="." 44 | fi 45 | 46 | 47 | extract_ping() { 48 | in="$1" 49 | out="$2" 50 | if $skip && [ -f $out.csv ]; then 51 | echo "[skip]" $in "->" $out.csv 52 | return 53 | fi 54 | echo "[make]" $in "->" $out.csv 55 | echo "timestamp rtt ttl seq" > $out.csv 56 | awk -F '[ =[]|]' ' 57 | /Unreachable/ {print $2" NA NA NA"; next} 58 | /^\[/{print $2" " $13" " $11" "$9}' "$in" >> $out.csv 59 | } 60 | 61 | for f in $(find "$input" -name "*ping"); do 62 | out="$f" 63 | extract_ping "$f" "$out" 64 | done 65 | 66 | exit 0 67 | -------------------------------------------------------------------------------- /v8/data/generate_graphs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | palette="#FF0000 #005500 #0000FF #000000" 4 | summary_palette="#ff1a1a #4ebe2a #f96eec #26b1dd #fcb500" 5 | 6 | # Reboot 7 | subdir=results/001-20150808/1 8 | 9 | target=reboot-rtt-normal-summary.svg 10 | echo -e "\033[34;1;4m** Drawing $target **\033[0m" 11 | R --vanilla --slave --args --out-type svg --separate-output --maxtime 300 --maxrtt 500 --width 9 --height 5.96 --palette "$palette" --summary-palette "$summary_palette" --legend topright --summary-only $subdir < generic.R 12 | mv $subdir/rtt-normal-summary.svg $subdir/$target 13 | 14 | target=reboot-rtt-ecdf-zoom.svg 15 | echo -e "\033[34;1;4m** Drawing $target **\033[0m" 16 | R --vanilla --slave --args --out-type svg --separate-output --mintime 140 --maxtime 200 --maxrtt 50 --width 6.4 --height 4 --palette "$palette" --summary-palette "$summary_palette" --summary-only $subdir < generic.R 17 | mv $subdir/rtt-ecdf-summary.svg $subdir/$target 18 | 19 | target=reboot-rtt-normal-zoom.svg 20 | echo -e "\033[34;1;4m** Drawing $target **\033[0m" 21 | R --vanilla --slave --args --out-type svg --separate-output --mintime 140 --maxtime 200 --maxrtt 20 --width 6.4 --height 4 --palette "$palette" --summary-palette "$summary_palette" --legend topleft --summary-only $subdir < generic.R 22 | mv $subdir/rtt-normal-summary.svg $subdir/$target 23 | 24 | # Ping 25 | subdir=results/001-20150808/2 26 | target=ping-rtt-ecdf-zoom.svg 27 | echo -e "\033[34;1;4m** Drawing $target **\033[0m" 28 | R --vanilla --slave --args --out-type svg --separate-output --mintime 0 --maxtime 300 --maxrtt 10 --width 6.4 --height 4 --palette "$palette" --summary-palette "$summary_palette" --summary-only $subdir < generic.R 29 | mv $subdir/rtt-ecdf-summary.svg $subdir/$target 30 | 31 | target=ping-rtt-normal.svg 32 | echo -e "\033[34;1;4m** Drawing $target **\033[0m" 33 | R --vanilla --slave --args --out-type svg --separate-output --mintime 0 --maxtime 300 --maxrtt 300 --width 6.4 --height 4 --palette "$palette" --summary-palette "$summary_palette" --legend topleft --summary-only $subdir < generic.R 34 | mv $subdir/rtt-normal-summary.svg $subdir/$target 35 | 36 | target=ping-rtt-normal-babel.svg 37 | echo -e "\033[34;1;4m** Drawing $target **\033[0m" 38 | R --vanilla --slave --args --out-type svg --separate-output --mintime 0 --maxtime 300 --maxrtt 10 --width 6.4 --height 4 --palette "#FF0000 #005500 #0000FF #000000" --summary-palette "#ff1a1a #4ebe2a #f96eec #26b1dd #fcb500" results/001-20150808/2/Babel/ < generic.R 39 | mv $subdir/Babel/Babel-4.svg $subdir/$target 40 | 41 | # ping + iperf 42 | subdir=results/001-20150808/3 43 | target=pingiperf-rtt-ecdf-zoom.svg 44 | echo -e "\033[34;1;4m** Drawing $target **\033[0m" 45 | R --vanilla --slave --args --out-type svg --separate-output --mintime 0 --maxtime 300 --maxrtt 100 --width 6.4 --height 4 --palette "$palette" --summary-palette "$summary_palette" --summary-only $subdir < generic.R 46 | mv $subdir/rtt-ecdf-summary.svg $subdir/$target 47 | 48 | target=pingiperf-rtt-normal.svg 49 | echo -e "\033[34;1;4m** Drawing $target **\033[0m" 50 | R --vanilla --slave --args --out-type svg --separate-output --mintime 0 --maxtime 300 --maxrtt 300 --width 6.4 --height 4 --palette "$palette" --summary-palette "$summary_palette" --legend topright --summary-only $subdir < generic.R 51 | mv $subdir/rtt-normal-summary.svg $subdir/$target 52 | 53 | target=pingiperf-bitrate-normal.svg 54 | echo -e "\033[34;1;4m** Drawing $target **\033[0m" 55 | R --vanilla --slave --args --out-type svg --separate-output --mintime 0 --maxtime 300 --maxrtt 300 --width 6.4 --height 4 --palette "$palette" --summary-palette "$summary_palette" --summary-only $subdir < generic.R 56 | mv $subdir/bitrate-normal-summary.svg $subdir/$target 57 | 58 | -------------------------------------------------------------------------------- /v8/data/results/002-20150808/4/Batman-adv/ping.csv: -------------------------------------------------------------------------------- 1 | timestamp rtt ttl seq 2 | 1439057122.912026 308 62 7 3 | 1439057123.624806 201 62 11 4 | 1439057124.577560 352 62 15 5 | 1439057124.683777 248 62 16 6 | 1439057136.170004 734 62 69 7 | 1439057136.170081 526 62 70 8 | 1439057136.430658 371 62 72 9 | 1439057141.671530 1899 62 90 10 | 1439057150.329468 5377 62 115 11 | 1439057162.827739 484 62 199 12 | 1439057168.952876 1040 62 226 13 | 1439057173.082790 1035 62 246 14 | 1439057176.926921 951 62 265 15 | 1439057198.154182 394 62 370 16 | 1439057209.649298 309 62 426 17 | 1439057211.111651 324 62 433 18 | 1439057213.732835 1097 62 442 19 | 1439057219.446092 4538 62 453 20 | 1439057224.341121 325 62 497 21 | 1439057224.950358 318 62 500 22 | 1439057225.109616 276 62 501 23 | 1439057226.961086 485 62 509 24 | 1439057231.622306 390 62 532 25 | 1439057246.194721 535 62 602 26 | 1439057253.647477 355 62 639 27 | 1439057279.611441 471 62 764 28 | 1439057293.187076 715 62 829 29 | 1439057296.182095 1026 62 842 30 | 1439057297.695480 895 62 850 31 | 1439057300.462526 566 62 865 32 | 1439057301.130852 411 62 869 33 | 1439057301.747098 419 62 872 34 | 1439057302.221036 276 62 875 35 | 1439057303.547391 371 62 881 36 | 1439057304.259309 674 62 883 37 | 1439057305.325821 925 62 887 38 | 1439057306.886270 1454 62 892 39 | 1439057308.490443 786 62 903 40 | 1439057310.938361 562 62 916 41 | 1439057320.310543 222 62 963 42 | 1439057320.529135 233 62 964 43 | 1439057322.746335 194 62 975 44 | 1439057323.240535 287 62 977 45 | 1439057323.928112 360 62 980 46 | 1439057327.374411 1526 62 991 47 | 1439057327.374444 1526 62 991 48 | 1439057338.609300 1393 62 1046 49 | 1439057340.099479 1643 62 1052 50 | 1439057369.143921 255 62 1199 51 | 1439057369.528203 232 62 1201 52 | 1439057371.636003 284 62 1211 53 | 1439057375.351124 287 62 1229 54 | 1439057377.056512 344 62 1237 55 | 1439057377.426455 306 62 1239 56 | 1439057399.890000 646 62 1346 57 | 1439057401.316961 625 62 1353 58 | 1439057403.622211 658 62 1364 59 | 1439057405.132225 720 62 1371 60 | 1439057405.279467 659 62 1372 61 | 1439057405.617769 797 62 1373 62 | 1439057412.432368 376 62 1408 63 | 1439057413.845843 342 62 1415 64 | 1439057422.669837 1314 62 1453 65 | 1439057422.702366 1138 62 1454 66 | 1439057422.702771 938 62 1455 67 | 1439057422.801351 5.32 62 1460 68 | 1439057423.003430 6.72 62 1461 69 | 1439057423.618522 6.87 62 1464 70 | 1439057423.820325 7.43 62 1465 71 | 1439057424.018193 4.50 62 1466 72 | 1439057424.220180 5.61 62 1467 73 | 1439057424.420213 4.68 62 1468 74 | 1439057424.625370 8.77 62 1469 75 | 1439057424.823525 5.73 62 1470 76 | 1439057425.024028 5.15 62 1471 77 | 1439057425.432890 5.24 62 1473 78 | 1439057425.632657 4.41 62 1474 79 | 1439057425.833426 4.39 62 1475 80 | 1439057426.034239 4.47 62 1476 81 | 1439057426.245478 14.8 62 1477 82 | 1439057426.436186 4.37 62 1478 83 | 1439057426.640351 7.82 62 1479 84 | 1439057426.844793 11.0 62 1480 85 | 1439057427.042162 8.00 62 1481 86 | 1439057427.354796 120 62 1482 87 | 1439057427.536280 101 62 1483 88 | 1439057427.680929 45.3 62 1484 89 | 1439057427.839555 3.29 62 1485 90 | 1439057428.040246 3.32 62 1486 91 | 1439057428.245890 8.27 62 1487 92 | 1439057428.442061 3.81 62 1488 93 | 1439057428.741775 102 62 1489 94 | 1439057428.846411 6.35 62 1490 95 | 1439057429.052222 11.4 62 1491 96 | 1439057429.252735 11.1 62 1492 97 | 1439057429.451094 8.98 62 1493 98 | 1439057429.663842 21.3 62 1494 99 | 1439057429.852989 9.78 62 1495 100 | 1439057430.049119 4.77 62 1496 101 | 1439057430.250258 4.75 62 1497 102 | 1439057430.451382 4.79 62 1498 103 | 1439057430.656599 8.85 62 1499 104 | 1439057430.852600 3.65 62 1500 105 | -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/BMX7/dslreports_8dn-2015-08-08T195728.242034.bmx6.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/BMX7/dslreports_8dn-2015-08-08T195728.242034.bmx6.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/BMX7/rrul-2015-08-08T195442.918036.bmx6.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/BMX7/rrul-2015-08-08T195442.918036.bmx6.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/BMX7/rrul_be-2015-08-08T195617.411065.bmx6.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/BMX7/rrul_be-2015-08-08T195617.411065.bmx6.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/BMX7/tcp_download-2015-08-08T195949.889081.bmx6.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/BMX7/tcp_download-2015-08-08T195949.889081.bmx6.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/BMX7/tcp_upload-2015-08-08T195839.211785.bmx6.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/BMX7/tcp_upload-2015-08-08T195839.211785.bmx6.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/Babel/dslreports_8dn-2015-08-08T190956.918089.babel.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/Babel/dslreports_8dn-2015-08-08T190956.918089.babel.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/Babel/rrul-2015-08-08T190735.192553.babel.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/Babel/rrul-2015-08-08T190735.192553.babel.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/Babel/rrul_be-2015-08-08T190846.092966.babel.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/Babel/rrul_be-2015-08-08T190846.092966.babel.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/Babel/tcp_download-2015-08-08T191218.644349.babel.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/Babel/tcp_download-2015-08-08T191218.644349.babel.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/Babel/tcp_upload-2015-08-08T191107.947499.babel.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/Babel/tcp_upload-2015-08-08T191107.947499.babel.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/Batman-adv/dslreports_8dn-2015-08-08T201324.835316.batman_adv.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/Batman-adv/dslreports_8dn-2015-08-08T201324.835316.batman_adv.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/Batman-adv/rrul-2015-08-08T201057.885894.batman_adv.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/Batman-adv/rrul-2015-08-08T201057.885894.batman_adv.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/Batman-adv/rrul_be-2015-08-08T201212.935686.batman_adv.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/Batman-adv/rrul_be-2015-08-08T201212.935686.batman_adv.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/Batman-adv/tcp_download-2015-08-08T201546.644292.batman_adv.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/Batman-adv/tcp_download-2015-08-08T201546.644292.batman_adv.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/Batman-adv/tcp_upload-2015-08-08T201435.978116.batman_adv.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/Batman-adv/tcp_upload-2015-08-08T201435.978116.batman_adv.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/OLSRv1/dslreports_8dn-2015-08-08T194124.852253.olsrd.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/OLSRv1/dslreports_8dn-2015-08-08T194124.852253.olsrd.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/OLSRv1/rrul-2015-08-08T193902.140047.olsrd.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/OLSRv1/rrul-2015-08-08T193902.140047.olsrd.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/OLSRv1/rrul_be-2015-08-08T194013.961773.olsrd.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/OLSRv1/rrul_be-2015-08-08T194013.961773.olsrd.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/OLSRv1/tcp_download-2015-08-08T194346.553658.olsrd.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/OLSRv1/tcp_download-2015-08-08T194346.553658.olsrd.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/OLSRv1/tcp_upload-2015-08-08T194235.862263.olsrd.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/OLSRv1/tcp_upload-2015-08-08T194235.862263.olsrd.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/OLSRv2/dslreports_8dn-2015-08-08T192532.299584.olsrd2.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/OLSRv2/dslreports_8dn-2015-08-08T192532.299584.olsrd2.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/OLSRv2/rrul-2015-08-08T192310.495778.olsrd2.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/OLSRv2/rrul-2015-08-08T192310.495778.olsrd2.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/OLSRv2/rrul_be-2015-08-08T192421.400917.olsrd2.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/OLSRv2/rrul_be-2015-08-08T192421.400917.olsrd2.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/OLSRv2/tcp_download-2015-08-08T192754.146616.olsrd2.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/OLSRv2/tcp_download-2015-08-08T192754.146616.olsrd2.flent.gz -------------------------------------------------------------------------------- /v8/data/results/002-20150808/5/OLSRv2/tcp_upload-2015-08-08T192643.459492.olsrd2.flent.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/data/results/002-20150808/5/OLSRv2/tcp_upload-2015-08-08T192643.459492.olsrd2.flent.gz -------------------------------------------------------------------------------- /v8/data/sortResults.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Copyright (c) 2015 by Thijs van Veen 4 | 5 | #expecting files in the following 2 formats 6 | # 1: sub-test data 7 | # [prefix]_[protocol]_[time]_[test].[subtest] 8 | # battlemesh_test_babel_1438972423_1.ping 9 | # 10 | # 2: sub-test timing 11 | # [prefix]_[protocol]_[time]_log 12 | # battlemesh_test_babel_1438973171_log 13 | 14 | if [ $# -eq "1" ]; then 15 | cd "$1" 16 | pwd 17 | fi 18 | 19 | 20 | if [ ! -d time ]; then 21 | mkdir time 22 | fi 23 | mv 2>/dev/null *_log time 24 | 25 | 26 | for test in 1 2 3 4; do 27 | echo $test 28 | 29 | if [ ! -d "test_$test" ]; then 30 | mkdir "test_$test" 31 | fi 32 | mv 2>/dev/null *_${test}.* "test_$test" 33 | done 34 | 35 | exit 0 36 | 37 | for file in $(ls); do 38 | #strip away the _test.... stuff for base name 39 | base=$(echo "${file}" | sed -n 's|\(.*\)\(_[[:digit:]]\)\..*$|\1|p') 40 | 41 | mkdir "${base}" 42 | mv *${base}* ${base} 43 | done 44 | 45 | -------------------------------------------------------------------------------- /v8/ecdf.rst: -------------------------------------------------------------------------------- 1 | ===================== 2 | Reading (E)CDF graphs 3 | ===================== 4 | 5 | An ECDF graph is very usefull to have a summary analysis of a big sample of very 6 | different values, but the first contact is quite surprising. Indeed, there is 7 | only one data represented on an ECDF graph, for example the RTT, while we are 8 | habituated to have one data in function of another, for example the RTT in 9 | function of the time of the experiment. 10 | 11 | This document will explain you how to quickly interpret an ECDF graph: first 12 | with a simple example, then with a more general approach, and finally by showing 13 | you how to generate such graphs. 14 | 15 | 16 | Quick example: reading a RTT CDF graph 17 | ====================================== 18 | 19 | In networking, the RTT (Round Trip Time) is the time taken by a packet to go 20 | from one computer to another, and to come back. It is common to measure it with 21 | the ``ping`` command. A CDF graph of the RTT of an experiment as the following 22 | will give you informations about the global performances of the network, as: 23 | 24 | - almost all packets have more than 10ms and less than 50ms RTT, 25 | 26 | - 80% of the packets are faster than 37ms, 27 | 28 | but also about its fairness: here, we see that most of the packets are between 29 | 10 and 50ms. A perfectly fair network would looks like a vertical line (all 30 | packets have the same RTT). 31 | 32 | .. image:: ./images/ecdf/simple.svg 33 | 34 | 35 | Going deeper 36 | ============ 37 | 38 | A CDF (Cumulative **Distribution** Function) graph shows the **distribution** of 39 | the samples among values. Looking at CDFs can give you a quick view of 40 | pathologies, or specificities. The first example below shows you a segment 41 | going from one corner to the other one, on a wide range of values: the values 42 | are uniformally distributed. This is probably what you expect if, for example, 43 | you consider the timestamps of the collected samples. Having such result in an 44 | RTT graph would be more surprising. 45 | 46 | .. image:: ./images/ecdf/segment.svg 47 | 48 | The second example is more interesting: here there is two bearings at different 49 | values. The data are distributed in two sets around values 20 and 60. The 50 | y-axis gives you the amount of samples which have these values: here, we see 51 | that it's around 40% and 50% for the data having respectively 20 and 60 as 52 | values. Applied to RTT, it means that some packets travel faster than others, 53 | with a clear separation: there should be a good reason, but of course, the graph 54 | will not tell you which! 55 | 56 | .. image:: ./images/ecdf/bearing.svg 57 | 58 | 59 | Understanding and drawing ECDF 60 | ============================== 61 | 62 | As stated bedore, an ECDF represents the distribution of the samples among their 63 | values: the order in which data are provided doesn't matter, but only the values 64 | of the data. Let's consider the following sample collection, with heigh values. 65 | 66 | ============= = = = = = = = = 67 | Sample number 1 2 3 4 5 6 7 8 68 | Sample value 3 2 2 3 1 2 5 2 69 | ============= = = = = = = = = 70 | 71 | A simple distribution representation would fit in one dimension, with plots, or 72 | vertical bars, dispached on an axis representing the values of the samples. 73 | 74 | ===================== = = = = = = = = 75 | Sample value (sorted) 1 2 2 2 2 3 3 5 76 | ===================== = = = = = = = = 77 | 78 | .. image:: ./images/ecdf/distrib.svg 79 | 80 | Of course, this kind of representation didn't hide the fact that some samples 81 | have the same value. The natural idea here would be to use some histogram-like 82 | representation, with vertical bars which the number of the samples in y-axis. 83 | 84 | ===================================== = = = = 85 | Sample value (sorted and aggregated) 1 2 3 5 86 | Count 1 4 2 1 87 | ===================================== = = = = 88 | 89 | .. image:: ./images/ecdf/hist.svg 90 | 91 | This will work for this example, but becomes quickly useless when we have many 92 | values, near but slighly different. To solve this issue, the ECDF is just the 93 | same, with cumulated number of samples and step plotting. The cumulated number 94 | of samples is then rebased on 1, which gives the probablility of the 95 | distribution (which is think by common mortals as percentage). 96 | 97 | ===================================== === === === === 98 | Sample value (sorted and aggregated) 1 2 3 5 99 | Count (cumulated) 1 5 7 8 100 | Count (cumulated and rebased) 1/8 5/8 7/8 8/8 101 | ===================================== === === === === 102 | 103 | .. image:: ./images/ecdf/ecdf.svg 104 | 105 | Another and equivalent way to compute ECDF is to directly associate the 106 | cummulated numbers to the original (sorted) samples. Indeed, we remark that 107 | each sample contribute to 1/(number of samples) in the y-axis. 108 | 109 | ======================== === === === === === === === === 110 | Sample value (sorted) 1 2 2 2 2 3 3 5 111 | Cumulated sample number 1/8 2/8 3/8 4/8 5/8 6/8 7/8 8/8 112 | ======================== === === === === === === === === 113 | 114 | 115 | Important remark 116 | ================ 117 | 118 | When you are performing an experiment, there may be trailing data which are not 119 | really part of the experiment. In a classic graph, it doesn't really matter, 120 | because we naturally see that when the curve is going to be flat and without any 121 | interest, then the experiment should be on its end, and we naturally don't pay 122 | much attention to such singularities. However, in ECDF graph, results are 123 | aggregated, and there is no way to know from where comes the packets. It is 124 | therefore important to take care of removing trailing data before processing an 125 | ECDF. The following graph illustrate this issue: we see that the first bearing 126 | should not be represented in the ECDF graph. 127 | 128 | .. image:: ./images/ecdf/trailing.svg 129 | 130 | Article written by Matthieu Boutier. 131 | -------------------------------------------------------------------------------- /v8/images/ecdf/gen.R: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 by Matthieu Boutier 2 | # University of Paris Diderot 3 | 4 | # Permission is hereby granted, free of charge, to any person obtaining a copy 5 | # of this software and associated documentation files (the "Software"), to deal 6 | # in the Software without restriction, including without limitation the rights 7 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | # copies of the Software, and to permit persons to whom the Software is 9 | # furnished to do so, subject to the following conditions: 10 | 11 | # The above copyright notice and this permission notice shall be included in 12 | # all copies or substantial portions of the Software. 13 | 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | # THE SOFTWARE. 21 | 22 | open_device <- function(filename, type) { 23 | filename <- sub(paste(".", type, "$", sep=""), "", filename) 24 | filename = paste(filename, type, sep="."); 25 | print(paste("drawing:", filename)) 26 | f_pixels <- function() { 27 | do.call(type, list(file = filename, width = flag_width, 28 | height = flag_height, units = "in", res = 300)) 29 | } 30 | f_other <- function() { 31 | do.call(type, list(file = filename, width = flag_width, 32 | height = flag_height)) 33 | } 34 | if(Sys.info()[["sysname"]] == "Darwin") { 35 | f_quartz <- function() { 36 | quartz(file = filename, width = flag_width, 37 | height = flag_height, type = type, dpi=300) 38 | } 39 | # On MacOS, the best is to use quartz. 40 | tryCatch(f_quartz(), error = function(e) { f_other() }) 41 | } else { 42 | # Works on Linux: 43 | tryCatch(f_pixels(), error = function(e) {f_other()}) 44 | } 45 | } 46 | 47 | project <- function(f, x_val) { 48 | y_val <- f(x_val) 49 | segments(x_val, rep(0, length(x_val)), x_val, y_val, lty = 3, 50 | col = "darkgrey") 51 | segments(rep(0, length(x_val)), y_val, x_val, y_val, lty = 3, 52 | col = "darkgrey") 53 | } 54 | 55 | flag_size <- 3 56 | flag_width <- 1.6 * flag_size 57 | flag_height <- 1 * flag_size 58 | 59 | open_device("simple", "svg") 60 | par(mfrow = c(1, 1), mar = c(2,2,0,0) + 0.1) 61 | f <- function(x) pnorm(x, 30, 8) 62 | plot(f, 0, 60, xlab="", ylab="") 63 | project(f, c(37, 50)) 64 | rc <- dev.off() 65 | 66 | open_device("segment", "svg") 67 | par(mfrow = c(1, 1), mar = c(2,2,0,0) + 0.1) 68 | plot(c(0, 60), c(0, 1), xlab="", ylab="", type="l") 69 | rc <- dev.off() 70 | 71 | open_device("bearing", "svg") 72 | par(mfrow = c(1, 1), mar = c(2,2,0,0) + 0.1) 73 | f <- function(x) pnorm(x, 20, 3) * .4 + pnorm(x, 60, 3) * .6 74 | plot(f, 0, 80, xlab="", ylab="") 75 | project(f, c(20, 60)) 76 | rc <- dev.off() 77 | 78 | sample <- c(3, 2, 2, 3, 1, 2, 5, 2) 79 | 80 | bak <- flag_height 81 | flag_height <- 1 82 | open_device("distrib", "svg") 83 | par(mfrow = c(1, 1), mar = c(2,3,0,0) + 0.1) 84 | f <- function(x) pnorm(x, 30, 8) 85 | plot(sample, rep(0, 8), xlab="", ylab="", axes=FALSE) 86 | axis(1) 87 | box(bty="o") 88 | rc <- dev.off() 89 | flag_height <- bak 90 | 91 | ssample <- sort(sample) 92 | agg <- aggregate(ssample, FUN=length, by=list(xx=ssample)) 93 | open_device("hist", "svg") 94 | par(mfrow = c(1, 1), mar = c(2,3,0,0) + 0.1) 95 | plot(0, type="n", xlab="", ylab="", main="", 96 | xlim=c(0, max(agg$xx)), ylim = c(0, max(agg$x))) 97 | axis(1) 98 | mtext("sample count", 2, line = 2, las = 0) 99 | box(bty="o") 100 | segments(agg$xx, rep(0, nrow(agg)), agg$xx, agg$x, lwd = 5) 101 | rc <- dev.off() 102 | 103 | open_device("ecdf", "svg") 104 | par(mfrow = c(1, 1), mar = c(2,3,0,0) + 0.1) 105 | plot(agg$xx, cumsum(agg$x) / length(sample), xlab="", ylab="", 106 | xlim=c(0, max(agg$xx)), ylim = c(0, 1), type="s") 107 | par(new = TRUE) 108 | plot(agg$xx, cumsum(agg$x) / length(sample), xlab="", ylab="", 109 | xlim=c(0, max(agg$xx)), ylim = c(0, 1)) 110 | rc <- dev.off() 111 | 112 | bak <- flag_width 113 | flag_width <- 2 * flag_width 114 | open_device("trailing", "svg") 115 | par(mfrow = c(1, 2), mar = c(3,3,1,1) + 0.1) 116 | f <- function(x) pnorm(x, 10, 1) * .2 + pnorm(x, 40, 3) * .8 117 | g <- function(x) c(rnorm(x * .1, 10, 1), rnorm(x *.8, 40, 3), rnorm(x * .1, 10, 1)) 118 | time <- 1:1000 / 10 119 | sample <- g(1000) 120 | plot(f, 0, 50, xlab="", ylab="") 121 | plot(time, sample, xlab="", ylab="") 122 | rc <- dev.off() 123 | flag_width <- bak 124 | -------------------------------------------------------------------------------- /v8/index.rst: -------------------------------------------------------------------------------- 1 | Battlemesh v8, Slovenia (2015) 2 | ============================== 3 | 4 | `Battlemesh v8 `__, 5 | Maribor (Slovenia) on 3rd-9th August 2015. 6 | 7 | Contents: 8 | 9 | .. toctree:: 10 | :maxdepth: 2 11 | 12 | /v8/1-the-mesh-of-death-adversity 13 | /v8/2-the-crossed-streams-jeopardy 14 | /v8/3-blowing-up-the-network 15 | /v8/about-duplicated-packets 16 | /v8/ecdf 17 | /v8/lessons-learned 18 | /v8/credits 19 | 20 | Article written by Federico Capoano, Matthieu Boutier. 21 | -------------------------------------------------------------------------------- /v8/lessons-learned.rst: -------------------------------------------------------------------------------- 1 | Lessons learned 2 | =============== 3 | 4 | Lessons learned during the battlemesh v8. 5 | 6 | Firmware 7 | -------- 8 | 9 | **Problems**: 10 | 11 | Choosing to compile the firmware using openwrt trunk in the first days of the 12 | event was a mistake which delayed the testing phase. 13 | 14 | Not stating clearly which protocols were going to participate in the battle 15 | caused misunderstandings and discussions which could have been avoided with 16 | more preparation. 17 | 18 | **Possible solutions**: 19 | 20 | * use a stable OpenWRT release 21 | * choose a specific revision at least one month in advance 22 | * prepare the firmware before the event 23 | * the protocols that want to participate in the battle have to state it clearly 24 | in advance and have to take part during the test process 25 | 26 | Configuration 27 | ------------- 28 | 29 | **Problems**: 30 | 31 | Planning the address scheme, configuring all the protocols to work together was 32 | quite a big deal of work. 33 | 34 | We assumed the configurations from the previous years could be reused, but they 35 | had to be reworked from scratch. 36 | 37 | **Possible solutions**: 38 | 39 | * prepare a working configuration before the event 40 | * ask all the routing protocol developers to contribute to the proposed configuration 41 | 42 | Communication 43 | ------------- 44 | 45 | **Problems**: 46 | 47 | During the entire process communication between teams was uneffective and 48 | disorganized, a second testbed was set up manually, there were rumors 49 | circulating and this caused distress and loss of motivation of some people. 50 | 51 | **Possible solutions**: 52 | 53 | * have short meetings each day to debrief on the status of the test process and 54 | talk about eventual problems and proposed solutions 55 | * take notes of the meetings and make them available to all the participants (eg: etherpad) 56 | * use a projector and a microphone to keep attention levels high 57 | 58 | Volunteers 59 | ---------- 60 | 61 | **Problems**: 62 | 63 | There were quite some people that wanted to help out but it was not clear 64 | how they could help because the tasks list contained only **firmware preparation** 65 | and **test management**, which were not enough to describe the entire test process 66 | to new comers so they were not able to understand how they could contribute. 67 | 68 | **Possible solutions**: 69 | 70 | * encourage people to participate to one or more of these following teams: 71 | * **planning team**: plans realistic test scenarios, that is, according to the 72 | situation of each event (number volunteers, location and so on) 73 | * **firmware team**: prepares the firmware with all the required agreed packages 74 | * **flashing team**: flashes devices in mass 75 | * **configuration team**: reviews config of the past year, checks if they can be reused 76 | as is or need to be modified, if modified gets them approved by the routing devs 77 | * **deployment team**: deploys the testbed and works until everything works 78 | correctly, updating configs if necessary 79 | * **test team**: writes and tests the scripts to execute tests and passes the 80 | raw data to the graph generation 81 | * **graph generation team**: writes (or reuses an already written set of) scripts to 82 | generate graphs from raw data extracted from the test scripts 83 | * **documentation team**: prepares drawing of topology, takes photos of the testbed for 84 | the presentation, writes an outline of the test plan, stores all the configs 85 | and scripts used during the process for later publication 86 | * **routing team**: developers of all the routing protocol involved oversee the 87 | whole process, with particular attention to the test plan phase, 88 | configuration and test scripts 89 | * have people work in parallel on different indipendent tasks to speed up the process 90 | 91 | Article written by Federico Capoano. 92 | -------------------------------------------------------------------------------- /v8/push_authors.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | for f in $(ls *.rst); do 4 | old=$(awk ' 5 | /^Article written by/ {x = $0} 6 | END { if (x) {print x} else {print "none"}}' $f) 7 | 8 | authors=$(git log --follow --pretty=format:%an "$f" | 9 | sort -u | 10 | awk ' 11 | BEGIN { printf("Article written by ") } 12 | NR != 1 {printf(", ")} 13 | {printf("%s", $0)} 14 | END {print ".\n"}') 15 | 16 | if [ "$old" == "none" ]; then 17 | echo "$f" 18 | echo " new = $authors" 19 | echo >> "$f" 20 | echo "$authors" >> "$f" 21 | elif [ "$old" != "$authors" ]; then 22 | echo "$f" 23 | echo " old = $old" 24 | echo " new = $authors" 25 | printf %s\\n d w q | ed -s $f # remove last line of the file 26 | echo "$authors" >> "$f" 27 | fi 28 | 29 | done 30 | 31 | cat <interpreter mappings. 46 | # Files with an associated interpreter can 47 | # be called outside of the CGI prefix and do 48 | # not need to be executable. 49 | # list interpreter ".php=/usr/bin/php-cgi" 50 | # list interpreter ".cgi=/usr/bin/perl" 51 | 52 | # Lua url prefix and handler script. 53 | # Lua support is disabled if no prefix given. 54 | # option lua_prefix /luci 55 | # option lua_handler /usr/lib/lua/luci/sgi/uhttpd.lua 56 | 57 | # Specify the ubus-rpc prefix and socket path. 58 | # option ubus_prefix /ubus 59 | # option ubus_socket /var/run/ubus.sock 60 | 61 | # CGI/Lua timeout, if the called script does not 62 | # write data within the given amount of seconds, 63 | # the server will terminate the request with 64 | # 504 Gateway Timeout response. 65 | option script_timeout 60 66 | 67 | # Network timeout, if the current connection is 68 | # blocked for the specified amount of seconds, 69 | # the server will terminate the associated 70 | # request process. 71 | option network_timeout 30 72 | 73 | # HTTP Keep-Alive, specifies the timeout for persistent 74 | # HTTP/1.1 connections. Setting this to 0 will disable 75 | # persistent HTTP connections. 76 | option http_keepalive 20 77 | 78 | # TCP Keep-Alive, send periodic keep-alive probes 79 | # over established connections to detect dead peers. 80 | # The value is given in seconds to specify the 81 | # interval between subsequent probes. 82 | # Setting this to 0 will disable TCP keep-alive. 83 | option tcp_keepalive 1 84 | 85 | # Basic auth realm, defaults to local hostname 86 | # option realm OpenWrt 87 | 88 | # Configuration file in busybox httpd format 89 | # option config /etc/httpd.conf 90 | 91 | # Do not follow symlinks that point outside of the 92 | # home directory. 93 | # option no_symlinks 0 94 | 95 | # Do not produce directory listings but send 403 96 | # instead if a client requests an url pointing to 97 | # a directory without any index file. 98 | # option no_dirlists 0 99 | 100 | # Do not authenticate any ubus-rpc requests against 101 | # the ubus session/access procedure. 102 | # This is dangerous and should be always left off 103 | # except for development and debug purposes! 104 | # option no_ubusauth 0 105 | 106 | 107 | # Certificate defaults for px5g key generator 108 | config cert px5g 109 | 110 | # Validity time 111 | option days 730 112 | 113 | # RSA key size 114 | option bits 1024 115 | 116 | # Location 117 | option country DE 118 | option state Berlin 119 | option location Berlin 120 | 121 | # Common name 122 | option commonname OpenWrt 123 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.16.1/wireless: -------------------------------------------------------------------------------- 1 | config wifi-device radio0 2 | option type mac80211 3 | option channel 11 4 | option hwmode 11g 5 | option path 'platform/ar934x_wmac' 6 | option htmode HT20 7 | 8 | config wifi-iface 9 | option device radio0 10 | option network wlan0 11 | option ifname wlan0 12 | option mode adhoc 13 | option ssid wbm8-test-2 14 | option bssid 02:b8:c0:00:00:00 15 | option encryption none 16 | 17 | config wifi-device radio1 18 | option type mac80211 19 | option channel 48 20 | option hwmode 11a 21 | option path 'pci0000:00/0000:00:00.0' 22 | option htmode HT20 23 | 24 | config wifi-iface 25 | option device radio1 26 | option network wlan1 27 | option ifname wlan1 28 | option mode adhoc 29 | option ssid wbm8-test-5 30 | option bssid 02:b8:c0:00:00:00 31 | option encryption none 32 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/babeld: -------------------------------------------------------------------------------- 1 | package babeld 2 | 3 | config general 4 | option 'log_file' '/var/log/babeld.log' 5 | option 'ipv6_subtrees' 'true' 6 | option 'diversity' '3' 7 | 8 | config interface 9 | option 'ifname' 'wlan0' 10 | 11 | config interface 12 | option 'ifname' 'wlan1' 13 | 14 | config interface 15 | option 'ifname' 'eth0.1' 16 | 17 | config interface 18 | option 'ifname' 'eth0.2' 19 | 20 | config interface 21 | option 'enable_timestamps' 'true' 22 | 23 | config filter 24 | option 'type' 'redistribute' 25 | option 'action' 'allow' 26 | 27 | config filter 28 | option 'ignore' 'true' 29 | option 'type' 'redistribute' 30 | option 'local' 'true' 31 | 32 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/batman-adv: -------------------------------------------------------------------------------- 1 | 2 | config 'mesh' 'bat0' 3 | option 'aggregated_ogms' 4 | option 'ap_isolation' 5 | option 'bonding' 6 | option 'fragmentation' 7 | option 'gw_bandwidth' 8 | option 'gw_mode' 9 | option 'gw_sel_class' 10 | option 'log_level' 11 | option 'orig_interval' 12 | option 'vis_mode' 13 | option 'bridge_loop_avoidance' 14 | option 'distributed_arp_table' 15 | option 'multicast_mode' 16 | option 'network_coding' 17 | option 'hop_penalty' 18 | option 'isolation_mark' 19 | 20 | # yet another batX instance 21 | # config 'mesh' 'bat5' 22 | # option 'interfaces' 'second_mesh' 23 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/bmx6: -------------------------------------------------------------------------------- 1 | config 'dev' 'mesh_1' 2 | option 'dev' 'eth0.1' 3 | 4 | config 'dev' 'mesh_2' 5 | option 'dev' 'wlan0' 6 | 7 | config 'dev' 'mesh_3' 8 | option 'dev' 'wlan1' 9 | 10 | config 'tunDev' default 11 | option 'tunDev' 'default' 12 | option 'tun6Address' 'fd87::4/128' 13 | option 'tun4Address' '172.17.24.1/24' 14 | 15 | config 'tunOut' 16 | option 'tunOut' 'ip6' 17 | option 'network' 'fd87::/64' 18 | 19 | config 'tunOut' 20 | option 'tunOut' 'ip4' 21 | option 'network' '0.0.0.0/0' 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/dhcp: -------------------------------------------------------------------------------- 1 | config odhcpd 'odhcpd' 2 | option maindhcp '0' 3 | option leasefile '/tmp/hosts/odhcpd' 4 | option leasetrigger '/usr/sbin/odhcpd-update' 5 | 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/dropbear: -------------------------------------------------------------------------------- 1 | config dropbear 2 | option PasswordAuth 'on' 3 | option RootPasswordAuth 'on' 4 | option Port '22' 5 | # option BannerFile '/etc/banner' 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/network: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | 12 | config interface 'wan' 13 | option ifname 'eth0.2' 14 | option proto 'static' 15 | option ipaddr '172.17.24.1' 16 | option netmask '255.255.255.255' 17 | option ip6addr 'fd87::4/128' 18 | 19 | config interface 'wlan0' 20 | option ifname 'wlan0' 21 | option proto 'static' 22 | 23 | config interface 'wlan1' 24 | option ifname 'wlan1' 25 | option proto 'static' 26 | 27 | #config 'route' 'laptopB' 28 | # option 'interface' 'lan' 29 | # option 'target' '10.0.1.2' 30 | # option 'netmask' '255.255.255.255' 31 | 32 | # --- batman only --- # 33 | config 'route' 'laptop2' 34 | option 'interface' 'bat0' 35 | option 'gateway' '172.17.0.1' 36 | option 'target' '10.0.0.2' 37 | option 'netmask' '255.255.255.255' 38 | 39 | 40 | config interface 'wlan0' 41 | option mtu '1532' 42 | option proto 'batadv' 43 | option mesh 'bat0' 44 | 45 | config interface 'wlan1' 46 | option mtu '1532' 47 | option proto 'batadv' 48 | option mesh 'bat0' 49 | 50 | config interface 'bat0' 51 | option ifname 'bat0' 52 | option proto 'static' 53 | option ipaddr '172.17.24.1' 54 | option netmask '255.255.0.0' 55 | 56 | # --- device specific config here (eg: switch) --- # 57 | 58 | config switch 59 | option name 'switch0' 60 | option reset '1' 61 | option enable_vlan '1' 62 | 63 | config switch_vlan 64 | option device 'switch0' 65 | option vlan '1' 66 | option ports '0t 2 3 4 5' 67 | 68 | config switch_vlan 69 | option device 'switch0' 70 | option vlan '2' 71 | option ports '0t 1' 72 | 73 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/network.all: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | option ipaddr '172.17.24.1' 12 | option netmask '255.255.255.0' 13 | option ip6addr 'fd87::4/128' 14 | 15 | config interface 'wan' 16 | option ifname 'eth0.2' 17 | option proto 'static' 18 | option ipaddr '172.17.25.1' 19 | option netmask '255.255.255.255' 20 | option ip6addr 'fd87::4/128' 21 | 22 | config interface 'wlan0' 23 | option ifname 'wlan0' 24 | option proto 'static' 25 | option ipaddr '172.17.26.1' 26 | option netmask '255.255.255.255' 27 | option ip6addr 'fd87::4/128' 28 | 29 | config interface 'wlan1' 30 | option ifname 'wlan1' 31 | option proto 'static' 32 | option ipaddr '172.17.27.1' 33 | option netmask '255.255.255.255' 34 | option ip6addr 'fd87::4/128' 35 | 36 | #config 'route' 'laptopB' 37 | # option 'interface' 'lan' 38 | # option 'target' '10.0.1.2' 39 | # option 'netmask' '255.255.255.255' 40 | 41 | # --- batman only --- # 42 | 43 | #config interface 'wlan0' 44 | # option mtu '1532' 45 | # option proto 'batadv' 46 | # option mesh 'bat0' 47 | 48 | #config interface 'wlan1' 49 | # option mtu '1532' 50 | # option proto 'batadv' 51 | # option mesh 'bat0' 52 | 53 | #config interface 'bat0' 54 | # option ifname 'bat0' 55 | # option proto 'static' 56 | 57 | # --- device specific config here (eg: switch) --- # 58 | 59 | config switch 60 | option name 'switch0' 61 | option reset '1' 62 | option enable_vlan '1' 63 | 64 | config switch_vlan 65 | option device 'switch0' 66 | option vlan '1' 67 | option ports '0t 2 3 4 5' 68 | 69 | config switch_vlan 70 | option device 'switch0' 71 | option vlan '2' 72 | option ports '0t 1' 73 | 74 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/network.batman-adv: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | 12 | config interface 'wan' 13 | option ifname 'eth0.2' 14 | option proto 'static' 15 | option ipaddr '172.17.24.1' 16 | option netmask '255.255.255.255' 17 | option ip6addr 'fd87::4/128' 18 | 19 | config interface 'wlan0' 20 | option ifname 'wlan0' 21 | option proto 'static' 22 | 23 | config interface 'wlan1' 24 | option ifname 'wlan1' 25 | option proto 'static' 26 | 27 | #config 'route' 'laptopB' 28 | # option 'interface' 'lan' 29 | # option 'target' '10.0.1.2' 30 | # option 'netmask' '255.255.255.255' 31 | 32 | # --- batman only --- # 33 | config 'route' 'laptop2' 34 | option 'interface' 'bat0' 35 | option 'gateway' '172.17.0.1' 36 | option 'target' '10.0.0.2' 37 | option 'netmask' '255.255.255.255' 38 | 39 | 40 | config interface 'wlan0' 41 | option mtu '1532' 42 | option proto 'batadv' 43 | option mesh 'bat0' 44 | 45 | config interface 'wlan1' 46 | option mtu '1532' 47 | option proto 'batadv' 48 | option mesh 'bat0' 49 | 50 | config interface 'bat0' 51 | option ifname 'bat0' 52 | option proto 'static' 53 | option ipaddr '172.17.24.1' 54 | option netmask '255.255.0.0' 55 | 56 | # --- device specific config here (eg: switch) --- # 57 | 58 | config switch 59 | option name 'switch0' 60 | option reset '1' 61 | option enable_vlan '1' 62 | 63 | config switch_vlan 64 | option device 'switch0' 65 | option vlan '1' 66 | option ports '0t 2 3 4 5' 67 | 68 | config switch_vlan 69 | option device 'switch0' 70 | option vlan '2' 71 | option ports '0t 1' 72 | 73 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/olsrd: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_arprefresh.so.0.1' 5 | 6 | config LoadPlugin 7 | option library 'olsrd_dyn_gw.so.0.5' 8 | 9 | config LoadPlugin 10 | option library 'olsrd_httpinfo.so.0.1' 11 | option port '1978' 12 | list Net '0.0.0.0 0.0.0.0' 13 | 14 | config LoadPlugin 15 | option library 'olsrd_nameservice.so.0.3' 16 | 17 | config LoadPlugin 18 | option library 'olsrd_txtinfo.so.0.1' 19 | option accept '0.0.0.0' 20 | 21 | config Interface 22 | list interface 'wlan0' 23 | list interface 'wlan1' 24 | list interface 'lan' 25 | list interface 'wan' 26 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/olsrd2: -------------------------------------------------------------------------------- 1 | config global 2 | option 'pidfile' '/var/run/olsrd2.pid' 3 | option 'lockfile' '/var/lock/olsrd2' 4 | 5 | config log 6 | option 'syslog' 'true' 7 | option 'stderr' 'true' 8 | 9 | config interface 10 | list 'ifname' 'wlan0' 11 | list 'ifname' 'wlan1' 12 | 13 | config interface 14 | list 'ifname' 'wan' 15 | list 'ifname' 'lan' 16 | option 'rx_bitrate' '100M' 17 | 18 | 19 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/olsrd6: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_txtinfo.so.0.1' 5 | option accept '::' 6 | option port '2007' 7 | 8 | config Interface 9 | list interface 'wlan0' 10 | list interface 'wlan1' 11 | list interface 'lan' 12 | list interface 'wan' 13 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/system: -------------------------------------------------------------------------------- 1 | 2 | config system 3 | option hostname 'RouterD' 4 | option timezone 'UTC' 5 | 6 | config timeserver 'ntp' 7 | list server '0.openwrt.pool.ntp.org' 8 | list server '1.openwrt.pool.ntp.org' 9 | list server '2.openwrt.pool.ntp.org' 10 | list server '3.openwrt.pool.ntp.org' 11 | option enabled '1' 12 | option enable_server '0' 13 | 14 | config led 'led_usb1' 15 | option name 'USB1' 16 | option sysfs 'tp-link:green:usb1' 17 | option trigger 'usbdev' 18 | option dev '1-1.1' 19 | option interval '50' 20 | 21 | config led 'led_usb2' 22 | option name 'USB2' 23 | option sysfs 'tp-link:green:usb2' 24 | option trigger 'usbdev' 25 | option dev '1-1.2' 26 | option interval '50' 27 | 28 | config led 'led_wlan2g' 29 | option name 'WLAN2G' 30 | option sysfs 'tp-link:blue:wlan2g' 31 | option trigger 'phy0tpt' 32 | 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/ubootenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/testbed/config/172.17.24.1/ubootenv -------------------------------------------------------------------------------- /v8/testbed/config/172.17.24.1/wireless: -------------------------------------------------------------------------------- 1 | config wifi-device radio0 2 | option type mac80211 3 | option channel 11 4 | option hwmode 11g 5 | option path 'platform/ar934x_wmac' 6 | option htmode HT20 7 | 8 | config wifi-iface 9 | option device radio0 10 | option network wlan0 11 | option ifname wlan0 12 | option mode adhoc 13 | option ssid wbm8-test-2 14 | option bssid 02:b8:c0:00:00:00 15 | option encryption none 16 | 17 | config wifi-device radio1 18 | option type mac80211 19 | option channel 48 20 | option hwmode 11a 21 | option path 'pci0000:00/0000:00:00.0' 22 | option htmode HT20 23 | 24 | config wifi-iface 25 | option device radio1 26 | option network wlan1 27 | option ifname wlan1 28 | option mode adhoc 29 | option ssid wbm8-test-5 30 | option bssid 02:b8:c0:00:00:00 31 | option encryption none 32 | 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/babeld: -------------------------------------------------------------------------------- 1 | package babeld 2 | 3 | config general 4 | option 'log_file' '/var/log/babeld.log' 5 | option 'ipv6_subtrees' 'true' 6 | option 'diversity' '3' 7 | 8 | config interface 9 | option 'ifname' 'wlan0' 10 | 11 | config interface 12 | option 'ifname' 'wlan1' 13 | 14 | config interface 15 | option 'ifname' 'eth0.1' 16 | 17 | config interface 18 | option 'ifname' 'eth0.2' 19 | 20 | config interface 21 | option 'enable_timestamps' 'true' 22 | 23 | config filter 24 | option 'type' 'redistribute' 25 | option 'action' 'allow' 26 | 27 | config filter 28 | option 'ignore' 'true' 29 | option 'type' 'redistribute' 30 | option 'local' 'true' 31 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/batman-adv: -------------------------------------------------------------------------------- 1 | 2 | config 'mesh' 'bat0' 3 | option 'aggregated_ogms' 4 | option 'ap_isolation' 5 | option 'bonding' 6 | option 'fragmentation' 7 | option 'gw_bandwidth' 8 | option 'gw_mode' 9 | option 'gw_sel_class' 10 | option 'log_level' 11 | option 'orig_interval' 12 | option 'vis_mode' 13 | option 'bridge_loop_avoidance' 14 | option 'distributed_arp_table' 15 | option 'multicast_mode' 16 | option 'network_coding' 17 | option 'hop_penalty' 18 | option 'isolation_mark' 19 | 20 | # yet another batX instance 21 | # config 'mesh' 'bat5' 22 | # option 'interfaces' 'second_mesh' 23 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/bmx6: -------------------------------------------------------------------------------- 1 | config 'dev' 'mesh_1' 2 | option 'dev' 'eth0.1' 3 | 4 | config 'dev' 'mesh_2' 5 | option 'dev' 'wlan0' 6 | 7 | config 'dev' 'mesh_3' 8 | option 'dev' 'wlan1' 9 | 10 | config 'tunDev' default 11 | option 'tunDev' 'default' 12 | option 'tun6Address' 'fd87::5/128' 13 | option 'tun4Address' '172.17.32.1/24' 14 | 15 | config 'tunOut' 16 | option 'tunOut' 'ip6' 17 | option 'network' 'fd87::/64' 18 | 19 | config 'tunOut' 20 | option 'tunOut' 'ip4' 21 | option 'network' '0.0.0.0/0' 22 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/dhcp: -------------------------------------------------------------------------------- 1 | 2 | config odhcpd 'odhcpd' 3 | option maindhcp '0' 4 | option leasefile '/tmp/hosts/odhcpd' 5 | option leasetrigger '/usr/sbin/odhcpd-update' 6 | 7 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/dropbear: -------------------------------------------------------------------------------- 1 | config dropbear 2 | option PasswordAuth 'on' 3 | option RootPasswordAuth 'on' 4 | option Port '22' 5 | # option BannerFile '/etc/banner' 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/network: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | 12 | config interface 'wan' 13 | option ifname 'eth0.2' 14 | option proto 'static' 15 | option ipaddr '172.17.32.1' 16 | option netmask '255.255.255.255' 17 | option ip6addr 'fd87::5/128' 18 | 19 | config interface 'wlan0' 20 | option ifname 'wlan0' 21 | option proto 'static' 22 | 23 | config interface 'wlan1' 24 | option ifname 'wlan1' 25 | option proto 'static' 26 | 27 | # --- batman only --- # 28 | config 'route' 'laptop2' 29 | option 'interface' 'bat0' 30 | option 'gateway' '172.17.0.1' 31 | option 'target' '10.0.0.2' 32 | option 'netmask' '255.255.255.255' 33 | 34 | 35 | config interface 'wlan0' 36 | option mtu '1532' 37 | option proto 'batadv' 38 | option mesh 'bat0' 39 | 40 | config interface 'wlan1' 41 | option mtu '1532' 42 | option proto 'batadv' 43 | option mesh 'bat0' 44 | 45 | config interface 'bat0' 46 | option ifname 'bat0' 47 | option proto 'static' 48 | option ipaddr '172.17.32.1' 49 | option netmask '255.255.0.0' 50 | 51 | # --- device specific config here (eg: switch) --- # 52 | 53 | config switch 54 | option name 'switch0' 55 | option reset '1' 56 | option enable_vlan '1' 57 | 58 | config switch_vlan 59 | option device 'switch0' 60 | option vlan '1' 61 | option ports '0t 2 3 4 5' 62 | 63 | config switch_vlan 64 | option device 'switch0' 65 | option vlan '2' 66 | option ports '0t 1' 67 | 68 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/network.all: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | option ipaddr '172.17.32.1' 12 | option netmask '255.255.255.0' 13 | option ip6addr 'fd87::5/128' 14 | 15 | 16 | config interface 'wan' 17 | option ifname 'eth0.2' 18 | option proto 'static' 19 | option ipaddr '172.17.33.1' 20 | option netmask '255.255.255.255' 21 | option ip6addr 'fd87::5/128' 22 | 23 | config interface 'wlan0' 24 | option ifname 'wlan0' 25 | option proto 'static' 26 | option ipaddr '172.17.34.1' 27 | option netmask '255.255.255.255' 28 | option ip6addr 'fd87::5/128' 29 | 30 | config interface 'wlan1' 31 | option ifname 'wlan1' 32 | option proto 'static' 33 | option ipaddr '172.17.35.1' 34 | option netmask '255.255.255.255' 35 | option ip6addr 'fd87::5/128' 36 | 37 | # --- batman only --- # 38 | 39 | #config interface 'wlan0' 40 | # option mtu '1532' 41 | # option proto 'batadv' 42 | # option mesh 'bat0' 43 | 44 | #config interface 'wlan1' 45 | # option mtu '1532' 46 | # option proto 'batadv' 47 | # option mesh 'bat0' 48 | 49 | #config interface 'bat0' 50 | # option ifname 'bat0' 51 | # option proto 'static' 52 | 53 | # --- device specific config here (eg: switch) --- # 54 | 55 | config switch 56 | option name 'switch0' 57 | option reset '1' 58 | option enable_vlan '1' 59 | 60 | config switch_vlan 61 | option device 'switch0' 62 | option vlan '1' 63 | option ports '0t 2 3 4 5' 64 | 65 | config switch_vlan 66 | option device 'switch0' 67 | option vlan '2' 68 | option ports '0t 1' 69 | 70 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/network.batman-adv: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | 12 | config interface 'wan' 13 | option ifname 'eth0.2' 14 | option proto 'static' 15 | option ipaddr '172.17.32.1' 16 | option netmask '255.255.255.255' 17 | option ip6addr 'fd87::5/128' 18 | 19 | config interface 'wlan0' 20 | option ifname 'wlan0' 21 | option proto 'static' 22 | 23 | config interface 'wlan1' 24 | option ifname 'wlan1' 25 | option proto 'static' 26 | 27 | # --- batman only --- # 28 | config 'route' 'laptop2' 29 | option 'interface' 'bat0' 30 | option 'gateway' '172.17.0.1' 31 | option 'target' '10.0.0.2' 32 | option 'netmask' '255.255.255.255' 33 | 34 | 35 | config interface 'wlan0' 36 | option mtu '1532' 37 | option proto 'batadv' 38 | option mesh 'bat0' 39 | 40 | config interface 'wlan1' 41 | option mtu '1532' 42 | option proto 'batadv' 43 | option mesh 'bat0' 44 | 45 | config interface 'bat0' 46 | option ifname 'bat0' 47 | option proto 'static' 48 | option ipaddr '172.17.32.1' 49 | option netmask '255.255.0.0' 50 | 51 | # --- device specific config here (eg: switch) --- # 52 | 53 | config switch 54 | option name 'switch0' 55 | option reset '1' 56 | option enable_vlan '1' 57 | 58 | config switch_vlan 59 | option device 'switch0' 60 | option vlan '1' 61 | option ports '0t 2 3 4 5' 62 | 63 | config switch_vlan 64 | option device 'switch0' 65 | option vlan '2' 66 | option ports '0t 1' 67 | 68 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/network.bmx: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config globals 'globals' 8 | option ula_prefix 'fd94:ae62:0c9b::/48' 9 | 10 | config interface 'lan' 11 | option ifname 'eth0.1' 12 | option force_link '1' 13 | option proto 'static' 14 | option ipaddr '172.17.32.1' 15 | option netmask '255.255.255.0' 16 | option ip6assign '64' 17 | 18 | config interface 'wan' 19 | option ifname 'eth0.2' 20 | option proto 'static' 21 | option ipaddr '172.17.33.1' 22 | option netmask '255.255.255.255' 23 | #option ip6assign '64' 24 | 25 | config interface 'wlan0' 26 | option ifname 'wlan0' 27 | option proto 'static' 28 | option ipaddr '172.17.34.1' 29 | option netmask '255.255.255.255' 30 | #option ip6assign '64' 31 | 32 | config interface 'wlan1' 33 | option ifname 'wlan1' 34 | option proto 'static' 35 | option ipaddr '172.17.35.1' 36 | option netmask '255.255.255.255' 37 | #option ip6assign '64' 38 | 39 | # --- device specific config here (eg: switch) --- # 40 | 41 | 42 | config switch 43 | option name 'switch0' 44 | option reset '1' 45 | option enable_vlan '1' 46 | 47 | config switch_vlan 48 | option device 'switch0' 49 | option vlan '1' 50 | option ports '0t 2 3 4 5' 51 | 52 | config switch_vlan 53 | option device 'switch0' 54 | option vlan '2' 55 | option ports '0t 1' 56 | 57 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/olsrd: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_arprefresh.so.0.1' 5 | 6 | config LoadPlugin 7 | option library 'olsrd_dyn_gw.so.0.5' 8 | 9 | config LoadPlugin 10 | option library 'olsrd_httpinfo.so.0.1' 11 | option port '1978' 12 | list Net '0.0.0.0 0.0.0.0' 13 | 14 | config LoadPlugin 15 | option library 'olsrd_nameservice.so.0.3' 16 | 17 | config LoadPlugin 18 | option library 'olsrd_txtinfo.so.0.1' 19 | option accept '0.0.0.0' 20 | 21 | config Interface 22 | list interface 'wlan0' 23 | list interface 'wlan1' 24 | list interface 'lan' 25 | list interface 'wan' 26 | 27 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/olsrd2: -------------------------------------------------------------------------------- 1 | config global 2 | option 'pidfile' '/var/run/olsrd2.pid' 3 | option 'lockfile' '/var/lock/olsrd2' 4 | 5 | config log 6 | option 'syslog' 'true' 7 | option 'stderr' 'true' 8 | 9 | config interface 10 | list 'ifname' 'wlan0' 11 | list 'ifname' 'wlan1' 12 | 13 | config interface 14 | list 'ifname' 'wan' 15 | list 'ifname' 'lan' 16 | option 'rx_bitrate' '100M' 17 | 18 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/olsrd6: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_txtinfo.so.0.1' 5 | option accept '::' 6 | option port '2007' 7 | 8 | config Interface 9 | list interface 'wlan0' 10 | list interface 'wlan1' 11 | list interface 'lan' 12 | list interface 'wan' 13 | 14 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/system: -------------------------------------------------------------------------------- 1 | 2 | config system 3 | option hostname 'RouterE' 4 | option timezone 'UTC' 5 | 6 | config timeserver 'ntp' 7 | list server '0.openwrt.pool.ntp.org' 8 | list server '1.openwrt.pool.ntp.org' 9 | list server '2.openwrt.pool.ntp.org' 10 | list server '3.openwrt.pool.ntp.org' 11 | option enabled '1' 12 | option enable_server '0' 13 | 14 | config led 'led_usb1' 15 | option name 'USB1' 16 | option sysfs 'tp-link:green:usb1' 17 | option trigger 'usbdev' 18 | option dev '1-1.1' 19 | option interval '50' 20 | 21 | config led 'led_usb2' 22 | option name 'USB2' 23 | option sysfs 'tp-link:green:usb2' 24 | option trigger 'usbdev' 25 | option dev '1-1.2' 26 | option interval '50' 27 | 28 | config led 'led_wlan2g' 29 | option name 'WLAN2G' 30 | option sysfs 'tp-link:blue:wlan2g' 31 | option trigger 'phy0tpt' 32 | 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/ubootenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/testbed/config/172.17.32.1/ubootenv -------------------------------------------------------------------------------- /v8/testbed/config/172.17.32.1/wireless: -------------------------------------------------------------------------------- 1 | config wifi-device radio0 2 | option type mac80211 3 | option channel 11 4 | option hwmode 11g 5 | option path 'platform/ar934x_wmac' 6 | option htmode HT20 7 | 8 | config wifi-iface 9 | option device radio0 10 | option network wlan0 11 | option ifname wlan0 12 | option mode adhoc 13 | option ssid wbm8-test-2 14 | option bssid 02:b8:c0:00:00:00 15 | option encryption none 16 | 17 | config wifi-device radio1 18 | option type mac80211 19 | option channel 48 20 | option hwmode 11a 21 | option path 'pci0000:00/0000:00:00.0' 22 | option htmode HT20 23 | 24 | config wifi-iface 25 | option device radio1 26 | option network wlan1 27 | option ifname wlan1 28 | option mode adhoc 29 | option ssid wbm8-test-5 30 | option bssid 02:b8:c0:00:00:00 31 | option encryption none 32 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/babeld: -------------------------------------------------------------------------------- 1 | package babeld 2 | 3 | config general 4 | option 'log_file' '/var/log/babeld.log' 5 | option 'ipv6_subtrees' 'true' 6 | option 'diversity' '3' 7 | 8 | config interface 9 | option 'ifname' 'wlan0' 10 | 11 | config interface 12 | option 'ifname' 'wlan1' 13 | 14 | config interface 15 | option 'ifname' 'eth0.1' 16 | 17 | config interface 18 | option 'ifname' 'eth0.2' 19 | 20 | config interface 21 | option 'enable_timestamps' 'true' 22 | 23 | config filter 24 | option 'type' 'redistribute' 25 | option 'action' 'allow' 26 | 27 | config filter 28 | option 'ignore' 'true' 29 | option 'type' 'redistribute' 30 | option 'local' 'true' 31 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/batman-adv: -------------------------------------------------------------------------------- 1 | config 'mesh' 'bat0' 2 | option 'aggregated_ogms' 3 | option 'ap_isolation' 4 | option 'bonding' 5 | option 'fragmentation' 6 | option 'gw_bandwidth' 7 | option 'gw_mode' 8 | option 'gw_sel_class' 9 | option 'log_level' 10 | option 'orig_interval' 11 | option 'vis_mode' 12 | option 'bridge_loop_avoidance' 13 | option 'distributed_arp_table' 14 | option 'multicast_mode' 15 | option 'network_coding' 16 | option 'hop_penalty' 17 | option 'isolation_mark' 18 | 19 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/bmx6: -------------------------------------------------------------------------------- 1 | config 'dev' 'mesh_1' 2 | option 'dev' 'eth0.1' 3 | 4 | config 'dev' 'mesh_2' 5 | option 'dev' 'wlan0' 6 | 7 | config 'dev' 'mesh_3' 8 | option 'dev' 'wlan1' 9 | 10 | config 'tunDev' default 11 | option 'tunDev' 'default' 12 | option 'tun6Address' 'fd87::6/128' 13 | option 'tun4Address' '172.17.40.1/24' 14 | 15 | config 'tunOut' 16 | option 'tunOut' 'ip6' 17 | option 'network' 'fd87::/64' 18 | 19 | config 'tunOut' 20 | option 'tunOut' 'ip4' 21 | option 'network' '0.0.0.0/0' 22 | 23 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/dhcp: -------------------------------------------------------------------------------- 1 | 2 | config odhcpd 'odhcpd' 3 | option maindhcp '0' 4 | option leasefile '/tmp/hosts/odhcpd' 5 | option leasetrigger '/usr/sbin/odhcpd-update' 6 | 7 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/dropbear: -------------------------------------------------------------------------------- 1 | config dropbear 2 | option PasswordAuth 'on' 3 | option RootPasswordAuth 'on' 4 | option Port '22' 5 | # option BannerFile '/etc/banner' 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/network: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | 12 | config interface 'wan' 13 | option ifname 'eth0.2' 14 | option proto 'static' 15 | option ipaddr '172.17.40.1' 16 | option netmask '255.255.255.255' 17 | option ip6addr 'fd87::6/128' 18 | 19 | config interface 'wlan0' 20 | option ifname 'wlan0' 21 | option proto 'static' 22 | 23 | config interface 'wlan1' 24 | option ifname 'wlan1' 25 | option proto 'static' 26 | 27 | # --- batman only --- # 28 | config 'route' 'laptop2' 29 | option 'interface' 'bat0' 30 | option 'gateway' '172.17.0.1' 31 | option 'target' '10.0.0.2' 32 | option 'netmask' '255.255.255.255' 33 | 34 | config interface 'wlan0' 35 | option mtu '1532' 36 | option proto 'batadv' 37 | option mesh 'bat0' 38 | 39 | config interface 'wlan1' 40 | option mtu '1532' 41 | option proto 'batadv' 42 | option mesh 'bat0' 43 | 44 | config interface 'bat0' 45 | option ifname 'bat0' 46 | option proto 'static' 47 | option ipaddr '172.17.40.1' 48 | option netmask '255.255.0.0' 49 | 50 | # --- device specific config here (eg: switch) --- # 51 | 52 | config switch 53 | option name 'switch0' 54 | option reset '1' 55 | option enable_vlan '1' 56 | 57 | config switch_vlan 58 | option device 'switch0' 59 | option vlan '1' 60 | option ports '0t 2 3 4 5' 61 | 62 | config switch_vlan 63 | option device 'switch0' 64 | option vlan '2' 65 | option ports '0t 1' 66 | 67 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/network.all: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | option ipaddr '172.17.40.1' 12 | option netmask '255.255.255.0' 13 | option ip6addr 'fd87::6/128' 14 | 15 | config interface 'wan' 16 | option ifname 'eth0.2' 17 | option proto 'static' 18 | option ipaddr '172.17.41.1' 19 | option netmask '255.255.255.255' 20 | option ip6addr 'fd87::6/128' 21 | 22 | config interface 'wlan0' 23 | option ifname 'wlan0' 24 | option proto 'static' 25 | option ipaddr '172.17.42.1' 26 | option netmask '255.255.255.255' 27 | option ip6addr 'fd87::6/128' 28 | 29 | config interface 'wlan1' 30 | option ifname 'wlan1' 31 | option proto 'static' 32 | option ipaddr '172.17.43.1' 33 | option netmask '255.255.255.255' 34 | option ip6addr 'fd87::6/128' 35 | 36 | #config interface 'wlan0' 37 | # option mtu '1532' 38 | # option proto 'batadv' 39 | # option mesh 'bat0' 40 | 41 | #config interface 'wlan1' 42 | # option mtu '1532' 43 | # option proto 'batadv' 44 | # option mesh 'bat0' 45 | 46 | #config interface 'bat0' 47 | # option ifname 'bat0' 48 | # option proto 'static' 49 | 50 | # --- device specific config here (eg: switch) --- # 51 | 52 | config switch 53 | option name 'switch0' 54 | option reset '1' 55 | option enable_vlan '1' 56 | 57 | config switch_vlan 58 | option device 'switch0' 59 | option vlan '1' 60 | option ports '0t 2 3 4 5' 61 | 62 | config switch_vlan 63 | option device 'switch0' 64 | option vlan '2' 65 | option ports '0t 1' 66 | 67 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/network.batman-adv: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | 12 | config interface 'wan' 13 | option ifname 'eth0.2' 14 | option proto 'static' 15 | option ipaddr '172.17.40.1' 16 | option netmask '255.255.255.255' 17 | option ip6addr 'fd87::6/128' 18 | 19 | config interface 'wlan0' 20 | option ifname 'wlan0' 21 | option proto 'static' 22 | 23 | config interface 'wlan1' 24 | option ifname 'wlan1' 25 | option proto 'static' 26 | 27 | # --- batman only --- # 28 | config 'route' 'laptop2' 29 | option 'interface' 'bat0' 30 | option 'gateway' '172.17.0.1' 31 | option 'target' '10.0.0.2' 32 | option 'netmask' '255.255.255.255' 33 | 34 | config interface 'wlan0' 35 | option mtu '1532' 36 | option proto 'batadv' 37 | option mesh 'bat0' 38 | 39 | config interface 'wlan1' 40 | option mtu '1532' 41 | option proto 'batadv' 42 | option mesh 'bat0' 43 | 44 | config interface 'bat0' 45 | option ifname 'bat0' 46 | option proto 'static' 47 | option ipaddr '172.17.40.1' 48 | option netmask '255.255.0.0' 49 | 50 | # --- device specific config here (eg: switch) --- # 51 | 52 | config switch 53 | option name 'switch0' 54 | option reset '1' 55 | option enable_vlan '1' 56 | 57 | config switch_vlan 58 | option device 'switch0' 59 | option vlan '1' 60 | option ports '0t 2 3 4 5' 61 | 62 | config switch_vlan 63 | option device 'switch0' 64 | option vlan '2' 65 | option ports '0t 1' 66 | 67 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/olsrd: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_arprefresh.so.0.1' 5 | 6 | config LoadPlugin 7 | option library 'olsrd_dyn_gw.so.0.5' 8 | 9 | config LoadPlugin 10 | option library 'olsrd_httpinfo.so.0.1' 11 | option port '1978' 12 | list Net '0.0.0.0 0.0.0.0' 13 | 14 | config LoadPlugin 15 | option library 'olsrd_nameservice.so.0.3' 16 | 17 | config LoadPlugin 18 | option library 'olsrd_txtinfo.so.0.1' 19 | option accept '0.0.0.0' 20 | 21 | config Interface 22 | list interface 'wlan0' 23 | list interface 'wlan1' 24 | list interface 'lan' 25 | list interface 'wan' 26 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/olsrd2: -------------------------------------------------------------------------------- 1 | config global 2 | option 'pidfile' '/var/run/olsrd2.pid' 3 | option 'lockfile' '/var/lock/olsrd2' 4 | 5 | config log 6 | option 'syslog' 'true' 7 | option 'stderr' 'true' 8 | 9 | config interface 10 | list 'ifname' 'wlan0' 11 | list 'ifname' 'wlan1' 12 | 13 | config interface 14 | list 'ifname' 'wan' 15 | list 'ifname' 'lan' 16 | option 'rx_bitrate' '100M' 17 | 18 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/olsrd6: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_txtinfo.so.0.1' 5 | option accept '::' 6 | option port '2007' 7 | 8 | config Interface 9 | list interface 'wlan0' 10 | list interface 'wlan1' 11 | list interface 'lan' 12 | list interface 'wan' 13 | 14 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/system: -------------------------------------------------------------------------------- 1 | 2 | config system 3 | option hostname 'RouterF' 4 | option timezone 'UTC' 5 | 6 | config timeserver 'ntp' 7 | list server '0.openwrt.pool.ntp.org' 8 | list server '1.openwrt.pool.ntp.org' 9 | list server '2.openwrt.pool.ntp.org' 10 | list server '3.openwrt.pool.ntp.org' 11 | option enabled '1' 12 | option enable_server '0' 13 | 14 | config led 'led_usb1' 15 | option name 'USB1' 16 | option sysfs 'tp-link:green:usb1' 17 | option trigger 'usbdev' 18 | option dev '1-1.1' 19 | option interval '50' 20 | 21 | config led 'led_usb2' 22 | option name 'USB2' 23 | option sysfs 'tp-link:green:usb2' 24 | option trigger 'usbdev' 25 | option dev '1-1.2' 26 | option interval '50' 27 | 28 | config led 'led_wlan2g' 29 | option name 'WLAN2G' 30 | option sysfs 'tp-link:blue:wlan2g' 31 | option trigger 'phy0tpt' 32 | 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/ubootenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/testbed/config/172.17.40.1/ubootenv -------------------------------------------------------------------------------- /v8/testbed/config/172.17.40.1/wireless: -------------------------------------------------------------------------------- 1 | config wifi-device radio0 2 | option type mac80211 3 | option channel 11 4 | option hwmode 11g 5 | option path 'platform/ar934x_wmac' 6 | option htmode HT20 7 | 8 | config wifi-iface 9 | option device radio0 10 | option network wlan0 11 | option ifname wlan0 12 | option mode adhoc 13 | option ssid wbm8-test-2 14 | option bssid 02:b8:c0:00:00:00 15 | option encryption none 16 | 17 | config wifi-device radio1 18 | option type mac80211 19 | option channel 48 20 | option hwmode 11a 21 | option path 'pci0000:00/0000:00:00.0' 22 | option htmode HT20 23 | 24 | config wifi-iface 25 | option device radio1 26 | option network wlan1 27 | option ifname wlan1 28 | option mode adhoc 29 | option ssid wbm8-test-5 30 | option bssid 02:b8:c0:00:00:00 31 | option encryption none 32 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/babeld: -------------------------------------------------------------------------------- 1 | package babeld 2 | 3 | config general 4 | option 'log_file' '/var/log/babeld.log' 5 | option 'ipv6_subtrees' 'true' 6 | option 'diversity' '3' 7 | 8 | config interface 9 | option 'ifname' 'wlan0' 10 | 11 | config interface 12 | option 'ifname' 'wlan1' 13 | 14 | config interface 15 | option 'ifname' 'eth0.1' 16 | 17 | config interface 18 | option 'ifname' 'eth0.2' 19 | 20 | config interface 21 | option 'enable_timestamps' 'true' 22 | 23 | config filter 24 | option 'type' 'redistribute' 25 | option 'action' 'allow' 26 | 27 | config filter 28 | option 'ignore' 'true' 29 | option 'type' 'redistribute' 30 | option 'local' 'true' 31 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/batman-adv: -------------------------------------------------------------------------------- 1 | config 'mesh' 'bat0' 2 | option 'aggregated_ogms' 3 | option 'ap_isolation' 4 | option 'bonding' 5 | option 'fragmentation' 6 | option 'gw_bandwidth' 7 | option 'gw_mode' 8 | option 'gw_sel_class' 9 | option 'log_level' 10 | option 'orig_interval' 11 | option 'vis_mode' 12 | option 'bridge_loop_avoidance' 13 | option 'distributed_arp_table' 14 | option 'multicast_mode' 15 | option 'network_coding' 16 | option 'hop_penalty' 17 | option 'isolation_mark' 18 | 19 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/bmx6: -------------------------------------------------------------------------------- 1 | config 'dev' 'mesh_1' 2 | option 'dev' 'eth0.1' 3 | 4 | config 'dev' 'mesh_2' 5 | option 'dev' 'wlan0' 6 | 7 | config 'dev' 'mesh_3' 8 | option 'dev' 'wlan1' 9 | 10 | config 'tunDev' default 11 | option 'tunDev' 'default' 12 | option 'tun6Address' 'fd87::7/128' 13 | option 'tun4Address' '172.17.48.1/24' 14 | 15 | config 'tunOut' 16 | option 'tunOut' 'ip6' 17 | option 'network' 'fd87::/64' 18 | 19 | config 'tunOut' 20 | option 'tunOut' 'ip4' 21 | option 'network' '0.0.0.0/0' 22 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/dhcp: -------------------------------------------------------------------------------- 1 | config odhcpd 'odhcpd' 2 | option maindhcp '0' 3 | option leasefile '/tmp/hosts/odhcpd' 4 | option leasetrigger '/usr/sbin/odhcpd-update' 5 | 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/dropbear: -------------------------------------------------------------------------------- 1 | config dropbear 2 | option PasswordAuth 'on' 3 | option RootPasswordAuth 'on' 4 | option Port '22' 5 | # option BannerFile '/etc/banner' 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/network: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | 12 | config interface 'wan' 13 | option ifname 'eth0.2' 14 | option proto 'static' 15 | option ipaddr '172.17.48.1' 16 | option netmask '255.255.255.255' 17 | option ip6addr 'fd87::7/128' 18 | 19 | config interface 'wlan0' 20 | option ifname 'wlan0' 21 | option proto 'static' 22 | 23 | config interface 'wlan1' 24 | option ifname 'wlan1' 25 | option proto 'static' 26 | 27 | # --- static route on nodes that are connected to laptops --- # 28 | 29 | #config 'route' 'laptop' 30 | # option 'interface' 'lan' 31 | # option 'target' '10.0..2' 32 | # option 'netmask' '255.255.255.255' 33 | 34 | # --- batman only --- # 35 | config 'route' 'laptop2' 36 | option 'interface' 'bat0' 37 | option 'gateway' '172.17.0.1' 38 | option 'target' '10.0.0.2' 39 | option 'netmask' '255.255.255.255' 40 | 41 | config interface 'wlan0' 42 | option mtu '1532' 43 | option proto 'batadv' 44 | option mesh 'bat0' 45 | 46 | config interface 'wlan1' 47 | option mtu '1532' 48 | option proto 'batadv' 49 | option mesh 'bat0' 50 | 51 | config interface 'bat0' 52 | option ifname 'bat0' 53 | option proto 'static' 54 | option ipaddr '172.17.48.1' 55 | option netmask '255.255.0.0' 56 | 57 | # --- device specific config here (eg: switch) --- # 58 | 59 | config switch 60 | option name 'switch0' 61 | option reset '1' 62 | option enable_vlan '1' 63 | 64 | config switch_vlan 65 | option device 'switch0' 66 | option vlan '1' 67 | option ports '0t 2 3 4 5' 68 | 69 | config switch_vlan 70 | option device 'switch0' 71 | option vlan '2' 72 | option ports '0t 1' 73 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/network.all: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | option ipaddr '172.17.48.1' 12 | option netmask '255.255.255.0' 13 | option ip6addr 'fd87::7/128' 14 | 15 | config interface 'wan' 16 | option ifname 'eth0.2' 17 | option proto 'static' 18 | option ipaddr '172.17.49.1' 19 | option netmask '255.255.255.255' 20 | option ip6addr 'fd87::7/128' 21 | 22 | config interface 'wlan0' 23 | option ifname 'wlan0' 24 | option proto 'static' 25 | option ipaddr '172.17.50.1' 26 | option netmask '255.255.255.255' 27 | option ip6addr 'fd87::7/128' 28 | 29 | config interface 'wlan1' 30 | option ifname 'wlan1' 31 | option proto 'static' 32 | option ipaddr '172.17.51.1' 33 | option netmask '255.255.255.255' 34 | option ip6addr 'fd87::7/128' 35 | 36 | # --- static route on nodes that are connected to laptops --- # 37 | 38 | #config 'route' 'laptop' 39 | # option 'interface' 'lan' 40 | # option 'target' '10.0..2' 41 | # option 'netmask' '255.255.255.255' 42 | 43 | # --- batman only --- # 44 | 45 | #config interface 'wlan0' 46 | # option mtu '1532' 47 | # option proto 'batadv' 48 | # option mesh 'bat0' 49 | 50 | #config interface 'wlan1' 51 | # option mtu '1532' 52 | # option proto 'batadv' 53 | # option mesh 'bat0' 54 | 55 | #config interface 'bat0' 56 | # option ifname 'bat0' 57 | # option proto 'static' 58 | 59 | # --- device specific config here (eg: switch) --- # 60 | 61 | config switch 62 | option name 'switch0' 63 | option reset '1' 64 | option enable_vlan '1' 65 | 66 | config switch_vlan 67 | option device 'switch0' 68 | option vlan '1' 69 | option ports '0t 2 3 4 5' 70 | 71 | config switch_vlan 72 | option device 'switch0' 73 | option vlan '2' 74 | option ports '0t 1' 75 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/network.all.orig: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | option ipaddr '172.17.48.1' 12 | option netmask '255.255.255.0' 13 | option ip6addr 'fd87::7/128' 14 | 15 | config interface 'wan' 16 | option ifname 'eth0.2' 17 | option proto 'static' 18 | option ipaddr '172.17.48.1' 19 | option netmask '255.255.255.255' 20 | option ip6addr 'fd87::7/128' 21 | 22 | config interface 'wlan0' 23 | option ifname 'wlan0' 24 | option proto 'static' 25 | option ipaddr '172.17.48.1' 26 | option netmask '255.255.255.255' 27 | option ip6addr 'fd87::7/128' 28 | 29 | config interface 'wlan1' 30 | option ifname 'wlan1' 31 | option proto 'static' 32 | option ipaddr '172.17.48.1' 33 | option netmask '255.255.255.255' 34 | option ip6addr 'fd87::7/128' 35 | 36 | # --- static route on nodes that are connected to laptops --- # 37 | 38 | #config 'route' 'laptop' 39 | # option 'interface' 'lan' 40 | # option 'target' '10.0..2' 41 | # option 'netmask' '255.255.255.255' 42 | 43 | # --- batman only --- # 44 | 45 | #config interface 'wlan0' 46 | # option mtu '1532' 47 | # option proto 'batadv' 48 | # option mesh 'bat0' 49 | 50 | #config interface 'wlan1' 51 | # option mtu '1532' 52 | # option proto 'batadv' 53 | # option mesh 'bat0' 54 | 55 | #config interface 'bat0' 56 | # option ifname 'bat0' 57 | # option proto 'static' 58 | 59 | # --- device specific config here (eg: switch) --- # 60 | 61 | config switch 62 | option name 'switch0' 63 | option reset '1' 64 | option enable_vlan '1' 65 | 66 | config switch_vlan 67 | option device 'switch0' 68 | option vlan '1' 69 | option ports '0t 2 3 4 5' 70 | 71 | config switch_vlan 72 | option device 'switch0' 73 | option vlan '2' 74 | option ports '0t 1' 75 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/network.batman-adv: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | 12 | config interface 'wan' 13 | option ifname 'eth0.2' 14 | option proto 'static' 15 | option ipaddr '172.17.48.1' 16 | option netmask '255.255.255.255' 17 | option ip6addr 'fd87::7/128' 18 | 19 | config interface 'wlan0' 20 | option ifname 'wlan0' 21 | option proto 'static' 22 | 23 | config interface 'wlan1' 24 | option ifname 'wlan1' 25 | option proto 'static' 26 | 27 | # --- static route on nodes that are connected to laptops --- # 28 | 29 | #config 'route' 'laptop' 30 | # option 'interface' 'lan' 31 | # option 'target' '10.0..2' 32 | # option 'netmask' '255.255.255.255' 33 | 34 | # --- batman only --- # 35 | config 'route' 'laptop2' 36 | option 'interface' 'bat0' 37 | option 'gateway' '172.17.0.1' 38 | option 'target' '10.0.0.2' 39 | option 'netmask' '255.255.255.255' 40 | 41 | config interface 'wlan0' 42 | option mtu '1532' 43 | option proto 'batadv' 44 | option mesh 'bat0' 45 | 46 | config interface 'wlan1' 47 | option mtu '1532' 48 | option proto 'batadv' 49 | option mesh 'bat0' 50 | 51 | config interface 'bat0' 52 | option ifname 'bat0' 53 | option proto 'static' 54 | option ipaddr '172.17.48.1' 55 | option netmask '255.255.0.0' 56 | 57 | # --- device specific config here (eg: switch) --- # 58 | 59 | config switch 60 | option name 'switch0' 61 | option reset '1' 62 | option enable_vlan '1' 63 | 64 | config switch_vlan 65 | option device 'switch0' 66 | option vlan '1' 67 | option ports '0t 2 3 4 5' 68 | 69 | config switch_vlan 70 | option device 'switch0' 71 | option vlan '2' 72 | option ports '0t 1' 73 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/olsrd: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_arprefresh.so.0.1' 5 | 6 | config LoadPlugin 7 | option library 'olsrd_dyn_gw.so.0.5' 8 | 9 | config LoadPlugin 10 | option library 'olsrd_httpinfo.so.0.1' 11 | option port '1978' 12 | list Net '0.0.0.0 0.0.0.0' 13 | 14 | config LoadPlugin 15 | option library 'olsrd_nameservice.so.0.3' 16 | 17 | config LoadPlugin 18 | option library 'olsrd_txtinfo.so.0.1' 19 | option accept '0.0.0.0' 20 | 21 | config Interface 22 | list interface 'wlan0' 23 | list interface 'wlan1' 24 | list interface 'lan' 25 | list interface 'wan' 26 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/olsrd2: -------------------------------------------------------------------------------- 1 | config global 2 | option 'pidfile' '/var/run/olsrd2.pid' 3 | option 'lockfile' '/var/lock/olsrd2' 4 | 5 | config log 6 | option 'syslog' 'true' 7 | option 'stderr' 'true' 8 | 9 | config interface 10 | list 'ifname' 'wlan0' 11 | list 'ifname' 'wlan1' 12 | 13 | config interface 14 | list 'ifname' 'wan' 15 | list 'ifname' 'lan' 16 | option 'rx_bitrate' '100M' 17 | 18 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/olsrd6: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_txtinfo.so.0.1' 5 | option accept '::' 6 | option port '2007' 7 | 8 | config Interface 9 | list interface 'wlan0' 10 | list interface 'wlan1' 11 | list interface 'lan' 12 | list interface 'wan' 13 | 14 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/system: -------------------------------------------------------------------------------- 1 | config system 2 | option hostname 'RouterG' 3 | option timezone 'UTC' 4 | 5 | config timeserver 'ntp' 6 | list server '0.openwrt.pool.ntp.org' 7 | list server '1.openwrt.pool.ntp.org' 8 | list server '2.openwrt.pool.ntp.org' 9 | list server '3.openwrt.pool.ntp.org' 10 | option enabled '1' 11 | option enable_server '0' 12 | 13 | config led 'led_usb1' 14 | option name 'USB1' 15 | option sysfs 'tp-link:green:usb1' 16 | option trigger 'usbdev' 17 | option dev '1-1.1' 18 | option interval '50' 19 | 20 | config led 'led_usb2' 21 | option name 'USB2' 22 | option sysfs 'tp-link:green:usb2' 23 | option trigger 'usbdev' 24 | option dev '1-1.2' 25 | option interval '50' 26 | 27 | config led 'led_wlan2g' 28 | option name 'WLAN2G' 29 | option sysfs 'tp-link:blue:wlan2g' 30 | option trigger 'phy0tpt' 31 | 32 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/ubootenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/testbed/config/172.17.48.1/ubootenv -------------------------------------------------------------------------------- /v8/testbed/config/172.17.48.1/wireless: -------------------------------------------------------------------------------- 1 | config wifi-device radio0 2 | option type mac80211 3 | option channel 11 4 | option hwmode 11g 5 | option path 'platform/ar934x_wmac' 6 | option htmode HT20 7 | 8 | config wifi-iface 9 | option device radio0 10 | option network wlan0 11 | option ifname wlan0 12 | option mode adhoc 13 | option ssid wbm8-test-2 14 | option bssid 02:b8:c0:00:00:00 15 | option encryption none 16 | 17 | config wifi-device radio1 18 | option type mac80211 19 | option channel 48 20 | option hwmode 11a 21 | option path 'pci0000:00/0000:00:00.0' 22 | option htmode HT20 23 | 24 | config wifi-iface 25 | option device radio1 26 | option network wlan1 27 | option ifname wlan1 28 | option mode adhoc 29 | option ssid wbm8-test-5 30 | option bssid 02:b8:c0:00:00:00 31 | option encryption none 32 | 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/babeld: -------------------------------------------------------------------------------- 1 | package babeld 2 | 3 | config general 4 | option 'log_file' '/var/log/babeld.log' 5 | option 'ipv6_subtrees' 'true' 6 | option 'diversity' '3' 7 | 8 | config interface 9 | option 'ifname' 'wlan0' 10 | 11 | config interface 12 | option 'ifname' 'wlan1' 13 | 14 | config interface 15 | option 'ifname' 'eth0.1' 16 | 17 | config interface 18 | option 'ifname' 'eth0.2' 19 | 20 | config interface 21 | option 'enable_timestamps' 'true' 22 | 23 | config filter 24 | option 'type' 'redistribute' 25 | option 'action' 'allow' 26 | 27 | config filter 28 | option 'ignore' 'true' 29 | option 'type' 'redistribute' 30 | option 'local' 'true' 31 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/batman-adv: -------------------------------------------------------------------------------- 1 | config 'mesh' 'bat0' 2 | option 'aggregated_ogms' 3 | option 'ap_isolation' 4 | option 'bonding' 5 | option 'fragmentation' 6 | option 'gw_bandwidth' 7 | option 'gw_mode' 8 | option 'gw_sel_class' 9 | option 'log_level' 10 | option 'orig_interval' 11 | option 'vis_mode' 12 | option 'bridge_loop_avoidance' 13 | option 'distributed_arp_table' 14 | option 'multicast_mode' 15 | option 'network_coding' 16 | option 'hop_penalty' 17 | option 'isolation_mark' 18 | 19 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/bmx6: -------------------------------------------------------------------------------- 1 | config 'dev' 'mesh_1' 2 | option 'dev' 'eth0.1' 3 | 4 | config 'dev' 'mesh_2' 5 | option 'dev' 'wlan0' 6 | 7 | config 'dev' 'mesh_3' 8 | option 'dev' 'wlan1' 9 | 10 | config 'tunDev' default 11 | option 'tunDev' 'default' 12 | option 'tun6Address' 'fd87::8/128' 13 | option 'tun4Address' '172.17.56.1/24' 14 | 15 | config 'tunOut' 16 | option 'tunOut' 'ip6' 17 | option 'network' 'fd87::/64' 18 | 19 | config 'tunOut' 20 | option 'tunOut' 'ip4' 21 | option 'network' '0.0.0.0/0' 22 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/dhcp: -------------------------------------------------------------------------------- 1 | config odhcpd 'odhcpd' 2 | option maindhcp '0' 3 | option leasefile '/tmp/hosts/odhcpd' 4 | option leasetrigger '/usr/sbin/odhcpd-update' 5 | 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/dropbear: -------------------------------------------------------------------------------- 1 | config dropbear 2 | option PasswordAuth 'on' 3 | option RootPasswordAuth 'on' 4 | option Port '22' 5 | # option BannerFile '/etc/banner' 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/network: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | 12 | config interface 'wan' 13 | option ifname 'eth0.2' 14 | option proto 'static' 15 | option ipaddr '172.17.56.1' 16 | option netmask '255.255.255.255' 17 | option ip6addr 'fd87::8/128' 18 | 19 | config interface 'wlan0' 20 | option ifname 'wlan0' 21 | option proto 'static' 22 | 23 | config interface 'wlan1' 24 | option ifname 'wlan1' 25 | option proto 'static' 26 | 27 | # --- static route on nodes that are connected to laptops --- # 28 | 29 | #config 'route' 'laptop' 30 | # option 'interface' 'lan' 31 | # option 'target' '10.0..2' 32 | # option 'netmask' '255.255.255.255' 33 | 34 | # --- batman only --- # 35 | config 'route' 'laptop2' 36 | option 'interface' 'bat0' 37 | option 'gateway' '172.17.0.1' 38 | option 'target' '10.0.0.2' 39 | option 'netmask' '255.255.255.255' 40 | 41 | config interface 'wlan0' 42 | option mtu '1532' 43 | option proto 'batadv' 44 | option mesh 'bat0' 45 | 46 | config interface 'wlan1' 47 | option mtu '1532' 48 | option proto 'batadv' 49 | option mesh 'bat0' 50 | 51 | config interface 'bat0' 52 | option ifname 'bat0' 53 | option proto 'static' 54 | option ipaddr '172.17.56.1' 55 | option netmask '255.255.0.0' 56 | 57 | # --- device specific config here (eg: switch) --- # 58 | 59 | config switch 60 | option name 'switch0' 61 | option reset '1' 62 | option enable_vlan '1' 63 | 64 | config switch_vlan 65 | option device 'switch0' 66 | option vlan '1' 67 | option ports '0t 2 3 4 5' 68 | 69 | config switch_vlan 70 | option device 'switch0' 71 | option vlan '2' 72 | option ports '0t 1' 73 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/network.all: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | option ipaddr '172.17.56.1' 12 | option netmask '255.255.255.0' 13 | option ip6addr 'fd87::8/128' 14 | 15 | config interface 'wan' 16 | option ifname 'eth0.2' 17 | option proto 'static' 18 | option ipaddr '172.17.57.1' 19 | option netmask '255.255.255.255' 20 | option ip6addr 'fd87::8/128' 21 | 22 | config interface 'wlan0' 23 | option ifname 'wlan0' 24 | option proto 'static' 25 | option ipaddr '172.17.58.1' 26 | option netmask '255.255.255.255' 27 | option ip6addr 'fd87::8/128' 28 | 29 | config interface 'wlan1' 30 | option ifname 'wlan1' 31 | option proto 'static' 32 | option ipaddr '172.17.59.1' 33 | option netmask '255.255.255.255' 34 | option ip6addr 'fd87::8/128' 35 | 36 | # --- static route on nodes that are connected to laptops --- # 37 | 38 | #config 'route' 'laptop' 39 | # option 'interface' 'lan' 40 | # option 'target' '10.0..2' 41 | # option 'netmask' '255.255.255.255' 42 | 43 | # --- batman only --- # 44 | 45 | #config interface 'wlan0' 46 | # option mtu '1532' 47 | # option proto 'batadv' 48 | # option mesh 'bat0' 49 | 50 | #config interface 'wlan1' 51 | # option mtu '1532' 52 | # option proto 'batadv' 53 | # option mesh 'bat0' 54 | 55 | #config interface 'bat0' 56 | # option ifname 'bat0' 57 | # option proto 'static' 58 | 59 | # --- device specific config here (eg: switch) --- # 60 | 61 | config switch 62 | option name 'switch0' 63 | option reset '1' 64 | option enable_vlan '1' 65 | 66 | config switch_vlan 67 | option device 'switch0' 68 | option vlan '1' 69 | option ports '0t 2 3 4 5' 70 | 71 | config switch_vlan 72 | option device 'switch0' 73 | option vlan '2' 74 | option ports '0t 1' 75 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/network.batman-adv: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | 12 | config interface 'wan' 13 | option ifname 'eth0.2' 14 | option proto 'static' 15 | option ipaddr '172.17.56.1' 16 | option netmask '255.255.255.255' 17 | option ip6addr 'fd87::8/128' 18 | 19 | config interface 'wlan0' 20 | option ifname 'wlan0' 21 | option proto 'static' 22 | 23 | config interface 'wlan1' 24 | option ifname 'wlan1' 25 | option proto 'static' 26 | 27 | # --- static route on nodes that are connected to laptops --- # 28 | 29 | #config 'route' 'laptop' 30 | # option 'interface' 'lan' 31 | # option 'target' '10.0..2' 32 | # option 'netmask' '255.255.255.255' 33 | 34 | # --- batman only --- # 35 | config 'route' 'laptop2' 36 | option 'interface' 'bat0' 37 | option 'gateway' '172.17.0.1' 38 | option 'target' '10.0.0.2' 39 | option 'netmask' '255.255.255.255' 40 | 41 | config interface 'wlan0' 42 | option mtu '1532' 43 | option proto 'batadv' 44 | option mesh 'bat0' 45 | 46 | config interface 'wlan1' 47 | option mtu '1532' 48 | option proto 'batadv' 49 | option mesh 'bat0' 50 | 51 | config interface 'bat0' 52 | option ifname 'bat0' 53 | option proto 'static' 54 | option ipaddr '172.17.56.1' 55 | option netmask '255.255.0.0' 56 | 57 | # --- device specific config here (eg: switch) --- # 58 | 59 | config switch 60 | option name 'switch0' 61 | option reset '1' 62 | option enable_vlan '1' 63 | 64 | config switch_vlan 65 | option device 'switch0' 66 | option vlan '1' 67 | option ports '0t 2 3 4 5' 68 | 69 | config switch_vlan 70 | option device 'switch0' 71 | option vlan '2' 72 | option ports '0t 1' 73 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/olsrd: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_arprefresh.so.0.1' 5 | 6 | config LoadPlugin 7 | option library 'olsrd_dyn_gw.so.0.5' 8 | 9 | config LoadPlugin 10 | option library 'olsrd_httpinfo.so.0.1' 11 | option port '1978' 12 | list Net '0.0.0.0 0.0.0.0' 13 | 14 | config LoadPlugin 15 | option library 'olsrd_nameservice.so.0.3' 16 | 17 | config LoadPlugin 18 | option library 'olsrd_txtinfo.so.0.1' 19 | option accept '0.0.0.0' 20 | 21 | config Interface 22 | list interface 'wlan0' 23 | list interface 'wlan1' 24 | list interface 'lan' 25 | list interface 'wan' 26 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/olsrd2: -------------------------------------------------------------------------------- 1 | config global 2 | option 'pidfile' '/var/run/olsrd2.pid' 3 | option 'lockfile' '/var/lock/olsrd2' 4 | 5 | config log 6 | option 'syslog' 'true' 7 | option 'stderr' 'true' 8 | 9 | config interface 10 | list 'ifname' 'wlan0' 11 | list 'ifname' 'wlan1' 12 | 13 | config interface 14 | list 'ifname' 'wan' 15 | list 'ifname' 'lan' 16 | option 'rx_bitrate' '100M' 17 | 18 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/olsrd6: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_txtinfo.so.0.1' 5 | option accept '::' 6 | option port '2007' 7 | 8 | config Interface 9 | list interface 'wlan0' 10 | list interface 'wlan1' 11 | list interface 'lan' 12 | list interface 'wan' 13 | 14 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/system: -------------------------------------------------------------------------------- 1 | config system 2 | option hostname 'RouterH' 3 | option timezone 'UTC' 4 | 5 | # --- device specific here --- # 6 | 7 | config timeserver 'ntp' 8 | list server '0.openwrt.pool.ntp.org' 9 | list server '1.openwrt.pool.ntp.org' 10 | list server '2.openwrt.pool.ntp.org' 11 | list server '3.openwrt.pool.ntp.org' 12 | option enabled '1' 13 | option enable_server '0' 14 | 15 | config led 'led_usb1' 16 | option name 'USB1' 17 | option sysfs 'tp-link:green:usb1' 18 | option trigger 'usbdev' 19 | option dev '1-1.1' 20 | option interval '50' 21 | 22 | config led 'led_usb2' 23 | option name 'USB2' 24 | option sysfs 'tp-link:green:usb2' 25 | option trigger 'usbdev' 26 | option dev '1-1.2' 27 | option interval '50' 28 | 29 | config led 'led_wlan2g' 30 | option name 'WLAN2G' 31 | option sysfs 'tp-link:blue:wlan2g' 32 | option trigger 'phy0tpt' 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/ubootenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/testbed/config/172.17.56.1/ubootenv -------------------------------------------------------------------------------- /v8/testbed/config/172.17.56.1/wireless: -------------------------------------------------------------------------------- 1 | config wifi-device radio0 2 | option type mac80211 3 | option channel 11 4 | option hwmode 11g 5 | option path 'platform/ar934x_wmac' 6 | option htmode HT20 7 | 8 | config wifi-iface 9 | option device radio0 10 | option network wlan0 11 | option ifname wlan0 12 | option mode adhoc 13 | option ssid wbm8-test-2 14 | option bssid 02:b8:c0:00:00:00 15 | option encryption none 16 | 17 | config wifi-device radio1 18 | option type mac80211 19 | option channel 48 20 | option hwmode 11a 21 | option path 'pci0000:00/0000:00:00.0' 22 | option htmode HT20 23 | 24 | config wifi-iface 25 | option device radio1 26 | option network wlan1 27 | option ifname wlan1 28 | option mode adhoc 29 | option ssid wbm8-test-5 30 | option bssid 02:b8:c0:00:00:00 31 | option encryption none 32 | 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/babeld: -------------------------------------------------------------------------------- 1 | package babeld 2 | 3 | config general 4 | option 'log_file' '/var/log/babeld.log' 5 | option 'ipv6_subtrees' 'true' 6 | option 'diversity' '3' 7 | 8 | config interface 9 | option 'ifname' 'wlan0' 10 | 11 | config interface 12 | option 'ifname' 'wlan1' 13 | 14 | config interface 15 | option 'ifname' 'eth0.1' 16 | 17 | config interface 18 | option 'ifname' 'eth0.2' 19 | 20 | config interface 21 | option 'enable_timestamps' 'true' 22 | 23 | config filter 24 | option 'type' 'redistribute' 25 | option 'action' 'allow' 26 | 27 | config filter 28 | option 'ignore' 'true' 29 | option 'type' 'redistribute' 30 | option 'local' 'true' 31 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/batman-adv: -------------------------------------------------------------------------------- 1 | config 'mesh' 'bat0' 2 | option 'aggregated_ogms' 3 | option 'ap_isolation' 4 | option 'bonding' 5 | option 'fragmentation' 6 | option 'gw_bandwidth' 7 | option 'gw_mode' 8 | option 'gw_sel_class' 9 | option 'log_level' 10 | option 'orig_interval' 11 | option 'vis_mode' 12 | option 'bridge_loop_avoidance' 13 | option 'distributed_arp_table' 14 | option 'multicast_mode' 15 | option 'network_coding' 16 | option 'hop_penalty' 17 | option 'isolation_mark' 18 | 19 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/bmx6: -------------------------------------------------------------------------------- 1 | config 'dev' 'mesh_1' 2 | option 'dev' 'eth0.1' 3 | 4 | config 'dev' 'mesh_2' 5 | option 'dev' 'wlan0' 6 | 7 | config 'dev' 'mesh_3' 8 | option 'dev' 'wlan1' 9 | 10 | config 'tunDev' default 11 | option 'tunDev' 'default' 12 | option 'tun6Address' 'fd87::9/128' 13 | option 'tun4Address' '172.17.64.1/24' 14 | 15 | config 'tunOut' 16 | option 'tunOut' 'ip6' 17 | option 'network' 'fd87::/64' 18 | 19 | config 'tunOut' 20 | option 'tunOut' 'ip4' 21 | option 'network' '0.0.0.0/0' 22 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/dhcp: -------------------------------------------------------------------------------- 1 | config odhcpd 'odhcpd' 2 | option maindhcp '0' 3 | option leasefile '/tmp/hosts/odhcpd' 4 | option leasetrigger '/usr/sbin/odhcpd-update' 5 | 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/dropbear: -------------------------------------------------------------------------------- 1 | config dropbear 2 | option PasswordAuth 'on' 3 | option RootPasswordAuth 'on' 4 | option Port '22' 5 | # option BannerFile '/etc/banner' 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/network: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option netmask '255.255.0.0' 3 | option ifname 'lo' 4 | option proto 'static' 5 | option ipaddr '127.0.0.1' 6 | option netmask '255.0.0.0' 7 | 8 | config interface 'lan' 9 | option ifname 'eth0.1' 10 | option force_link '1' 11 | option proto 'static' 12 | 13 | config interface 'wan' 14 | option ifname 'eth0.2' 15 | option proto 'static' 16 | option ipaddr '172.17.64.1' 17 | option netmask '255.255.255.255' 18 | option ip6addr 'fd87::9/128' 19 | 20 | config interface 'wlan0' 21 | option ifname 'wlan0' 22 | option proto 'static' 23 | 24 | config interface 'wlan1' 25 | option ifname 'wlan1' 26 | option proto 'static' 27 | 28 | # --- static route on nodes that are connected to laptops --- # 29 | 30 | #config 'route' 'laptop64' 31 | # option 'interface' 'lan' 32 | # option 'target' '10.0.64.2' 33 | # option 'netmask' '255.255.255.255' 34 | 35 | # --- batman only --- # 36 | config 'route' 'laptop2' 37 | option 'interface' 'bat0' 38 | option 'gateway' '172.17.0.1' 39 | option 'target' '10.0.0.2' 40 | option 'netmask' '255.255.255.255' 41 | 42 | config interface 'wlan0' 43 | option mtu '1532' 44 | option proto 'batadv' 45 | option mesh 'bat0' 46 | 47 | config interface 'wlan1' 48 | option mtu '1532' 49 | option proto 'batadv' 50 | option mesh 'bat0' 51 | 52 | config interface 'bat0' 53 | option ifname 'bat0' 54 | option proto 'static' 55 | option ipaddr '172.17.64.1' 56 | option netmask '255.255.0.0' 57 | 58 | # --- device specific config here (eg: switch) --- # 59 | 60 | config switch 61 | option name 'switch0' 62 | option reset '1' 63 | option enable_vlan '1' 64 | 65 | config switch_vlan 66 | option device 'switch0' 67 | option vlan '1' 68 | option ports '0t 2 3 4 5' 69 | 70 | config switch_vlan 71 | option device 'switch0' 72 | option vlan '2' 73 | option ports '0t 1' 74 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/network.all: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | option ipaddr '172.17.64.1' 12 | option netmask '255.255.255.0' 13 | option ip6addr 'fd87::9/128' 14 | 15 | config interface 'wan' 16 | option ifname 'eth0.2' 17 | option proto 'static' 18 | option ipaddr '172.17.65.1' 19 | option netmask '255.255.255.255' 20 | option ip6addr 'fd87::9/128' 21 | 22 | config interface 'wlan0' 23 | option ifname 'wlan0' 24 | option proto 'static' 25 | option ipaddr '172.17.66.1' 26 | option netmask '255.255.255.255' 27 | option ip6addr 'fd87::9/128' 28 | 29 | config interface 'wlan1' 30 | option ifname 'wlan1' 31 | option proto 'static' 32 | option ipaddr '172.17.67.1' 33 | option netmask '255.255.255.255' 34 | option ip6addr 'fd87::9/128' 35 | 36 | # --- static route on nodes that are connected to laptops --- # 37 | 38 | #config 'route' 'laptop64' 39 | # option 'interface' 'lan' 40 | # option 'target' '10.0.64.2' 41 | # option 'netmask' '255.255.255.255' 42 | 43 | # --- batman only --- # 44 | 45 | #config interface 'wlan0' 46 | # option mtu '1532' 47 | # option proto 'batadv' 48 | # option mesh 'bat0' 49 | 50 | #config interface 'wlan1' 51 | # option mtu '1532' 52 | # option proto 'batadv' 53 | # option mesh 'bat0' 54 | 55 | #config interface 'bat0' 56 | # option ifname 'bat0' 57 | # option proto 'static' 58 | 59 | # --- device specific config here (eg: switch) --- # 60 | 61 | config switch 62 | option name 'switch0' 63 | option reset '1' 64 | option enable_vlan '1' 65 | 66 | config switch_vlan 67 | option device 'switch0' 68 | option vlan '1' 69 | option ports '0t 2 3 4 5' 70 | 71 | config switch_vlan 72 | option device 'switch0' 73 | option vlan '2' 74 | option ports '0t 1' 75 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/network.batman-adv: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option netmask '255.255.0.0' 3 | option ifname 'lo' 4 | option proto 'static' 5 | option ipaddr '127.0.0.1' 6 | option netmask '255.0.0.0' 7 | 8 | config interface 'lan' 9 | option ifname 'eth0.1' 10 | option force_link '1' 11 | option proto 'static' 12 | 13 | config interface 'wan' 14 | option ifname 'eth0.2' 15 | option proto 'static' 16 | option ipaddr '172.17.64.1' 17 | option netmask '255.255.255.255' 18 | option ip6addr 'fd87::9/128' 19 | 20 | config interface 'wlan0' 21 | option ifname 'wlan0' 22 | option proto 'static' 23 | 24 | config interface 'wlan1' 25 | option ifname 'wlan1' 26 | option proto 'static' 27 | 28 | # --- static route on nodes that are connected to laptops --- # 29 | 30 | #config 'route' 'laptop64' 31 | # option 'interface' 'lan' 32 | # option 'target' '10.0.64.2' 33 | # option 'netmask' '255.255.255.255' 34 | 35 | # --- batman only --- # 36 | config 'route' 'laptop2' 37 | option 'interface' 'bat0' 38 | option 'gateway' '172.17.0.1' 39 | option 'target' '10.0.0.2' 40 | option 'netmask' '255.255.255.255' 41 | 42 | config interface 'wlan0' 43 | option mtu '1532' 44 | option proto 'batadv' 45 | option mesh 'bat0' 46 | 47 | config interface 'wlan1' 48 | option mtu '1532' 49 | option proto 'batadv' 50 | option mesh 'bat0' 51 | 52 | config interface 'bat0' 53 | option ifname 'bat0' 54 | option proto 'static' 55 | option ipaddr '172.17.64.1' 56 | option netmask '255.255.0.0' 57 | 58 | # --- device specific config here (eg: switch) --- # 59 | 60 | config switch 61 | option name 'switch0' 62 | option reset '1' 63 | option enable_vlan '1' 64 | 65 | config switch_vlan 66 | option device 'switch0' 67 | option vlan '1' 68 | option ports '0t 2 3 4 5' 69 | 70 | config switch_vlan 71 | option device 'switch0' 72 | option vlan '2' 73 | option ports '0t 1' 74 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/olsrd: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_arprefresh.so.0.1' 5 | 6 | config LoadPlugin 7 | option library 'olsrd_dyn_gw.so.0.5' 8 | 9 | config LoadPlugin 10 | option library 'olsrd_httpinfo.so.0.1' 11 | option port '1978' 12 | list Net '0.0.0.0 0.0.0.0' 13 | 14 | config LoadPlugin 15 | option library 'olsrd_nameservice.so.0.3' 16 | 17 | config LoadPlugin 18 | option library 'olsrd_txtinfo.so.0.1' 19 | option accept '0.0.0.0' 20 | 21 | config Interface 22 | list interface 'wlan0' 23 | list interface 'wlan1' 24 | list interface 'lan' 25 | list interface 'wan' 26 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/olsrd2: -------------------------------------------------------------------------------- 1 | config global 2 | option 'pidfile' '/var/run/olsrd2.pid' 3 | option 'lockfile' '/var/lock/olsrd2' 4 | 5 | config log 6 | option 'syslog' 'true' 7 | option 'stderr' 'true' 8 | 9 | config interface 10 | list 'ifname' 'wlan0' 11 | list 'ifname' 'wlan1' 12 | 13 | config interface 14 | list 'ifname' 'wan' 15 | list 'ifname' 'lan' 16 | option 'rx_bitrate' '100M' 17 | 18 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/olsrd6: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_txtinfo.so.0.1' 5 | option accept '::' 6 | option port '2007' 7 | 8 | config Interface 9 | list interface 'wlan0' 10 | list interface 'wlan1' 11 | list interface 'lan' 12 | list interface 'wan' 13 | 14 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/system: -------------------------------------------------------------------------------- 1 | config system 2 | option hostname 'RouterJ' 3 | option timezone 'UTC' 4 | 5 | # --- device specific here --- # 6 | 7 | config timeserver 'ntp' 8 | list server '0.openwrt.pool.ntp.org' 9 | list server '1.openwrt.pool.ntp.org' 10 | list server '2.openwrt.pool.ntp.org' 11 | list server '3.openwrt.pool.ntp.org' 12 | option enabled '1' 13 | option enable_server '0' 14 | 15 | config led 'led_usb1' 16 | option name 'USB1' 17 | option sysfs 'tp-link:green:usb1' 18 | option trigger 'usbdev' 19 | option dev '1-1.1' 20 | option interval '50' 21 | 22 | config led 'led_usb2' 23 | option name 'USB2' 24 | option sysfs 'tp-link:green:usb2' 25 | option trigger 'usbdev' 26 | option dev '1-1.2' 27 | option interval '50' 28 | 29 | config led 'led_wlan2g' 30 | option name 'WLAN2G' 31 | option sysfs 'tp-link:blue:wlan2g' 32 | option trigger 'phy0tpt' 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/ubootenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/testbed/config/172.17.64.1/ubootenv -------------------------------------------------------------------------------- /v8/testbed/config/172.17.64.1/wireless: -------------------------------------------------------------------------------- 1 | config wifi-device radio0 2 | option type mac80211 3 | option channel 11 4 | option hwmode 11g 5 | option path 'platform/ar934x_wmac' 6 | option htmode HT20 7 | 8 | config wifi-iface 9 | option device radio0 10 | option network wlan0 11 | option ifname wlan0 12 | option mode adhoc 13 | option ssid wbm8-test-2 14 | option bssid 02:b8:c0:00:00:00 15 | option encryption none 16 | 17 | config wifi-device radio1 18 | option type mac80211 19 | option channel 48 20 | option hwmode 11a 21 | option path 'pci0000:00/0000:00:00.0' 22 | option htmode HT20 23 | 24 | config wifi-iface 25 | option device radio1 26 | option network wlan1 27 | option ifname wlan1 28 | option mode adhoc 29 | option ssid wbm8-test-5 30 | option bssid 02:b8:c0:00:00:00 31 | option encryption none 32 | 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/babeld: -------------------------------------------------------------------------------- 1 | package babeld 2 | 3 | config general 4 | option 'log_file' '/var/log/babeld.log' 5 | option 'ipv6_subtrees' 'true' 6 | option 'diversity' '3' 7 | 8 | config interface 9 | option 'ifname' 'wlan0' 10 | 11 | config interface 12 | option 'ifname' 'wlan1' 13 | 14 | config interface 15 | option 'ifname' 'eth0.1' 16 | 17 | config interface 18 | option 'ifname' 'eth0.2' 19 | 20 | config interface 21 | option 'enable_timestamps' 'true' 22 | 23 | config filter 24 | option 'type' 'redistribute' 25 | option 'action' 'allow' 26 | 27 | config filter 28 | option 'ignore' 'true' 29 | option 'type' 'redistribute' 30 | option 'local' 'true' 31 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/batman-adv: -------------------------------------------------------------------------------- 1 | config 'mesh' 'bat0' 2 | option 'aggregated_ogms' 3 | option 'ap_isolation' 4 | option 'bonding' 5 | option 'fragmentation' 6 | option 'gw_bandwidth' 7 | option 'gw_mode' 8 | option 'gw_sel_class' 9 | option 'log_level' 10 | option 'orig_interval' 11 | option 'vis_mode' 12 | option 'bridge_loop_avoidance' 13 | option 'distributed_arp_table' 14 | option 'multicast_mode' 15 | option 'network_coding' 16 | option 'hop_penalty' 17 | option 'isolation_mark' 18 | 19 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/bmx6: -------------------------------------------------------------------------------- 1 | config 'dev' 'mesh_1' 2 | option 'dev' 'eth0.1' 3 | 4 | config 'dev' 'mesh_2' 5 | option 'dev' 'wlan0' 6 | 7 | config 'dev' 'mesh_3' 8 | option 'dev' 'wlan1' 9 | 10 | config 'tunDev' default 11 | option 'tunDev' 'default' 12 | option 'tun6Address' 'fd87::10/128' 13 | option 'tun4Address' '172.17.72.1/24' 14 | 15 | config 'tunOut' 16 | option 'tunOut' 'ip6' 17 | option 'network' 'fd87::/64' 18 | 19 | config 'tunOut' 20 | option 'tunOut' 'ip4' 21 | option 'network' '0.0.0.0/0' 22 | 23 | config tunIn 24 | option tunIn ip4In 25 | option network '10.0.1.2/32' 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/dhcp: -------------------------------------------------------------------------------- 1 | config odhcpd 'odhcpd' 2 | option maindhcp '0' 3 | option leasefile '/tmp/hosts/odhcpd' 4 | option leasetrigger '/usr/sbin/odhcpd-update' 5 | 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/dropbear: -------------------------------------------------------------------------------- 1 | config dropbear 2 | option PasswordAuth 'on' 3 | option RootPasswordAuth 'on' 4 | option Port '22' 5 | # option BannerFile '/etc/banner' 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/network: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | option ipaddr '172.17.72.1' 12 | option netmask '255.255.255.0' 13 | option ip6addr 'fd87::10/128' 14 | 15 | config interface 'wan' 16 | option ifname 'eth0.2' 17 | option proto 'static' 18 | option ipaddr '172.17.73.1' 19 | option netmask '255.255.255.255' 20 | option ip6addr 'fd87::10/128' 21 | 22 | config interface 'wlan0' 23 | option ifname 'wlan0' 24 | option proto 'static' 25 | 26 | config interface 'wlan1' 27 | option ifname 'wlan1' 28 | option proto 'static' 29 | 30 | # --- static route on nodes that are connected to laptops --- # 31 | 32 | config 'route' 'laptop1' 33 | option 'interface' 'lan' 34 | option 'target' '10.0.1.2' 35 | option 'netmask' '255.255.255.255' 36 | 37 | config 'route' 'laptop2' 38 | option 'interface' 'bat0' 39 | option 'source' '172.17.72.1' 40 | option 'gateway' '172.17.0.1' 41 | option 'target' '10.0.0.2' 42 | option 'netmask' '255.255.255.255' 43 | 44 | # --- batman only --- # 45 | 46 | config interface 'wlan0' 47 | option mtu '1532' 48 | option proto 'batadv' 49 | option mesh 'bat0' 50 | 51 | config interface 'wlan1' 52 | option mtu '1532' 53 | option proto 'batadv' 54 | option mesh 'bat0' 55 | 56 | config interface 'bat0' 57 | option ifname 'bat0' 58 | option proto 'static' 59 | option ipaddr '172.17.72.1' 60 | option 'netmask' '255.255.0.0' 61 | 62 | # --- device specific config here (eg: switch) --- # 63 | 64 | config switch 65 | option name 'switch0' 66 | option reset '1' 67 | option enable_vlan '1' 68 | 69 | config switch_vlan 70 | option device 'switch0' 71 | option vlan '1' 72 | option ports '0t 2 3 4 5' 73 | 74 | config switch_vlan 75 | option device 'switch0' 76 | option vlan '2' 77 | option ports '0t 1' 78 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/network.all: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | option ipaddr '172.17.72.1' 12 | option netmask '255.255.255.0' 13 | option ip6addr 'fd87::10/128' 14 | 15 | config interface 'wan' 16 | option ifname 'eth0.2' 17 | option proto 'static' 18 | option ipaddr '172.17.73.1' 19 | option netmask '255.255.255.255' 20 | option ip6addr 'fd87::10/128' 21 | 22 | config interface 'wlan0' 23 | option ifname 'wlan0' 24 | option proto 'static' 25 | option ipaddr '172.17.74.1' 26 | option netmask '255.255.255.255' 27 | option ip6addr 'fd87::10/128' 28 | 29 | config interface 'wlan1' 30 | option ifname 'wlan1' 31 | option proto 'static' 32 | option ipaddr '172.17.75.1' 33 | option netmask '255.255.255.255' 34 | option ip6addr 'fd87::10/128' 35 | 36 | # --- static route on nodes that are connected to laptops --- # 37 | 38 | config 'route' 'laptop1' 39 | option 'interface' 'lan' 40 | option 'target' '10.0.1.2' 41 | option 'netmask' '255.255.255.255' 42 | 43 | # --- batman only --- # 44 | 45 | #config interface 'wlan0' 46 | # option mtu '1532' 47 | # option proto 'batadv' 48 | # option mesh 'bat0' 49 | 50 | #config interface 'wlan1' 51 | # option mtu '1532' 52 | # option proto 'batadv' 53 | # option mesh 'bat0' 54 | 55 | #config interface 'bat0' 56 | # option ifname 'bat0' 57 | # option proto 'static' 58 | 59 | # --- device specific config here (eg: switch) --- # 60 | 61 | config switch 62 | option name 'switch0' 63 | option reset '1' 64 | option enable_vlan '1' 65 | 66 | config switch_vlan 67 | option device 'switch0' 68 | option vlan '1' 69 | option ports '0t 2 3 4 5' 70 | 71 | config switch_vlan 72 | option device 'switch0' 73 | option vlan '2' 74 | option ports '0t 1' 75 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/network.batman-adv: -------------------------------------------------------------------------------- 1 | config interface 'loopback' 2 | option ifname 'lo' 3 | option proto 'static' 4 | option ipaddr '127.0.0.1' 5 | option netmask '255.0.0.0' 6 | 7 | config interface 'lan' 8 | option ifname 'eth0.1' 9 | option force_link '1' 10 | option proto 'static' 11 | option ipaddr '172.17.72.1' 12 | option netmask '255.255.255.0' 13 | option ip6addr 'fd87::10/128' 14 | 15 | config interface 'wan' 16 | option ifname 'eth0.2' 17 | option proto 'static' 18 | option ipaddr '172.17.73.1' 19 | option netmask '255.255.255.255' 20 | option ip6addr 'fd87::10/128' 21 | 22 | config interface 'wlan0' 23 | option ifname 'wlan0' 24 | option proto 'static' 25 | 26 | config interface 'wlan1' 27 | option ifname 'wlan1' 28 | option proto 'static' 29 | 30 | # --- static route on nodes that are connected to laptops --- # 31 | 32 | config 'route' 'laptop1' 33 | option 'interface' 'lan' 34 | option 'target' '10.0.1.2' 35 | option 'netmask' '255.255.255.255' 36 | 37 | config 'route' 'laptop2' 38 | option 'interface' 'bat0' 39 | option 'source' '172.17.72.1' 40 | option 'gateway' '172.17.0.1' 41 | option 'target' '10.0.0.2' 42 | option 'netmask' '255.255.255.255' 43 | 44 | # --- batman only --- # 45 | 46 | config interface 'wlan0' 47 | option mtu '1532' 48 | option proto 'batadv' 49 | option mesh 'bat0' 50 | 51 | config interface 'wlan1' 52 | option mtu '1532' 53 | option proto 'batadv' 54 | option mesh 'bat0' 55 | 56 | config interface 'bat0' 57 | option ifname 'bat0' 58 | option proto 'static' 59 | option ipaddr '172.17.72.1' 60 | option 'netmask' '255.255.0.0' 61 | 62 | # --- device specific config here (eg: switch) --- # 63 | 64 | config switch 65 | option name 'switch0' 66 | option reset '1' 67 | option enable_vlan '1' 68 | 69 | config switch_vlan 70 | option device 'switch0' 71 | option vlan '1' 72 | option ports '0t 2 3 4 5' 73 | 74 | config switch_vlan 75 | option device 'switch0' 76 | option vlan '2' 77 | option ports '0t 1' 78 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/olsrd: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_arprefresh.so.0.1' 5 | 6 | config LoadPlugin 7 | option library 'olsrd_dyn_gw.so.0.5' 8 | 9 | config LoadPlugin 10 | option library 'olsrd_httpinfo.so.0.1' 11 | option port '1978' 12 | list Net '0.0.0.0 0.0.0.0' 13 | 14 | config LoadPlugin 15 | option library 'olsrd_nameservice.so.0.3' 16 | 17 | config LoadPlugin 18 | option library 'olsrd_txtinfo.so.0.1' 19 | option accept '0.0.0.0' 20 | 21 | config Interface 22 | list interface 'wlan0' 23 | list interface 'wlan1' 24 | list interface 'lan' 25 | list interface 'wan' 26 | 27 | config Hna4 28 | option netaddr '10.0.1.2' 29 | option netmask '255.255.255.255' 30 | 31 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/olsrd2: -------------------------------------------------------------------------------- 1 | config global 2 | option 'pidfile' '/var/run/olsrd2.pid' 3 | option 'lockfile' '/var/lock/olsrd2' 4 | 5 | config log 6 | option 'syslog' 'true' 7 | option 'stderr' 'true' 8 | 9 | config interface 10 | list 'ifname' 'wlan0' 11 | list 'ifname' 'wlan1' 12 | 13 | config interface 14 | list 'ifname' 'wan' 15 | list 'ifname' 'lan' 16 | option 'rx_bitrate' '100M' 17 | 18 | config olsrv2 19 | list 'lan' '10.0.1.2/32' 20 | 21 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/olsrd6: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_txtinfo.so.0.1' 5 | option accept '::' 6 | option port '2007' 7 | 8 | config Interface 9 | list interface 'wlan0' 10 | list interface 'wlan1' 11 | list interface 'lan' 12 | list interface 'wan' 13 | 14 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/system: -------------------------------------------------------------------------------- 1 | 2 | config system 3 | option hostname 'RouterK' 4 | option timezone 'UTC' 5 | 6 | config timeserver 'ntp' 7 | list server '0.openwrt.pool.ntp.org' 8 | list server '1.openwrt.pool.ntp.org' 9 | list server '2.openwrt.pool.ntp.org' 10 | list server '3.openwrt.pool.ntp.org' 11 | option enabled '1' 12 | option enable_server '0' 13 | 14 | config led 'led_usb1' 15 | option name 'USB1' 16 | option sysfs 'tp-link:green:usb1' 17 | option trigger 'usbdev' 18 | option dev '1-1.1' 19 | option interval '50' 20 | 21 | config led 'led_usb2' 22 | option name 'USB2' 23 | option sysfs 'tp-link:green:usb2' 24 | option trigger 'usbdev' 25 | option dev '1-1.2' 26 | option interval '50' 27 | 28 | config led 'led_wlan2g' 29 | option name 'WLAN2G' 30 | option sysfs 'tp-link:blue:wlan2g' 31 | option trigger 'phy0tpt' 32 | 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/ubootenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/testbed/config/172.17.72.1/ubootenv -------------------------------------------------------------------------------- /v8/testbed/config/172.17.72.1/wireless: -------------------------------------------------------------------------------- 1 | config wifi-device radio0 2 | option type mac80211 3 | option channel 11 4 | option hwmode 11g 5 | option path 'platform/ar934x_wmac' 6 | option htmode HT20 7 | 8 | config wifi-iface 9 | option device radio0 10 | option network wlan0 11 | option ifname wlan0 12 | option mode adhoc 13 | option ssid wbm8-test-2 14 | option bssid 02:b8:c0:00:00:00 15 | option encryption none 16 | 17 | config wifi-device radio1 18 | option type mac80211 19 | option channel 48 20 | option hwmode 11a 21 | option path 'pci0000:00/0000:00:00.0' 22 | option htmode HT20 23 | 24 | config wifi-iface 25 | option device radio1 26 | option network wlan1 27 | option ifname wlan1 28 | option mode adhoc 29 | option ssid wbm8-test-5 30 | option bssid 02:b8:c0:00:00:00 31 | option encryption none 32 | 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/babeld: -------------------------------------------------------------------------------- 1 | package babeld 2 | 3 | config general 4 | option 'log_file' '/var/log/babeld.log' 5 | option 'ipv6_subtrees' 'true' 6 | option 'diversity' '3' 7 | 8 | config interface 9 | option 'ifname' 'wlan0' 10 | 11 | config interface 12 | option 'ifname' 'wlan1' 13 | 14 | config interface 15 | option 'ifname' 'eth0.1' 16 | 17 | config interface 18 | option 'ifname' 'eth0.2' 19 | 20 | config interface 21 | option 'enable_timestamps' 'true' 22 | 23 | config filter 24 | option 'type' 'redistribute' 25 | option 'action' 'allow' 26 | 27 | config filter 28 | option 'ignore' 'true' 29 | option 'type' 'redistribute' 30 | option 'local' 'true' 31 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/batman-adv: -------------------------------------------------------------------------------- 1 | 2 | config 'mesh' 'bat0' 3 | option 'aggregated_ogms' 4 | option 'ap_isolation' 5 | option 'bonding' 6 | option 'fragmentation' 7 | option 'gw_bandwidth' 8 | option 'gw_mode' 9 | option 'gw_sel_class' 10 | option 'log_level' 11 | option 'orig_interval' 12 | option 'vis_mode' 13 | option 'bridge_loop_avoidance' 14 | option 'distributed_arp_table' 15 | option 'multicast_mode' 16 | option 'network_coding' 17 | option 'hop_penalty' 18 | option 'isolation_mark' 19 | 20 | # yet another batX instance 21 | # config 'mesh' 'bat5' 22 | # option 'interfaces' 'second_mesh' 23 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/bmx6: -------------------------------------------------------------------------------- 1 | config 'dev' 'mesh_1' 2 | option 'dev' 'eth0.1' 3 | 4 | config 'dev' 'mesh_2' 5 | option 'dev' 'wlan0' 6 | 7 | config 'dev' 'mesh_3' 8 | option 'dev' 'wlan1' 9 | 10 | config 'tunDev' default 11 | option 'tunDev' 'default' 12 | option 'tun6Address' 'fd87::2/128' 13 | option 'tun4Address' '172.17.8.1/24' 14 | 15 | config 'tunOut' 16 | option 'tunOut' 'ip6' 17 | option 'network' 'fd87::/64' 18 | 19 | config 'tunOut' 20 | option 'tunOut' 'ip4' 21 | option 'network' '0.0.0.0/0' 22 | 23 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/dhcp: -------------------------------------------------------------------------------- 1 | config odhcpd 'odhcpd' 2 | option maindhcp '0' 3 | option leasefile '/tmp/hosts/odhcpd' 4 | option leasetrigger '/usr/sbin/odhcpd-update' 5 | 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/dropbear: -------------------------------------------------------------------------------- 1 | config dropbear 2 | option PasswordAuth 'on' 3 | option RootPasswordAuth 'on' 4 | option Port '22' 5 | # option BannerFile '/etc/banner' 6 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/network: -------------------------------------------------------------------------------- 1 | 2 | config interface 'loopback' 3 | option ifname 'lo' 4 | option proto 'static' 5 | option ipaddr '127.0.0.1' 6 | option netmask '255.0.0.0' 7 | 8 | config interface 'lan' 9 | option ifname 'eth0.1' 10 | option force_link '1' 11 | option proto 'static' 12 | option ipaddr '172.17.8.1' 13 | option netmask '255.255.255.0' 14 | option ip6addr 'fd87::2/128' 15 | 16 | config interface 'wan' 17 | option ifname 'eth0.2' 18 | option proto 'static' 19 | option ipaddr '172.17.8.1' 20 | option netmask '255.255.255.255' 21 | option ip6addr 'fd87::2/128' 22 | 23 | config interface 'wlan0' 24 | option ifname 'wlan0' 25 | option proto 'static' 26 | 27 | config interface 'wlan1' 28 | option ifname 'wlan1' 29 | option proto 'static' 30 | 31 | 32 | 33 | # --- batman only --- # 34 | 35 | config 'route' 'laptop2' 36 | option 'interface' 'bat0' 37 | option 'gateway' '172.17.0.1' 38 | option 'target' '10.0.0.2' 39 | option 'netmask' '255.255.255.255' 40 | 41 | 42 | config interface 'wlan0' 43 | option mtu '1532' 44 | option proto 'batadv' 45 | option mesh 'bat0' 46 | 47 | config interface 'wlan1' 48 | option mtu '1532' 49 | option proto 'batadv' 50 | option mesh 'bat0' 51 | 52 | config interface 'bat0' 53 | option ifname 'bat0' 54 | option proto 'static' 55 | option ipaddr '172.17.8.1' 56 | option netmask '255.255.0.0' 57 | 58 | # --- device specific config here (eg: switch) --- # 59 | 60 | config switch 61 | option name 'switch0' 62 | option reset '1' 63 | option enable_vlan '1' 64 | 65 | config switch_vlan 66 | option device 'switch0' 67 | option vlan '1' 68 | option ports '0t 2 3 4 5' 69 | 70 | config switch_vlan 71 | option device 'switch0' 72 | option vlan '2' 73 | option ports '0t 1' 74 | 75 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/network.all: -------------------------------------------------------------------------------- 1 | 2 | config interface 'loopback' 3 | option ifname 'lo' 4 | option proto 'static' 5 | option ipaddr '127.0.0.1' 6 | option netmask '255.0.0.0' 7 | 8 | config interface 'lan' 9 | option ifname 'eth0.1' 10 | option force_link '1' 11 | option proto 'static' 12 | option ipaddr '172.17.8.1' 13 | option netmask '255.255.255.0' 14 | option ip6addr 'fd87::2/128' 15 | 16 | config interface 'wan' 17 | option ifname 'eth0.2' 18 | option proto 'static' 19 | option ipaddr '172.17.9.1' 20 | option netmask '255.255.255.255' 21 | option ip6addr 'fd87::2/128' 22 | 23 | config interface 'wlan0' 24 | option ifname 'wlan0' 25 | option proto 'static' 26 | option ipaddr '172.17.10.1' 27 | option netmask '255.255.255.255' 28 | option ip6addr 'fd87::2/128' 29 | 30 | config interface 'wlan1' 31 | option ifname 'wlan1' 32 | option proto 'static' 33 | option ipaddr '172.17.11.1' 34 | option netmask '255.255.255.255' 35 | option ip6addr 'fd87::2/128' 36 | 37 | # --- batman only --- # 38 | 39 | #config interface 'wlan0' 40 | # option mtu '1532' 41 | # option proto 'batadv' 42 | # option mesh 'bat0' 43 | 44 | #config interface 'wlan1' 45 | # option mtu '1532' 46 | # option proto 'batadv' 47 | # option mesh 'bat0' 48 | 49 | #config interface 'bat0' 50 | # option ifname 'bat0' 51 | # option proto 'static' 52 | 53 | # --- device specific config here (eg: switch) --- # 54 | 55 | config switch 56 | option name 'switch0' 57 | option reset '1' 58 | option enable_vlan '1' 59 | 60 | config switch_vlan 61 | option device 'switch0' 62 | option vlan '1' 63 | option ports '0t 2 3 4 5' 64 | 65 | config switch_vlan 66 | option device 'switch0' 67 | option vlan '2' 68 | option ports '0t 1' 69 | 70 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/network.batman-adv: -------------------------------------------------------------------------------- 1 | 2 | config interface 'loopback' 3 | option ifname 'lo' 4 | option proto 'static' 5 | option ipaddr '127.0.0.1' 6 | option netmask '255.0.0.0' 7 | 8 | config interface 'lan' 9 | option ifname 'eth0.1' 10 | option force_link '1' 11 | option proto 'static' 12 | option ipaddr '172.17.8.1' 13 | option netmask '255.255.255.0' 14 | option ip6addr 'fd87::2/128' 15 | 16 | config interface 'wan' 17 | option ifname 'eth0.2' 18 | option proto 'static' 19 | option ipaddr '172.17.8.1' 20 | option netmask '255.255.255.255' 21 | option ip6addr 'fd87::2/128' 22 | 23 | config interface 'wlan0' 24 | option ifname 'wlan0' 25 | option proto 'static' 26 | 27 | config interface 'wlan1' 28 | option ifname 'wlan1' 29 | option proto 'static' 30 | 31 | 32 | 33 | # --- batman only --- # 34 | 35 | config 'route' 'laptop2' 36 | option 'interface' 'bat0' 37 | option 'gateway' '172.17.0.1' 38 | option 'target' '10.0.0.2' 39 | option 'netmask' '255.255.255.255' 40 | 41 | 42 | config interface 'wlan0' 43 | option mtu '1532' 44 | option proto 'batadv' 45 | option mesh 'bat0' 46 | 47 | config interface 'wlan1' 48 | option mtu '1532' 49 | option proto 'batadv' 50 | option mesh 'bat0' 51 | 52 | config interface 'bat0' 53 | option ifname 'bat0' 54 | option proto 'static' 55 | option ipaddr '172.17.8.1' 56 | option netmask '255.255.0.0' 57 | 58 | # --- device specific config here (eg: switch) --- # 59 | 60 | config switch 61 | option name 'switch0' 62 | option reset '1' 63 | option enable_vlan '1' 64 | 65 | config switch_vlan 66 | option device 'switch0' 67 | option vlan '1' 68 | option ports '0t 2 3 4 5' 69 | 70 | config switch_vlan 71 | option device 'switch0' 72 | option vlan '2' 73 | option ports '0t 1' 74 | 75 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/olsrd: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_arprefresh.so.0.1' 5 | 6 | config LoadPlugin 7 | option library 'olsrd_dyn_gw.so.0.5' 8 | 9 | config LoadPlugin 10 | option library 'olsrd_httpinfo.so.0.1' 11 | option port '1978' 12 | list Net '0.0.0.0 0.0.0.0' 13 | 14 | config LoadPlugin 15 | option library 'olsrd_nameservice.so.0.3' 16 | 17 | config LoadPlugin 18 | option library 'olsrd_txtinfo.so.0.1' 19 | option accept '0.0.0.0' 20 | 21 | config Interface 22 | list interface 'wlan0' 23 | list interface 'wlan1' 24 | list interface 'lan' 25 | list interface 'wan' 26 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/olsrd2: -------------------------------------------------------------------------------- 1 | config global 2 | option 'pidfile' '/var/run/olsrd2.pid' 3 | option 'lockfile' '/var/lock/olsrd2' 4 | 5 | config log 6 | option 'syslog' 'true' 7 | option 'stderr' 'true' 8 | 9 | config interface 10 | list 'ifname' 'wlan0' 11 | list 'ifname' 'wlan1' 12 | 13 | config interface 14 | list 'ifname' 'wan' 15 | list 'ifname' 'lan' 16 | option 'rx_bitrate' '100M' 17 | 18 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/olsrd6: -------------------------------------------------------------------------------- 1 | config olsrd 2 | 3 | config LoadPlugin 4 | option library 'olsrd_txtinfo.so.0.1' 5 | option accept '::' 6 | option port '2007' 7 | 8 | config Interface 9 | list interface 'wlan0' 10 | list interface 'wlan1' 11 | list interface 'lan' 12 | list interface 'wan' 13 | 14 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/system: -------------------------------------------------------------------------------- 1 | 2 | config system 3 | option hostname 'RouterB' 4 | option timezone 'UTC' 5 | 6 | config timeserver 'ntp' 7 | list server '0.openwrt.pool.ntp.org' 8 | list server '1.openwrt.pool.ntp.org' 9 | list server '2.openwrt.pool.ntp.org' 10 | list server '3.openwrt.pool.ntp.org' 11 | option enabled '1' 12 | option enable_server '0' 13 | 14 | config led 'led_usb1' 15 | option name 'USB1' 16 | option sysfs 'tp-link:green:usb1' 17 | option trigger 'usbdev' 18 | option dev '1-1.1' 19 | option interval '50' 20 | 21 | config led 'led_usb2' 22 | option name 'USB2' 23 | option sysfs 'tp-link:green:usb2' 24 | option trigger 'usbdev' 25 | option dev '1-1.2' 26 | option interval '50' 27 | 28 | config led 'led_wlan2g' 29 | option name 'WLAN2G' 30 | option sysfs 'tp-link:blue:wlan2g' 31 | option trigger 'phy0tpt' 32 | 33 | -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/ubootenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/battlemesh/battlemesh-test-docs/877fd3e61ed678251f6618b1f0acb62dfbd12d52/v8/testbed/config/172.17.8.1/ubootenv -------------------------------------------------------------------------------- /v8/testbed/config/172.17.8.1/wireless: -------------------------------------------------------------------------------- 1 | config wifi-device radio0 2 | option type mac80211 3 | option channel 11 4 | option hwmode 11g 5 | option path 'platform/ar934x_wmac' 6 | option htmode HT20 7 | 8 | config wifi-iface 9 | option device radio0 10 | option network wlan0 11 | option ifname wlan0 12 | option mode adhoc 13 | option ssid wbm8-test-2 14 | option bssid 02:b8:c0:00:00:00 15 | option encryption none 16 | 17 | config wifi-device radio1 18 | option type mac80211 19 | option channel 48 20 | option hwmode 11a 21 | option path 'pci0000:00/0000:00:00.0' 22 | option htmode HT20 23 | 24 | config wifi-iface 25 | option device radio1 26 | option network wlan1 27 | option ifname wlan1 28 | option mode adhoc 29 | option ssid wbm8-test-5 30 | option bssid 02:b8:c0:00:00:00 31 | option encryption none 32 | 33 | -------------------------------------------------------------------------------- /v8/testbed/init.d/olsrd2: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=82 4 | 5 | daemon=olsrd2 6 | 7 | . /usr/share/libubox/jshn.sh 8 | 9 | oonf_log() 10 | { 11 | logger -s -t ${daemon} -p daemon.info "$1" 12 | } 13 | 14 | oonf_get_layer3_device() 15 | { 16 | local interface="$1" # e.g. 'mywifi' 17 | local status dev proto 18 | local query="{ \"interface\" : \"$interface\" }" 19 | 20 | status="$( ubus -S call network.interface status "$query" )" && { 21 | json_load "$status" 22 | json_get_var 'dev' l3_device 23 | json_get_var 'proto' proto 24 | case "$proto" in 25 | pppoe) 26 | # TODO: otherwise it segfaults 27 | oonf_log "refusing to add '$interface', because of proto '$proto'" 28 | ;; 29 | *) 30 | echo "$dev" # e.g. 'wlan0-1' 31 | ;; 32 | esac 33 | } 34 | } 35 | 36 | oonf_add_devices_to_configuration() 37 | { 38 | local i=0 39 | local device_name= section= interface= single_interface= 40 | 41 | # make a copy of configuration and 42 | # add a 'name' (physical name) for all 43 | # 'interface-names' (e.g. mywifi) 44 | # 45 | # olsrd2.@interface[2]=interface 46 | # olsrd2.@interface[2].ifname='wan lan wlanadhoc wlanadhocRADIO1' 47 | 48 | # /var is in ramdisc/tmpfs 49 | cp /etc/config/${daemon} /var/etc/${daemon}_dev 50 | 51 | while section="$( uci -q -c /etc/config get "${daemon}.@[$i]" )"; do { 52 | echo "section: $section" 53 | 54 | interface="$( uci -q -c /etc/config get "${daemon}.@[$i].ifname" )" || { 55 | i=$(( $i + 1 )) 56 | continue 57 | } 58 | 59 | case "$( uci -q get "${daemon}.@[$i].ignore" )" in 60 | 1|on|true|enabled|yes) 61 | oonf_log "removing/ignore section '$section'" 62 | uci -q -c /var/etc delete "${daemon}_dev.@[$j]" 63 | i=$(( $i + 1 )) 64 | 65 | continue 66 | ;; 67 | esac 68 | 69 | for single_interface in $interface; do { 70 | device_name="$( oonf_get_layer3_device "$single_interface" )" 71 | 72 | echo "Interface: $single_interface = $device_name" 73 | 74 | if [ ! -z "$device_name" ] 75 | then 76 | # add option 'name' for 'ifname' (e.g. 'mywifi') 77 | uci -q -c /var/etc add_list "${daemon}_dev.@[$i].name=$device_name" 78 | fi 79 | } done 80 | i=$(( $i + 1 )) 81 | } done 82 | 83 | uci -q -c /var/etc commit ${daemon}_dev 84 | 85 | oonf_log "wrote '/var/etc/${daemon}_dev'" 86 | } 87 | 88 | oonf_reread_config() 89 | { 90 | local pid 91 | local pidfile='/var/run/${daemon}.pid' 92 | 93 | if [ -e "$pidfile" ]; then 94 | read pid <"$pidfile" 95 | elif pidfile="$( uci -q get '${daemon}.@global[0].pidfile' )"; then 96 | read pid <"$pidfile" 97 | fi 98 | 99 | # if empty, ask kernel 100 | pid="${pid:-$( pidof ${daemon} )}" 101 | 102 | [ -n "$pid" ] && kill -SIGHUP $pid 103 | } 104 | 105 | start() 106 | { 107 | mkdir -p /var/etc 108 | 109 | oonf_add_devices_to_configuration 110 | 111 | # produce coredumps 112 | ulimit -c unlimited 113 | 114 | service_start /usr/sbin/${daemon} --set global.fork=true --load uci:///var/etc/${daemon}_dev 115 | } 116 | 117 | stop() 118 | { 119 | service_stop /usr/sbin/${daemon} 120 | } 121 | 122 | reload() 123 | { 124 | oonf_add_devices_to_configuration 125 | oonf_reread_config 126 | } 127 | -------------------------------------------------------------------------------- /v8/testbed/scripts/flent-tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | N="flent -4 -x -l 60 --disable-log" 3 | #S=2001:4f8:3:203::c001 # netperf-west.bufferbloat.net # netperf-west, netperf-eus 4 | S=10.0.1.2 5 | if [ $# -ne 2 ] 6 | then 7 | echo must specify a title and subdirectory 8 | exit -1 9 | else 10 | title="$1" 11 | fi 12 | 13 | cd $2 14 | 15 | ping -c 2 $S # prime the dns cache 16 | 17 | $N -H $S -t "$title" rrul 18 | $N -H $S -t "$title" rrul_be 19 | $N -H $S -t "$title" dslreports_8dn 20 | 21 | $N -H $S -t "$title" tcp_upload 22 | $N -H $S -t "$title" tcp_download 23 | -------------------------------------------------------------------------------- /v8/testbed/scripts/for_all_protocols.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ "$#" != "1" ] 4 | then 5 | echo "Error, one parameter required" 6 | echo "${0} " 7 | exit 1 8 | fi 9 | 10 | echo "Test Babel" 11 | ./switch_all_routers.sh babeld 12 | sleep 120 13 | ./run_test_4-5.sh babel ${1} 14 | 15 | echo "Test Olsrd2" 16 | ./switch_all_routers.sh olsrd2 17 | sleep 120 18 | ./run_test_4-5.sh olsrd2 ${1} 19 | 20 | echo "Test Olsrd" 21 | ./switch_all_routers.sh olsrd 22 | sleep 120 23 | ./run_test_4-5.sh olsrd ${1} 24 | 25 | echo "Test Bmx6" 26 | ./switch_all_routers.sh bmx6 27 | sleep 120 28 | ./run_test_4-5.sh bmx6 ${1} 29 | 30 | echo "Test Batman-adv" 31 | ./switch_all_routers.sh batman-adv 32 | sleep 120 33 | ./run_test_4-5.sh batman-adv ${1} 34 | -------------------------------------------------------------------------------- /v8/testbed/scripts/routingswitch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ "$#" != "2" ] 3 | then 4 | echo "Error, two parameters required" 5 | echo "${0} " 6 | exit 1 7 | fi 8 | 9 | IP="${1}" 10 | PROTO="${2}" 11 | SSH="ssh root@${IP}" 12 | 13 | SSH_CMD="/etc/init.d/bmx6 disable ; /etc/init.d/olsrd disable ; /etc/init.d/olsrd2 disable ; /etc/init.d/olsrd6 disable ; /etc/init.d/babeld disable" 14 | 15 | if [ "${PROTO}" == "batman-adv" ]; then 16 | SSH_CMD="${SSH_CMD} ; cp /etc/config/network.batman-adv /etc/config/network" 17 | elif [ "${PROTO}" == "olsrd" ]; then 18 | SSH_CMD="${SSH_CMD} ; /etc/init.d/olsrd enable ; /etc/init.d/olsrd6 enable ; cp /etc/config/network.all /etc/config/network" 19 | else 20 | SSH_CMD="${SSH_CMD} ; /etc/init.d/${PROTO} enable ; cp /etc/config/network.all /etc/config/network" 21 | fi 22 | 23 | ${SSH} "${SSH_CMD}" 24 | 25 | exit 0 26 | -------------------------------------------------------------------------------- /v8/testbed/scripts/run_test_1-4.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ "$#" != "2" ] 3 | then 4 | echo "Error, two parameters required" 5 | echo "${0} " 6 | exit 1 7 | fi 8 | 9 | # get current time and used protocol 10 | DATE="$(date +%s)" 11 | PROTOCOL="${1}" 12 | 13 | # IP addresses to communicate with 14 | SERVER="10.0.1.2" 15 | CROSS_CLIENT="172.17.24.1" 16 | CROSS_SERVER="172.17.56.1" 17 | 18 | # SSH access to defined IP addresses 19 | SSH_SERVER="testclient@${SERVER}" 20 | SSH_CROSS_CLIENT="root@${CROSS_CLIENT}" 21 | SSH_CROSS_SERVER="root@${CROSS_SERVER}" 22 | 23 | # Parameters for testing 24 | PING="-c 1500 -i 0.2 -D -s ${2}" 25 | IPERF_CLIENT="-u -i 0.5 -t 300 -yC -b 10M" 26 | IPERF_SERVER="-u" 27 | 28 | # Files to write test-data into 29 | TESTPATH="./battlemesh_test_${PROTOCOL}/${DATE}" 30 | 31 | mkdir -p ${TESTPATH}/1 32 | mkdir -p ${TESTPATH}/2 33 | mkdir -p ${TESTPATH}/3 34 | mkdir -p ${TESTPATH}/4 35 | 36 | LOGFILE="${TESTPATH}/log" 37 | TEST1="${TESTPATH}/1" 38 | TEST2="${TESTPATH}/2" 39 | TEST3="${TESTPATH}/3" 40 | TEST4="${TESTPATH}/4" 41 | 42 | # prepare 43 | ssh ${SSH_SERVER} "pkill iperf; iperf -s ${IPERF_SERVER} >/dev/null" & 44 | rm -f ${LOGFILE} 45 | 46 | # test 1 47 | echo "Test 1 (reboot+ping) starting at $(date)" 48 | 49 | echo "Test 1 start: $(date +%s)" >> ${LOGFILE} 50 | ping ${PING} ${SERVER} > ${TEST1}/ping & 51 | sleep 60 52 | 53 | ssh root@172.17.0.1 "reboot -d 30 >/dev/null /dev/null &" 54 | ssh root@172.17.8.1 "reboot -d 30 >/dev/null /dev/null &" 55 | ssh root@172.17.16.1 "reboot -d 30 >/dev/null /dev/null &" 56 | ssh root@172.17.24.1 "reboot -d 30 >/dev/null /dev/null &" 57 | ssh root@172.17.32.1 "reboot -d 30 >/dev/null /dev/null &" 58 | ssh root@172.17.40.1 "reboot -d 30 >/dev/null /dev/null &" 59 | ssh root@172.17.48.1 "reboot -d 30 >/dev/null /dev/null &" 60 | ssh root@172.17.56.1 "reboot -d 30 >/dev/null /dev/null &" 61 | ssh root@172.17.64.1 "reboot -d 30 >/dev/null /dev/null &" 62 | ssh root@172.17.72.1 "reboot -d 30 >/dev/null /dev/null &" 63 | 64 | sleep 240 65 | 66 | echo "Test 1 stop: $(date +%s)" >> ${LOGFILE} 67 | 68 | echo "Test 1 finished" 69 | sleep 60 70 | 71 | # test 2 72 | echo "Test 2 (ping) starting at $(date)" 73 | 74 | echo "Test 2 start: $(date +%s)" >> ${LOGFILE} 75 | ping ${PING} ${SERVER} > ${TEST2}/ping 76 | echo "Test 2 stop: $(date +%s)" >> ${LOGFILE} 77 | 78 | echo "Test 2 finished" 79 | sleep 60 80 | 81 | # test 3 82 | echo "Test 3 (ping+iperf) starting at $(date)" 83 | 84 | echo "Test 3 start: $(date +%s)" >> ${LOGFILE} 85 | $(iperf -c ${SERVER} ${IPERF_CLIENT} > ${TEST3}/iperf) & 86 | ping ${PING} ${SERVER} > ${TEST3}/ping 87 | echo "Test 3 stop: $(date +%s)" >> ${LOGFILE} 88 | 89 | echo "Test 3 finished" 90 | sleep 60 91 | 92 | # test 4 93 | echo "Test 4 (ping+iperf+iperf) starting at $(date)" 94 | ssh ${SSH_CROSS_SERVER} "pkill iperf; iperf -s ${IPERF_SERVER} >/dev/null" & 95 | ssh ${SSH_CROSS_CLIENT} "pkill iperf; iperf -c ${CROSS_SERVER} ${IPERF_CLIENT} >/dev/null" & 96 | 97 | echo "Test 4 start: $(date +%s)" >> ${LOGFILE} 98 | iperf -c ${SERVER} ${IPERF_CLIENT} > ${TEST4}/iperf & 99 | ping ${PING} ${SERVER} > ${TEST4}/ping 100 | echo "Test 4 stop: $(date +%s)" >> ${LOGFILE} 101 | 102 | sleep 10 103 | ssh ${SSH_CROSS_SERVER} "pkill iperf" 104 | ssh ${SSH_CROSS_CLIENT} "pkill iperf" 105 | 106 | echo "Test 4 finished" 107 | 108 | ssh ${SSH_SERVER} "pkill iperf" 109 | killall ssh 110 | 111 | -------------------------------------------------------------------------------- /v8/testbed/scripts/run_test_4-5.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ "$#" != "2" ] 3 | then 4 | echo "Error, two parameters required" 5 | echo "${0} " 6 | exit 1 7 | fi 8 | 9 | # get current time and used protocol 10 | DATE="$(date +%s)" 11 | PROTOCOL="${1}" 12 | 13 | # IP addresses to communicate with 14 | SERVER="10.0.1.2" 15 | CROSS_CLIENT="172.17.24.1" 16 | CROSS_SERVER="172.17.56.1" 17 | 18 | # SSH access to defined IP addresses 19 | SSH_SERVER="testclient@${SERVER}" 20 | SSH_CROSS_CLIENT="root@${CROSS_CLIENT}" 21 | SSH_CROSS_SERVER="root@${CROSS_SERVER}" 22 | 23 | # Parameters for testing 24 | PING="-c 1500 -i 0.2 -D -s ${2}" 25 | IPERF_CLIENT="-u -i 0.5 -t 300 -yC -b 100M" 26 | IPERF_SERVER="-u" 27 | 28 | # Files to write test-data into 29 | TESTPATH="./battlemesh_test_${PROTOCOL}/${DATE}" 30 | 31 | mkdir -p ${TESTPATH}/4 32 | mkdir -p ${TESTPATH}/5 33 | 34 | LOGFILE="${TESTPATH}/log" 35 | TEST4="${TESTPATH}/4" 36 | TEST5="${TESTPATH}/5" 37 | 38 | # prepare 39 | ssh ${SSH_SERVER} "pkill iperf; iperf -s ${IPERF_SERVER} >/dev/null" & 40 | ssh ${SSH_SERVER} "pkill netserver; netserver >/dev/null" & 41 | rm -f ${LOGFILE} 42 | 43 | # test 4 44 | echo "Test 4 (ping+iperf+iperf) starting at $(date)" 45 | ssh ${SSH_CROSS_SERVER} "pkill iperf; iperf -s ${IPERF_SERVER} >/dev/null" & 46 | ssh ${SSH_CROSS_CLIENT} "pkill iperf; iperf -c ${CROSS_SERVER} ${IPERF_CLIENT} >/dev/null" & 47 | 48 | echo "Test 4 start: $(date +%s)" >> ${LOGFILE} 49 | iperf -c ${SERVER} ${IPERF_CLIENT} > ${TEST4}/iperf & 50 | ping ${PING} ${SERVER} > ${TEST4}/ping 51 | echo "Test 4 stop: $(date +%s)" >> ${LOGFILE} 52 | 53 | sleep 10 54 | ssh ${SSH_CROSS_SERVER} "pkill iperf" 55 | ssh ${SSH_CROSS_CLIENT} "pkill iperf" 56 | 57 | echo "Test 4 finished" 58 | 59 | # test 5 60 | echo "Test 5 (ping+iperf) starting at $(date)" 61 | 62 | echo "Test 5 start: $(date +%s)" >> ${LOGFILE} 63 | ./flent-tests.sh ${PROTOCOL} ${TEST5}/ 64 | echo "Test 5 stop: $(date +%s)" >> ${LOGFILE} 65 | 66 | echo "Test 5 finished" 67 | sleep 60 68 | 69 | ssh ${SSH_SERVER} "pkill iperf" 70 | ssh ${SSH_SERVER} "pkill netserver" 71 | killall ssh 72 | -------------------------------------------------------------------------------- /v8/testbed/scripts/switch_all_routers.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ "$#" != "1" ] 4 | then 5 | echo "Error, one parameter required" 6 | echo "${0} " 7 | exit 1 8 | fi 9 | 10 | PROTO="${1}" 11 | 12 | ./routingswitch.sh 172.17.0.1 ${PROTO} 13 | ./routingswitch.sh 172.17.8.1 ${PROTO} 14 | ./routingswitch.sh 172.17.16.1 ${PROTO} 15 | ./routingswitch.sh 172.17.24.1 ${PROTO} 16 | ./routingswitch.sh 172.17.32.1 ${PROTO} 17 | ./routingswitch.sh 172.17.40.1 ${PROTO} 18 | ./routingswitch.sh 172.17.48.1 ${PROTO} 19 | ./routingswitch.sh 172.17.56.1 ${PROTO} 20 | ./routingswitch.sh 172.17.64.1 ${PROTO} 21 | ./routingswitch.sh 172.17.72.1 ${PROTO} 22 | 23 | ssh root@172.17.0.1 "reboot -d 30 >/dev/null /dev/null &" 24 | ssh root@172.17.8.1 "reboot -d 30 >/dev/null /dev/null &" 25 | ssh root@172.17.16.1 "reboot -d 30 >/dev/null /dev/null &" 26 | ssh root@172.17.24.1 "reboot -d 30 >/dev/null /dev/null &" 27 | ssh root@172.17.32.1 "reboot -d 30 >/dev/null /dev/null &" 28 | ssh root@172.17.40.1 "reboot -d 30 >/dev/null /dev/null &" 29 | ssh root@172.17.48.1 "reboot -d 30 >/dev/null /dev/null &" 30 | ssh root@172.17.56.1 "reboot -d 30 >/dev/null /dev/null &" 31 | ssh root@172.17.64.1 "reboot -d 30 >/dev/null /dev/null &" 32 | ssh root@172.17.72.1 "reboot -d 30 >/dev/null /dev/null &" 33 | -------------------------------------------------------------------------------- /v9/index.rst: -------------------------------------------------------------------------------- 1 | Battlemesh v9, Portugal (2016) 2 | ============================== 3 | 4 | `Battlemesh v9 `__, 5 | Porto (Portugal) on 1st-7th May 2016. 6 | 7 | Contents: 8 | 9 | .. toctree:: 10 | :maxdepth: 2 11 | 12 | /v9/credits 13 | 14 | 15 | --------------------------------------------------------------------------------