ProFTPd missing mod_tls.c for SSL TLS support

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Minion
DD-WRT Novice


Joined: 21 Jan 2016
Posts: 12

PostPosted: Fri Feb 05, 2016 8:13    Post subject: ProFTPd missing mod_tls.c for SSL TLS support Reply with quote
Router Model:Linksys WRT610N v2 // Flash: 8MB / RAM: 64MB
CPU Model: Broadcom BCM4716 chip rev 1 / CPU Cores: 1 / CPU Clock: 480 MHz

Looking for some help adding SSL TLS support to any DD-WRT build that would fit this router. Was hoping there was a Build previously released that included ProFTPd and its module Mod_TLS.c and libraries but can't locate one. Flashed dozens of K2.6 & K3X Builds from 15962 to 29002. None of the install guides for ProFTPd show how to add these missing SSL,TLS modules to DD-WRT directly or via Opt or Jffs on a USB stick.

Plan is for multiple clients to access ProFTPd over WAN so OpenVPN or SSH connections won't help. Encryption tunnel will be forced using FTP/Implicit SSL connections. Want to retire current LinuxBox and transfer FTP duties to router.

Do the larger 20+MB Beta Builds for newer routers such as Asus RT-N66U have this feature available after flash?

If anyone has been able to get this SSL TLS tunnel to work with DD-WRT built-in ProFTPd let me know, thx.
Sponsor
Minion
DD-WRT Novice


Joined: 21 Jan 2016
Posts: 12

PostPosted: Fri Feb 05, 2016 20:07    Post subject: Reply with quote
I did setup OpenVPN and a few issues appeared. It drastically reduced performance of 480MHz CPU and thus all other traffic through router and as you mention is more complex for some clients to connect successfully. I even tried overclocking 480CPU to 533MHz and added a cooling fan but was unstable. The other issue is all authorized clients to OpenVPN can then use their new secure VPN connection for more than just the FTP adding further burden to the slower CPU.
The main reason for a way to enable ProFTPd & SSL TLS secure access in DD-WRT is because all current clients are already configured with SSL TLS to access my LinuxBox FTP and content. They wouldn't have to change anything on their end and wouldn't even know they was a server change.

It would be nice to see the OTRW2 Optware bundle or similar contain FTPS support and other missing services but OTRW2 K2.6 is already crammed with good stuff and support ended in 2014.

DD-WRT Dream Database - allow the user to checkbox each additional feature for given router. Click Merge/Build then download the custom flash binary. This would allow many combinations and control over flash build size. Developers could then focus on smaller projects instead of making too many changes to the main stable DD-WRT base framework and breaking other modules.

Recompiling your own custom DD-WRT binary is a huge task with steep learning curve and commitment.
Kudos to Brainslayer, Kong and Dev Team.
omglawlz
DD-WRT Novice


Joined: 01 Mar 2019
Posts: 1

PostPosted: Fri Mar 01, 2019 18:51    Post subject: Reply with quote
Is there a solution for this? I want to use ProFTPd FTP with TLS on my tplink archer c7 v2
Sp1derman
DD-WRT User


Joined: 16 Jun 2006
Posts: 148
Location: Germany, BW

PostPosted: Thu Apr 11, 2024 8:03    Post subject: Reply with quote
I just brought it up here again: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=336375

8 years later and still no secured FTP.
Or I didn't found it.....
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14208
Location: Texas, USA

PostPosted: Thu Apr 11, 2024 13:37    Post subject: Reply with quote
SFTP is supported by dropbear on devices with *ssl package support. I'm not going to dig up the commits.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Sp1derman
DD-WRT User


Joined: 16 Jun 2006
Posts: 148
Location: Germany, BW

PostPosted: Thu Apr 11, 2024 14:01    Post subject: Reply with quote
kernel-panic69 wrote:
SFTP is supported by dropbear on devices with *ssl package support. I'm not going to dig up the commits.

I would prefer FTPS as all Clients are configured for that and I only would have to replace the SHA256 fingerprint of the cert.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1927

PostPosted: Thu Apr 11, 2024 18:21    Post subject: Reply with quote
I suggested switching to vsftpd "a while back" as it's footprint is smaller and it supports all functions with taking up less flash space and some folks were slightly opposed to the idea.

https://security.appspot.com/vsftpd.html

Maybe someone can work on implementing the change and submit for approval with more success.

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1059
Location: WV, USA

PostPosted: Thu Apr 11, 2024 18:52    Post subject: Reply with quote
+1 on vsftp
_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r55779

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779

OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.

Forum member #248
Sp1derman
DD-WRT User


Joined: 16 Jun 2006
Posts: 148
Location: Germany, BW

PostPosted: Thu Apr 11, 2024 21:01    Post subject: Reply with quote
dale_gribble39 wrote:
I suggested switching to vsftpd "a while back"


That would be a good solution. I saw the vsftp-LuCI-implementation, five Pages of Options. Very nice. But a simlpe .conf-File would also be ok, if I only could get all services I use consolidated on one box.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum