Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No traffic during the test #9

Open
sabretoothedhamster opened this issue Apr 6, 2020 · 3 comments
Open

No traffic during the test #9

sabretoothedhamster opened this issue Apr 6, 2020 · 3 comments

Comments

@sabretoothedhamster
Copy link

I am trying to test my LHG-LTE6 (RouterOS v6.46.4) against server build from latest sources (under Ubuntu 16.04.6 LTS with 'cc -o btest -pthread btest.c md5.c')

Server says
user@server:~/src/btest$ ./btest -s -u -b 0 -a btest -p btest
Running in server mode
Listening
Cmd buffer: 00030100e80300002c0100002c010000
proto=0
direction=3
random=1
tcp_conn_count=0
tx_size=1000
client_buf_size=2883584
remote_tx_speed=300
local_tx_speed=300
remoteIP=1.2.3.4
Tx speed: 300
Interval: 1:0
gettime: 1586199784:139478028
Local : Seq: 1, Rate: 0.0kb/s
Remote: Seq: 3825205249, Rate: 0.0kb/s
Local : Seq: 2, Rate: 0.0kb/s
Remote: Seq: 2852126722, Rate: 0.0kb/s
Local : Seq: 3, Rate: 0.0kb/s
Remote: Seq: 2231369731, Rate: 0.0kb/s
...
and so on, until client finishes testing

client says
[admin@MikroTik] > /tool bandwidth-test 4.3.2.1 duration=15s direction=both local-udp-tx-size=1000 protocol=udp remote-udp-tx-size=1000 user=btest password=btest local-tx-speed
=300 remote-tx-speed=300
status: done testing
duration: 15s
tx-current: 0bps
tx-10-second-average: 0bps
tx-total-average: 0bps
rx-current: 0bps
rx-10-second-average: 0bps
rx-total-average: 0bps
lost-packets: 0
random-data: no
direction: both
tx-size: 1000
rx-size: 1000
connection-count: 1
local-cpu-load: 8%

Could Mikrotik change something in testing protocols?

P.S. LHG has no fw (but I am not shure about LTE ISP), and ubuntu box was updated with 'ufw allow 2000' and 'ufw allow 2256'

@samm-git
Copy link
Owner

samm-git commented Apr 6, 2020

Try to test w/o user authentication. They added new auth method which is not yet known

@sabretoothedhamster
Copy link
Author

No, it did not help :( The outcome is almost exactly the same.

BTW, TCP testing does not work even worse: Mikrotik device almost immediately after connection attempt reports 'test unsupported', and the server says:

Running in server mode
Listening
Cmd buffer: 01030114008000000000000000000000
proto=1
direction=3
random=1
tcp_conn_count=20
tx_size=32768
client_buf_size=0
remote_tx_speed=0
local_tx_speed=0
remoteIP=1.2.3.4
Listening on TCP cmdsock
Complete

@donalhunt
Copy link

Seeing a similar issue testing a mikrotik device against this codebase running in server mode...

Running in server mode
Listening
Cmd buffer: 00020114dc0500000000000000000000
proto=0
direction=2
random=1
tcp_conn_count=20
tx_size=1500
client_buf_size=0
remote_tx_speed=0
local_tx_speed=0
remoteIP=XXX.XXX.XXX.XXX
Tx speed: 0
Interval:  0:12000000
gettime:  1603372569:723786602
Remote: Seq: 2315255809, Rate: 0.0kb/s
Remote: Seq: 2348810242, Rate: 0.0kb/s
Remote: Seq: 2281701379, Rate: 0.0kb/s
Remote: Seq: 2415919108, Rate: 0.0kb/s
Remote: Seq: 2332033029, Rate: 0.0kb/s
Remote: Seq: 2298478598, Rate: 0.0kb/s
Remote: Seq: 2298478599, Rate: 0.0kb/s
Remote: Seq: 2298478600, Rate: 0.0kb/s
Remote: Seq: 2298478601, Rate: 0.0kb/s
Remote: Seq: 2248146954, Rate: 0.0kb/s
Remote: Seq: 2248146955, Rate: 0.0kb/s
Remote: Seq: 2332033036, Rate: 0.0kb/s
Remote: Seq: 2315255821, Rate: 0.0kb/s
Remote: Seq: 2332033038, Rate: 0.0kb/s
Remote: Seq: 2264924175, Rate: 0.0kb/s
Remote: Seq: 2315255824, Rate: 0.0kb/s
Remote: Seq: 2332033041, Rate: 0.0kb/s
Remote: Seq: 2281701394, Rate: 0.0kb/s
Remote: Seq: 2281701395, Rate: 0.0kb/s
Remote: Seq: 2298478612, Rate: 0.0kb/s
Remote: Seq: 2281701397, Rate: 0.0kb/s
Remote: Seq: 2332033046, Rate: 0.0kb/s
Remote: Seq: 2332033047, Rate: 0.0kb/s
Remote: Seq: 2298478616, Rate: 0.0kb/s
Remote: Seq: 2315255833, Rate: 0.0kb/s
Remote: Seq: 2281701402, Rate: 0.0kb/s
Remote: Seq: 2315255835, Rate: 0.0kb/s
Remote: Seq: 2332033052, Rate: 0.0kb/s
Remote: Seq: 2281701405, Rate: 0.0kb/s
Remote: Seq: 2281701406, Rate: 0.0kb/s
Remote: Seq: 2332033055, Rate: 0.0kb/s
Remote: Seq: 2264924192, Rate: 0.0kb/s
Remote: Seq: 2315255841, Rate: 0.0kb/s
Remote: Seq: 2348810274, Rate: 0.0kb/s
Remote: Seq: 2449473571, Rate: 0.0kb/s
Remote: Seq: 2281701412, Rate: 0.0kb/s
Remote: Seq: 2298478629, Rate: 0.0kb/s
Remote: Seq: 2348810278, Rate: 0.0kb/s
Remote: Seq: 2332033063, Rate: 0.0kb/s
Remote: Seq: 2281701416, Rate: 0.0kb/s
Remote: Seq: 2315255849, Rate: 0.0kb/s
Remote: Seq: 2264924202, Rate: 0.0kb/s
Remote: Seq: 2332033067, Rate: 0.0kb/s
Remote: Seq: 2281701420, Rate: 0.0kb/s
Remote: Seq: 2315255853, Rate: 0.0kb/s
Remote: Seq: 2315255854, Rate: 0.0kb/s
Remote: Seq: 2332033071, Rate: 0.0kb/s
/tool bandwidth-test address=YYY.YYY.YYY.YYYrandom-data=yes 
                status: running
              duration: 17s
            rx-current: 0bps
  rx-10-second-average: 0bps
      rx-total-average: 0bps
          lost-packets: 0
           random-data: yes
             direction: receive
               rx-size: 1500
      connection-count: 20
        local-cpu-load: 9%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants