Questions tagged [passive-mode]

FTP and FTPS use multiple connections to perform file transfers. In passive mode (a.k.a. PASV), both control and data connections are made from the FTP client to the FTP server.

FTP may run in active or passive mode, which determines how the data connection is established.

In both cases, the client creates a TCP control connection from a random unprivileged port N to the FTP server command port 21. In active modes, the client starts listening for incoming data connections on port N+1 from the server (the client sends the FTP command PORT or EPRT to inform the server on which port it is listening).

In situations where the client is behind a firewall and unable to accept incoming TCP connections, passive mode may be used.

In this mode, the client uses the control connection to send a PASV or EPSV command to the server and then receives a server server port number from the server, which the client then uses to open a data connection from an arbitrary client port to the server IP address and server port number received.

See What is the difference between active and passive FTP?

59 questions
0
votes
1 answer

Can vim be configured to use an alternate ftp client

This post is related to a SuperUser post I entered recently. I am re-asking the question here, because I feel either rebuilding vim or advanced configuration may be involved. I'm trying to configure vim to use passive ftp when I enter an edit…
octopusgrabbus
  • 10,555
  • 15
  • 68
  • 131
0
votes
1 answer

PHP timeout on put/get/list commands

I've been dealing with this problem all day long. A couple hours ago I wrote this Question. I've got a PHP script that works OK in my development PC but on the real server are not quite good. The script is: $conn_id = ftp_ssl_connect($ftp_server);…
Esselans
  • 1,540
  • 2
  • 24
  • 44
0
votes
0 answers

I'm trying to compare the exact differences between ftp two modes using the packets captured using wireshark

I've captured packets in (ftp two modes ) the active and passive mode using Wireshark Now I'm trying to compare and state the exact differences between those two modes using these packets... What points should i be looking in particular ?…
Avenger
  • 53
  • 1
  • 6
0
votes
1 answer

Ftp passive mode: connect to server

I need to help with my ftp client application. I successfuly connect to server with usename and password and send PASV message. I recived IP and port, but i do not know what to do next. I know that I must connect to IP and port, but I do not know…
Allda
  • 128
  • 1
  • 9
0
votes
1 answer

Install MySQL Community 5.6.14 in Passive mode using batch file (on win7)

I'm trying to install MySQL Community 5.6.14 in Passive mode using a batch file. First of all "MySQLInstaller" is unable to install MySQL in passive or quiet mode and user has to complete the installation wizard manually! Does MySQL Community 5.6.14…
Jessica
  • 685
  • 1
  • 9
  • 23
0
votes
1 answer

Passive socket not accepting ftp

I'm making an ftp server, and when i'm trying to connect to it with filezilla, the server is not accepting the connection on the passive socket. It hangs at the accept call. Here's a part of my code : if ((server->pasv_sock = accept(server->sockt,…
Quentin DOMMERC
  • 876
  • 1
  • 8
  • 24
-1
votes
1 answer

In Omnet++ and Inet, How to configure a wireless host to be in passive monitoring mode?

How to change an Omnet++5.6.2 and Inet-4.2.5 based WirelessHost into a passive monitor mode? I want to receive and collect all the beacon signals that send from WiFi Access Point Devices (without association and authentication process) to receive…
-1
votes
1 answer

Specific directories with problems with passive / port

I've a very strange problem boring me since a long time, and I dont find any clue to check what's the matter. I've a ftp root with a lot of directory without any problem. In a specific directory, I've a website containing several directories. On…
iguypouf
  • 770
  • 4
  • 15
-1
votes
1 answer

ZAP docker passive scanning results

I have created a Zap container (inside docker) using the command docker run -u zap -p 8080:8080 -i owasp/zap2docker-stable zap-x.sh -daemon -host 0.0.0.0 -port 8080 -config api.addrs.addr.name=.* -config api.addrs.addr.regex=true -config…
-1
votes
1 answer

Windows 2012 R2 FTP server IIS 8 Passive mode not working

I have set up an FTP Server on Windows Server 2012 R2 using IIS 8 and everything works fine except Passive Mode when connecting from client machines. How to fix it?
-1
votes
1 answer

FtpException when getting files

I'm successfully establishing an ftp connection and want to get files from FTP server. This is my code: ftp.GetFile(file.Name, path + file.Name, false); where ftp is FtpConnection. And for all the other files it went well. Now, for the first time I…
petko_stankoski
  • 10,459
  • 41
  • 127
  • 231
-1
votes
1 answer

PureFtpd passive port range doesn't deliver listening address to client

I'm trying to configure my pureftpd behind the firewall to act as a passive ftp/TLS server. Acting machines: Server: 192.168.3.220 (internal network, default route to the router at 192.168.3.1) Configuration: pureftpd with PassivePorts 64000 64300,…
tloudev
  • 19
  • 5
-1
votes
1 answer

Passive ftp port management

I do use passive ftp in my software so that customer can download the software updates.Now my doubt is that if there are so many request to ftp(for downloading updates) then can passive ftp port can manage all requests?How does it work exactly?
winman
  • 119
  • 8
-2
votes
1 answer

Passive ftp connection

In passive ftp in a single port how many connection can be made? or How many users can be connected at a time in a single port?
winman
  • 119
  • 8
1 2 3
4