bug report


Hi,

I think I've found a bug in Iperf 2.0.2. (Iperf 1.7.0 works fine.)
I downloaded the source from http://dast.nlanr.net/Projects/Iperf/,
and compiled it successfully under Debian unstable.
My server has two IP adresses on the same NIC (192.168.79.1/24 and
192.168.79.100/24), and I wanted to try the iperf's --bind and
--dualtest feature. The dualtest feature doesn't work when I try to connect to the
secondary IP address (192.168.79.100), no matter if I enable or disable --bind.

I connect from 10.168.79.1. (iperf -c 192.168.79.100 -d)

Without the --bind feature I got this error on server: "write2 failed:
Connection reset by peer"

nszalai --at-- norbiradius:/$ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  9] local 192.168.79.100 port 5001 connected with 10.168.79.1 port 3352
------------------------------------------------------------
Client connecting to 10.168.79.1, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 10] local 192.168.79.1 port 1566 connected with 10.168.79.1 port 5001
write2 failed: Connection reset by peer
[ 10]  0.0- 0.0 sec  18.3 KBytes  29.3 Mbits/sec
[  9]  0.0- 3.7 sec  20.5 MBytes  47.0 Mbits/sec

WITH --bind enabled: "bind failed: Address already in use", "write2
failed: Connection reset by peer"

nszalai --at-- norbiradius:/$ iperf -s --bind 192.168.79.100
------------------------------------------------------------
Server listening on TCP port 5001
Binding to local address 192.168.79.100
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
bind failed: Address already in use
[  6] local 192.168.79.100 port 5001 connected with 10.168.79.1 port 3177
write2 failed: Connection reset by peer
------------------------------------------------------------
Client connecting to 10.168.79.1, TCP port 5001
Binding to local address 192.168.79.100
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  7] local 192.168.79.1 port 1560 connected with 10.168.79.1 port 5001
[  7]  0.0- 0.0 sec  18.3 KBytes  33.3 Mbits/sec
[  6]  0.0- 1.9 sec  10.6 MBytes  47.4 Mbits/sec

Have you ever met this problem?

Best Regards,

Norbert




Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index