Page 1 of 1
FTP active mode
Posted: Fri Dec 28, 2012 3:39 pm
by Edas
Hi. I have some trouble to make ftp active mode to work on TL-WR1043ND.
I use 1.5.8 build.
I found out what nf_nat_ftp and nf_conntrack_ftp modules are missing. Tried to install kmod-ipt-nathelper which contains those kernel modules, but I get error:
satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-nathelper:
* kernel (= 3.3.8-1-a0ce04ad8bf41ee4d3b0a62333282ebd) *
and the current version is kernel - 3.3.8-1-6267439e7e4da0c6197077c4e8ac581a
Any ideas where to get correct nathelper package or other way to make it work ?
Re: FTP active mode
Posted: Fri Dec 28, 2012 6:04 pm
by pbix
You should describe your setup in more detail.
I cannot see why you should need to add any modules to make FTP work. It is only required to forward port 21 properly.
Also, many ISPs block port 21 so you may not be able to use it and will have to select another one.
Re: FTP active mode
Posted: Fri Dec 28, 2012 6:12 pm
by Edas
My setup doesn't really matter in this case. (Mean it works if I just plug provider cable direct to my notebook or to the same router with stock FW)
And sorry, but you're pretty mistaken about just 21 port for FTP.
Look for the difference between passive/active ftp connections
http://slacksite.com/other/ftp.html or here
http://www.jscape.com/blog/bid/80512/Ac ... Simplified
Also my ISP doesn't block anything by contract...
P.S. I'm talking about outbound ftp, not inbound
Re: FTP active mode
Posted: Fri Dec 28, 2012 11:14 pm
by pbix
Well I did think you were trying inbound FTP so thanks for clarifying that.
I have used outbound FTP many times over the years with out issue (through my Gargoyle NAT) but have to admit I have never investigated how it works in any detail.
As to why the modules in question will not load well as the error message says it looks like they need to match the kernel version. One thing you could do is build Gargoyle with the modules included in the build. That is the only way to get an exact match in Kernel version.
I do not know why this tight match is needed or how it could be over-ridden. That would need to be taken up over at openwrt.org. I have seen this on several packages now and I don't remember this being such an issue in the Backfire days.
Re: FTP active mode
Posted: Sat Dec 29, 2012 7:50 am
by Edas
I'm actually pretty surprised, what noone has encountered such an issue with latest version. As far as I remember I had no such an issue with 1.5.6 build. Are there any plans to release 1.5.9 or kinda that, I saw there's an Attitude Adjustment RC1 build already. Maybe it's kernel and modules are for the same build... I don't really want to mess with toolchain myself and compile everything from scratch, as each embedded toy has it's own specific, and I don't want to learn one more device

Re: FTP active mode
Posted: Wed Jan 02, 2013 5:04 pm
by pbix
The modules identified in the OP are inadvertently not included in several of the Gargoyle builds. This will be addresses in a future release (after v1.5.8).
Re: FTP active mode
Posted: Thu Jan 03, 2013 5:53 am
by Edas
Hi. I'm looking forward to wait for a new build with nf_nat_ftp/nf_conntract_ftp modules compiled. Pretty happy with this fw, the only one missing thing left
pbix wrote:The modules identified in the OP are inadvertently not included in several of the Gargoyle builds. This will be addresses in a future release (after v1.5.8).
Re: FTP active mode
Posted: Fri Jan 04, 2013 5:43 pm
by pbix
Should work in v1.5.9 so give it a go.
Re: FTP active mode
Posted: Mon Jan 07, 2013 4:34 am
by Edas
Will try this evening, thanks

Re: FTP active mode
Posted: Tue Jan 08, 2013 9:18 am
by Edas
Hi. After flashing firmware all required modules appeared and overall performance improved a bit. FTP works like a charm.
Just one thing to mention:
I've flashed mine and friends router.
Friends router was fresh install, with mine I chose to preserve settings.
Friends router has Plugins menu item, mine doesn't show it.
It's not a problem as I can reach it over
http://192.168.x.x/plugins.sh
Just FYI... ;]