iperf3.0 cannot be stopped (with widget /or gui)



  • Hi !
    After updating package to iperf3 the widget of welcome page ( services / iperf ) is broken (it's show a status of down and start / stop don't work anymore...) it must need an update i think .
    So you can launch iperf3 server but the only way to stop it is a kill command .

    I use 2.4.4-RELEASE-p3 (amd64)

    bye.


  • Rebel Alliance Developer Netgate

    Should be fixed in 3.0.1, give it a shot when it shows up.


  • LAYER 8 Global Moderator

    Yeah 3.01 is listed, installed and tested

    $ iperf3.exe -c sg4860.local.lan                                                       
    warning: Ignoring nonsense TCP MSS 0                                                   
    Connecting to host sg4860.local.lan, port 5201                                         
    [  5] local 192.168.9.100 port 50684 connected to 192.168.9.253 port 5201              
    [ ID] Interval           Transfer     Bitrate                                          
    [  5]   0.00-1.00   sec  68.8 MBytes   577 Mbits/sec                                   
    [  5]   1.00-2.00   sec  71.6 MBytes   601 Mbits/sec                                   
    [  5]   2.00-3.00   sec  73.6 MBytes   618 Mbits/sec                                   
    [  5]   3.00-4.00   sec  73.0 MBytes   612 Mbits/sec                                   
    [  5]   4.00-5.00   sec  72.2 MBytes   606 Mbits/sec                                   
    [  5]   5.00-6.00   sec  72.0 MBytes   604 Mbits/sec                                   
    [  5]   6.00-7.00   sec  73.0 MBytes   612 Mbits/sec                                   
    [  5]   7.00-8.00   sec  73.0 MBytes   612 Mbits/sec                                   
    [  5]   8.00-9.00   sec  73.8 MBytes   619 Mbits/sec                                   
    [  5]   9.00-10.00  sec  73.4 MBytes   616 Mbits/sec                                   
    - - - - - - - - - - - - - - - - - - - - - - - - -                                      
    [ ID] Interval           Transfer     Bitrate                                          
    [  5]   0.00-10.00  sec   724 MBytes   608 Mbits/sec                  sender           
    [  5]   0.00-10.01  sec   724 MBytes   607 Mbits/sec                  receiver         
    

    But it doesn't stop the server when you go back to iperf server page, it still running.. Where would the stop button be?
    onlyrunbutton.png

    [2.4.4-RELEASE][admin@sg4860.local.lan]/root: ps -ax | grep iperf3
    41418  -  I        0:21.94 /usr/local/bin/iperf3 -s
    

    Also 3.7 has been out for quite some time (6-21-19), I take it they have not updated the freebsd packages yet?


  • Rebel Alliance Developer Netgate

    It should be in Status > Services or the services widget


  • LAYER 8 Global Moderator

    Ah, no way to put it say in the actual iperf page? That would be more intuitive I think.

    Yeah its there, and that works.


  • Rebel Alliance Developer Netgate

    No the way it's coded now since it's just an XML package not a PHP page that could do that easier. If you start it again with new settings it does kill the old session, though, so it's not like you'd keep running more and more copies.



  • whaoo that a quick fix. thanks !


  • Rebel Alliance Developer Netgate

    I added shortcuts to iperf as well for the next release, so it will have a little service control button in the navigation bar. That should help, too. I found that XML-based packages like iperf were not actually able to setup shortcuts, so there was a bug I had to fix for that to work.

    It will be in snapshots soon. That can't work for 2.4.4-p3 though, since it requires a fix in the base system.


Log in to reply