Menu

#167 Client launched with UDP and -R hangs if server not running

2.0
accepted
reverse (1)
2021-11-15
2021-11-08
Ray Wang
No

When an iperf2 client is launched with UDP and -R option, and the corresponding iperf2 server is not running, then the client will just hang. The behavior can be produced using the following commands:
(1) Start the client first:
iperf -c 192.168.15.4 -i 1 -f k -B 192.168.60.135 -p 10104 -t 20 -e --reverse -u -b 40M
(2) Start the server after:
iperf -s -e -u -i 1 -p 10104 -B 192.168.15.4

The understanding is that with --reverse option, the server should connect to the client. So the above behavior is expected or it is a known issue?

Discussion

  • Robert McMahon

    Robert McMahon - 2021-11-08
    • status: open --> accepted
     
  • Robert McMahon

    Robert McMahon - 2021-11-08

    Does it hang or end after the -t 20 seconds?

    Bob

     
    • Ray Wang

      Ray Wang - 2021-11-08

      Yes, it does even after 20 secs.

       
  • Ray Wang

    Ray Wang - 2021-11-15

    Any update on this ticket, Bob?

    -Ray

     

Log in to post a comment.

MongoDB Logo MongoDB