Lab#2 Telnet & ssh, SMTP/POP3, DNS & FTP Reading: •

Kurose, sections 2.3, 2.4, 2.5

Additional info: •

Telnet: http://www.rfc-editor.org/rfc/rfc854.txt



FTP: http://www.rfc-editor.org/rfc/rfc959.txt



SMTP: http://www.rfc-editor.org/rfc/rfc821.txt



DNS: http://www.rfc-editor.org/rfc/rfc1035.txt

telnet •

basic usage: ▪ telnet zoltar redes.upv.es



extended usage: (try with zoltar.redes.upv.es by adding a port number after the server name): ▪ echo (7) ▪ daytime (13) ▪ quoteoftheday (17) •

Analiza el caso en que no esté activo



Secure telnet: ssh



Exercise#1: connect to zoltar.redes.upv.es using ssh

1

SMTP/POP3 •

Quick reminder of SMTP (25) and POP3 (110)



Exercise#2: Use SMTP and nc command to send an emal to your own account in zoltar.redes.upv.es. (Valid mailboxes are from redes01 to redes22 )



Exercise#3: Using POP3 and nc command connecto to zoltar.redes.upv.es for reading the message you just sent. Delete it from the mailbox once you have read it.

2

DNS Quick intro to DNS Usage of nslookup Samples: ◦ nslookup www.mit.edu ◦ nslookup –type=NS mit.edu • Exercise#4: What is the IP address of zoltar.redes.upv.es? • Exercise#5: This query: nslookup www.mit.edu returns a “Non-authoritative answer”. What do you need to obtain an “Authoritative” one? • Exercise#6: What is the server in charge of this email domain eurecom.fr ? 1. Exercise#7: Repeat the previous exercise with -debug y -d2. What happens? • Exercise#8: In nslookup, this sequence of commands: > set norecurse > www.stanford.edu returns: *** Can't find www.stanford.edu: No answer What needs to be done to obtain a response? > set type=NS > stanford.edu …. answer... > server argus.stanford.edu > www.stanford.edu Compare results if you use “set recurse”. • • •



Exercise#9: Open Wireshark and set “port 53” as the capture filter. Start a capture and run in a terminal de command “ping www.ietf.org”. Stop the ongoing capture in Wireshark. ◦ Answer the following questions: ▪ Look for DNS requests and responses. What transport protocol did they use? ▪ What is the destination port number of a DNS request? What is the source port number of a DNS response? ▪ What is the destination IP address of DNS requests? Do you remember the IP address of your local DNS server from Exercise#4? Is it the same? ▪ Examine the type of the DNS request. What type is it? ▪ Examine the type of DNS response. How many answers does contain? What do you find on each one?

3

Advanced exercises FTP •

Exercise#10: Using ftp command with DEBUG ON connect to zoltar.redes.upv.es. And observe the different commands and responses exchanged by the application protocol. You can get help from the program by typing help (or help ). ◦ Make a new folder in your account in zoltar and change to that folder. ◦ Upload file to your home folder in zoltar. ◦ Obtain a listing of the home folder in zoltar. ◦ Close the connection.



Exercise#11: Using nc command instead of ftp command, connect to zoltar.redes.upv.es ftp server and obtain a listing of the home folder of your account. Try using both PORT and PASV commands (alternatively).

You can get some insight about ftp program here: http://www.webmonkey.com/2010/02/ftp_for_beginners/

4

Telnet & ssh, SMTP/POP3, DNS & FTP Reading

Exercise#10: Using ftp command with DEBUG ON connect to zoltar.redes.upv.es. And observe the different commands and responses exchanged by the application protocol. You can get help from the program by typing help (or help <command>). ◦ Make a new folder in your account in zoltar and change to that folder.

87KB Sizes 7 Downloads 149 Views

Recommend Documents

telnet-SSH.pdf
Whoops! There was a problem loading more pages. telnet-SSH.pdf. telnet-SSH.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying telnet-SSH.pdf.

