You are on page 1of 2

Assignment No.

3
Experimentation on Application Layer Protocols A> HTTP:
Start the Wireshark and Put the display filter as http and (ip.src = 172.16.1.40 or ip.dst = 172.16.1.40) and restart capturing packets Start the browser and type http://www.coep.org.in/images/carbon.jpg in the address bar and press Enter Switch to Wireshark and analyze packet list, packet details, dissector panes. Start notepad application and type the following GET http://www.coep.org.in/images/carbon.jpg HTTP/1.1 Accept: */* Accept-Language: en-us Host: www.coep.org.in Connection: close Open the command prompt and issues the command to send the above HTTP request message to the web server. telnet www.coep.org.in 80 Copy the above message from notepad and paste in the command window and press enter. You will receive a HTTP response message from the web server. Analyze the response both in Wireshark as well as command window.

B> FTP:
Download any windows based freely available, FTP server application and install the same at your desktop. The list of available FTP servers on different platform is available at http://en.wikipedia.org/wiki/List_of_FTP_server_software . Carry out the configuration during installation such as port no., number of simultaneous connection, users, resources/folders to be shared etc. Run the installed ftp server application. Open the command prompt and run the command ftp (ftp client program) We will get ftp prompt. Type help to list the commands supported by the ftp client program. Issue the command open 127.0.0.1 to establish session with local ftp server. Experiment with commands such as ls, cd, get, mget, put, mput etc. Similar to the work elaborated in part A, try to capture the ftp packets using Wireshark and analyze them.

C> SMTP, POP3:


Try to configure Mail Access Agent for your mail account present on a mail server. Main Configuration settings: 1. Protocol used to download mails from mail server 2. Protocol used to send mails Send mail by directly interacting with mail server from the command prompt, as specified below. o Run the command telnet mail.coep.org.in 25 o The mail server responds with 220 coepmail.coep.org.in SMTP server ESMTP o Type HELO me.com o Server responds with code 250 o Type MAIL FROM: <pp@me.com> o Server responds with code 250 o Type RCPT TO: <username@extc.coep.org.in> o Server responds with code 250 o Type DATA o Server responds with 354 Please start mail input o Type the mail and terminate with . (period) in the newline. o Server responds with 250 queued for mail delivery o Type QUIT and check your mail account at the mail server for the receipt of the mail.

D> DNS:
Run the command nslookup at the command prompt to get the prompt. Type help to list the commands which can be executed. Try to set the several options such debug, type etc. Issue the name to obtain corresponding IP address and vice versa. Also search for nslookup on internet and try to execute nslookup remotely. ***

You might also like