It appears you have not yet registered with our community. To register please click here...

 
Go Back [M] > Hardware Madness > Hardware/Software Problems, Bugs
FTP server and port 20 , 21 Firewall Exception FTP server and port 20 , 21 Firewall Exception
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


FTP server and port 20 , 21 Firewall Exception
Closed Thread
 
Thread Tools
Old 11th April 2006, 14:19   #1
zillah
 
Posts: n/a
Default FTP server and port 20 , 21 Firewall Exception

I have configured FTP Server on XP Pro SP2.

I have excepted port 21 , then I was able remotly to FTP to windows XP (FTP Server).

My question, since with FTP, port 21 for control information (commands and response, like ls, put, get,etc) and posrt 20 for data connection.

Shouldn't I have enabled port 20 as well ?

Since I have not enabled, why I was able to do FTP to server
 
Old 11th April 2006, 14:21   #2
zillah
 
Posts: n/a
Default FTP Control Channel, and ls command

While I was reading I found this link:
http://www.siliconvalleyccie.com/lin...ftp-server.htm

Control Channel (command and response), TCP Port 21 and Data Channel, TCP Port 20

I just wondring if there is a typo in the link above , because he is saying :

Quote:
but any data sent back (such as "ls" directory lists or actual file data in either direction) will go over the data connection.
Quote:
Your client connects to the FTP server by establishing an FTP control connection to port 21 of the server. Your commands such as 'ls' and 'get' are sent over this connection.
I feel there is contradiction between the two quoted above , because "ls" is command which should be sent over Control Channel not Data Channel,,,Am I right ?
 
Old 11th April 2006, 14:24   #3
Madshrimp
 
jmke's Avatar
 
Join Date: May 2002
Location: 7090/Belgium
Posts: 78,737
jmke has disabled reputation
Default

what he is saying is that the LS data (the file listing) is sent over the data connection; your input command (like ls and get) are sent over port 21.
__________________
jmke is offline  
Old 11th April 2006, 15:36   #4
zillah
 
Posts: n/a
Default

Quote:
LS data (the file listing) is sent over the data connection; your input command (like ls and get) are sent over port 21.
What is the difference between LS data and ls ?
 
Old 11th April 2006, 15:41   #5
Madshrimp
 
jmke's Avatar
 
Join Date: May 2002
Location: 7090/Belgium
Posts: 78,737
jmke has disabled reputation
Default

ls command client ---> server: port 21

ls data: the directory listing

server ---> client : port 20
__________________
jmke is offline  
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Expand Your HP Acer Windows Home Server with the Icy Dock MB561US-4S-1 jmke WebNews 0 17th April 2010 11:36
Acer preps Atom-based Windows Home Server PC jmke WebNews 1 26th February 2009 20:09
HOWTO: Troubleshoot Any Networking Problem jmke FAQ / INFO / HOW-TO 0 15th February 2006 13:33
HOWTO : home FTP setup Bosw8er FAQ / INFO / HOW-TO 2 27th September 2005 17:12
Windows Firewall flaw may hide open ports Sidney WebNews 0 2nd September 2005 05:55
port forwarding TeuS Hardware/Software Problems, Bugs 0 28th January 2004 15:42
port forwarding kipni Hardware/Software Problems, Bugs 20 31st May 2003 16:05

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 07:58.


Powered by vBulletin® - Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO