|
From: <Jam...@Mc...> - 2007-02-15 00:19:41
|
Hi there,
I did a search for iperf and xinetd but couldn't find anyone who had
experienced what I'm going through right now.
Iperf-2.0.2 installed on Ubuntu Edgy
Iperf 1.7.0 installed on XP and Vista
xinetd.d/iperf
==============
service iperf
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/iperf
server_args = -s -D
log_on_failure += USERID
}
/etc/services
=============
iperf 4000/tcp
If I try to connect to Ubuntu with "iperf.exe -c x.x.x.x -p4000 -F
100kfile" the command appears to just sit there. If I let it timeout
after a couple of minutes, I get the message:
"write failed: Connection reset by peer"
Also of interest is that of the 100k file, only 80.0Kbytes show under
"Transfer" in the results.
If I run the server manually with "iperf -s -p4003" everything works
great.
Obviously this has something to do with my xinetd config.
Can anyone point me in the right direction for gettings iperf to spawn
from xinetd?
PS - for bonus points, does anyone know of a way to stop the servers
from sitting in memory? For every connection I make via xinetd, I have
an iperf process sitting in memory.
Anyways, cheers, and thanks in advance.
James
|