PASV command, sometimes fails

Think you've found a bug? Post a description here.

Moderator: Serin

Post Reply
ghost_zero

PASV command, sometimes fails

Post by ghost_zero » Mon Dec 13, 2004 4:06 pm

Hi,

the PASV command sometimes fails most times this happens after I before startet with the PASV ports from the beginning again, but there also not completely at the beginning, just after some ports, but definitally after going over the last PASV port and starting from the first again (happnes when I get many files or when I set not so much ports to have not so much ports open over the internet)...

User avatar
Serin
Site Administrator
Posts: 1785
Joined: Sat Jan 01, 2005 6:57 pm
Location: United States
Contact:

Post by Serin » Mon Dec 27, 2004 9:27 pm

You need to select a larger port range. If a program attempts to re-use a port before a certain built-in timeout has elapsed, that port will be unavailable. Select a larger port range to ensure that there is sufficient timeout time before the ports wrap back around. Try a range of at least 250 ports. More if you perform a lot of file transfers.

ghost_zero

Post by ghost_zero » Sun Jan 02, 2005 6:09 am

how long is that timeout (default)?

Can it be set somewhere?

Guest

Post by Guest » Sun Jan 02, 2005 6:12 am

btw. for what I transfered the last time 750-1000 were not enough :)
I think next time in such cases I use active mode because it was only over LAN :)

User avatar
Serin
Site Administrator
Posts: 1785
Joined: Sat Jan 01, 2005 6:57 pm
Location: United States
Contact:

Post by Serin » Sat Jan 15, 2005 1:37 pm

The timeout is built into the TCP/IP protocol and cannot be set.

Post Reply