From Slides Flashcards
TCP/IP Layer Schematic
Types of servers
- File Server
- Print Server
- Communications Server
- Telephony Server
- Fax Server
- Web Server
SNMP
Simple Network Management Protocol
Symbolic Name
Names that users are familiar with, like john.doe@brooklyn.edu
www.google.com
Directory Services
Used to find the addresses of a named destination user:
convert email or URL to IP address, NPA address, or TCP/UDP port #
Domain Name System (DNS)
Total directory system in a TCP/IP suite
Original 6 high-level domains
com, edu, gov, mil, net, org
Domain Name Server
- Associated with each institution network is a host that runs an AP known as the Domain Name Server.
- Associated with the DNS server is a Directory Information Base (DIB) which contains all thedirectory related information for that institution.
- Each host has a client process known as the Name Resolver which communicates the DNS server
- Name resolver can cache some symbolic - IP mappings, if it doens’t find then it goes to DNS over TCP/IP
Foreign name server
DNS server outside of the autonomous network (?) that is queries if the local name server cannot resolve the current DNS name
DNS Referral
If the destination is not listed within the DIB, the local
DNS server creates its own request message (a
referral) which it forwards to another server.
DNS Resolvers: TCP vs. UDP
Resolvers use UDP for single queries and TCP for
group queries. (why??)
Recursive vs. Iterave DNS resolution techniques
- Recursive Technique:
Query another name server for the desired result
and then send the result back to A. - Iterative Technique:
Return to A the address of the next server (C) to
whom the request should be sent. A then sends
out a new DNS request to C.
In exchanges between name servers, either the
iterative or recursive technique may be used. For
requests sent by a name resolver , the recursive
technique is used. (Resolver doesn’t go out to the internet, just communicates with DNS server)
Name
Cache
Typically, each local name server will maintain a Name
Cache of the most recently referred names.
DNS Message Format
- Identifier:
Assigned by that sender so that it can match queries
and responses.
• Query Response:
Indicates whether this message is a query or
response.
• Opcode:
- standard query,
- an inverse query,
- a server status request.
• Authoritative Answer:
if responding name server is an authority
• Truncated:
if response message was truncated due to length
• Recursion Desired:
If set, directs the server to pursue the query
recursively.
• Recursion Available:
if recursive query support is available
• Response Code:
- no error,
- format error,
- server failure,
- name error,
- not implemented,
- refused
• Qdcount, Ancount, Nscount, ARcount:
number of RRs in the question/ answer/ authority/
additional records section (zero or more).
DNS Question Section Format
Query Type: the type of question (e.g.,whether the question refers to a machine name or a mail address).
**QUERY CLASS** specifies the class of the query, typically Internet (**IN**)
Query types in image
NVT
Nework Virtual Terminal - common paradigm so client and server stations can talk to each other. An NVT is an imaginary device with a well-defined set of characteristics. Using the VTP, aconnection is set up between a terminal user and a remote host. Both sides generate data and control signals in their native language. Each side translates its native data and control signals into those of the NVT and translates incoming NVT traffic into its native data and control signals. Normally, all data is transferred as 7-bit ASCII character strings.
Option requests can be initiated by either side using
WILL, WON’T, DO and DON’T commands.
TELNET
allows remote access to a station
Original ARPANET TELNET
Dumb terminals needed to gain access to remote servers
VTP Concept
Phases of operation (uses TCP)
Connection management:
- Connection request and termination
- Telnet uses TCP
! Negotiation:
- To determine a mutually agreeable set of
characteristics
- NVT has a wide range of capabilities and features
- Real terminal is more limited
- NVT has options, such as line length
! Control:
- Exchange of control information and commands
e.g., end of line, interrupt process
! Data:
- Transfer of data between two correspondents
Principles of TELNET Options Negatiation
! Either side can initiate negotiation
! Can ask that an option be enabled or that a currently
enabled option be disabled.
! A request to enable an option may always be rejected.
! A request to disenable an option must always be
accepted.
! Options are not enabled until the negotiation is
complete.
! Never negotiate about something that is already true
TELNET Negotiation messages
Examples:
IAC, SB, WILL (DO), ‘0’, SE (send in 8-bit binary)
IAC, SB, DO (WILL), ‘0’ SE (accept)
IAC, SB, DON’T (WON’T), ‘0’ SE (refuse)
(Note: parentheses indicate receiver initiated option
negotiation)
IAC: Begins command sequence
SB: Begins options negotiation string
SE: End option negotiation string