peter-x / ftpmult Goto Github PK
View Code? Open in Web Editor NEWSimple FTP multiplexer / reverse proxy using Node.js
License: Other
Simple FTP multiplexer / reverse proxy using Node.js
License: Other
I have installed this program, and on launching test.js, I see "FTP multiplexer up and ready for connections".
I did change the hostname in the getHostFromUsername() function, to a valid FTP server on my network.
When I try and connect via FTP, I get a connection refused message.
The firewall on the server I am trying to connect to allows ports 20/21 through, although I have tried fully disabling IPtables.
I opened the FTP debugger in filezilla, and this is the output:
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Trace: CRealControlSocket::OnClose(111)
Trace: CControlSocket::DoClose(64)
Trace: CFtpControlSocket::ResetOperation(66)
Trace: CControlSocket::ResetOperation(66)
Error: Could not connect to server
Hi,
I have used your proxy before, and I have attempted to replicate my FTP setup on another server.
I keep getting this far: Server response: 226 Directory send OK.
And then connection timed out.
To rule out common issues, I have ran the unmodified 'test.js' program, with selinux temporarily disabled, and iptables stopped.
I get the same results with the test program.
With FileZilla in debug mode, I see this:
Response: 226 Directory send OK.
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 2
Trace: state = 5
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 8
Error: Connection timed out
I have tried other FTP clients, and FileZilla works ok with my pre-existing ftpmult setup.
The only thing it can be is because this is another server.
DNS on the new server works ok, and the iptables modules ip_conntrack, ip_conntrack_ftp and ip_nat_ftp are enabled.
I am not sure why this would be failing.
Any help is appreciated. Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.