Networks - W4
Networks - W4
( 00207N )
Sec.
Week 4
Topics
■ Steps :
1) Open CMD
2) Type : ftp test.rebex.net
3) Type : demo
4) Type : password
5) Type : ls
6) Type : get readme.txt
Analyze FTP Packets using Wireshark
■ Steps:
1) Start Wireshark
2) Open CMD
3) Type : ftp test.rebex.net
4) Type : demo
5) Type : password
6) Type : quit
7) Stop Wireshark
SMTP Overview
■ SMTP stands for
Simple Mail Transfer Protocol
SMTP Packets. EHLO : is an SMTP command sent
by an e-mail client when connecting
to an e-mail server. The command
tells the server that the client wishes
to initiate an e-mail transaction and
is followed by the
client's domain name.
■ DATA : The DATA command starts the transfer of the message 354 : Start mail
contents (body text, attachments etc.). After that the DATA input; end with
command has been sent to the server from the client, the server <CRLF>.<CRLF>
will respond with a 354 reply code. After that, the message
contents can be transferred to the server. When all message
contents have been sent, a single dot (“.”) must be sent in a line
by itself. If the message is accepted for delivery, the SMTP
server will response with a 250 reply code.
SMTP Commands & Reply codes Cont.
CRLF :
354 : Start mail
input; end with
<CRLF>.<CRLF>
SMTP Commands & Reply codes Cont.
■ QUIT : Asks the server to close the connection. If the 221 : <domain>
connection can be closed the servers replies with a 221 Service closing
numerical code and then is the session closed. transmission channel
Analyze SMTP Packets using Wireshark
http://www.mit.edu