Go Back   FlashFXP Forums > > > >

Bug Reports Report bugs here. (non-beta releases only)

 
 
Thread Tools Display Modes
Old 07-27-2003, 08:08 PM   #1
panet
Junior Member
 
Join Date: Jan 2002
Posts: 2
Default false flashfxp ftp PORT command logs

hi !

I'm trying to connect in port mode from flashfxp to a ftp server, and can't get a dir list, i'm behind a router but i've forwarded a port range and set flashfxp to that same port range, in flashfxp log the PORT command is correct right ip (mine) and port number (within the range i specified), but on the server side the PORT command as the wrong port number (not in my specified port range), i finally did a tcpdump on my router to find out that flashfxp was not using the port in the logs (the right port) but was sending a wrong port to the ftp server.


So we can answer your question more precisely, from now on any question must come the following these info:

* FlashFXP v[2 ].[1 ], build [923 ], [x ]registered, [ ]unregistered, [ ]pirated
* OS [ ] WinXP, [x ] Win2K, [ ] Win98, [ ] WinME, [ ] Other
* Running behind NAT/router [x ] Yes & Model [ipmasq], [ ] No, [ ] Not sure
* Running firewall [x ] Yes, Name [ipchains ], Ver. [ ], or [ ] No
* Running Antivirus [ ] Yes, Name [ ] or [x ] No
* Network [x ] xDSL, [ ] CABLE, [ ] Dail-Up, [ ] Other

additional info if related
* FTP server(s) name [Bulletproof ftp server ], version [2.15 ]
* timestamped, and side prefixed FTP log (please paste)

Original session log from flashfxp side (my side)

Connecting to ServerName
Connected to ServerName-> IP=24.31.210.xxx PORT=21
220 BulletProof FTP Server ready ...
USER panet
331 Password required for panet.
PASS (hidden)
230 User Panet logged in.
SYST
215 UNIX Type: L8
REST 100
350 REST supported. Ready to resume at byte offset 100.
REST 0
350 REST supported. Ready to resume at byte offset 0.
CWD /
250 CWD command successful. "/" is current directory.
PWD
257 "/" is current directory.
TYPE A
200 Type set to A.
PORT 67,68,196,14,5,233
200 Port command successful.
LIST
150 Opening data connection for directory list.
425 Cannot open data connection (10060).
List Error
QUIT
221 Bye bye ...
Logged off: ServerName

-----------------------------------------------------------------------------------
here's a tcpdump of that same session on my linuxbox router,
notice the PORT commands don't match????

220 BulletProof FTP Server ready ...
USER panet
331 Password required for panet.
PASS XXXXXXXXXXX
230 User Panet logged in.
SYST
215 UNIX Type: L8
REST 100
350 REST supported. Ready to resume at byte offset 100.
REST 0
350 REST supported. Ready to resume at byte offset 0.
CWD /
250 CWD command successful. "/" is current directory.
PWD
257 "/" is current directory.
TYPE A
200 Type set to A.
PORT 67,68,196,14,249,70
200 Port command successful.
LIST
150 Opening data connection for directory list.
425 Cannot open data connection (10060).
QUIT
221 Bye bye ...


* any other info
i've set FlashFXP->Options->preferences-> Proxy / Firewall /Indent->Firewall
Limit local port range to 1501-1520
Bind socket to this address to my.dyndns.org (it resolve to my wan ip correctly)

that other ftp server is connected directly to a cable modem (no router)

if you need the complete tcpdump, contact me, i'll sent it to you, without the password
panet is offline  
Old 07-27-2003, 08:51 PM   #2
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,861
Default

it appears that your linux router is applying NAPT(network address port translation) on ftp commands.
look into your ipchains config to change/disable this behavior
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 07-27-2003, 09:50 PM   #3
panet
Junior Member
 
Join Date: Jan 2002
Posts: 2
Default thanks, that was it 8)

i had previously tried to remove the ftp masq module from my ipchains rules, guess needed to reboot, works great now 8)

/sbin/modprobe ip_masq_ftp
panet is offline  
 

Tags
command, ftp, port, rest, server

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
xbox connection problems BenArfa General Discussion 8 05-17-2005 11:50 PM


All times are GMT -5. The time now is 08:02 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)