Professional Documents
Culture Documents
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.
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. ***