telnet-SSH.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. telnet-SSH.pdf.

Enabling Telnet
Telnet Client allows a computer to connect to a remote Telnet server and run applications on that server. Once logged on, a ... from the ElMajdal.Net website ...

telnet commands pdf
Whoops! There was a problem loading more pages. telnet commands pdf. telnet commands pdf. Open. Extract. Open with. Sign In. Main menu. Displaying telnet ...

TIMOKATALOGOS SSH ATH NOE-FEB.pdf
HYATT REGENCY 5☆ GARDENS BAY ΠΡΩΙΝΟ (limited sea view room). Πολυτελέστατο ξενοδοχείο στην περιοχή Gardens Bay σε μικρή απόσταση από το ...

LAPRES - Telnet dan SSH.pdf
Jika ada dialog Yes or No, pilih Yes. Kemudian masukkkan Password. Page 3 of 13. LAPRES - Telnet dan SSH.pdf. LAPRES - Telnet dan SSH.pdf. Open.

Ibm ftp manual mainframe
2013 audi q7 manual pdf.Manual nissan ... Daihatsu terios manual pdf.Toshiba ... do not knowhow..600880697054405024 Hitachi dz-bx35e user manual. ... Yet, thelong years of obtaining a good GPAdo notmatter has much has one big test.

TandF SSH Collection 2015.pdf
CANF Anthropological Forum SSH Anthropology & Archaeology 0066-4677 .... GCMR Contemporary Music Review SSH Arts & Humanities 0749-4467 ...

TandF SSH Collection 2015.pdf
ABSTRACT. The domestic and confinement each time of the equines and the subsequent modifications. of the habits and alimentary standards, compromise the natural dental formation of this. species and lead to a series of dentistry disease. The affected

Installation SSH sous Fedora.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Installation SSH ...

SETING FTP SERVER DI CLEAROS.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. SETING FTP ...

practica 4 FTP y TFTP.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying.

SSH Distribution Transport on Erlang Concurrent System
Oct 26, 2009 - and the arbitrary port-mapping mechanism, and is prone to security attacks on a wide-area Internet. In this paper, we propose a distributed ...

DNS BIND Server Configuration - Core
TDLs are divided into two types: • generic Top-Level Domains ... LOGGING configures the location, level and type of logging that. BIND performs .... trator wants to determine if the log in was just an error or not. The pro- gram gives the user the op

Lab DNS Server.pdf
Page 1. Whoops! There was a problem loading more pages. Retrying... Lab DNS Server.pdf. Lab DNS Server.pdf. Open. Extract. Open with. Sign In. Main menu.

DNS BIND Server Configuration - Core
Abstract: After a brief presentation of the DNS and BIND standard for. Unix platforms, the paper presents an application which has a principal objective, the configuring of the DNS BIND 9 server. The general objectives of the application are pre- sen

DNS Bank Recruitment [email protected]
participate in the process and their candidature shall not be permitted. Computer Literacy: Operating and working knowledge in computer systems is mandatory i.e. candidate should have. Certificate/Diploma in computer operations/Language/ should have

PDF DNS and BIND Read online
DNS and BIND Download at => https://pdfkulonline13e1.blogspot.com/0596100574 DNS and BIND pdf download, DNS and BIND audiobook download, DNS and BIND read online, DNS and BIND epub, DNS and BIND pdf full ebook, DNS and BIND amazon, DNS and BIND a

Securing Public DNS Communication
header format. In the format, the TC bit is set when a server sends a truncated reply, ..... cert.org/vuls/id/370308. [13] CERT/CC: Integer Overflow In XDR. Library.

DNS Bank Recruitment [email protected]
Page 1 of 14. Any eligible candidate, who aspires to join the Bank as Probationary Management Officer, is required to register for the. Online Written Examination. Candidates who appear and are shortlisted in the examination, will subsequently be cal