General Report | Site Statistics| Log Analyzer
Boost your Web site traffic with NetPromoter SEO package
     
Home Web Site Promotion News About company Earn Cash Order Contacts
Website promotion
Welcome
overview |
system requirements |
Getting started
program setup |
registration |
updates |
settings |
Program interface
top 10 analyzer |
script generator |
log statistics |
site indexation |
site analyzer |
html comparer |
top 10 trailer |
Reports
top 10 analyzer report |
general report |
customized report |
site analyzer report |
calculators |
FAQ
glossary |
status codes |
ftp |
stop-words |
keyword distribution |
link popularity |
EULA

SEO

FTP - Active and Passive Modes

Internet Marketing

back | forward

FTP is a TCP (Transmission Control Protocol) based service exclusively. FTP is an unusual service in that it utilizes two ports, a 'data' port and a 'command' port (also known as the control port). Traditionally these are port 21 for the command port and port 20 for the data port. The confusion begins however, when we find that depending on the mode, the data port is not always on port 20.

In active mode FTP the client connects from a random unprivileged port (N > 1024) to the FTP server's command port, port 21. Then, the client starts listening to port N+1 and sends the FTP command PORT N+1 to the FTP server. The server will then connect back to the client's specified data port from its local data port, which is port 20.

FTP-active mode

In passive mode FTP the client initiates both connections to the server, solving the problem of firewalls filtering the incoming data port connection to the client from the server. When opening an FTP connection, the client opens two random unprivileged ports locally (N > 1024 and N+1). The first port contacts the server on port 21, but instead of then issuing a PORT command and allowing the server to connect back to its data port, the client will issue the PASV command. The result of this is that the server then opens a random unprivileged port (P > 1024) and sends the PORT P command back to the client. The client then initiates the connection from port N+1 to port P on the server to transfer data.

FTP-passive mode

 

 

Site Statistics - orderSite Statistics - download

back | forward

 
Site Statistics support@net-promoter.com  
| Search Engine Optimization | Website Promotion | Site Statistics | Website Development | Site Optimization | Tracking Counter |
| Site Submission| Internet Marketing | Domain Names | Page Rank |
© NetPromoter 1999 - 2005