republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » D-Link » [Help Me] [DIR-300] FTP Port must be 21?!
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[Help Me] DI-524 drops PPPoE connection »
« [Help Me] DI 604 Firmware Download Link  
AuthorAll Replies

upb
Premium
join:2004-03-15
Carriere, MS
·AT&T Southeast

reply to ThomasLee
Re: [Help Me] [DIR-300] FTP Port must be 21?!

I've encountered this problem in the DSL-2540B router, and there is no workaround for it. Only a firmware upgrade has a chance of success.

The problem lies in the Netfilter modules used by the Linux kernel (the router uses Linux as its O/S). There is a particular module (ip_conntrack_ftp) which is supposed to be notified if a non-standard ftp port is to be put in use so that it can properly rewrite the ftp packets. Unfortunately, the module has been compiled in such a way that it will not accept an alternative ftp port, and you're stuck with port 21 even if you attempt to use passive mode. I discovered the problem while telneted to the router and using command line "insmod" and "iptables ..." commands.

I happen to use a non-standard ftp port for security reasons from time to time (I don't like every Tom, Dick, and Harry beating on my ftp server), and I use a different router when that's necessary. Otherwise, I use secure FTP (a part of Secure Shell, or ssh), and it doesn't require any special packet rewriting to work. I'd recommend running an ssh server in sftp mode if you can manage it.

Good luck.
Forums » Equipment Support » Hardware By Brand » D-Link[Help Me] DI-524 drops PPPoE connection »
« [Help Me] DI 604 Firmware Download Link  


Thursday, 10-Dec 13:30:34 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [200] Sprint Sued For Distracted Driving Death
· [131] AT&T Launching New 24 Mbps U-Verse Tier
· [82] 3G Network Test Says AT&T Is Tops
· [76] AT&T Hints At Usage-Based iPhone Data Pricing
· [72] Mediacom Unveils 105 Mbps Pricing
· [68] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [66] Sprint Poised For A Turnaround?
· [51] The Future Of Wi-Fi Is Bright
· [47] Site Leaks Yahoo, Verizon Fed Data Share Pricing
· [45] Microwaving Your Innards Is Not 'Extreme'
Most people now reading
· [WIN7] Well, I was dumb, but do I have recourse? [Microsoft Help]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Will Gearscore die now? [World of Warcraft]
· New Mediacom Email [Mediacom]
· Cross Server Dungeon Experience [World of Warcraft]
· malware has been found hidden inside an Ubuntu screensaver [Security]
· Icecrown 5-man strats [World of Warcraft]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]
· ICC10 [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]