Was ist das Protokoll 'FTP-Daten', das von Wireshark identifiziert wird?

13028
Summer_More_More_Tea

Implementieren Sie einfach einen FTP-Server und analysieren Sie das Protokoll mit Wireshark. Ich finde, dass es ein Protokoll gibt, das von Wireshark identifiziert wird FTP-DATA. Was ist das? Jedes Dokument oder RFC kann referenziert werden?

Danke und viele Grüße.

1

2 Antworten auf die Frage

5
Der Hochstapler

It's port 20 according to the wiki.

Port 21 is used for control data. The actual file data is sent on a different port.

To my knowledge, that port is usually negotiated before transfer. I don't know if Wireshark uses a fixed value of 20 or if it knows what port was used for data transmission.

Please note that what Wireshark calls a protocol is something like TCP.
I'm assuming you're talking about a human-readable version of a port.

From: http://www.wireshark.org/docs/wsug_html_chunked/ChAdvNameResolutionSection.html

7.7.5. TCP/UDP port name resolution (transport layer)

Try to resolve a TCP/UDP port (e.g. 80) to something more "human readable".

TCP/UDP port conversion (system service): Wireshark will ask the operating system to convert a TCP or UDP port to its well known name (e.g. 80 → http).

XXX - mention the role of the /etc/services file (but don't forget the files and folders section)!

So, it's a static lookup approach from port number to service. The information is basically meaningless.

Danke für deine Antwort. Das Wiki sagt aber auch: "Der FTP-Datenport wird über den Steuerport ausgehandelt und variiert in der Regel auf unvorhersehbare Weise." In meinem Fall wurde "PASV" aktiviert, zwei Portnummern lauten 53213 (src) und 3602 (dest). Summer_More_More_Tea vor 12 Jahren 0
Vielen Dank. Ich implementiere teilweise FTP und versuche, meinen Server mit dem FileZilla-Client zu verbinden. Der Client kann keine Daten von der Datenverbindung im PASV-Modus empfangen. Ich habe auch die Telnet-Verbindung ausprobiert, es funktioniert (ich meine, ich kann die passive Datenbuchse anschließen und Daten empfangen.) Haben Sie keine Ahnung, wo etwas schief geht. Summer_More_More_Tea vor 12 Jahren 0
siehe meine Antwort bezüglich passiv .. dc5553 vor 12 Jahren 0
2
dc5553

There are 2 ports associated with the FTP protocol. They are 20 and 21 with 20 being the channel in which the data travels over(ftp-data) while port 21 is the port that the control messages are sent over (i.e 200 OK).

There are also differences regarding passive or active mode with passive using a random high port for data trasfer.

Also keep in mind ftp by default is plain text and easily intercepted over the wire. If this FTP solution is not inside your LAN's foot print I would recommend sftp, ftp over vpn or scp for moving files to and from the server.

Vielen Dank. Wenn Sie hoch sagen, gibt es eine Untergrenze? Denn mein FTP ist auf einer Cloud-Plattform implementiert. Die Portnummer, die ich verwenden kann, sollte vorbelegt sein. Summer_More_More_Tea vor 12 Jahren 0
Versuchen Sie, diesen Filter in wireshark "ftp.request und ftp.response" zu löschen. dc5553 vor 12 Jahren 0
Untergrenze ist 1024, mit hoch meine ich auch vergänglich. dc5553 vor 12 Jahren 0