Get the following when I run Flamethrower from inside Docker on Ubuntu 20.04 LTS:
$ docker run -it --network=host ns1labs/flame -c 1 -d 250 -q 1 -l 3 -r www.example.com -T AAAA -P doh -M POST 1.1.1.1/dns-query
binding to 0.0.0.0
flaming target(s) [1.1.1.1] on port 443 with 1 concurrent generators, each sending 1 queries every 250ms on protocol doh
query generator [static] contains 1 record(s)
0.998839s: send: 1, avg send: 1, recv: 1, avg recv: 1, min/avg/max resp: 0/0/0ms, in flight: 1, timeouts: 0
1.9991s: send: 0, avg send: 1, recv: 0, avg recv: 1, min/avg/max resp: 0/-nan/0ms, in flight: 1, timeouts: 0
2.99925s: send: 0, avg send: 1, recv: 0, avg recv: 1, min/avg/max resp: 0/-nan/0ms, in flight: 1, timeouts: 0
stopping, waiting up to 3s for in flight to finish...
------
run id : 7fff46e52030
run start : 2022-05-25T19:28:55Z
runtime : 5.99976 s
total sent : 1
total rcvd : 1
min resp : 0 ms
avg resp : -nan ms
max resp : 0 ms
avg r qps : 1
avg s qps : 1
avg pkt : 44 bytes
tcp conn. : 1
timeouts : 1 (100%)
bad recv : 0
net errors : 0
$
When I build a brand new Ubuntu 20.04 LTS VM and install with:
$ sudo apt-get -y install g++ cmake libuv1-dev libldns-dev libgnutls28-dev libnghttp2-dev
$ git clone https://github.com/DNS-OARC/flamethrower.git
$ cd flamethrower
$ git checkout v0.11.0
$ mkdir build
$ cd build
$ cmake -DDOH_ENABLE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
Suddenly, the same command works:
$ ./flame -c 1 -d 250 -q 1 -l 3 -r www.example.com -T AAAA -P doh -M POST 1.1.1.1/dns-query
binding to 0.0.0.0
flaming target(s) [1.1.1.1] on port 443 with 1 concurrent generators, each sending 1 queries every 250ms on protocol doh
query generator [static] contains 1 record(s)
0.989642s: send: 4, avg send: 4, recv: 4, avg recv: 4, min/avg/max resp: 3.42364/5.12165/9.67314ms, in flight: 1, timeouts: 0
1.99028s: send: 4, avg send: 4, recv: 4, avg recv: 4, min/avg/max resp: 2.46321/3.11916/3.69559ms, in flight: 1, timeouts: 0
2.99026s: send: 4, avg send: 4, recv: 4, avg recv: 4, min/avg/max resp: 6.76499/14.2015/29.0805ms, in flight: 1, timeouts: 0
------
run id : 7ffd0b5ec660
run start : 2022-05-25T19:04:52Z
runtime : 2.99232 s
total sent : 12
total rcvd : 12
min resp : 2.46321 ms
avg resp : 7.48076 ms
max resp : 29.0805 ms
avg r qps : 4
avg s qps : 4
avg pkt : 44 bytes
tcp conn. : 12
timeouts : 0 (0%)
bad recv : 0
net errors : 0
responses :
NOERROR: 12
$
Get the following when I run Flamethrower from inside Docker on Ubuntu 20.04 LTS:
When I build a brand new Ubuntu 20.04 LTS VM and install with:
Suddenly, the same command works: