Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N10-005 ) © 2012 The McGraw-Hill Companies, Inc. All.

Slides:



Advertisements
Similar presentations
Introduction to Networks
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: Application Layer Introduction to Networks.
CCNA – Network Fundamentals
Lecture 7 Transport Layer
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
How Clients and Servers Work Together. Objectives Web Server Protocols Examine how server and client software work Use FTP to transfer files Initiate.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: Application Layer Network Basics.
Chapter Overview TCP/IP Protocols IP Addressing.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
Computer Concepts 2014 Chapter 7 The Web and .
Packet Filtering. 2 Objectives Describe packets and packet filtering Explain the approaches to packet filtering Recommend specific filtering rules.
PC Maintenance: Preparing for A+ Certification Chapter 25: The Internet.
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
1 Web Server Administration Chapter 9 Extending the Web Environment.
CHAPTER 2 PCs on the Internet Suraya Alias. The TCP/IP Suite of Protocols Internet applications – client/server applications The client requested data.
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Lesson 24. Protocols and the OSI Model. Objectives At the end of this Presentation, you will be able to:
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
Chapter 10 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain how the functions of the application layer,
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter Four Configuring Outlook and Outlook Web Access.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols.
Network Services Networking for Home & Small Business.
Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Fourth Edition (Exam N ) Copyright © 2015 by McGraw-Hill Education.
SYSTEM ADMINISTRATION Chapter 7 TCP/IP. Overview (OSI Model Review) The OSI Model is a layered framework that provides structure for data communications.
Jozef Goetz, Application Layer PART VI Jozef Goetz, Position of application layer The application layer enables the user, whether human.
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
1 Version 3.0 Module 11 TCP Application and Transport.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 2: TCP/IP Architecture.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
TCP/IP Transport and Application (Topic 6)
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
Internet Protocol B Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
TCP/IP (Transmission Control Protocol / Internet Protocol)
FTP File Transfer Protocol Graeme Strachan. Agenda  An Overview  A Demonstration  An Activity.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 3: TCP/IP Architecture.
Hands-On Ethical Hacking and Network Defense
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
Hands-On Ethical Hacking and Network Defense Chapter 2 TCP/IP Concepts Review Last modified
SSH. 2 SSH – Secure Shell SSH is a cryptographic protocol – Implemented in software originally for remote login applications – One most popular software.
CITA 352 Chapter 2 TCP/IP Concepts Review. Overview of TCP/IP Protocol –Language used by computers –Transmission Control Protocol/Internet Protocol (TCP/IP)
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Application Layer instructors at St. Clair College in Windsor, Ontario for their slides. Special thanks to instructors at St. Clair College in Windsor,
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
Application Layer Functionality and Protocols Abdul Hadi Alaidi
Chapter 9: Transport Layer
Application layer tcp/ip
Instructor Materials Chapter 5 Providing Network Services
Instructor Materials Chapter 9: Transport Layer
Chapter 10: Application Layer
Topic 5: Communication and the Internet
TCP/IP Applications Chapter 8.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 2: TCP/IP Architecture.
Presentation transcript:

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. TCP/IP Applications Chapter 9

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Objectives Describe common Transport and Network layer protocols Explain the power of port numbers Define common TCP/IP applications such as HTTP, HTTPS, Telnet, (SMTP, POP3, and IMAP4), and FTP

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Overview

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Three parts to Chapter 9 Transport layer and Network layer protocols The power of port numbers Common TCP/IP applications

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Transport layer protocols

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. How people communicate Connection-oriented (TCP) –Acknowledgement between two people beginning conversation –The conversation –Close of conversation

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.1 A connection-oriented session starting

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Connectionless (UDP) –No opening acknowledge –Short message shouted across a room –No closing Session –Any single communication between computers –All sessions must begin and eventually end

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.2 A connection-oriented session ending

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Transmission Control Protocol (TCP) –In charge of connection-oriented communication –Most common type of TCP/IP session

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Connection-oriented session –Browser sends a SYN packet –Server responds with a SYN, ACK packet –Client sends an ACK, requests Web page –Server sends Web page and a FIN packet –Client responds with RST, ACK

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. User Datagram Protocol (UDP) –Used by very few applications –Requires much less overhead than TCP –No start, no acknowledgement, no end

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. DHCP uses UDP –Client broadcasts discovery packet –Server responds with DHCP offer (sent directly to MAC address) –Client sends DHCP request directly to server MAC address –Server sends DHCP acknowledgement with IP configuration –Client responds with DHCP lease

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.3 DHCP steps

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Trivial File Transfer Protocol (TFTP) –Uses UDP –Transfers files between computers –Does not have any data protection –Never use it over the Internet

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Network layer protocols

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Internet Control Message Protocol (ICMP) –For connectionless communications that never need more than a single packet –Handles maintenance issues like disconnect (host unreachable) –Applications use ICMP to send status information to the other end of a session

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. ping –Sends a single ICMP packet Echo request To an IP address –All computers (unless blocked by a firewall) respond with echo reply

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.4 ping in action

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Internet Group Management Protocol (IGMP) –Used for multicasts –Routers use to determine a “group” membership –Class D IP addresses with network ID range (using subnet mask of )

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. More about multicast –Does not assign IP addresses to hosts –A multicast is assigned a certain /4 address –Those who wish to receive this multicast must join the IGMP group –Upstream router will send multicasts

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.5 IGMP in action

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. More about multicast (cont.) –Does not assign IP addresses to hosts –A multicast is assigned a certain /4 address range –Those who wish to receive this multicast must join the IGMP group –Upstream router will send multicasts

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. The power of port numbers

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Port numbers –Memorize common port numbers –Every TCP/IP app requires a server and a client –Defined port number for popular (well- known) TCP/IP applications

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. By the (port) numbers –16-bit values (0 to 65535) –Well-known port numbers (0 to 1023) for specific TCP/IP applications –Web servers use port number 80 –Web client sends HTTP ACT to server (port 80) –Server replies using client’s ephemeral port

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.6 HTTP ACK packet

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.7 Dealing with the incoming packet

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.8 A more complete IP packet

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Ephemeral ports –Pseudo-randomly generated by Web client –Ephemeral port numbers –Dynamic or private port numbers –IANA recommends using only

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.9 Returning the packet

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Registered ports –1024 to –Less-common TCP/IP applications register their ports with IANA –Most operating systems avoid registered port numbers and use dynamic/private ports

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Summary of port numbers –0-1023well-known ports – registered ports – dynamic or private ports

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Using ports in a session –Both computers keep track of status Status info held in RAM Socket or endpoint is one side’s session information Socket pairs or endpoints refer to data each computer stores about the connection Session or connection refers to a connection in general

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Endpoint information –Source and destination for one session –Many simultaneous sessions –Use netstat –n to see sessions Usually shows many connections TCPView for Windows: dynamic Net Activity Viewer for Linux

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.10 Two open windows

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.11 TCPView in action

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.12 Net Activity Viewer in action

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Connection status –State changes continually –Listening port or open port –Established ports are active, working endpoint pairs –CLOSE_WAIT indicates that a client is making a graceful closure –TIME_WAIT indicates a lost connection

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Detecting local program in a connection –netstat –ano will show local process ID (PID) for each connection –Determine what program has that PID Linux ps command Download Process Explorer for Windows Learn how TCP/IP uses ports

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.13 Process Explorer

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Determining good vs. bad –Memorize a bunch of common ports –Learn how to use netstat –Learn the ports that normally run on your operating system –Research processes you don’t recognize –Get rid of bad processes

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Common TCP/IP applications

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Web servers –Store HTML documents –XHTML is updated HTML with XML syntax

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.14 My router’s Web page

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.15 HTML 5 source code

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Web browsers (client side) –Request HTML pages from Web servers –Enter user-friendly text address into browser –All browsers have a default Web page –Web sites use text addresses translated into IP addresses using DNS

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. HTTP –Stands for Hypertext Transport Protocol –Underlying protocol of the Web –Uses port 80 to transmit Web page data – at beginning of Web server address

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. HTTP weaknesses –Relays commands without reference to any commands the user previously executed –Difficult to design complex and interactive Web pages –Other technologies enhance HTTP JavaScript/AJAX Server-side scripting Adobe Flash Cookies

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Publishing Web pages –Web server will “host” an HTML document –You can self-host Install Web server software Acquire a public IP address Time-consuming and challenging –Host through your ISP –Use a Web hosting service company –Free Web hosting (nothing is free)

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Web servers and Web clients –Web server serves up Web pages –Listens on port 80 –Fetches and sends requested HTML pages –To create a Web server Install Web server software Connect computer to the Web

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Web server software –Microsoft Internet Information Services (IIS) 20-connection limit on non-Server versions of Windows IIS only runs on Server versions of Windows –Apache Server runs on UNIX/Linux/Windows On over 50 percent of Internet Web servers Free Non-GUI Web administrators use an add-on GUI (Webmin)

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.16 IIS in action

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.17 Webmin Apache module

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Web server software –Apache and IIS most common on Internet –Google Web Server (GWS) third with 5 percent –Hundreds with even smaller market share

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Web client software (browsers) –Request and display Web pages –Many have multiple functions –Most popular: MS Internet Explorer (IE) Mozilla Firefox Apple Safari Opera Google Chrome

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Secure Sockets Layer and HTTPS –HTTP not secure –Requirements for secure Internet apps Authentication Encryption Nonrepudiation –SSL and HTTPS offer security

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Secure Sockets Layer (SSL) –Netscape-developed protocol –Session key exchanged using server’s public/private key –Encrypts/decrypts data with session key –Sends encrypted data over an SSL connection –Supported by Web browsers and servers –Many Web sites use SSL for confidential data –Look for HTTPS or small lock in browser

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. HTTP over SSL –Uses TCP port 443 –Being replaced by Transport Layer Security (TLS)

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.18 Secure Web page

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Telnet –First networks were dumb terminals connected to more than one mainframe –Run commands as if sitting at the mainframe –Still exists as a way to connect remotely –Uses port 23 –Used to administer servers –Requires logon with user name and password, sent in cleartext

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.19 Dumb terminal (photo courtesy of DVQ)

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.20 Telnet client

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Telnet (cont.) –Has no form of encryption –Rarely used on the Internet –Replaced by Secure Shell (SSH), which has encryption –Telnet still used on trusted networks –Most routers support Telnet (often turned off for security)

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Telnet (cont.) –Most OSes have built-in Telnet clients and servers –Most servers allow access using Telnet –Third-party clients and servers have more features

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.21 freeSSHd

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Telnet (cont.) –Configuring a Telnet client Host name (name or IP address) User login name Password

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.22 Ubuntu Telnet

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.23 PuTTY

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Rlogin, RSH, and RCP –Old UNIX remote programs –Remote access and control of servers –No encryption –Do not use across the Internet Rlogin – interactive, automatic login, TCP port 513 RSH – noninteractive, sends a single command to server, use in scripts, TCP port 514 RCP – copy files, use in scripts, shares TCP port 514 with RSH

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. SSH and the death of Telnet –Has replaced Telnet –Encrypts data –Creates a terminal connection to remote host –TCP port 22

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Electronic mail ( ) –Major contributor to Internet revolution –Streamlined junk mail industry –Provides quick way for people to communicate –Sends messages and attachments –Normally offered by ISPs –Most clients have simple text editors

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Electronic mail ( ) (cont.) –Messages stored on server –Most clients notify you when new message arrives or download automatically –You manage messages (forward, delete, and so on) –Most clients delete downloaded messages – programs use application-level protocols

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Simple Mail Transfer Protocol (SMTP) –Used by mail servers to send –TCP port 25

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Post Office Protocol version 3 (POP3) –Clients use to retrieve from SMTP servers –TCP port 110 –Used by most clients

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Internet Message Access Protocol version 4 (IMAP4) –Alternative to POP3 –Retrieves from an server –TCP port 143 –Supports features not supported by POP3 Search messages by keyword Select messages before download Supports folders on IMAP4 servers

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Alternatives to SMTP, POP3, and IMAP4 –Web-based Access your from anywhere Free Handy for throw-away accounts Do not confuse with Web-based services provided by traditional SMTP/POP/IMAP accounts –Proprietary solutions

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.24 Gmail in action

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. server software – server market fragmented –Sendmail for UNIX/Linux is leader (SMTP only) No GUI interface Third-party interfaces (Webmin) Controls about 20 percent of servers Must use a POP3 or IMAP server program to support clients –Eudora’s Qpopper sends mail to POP3 clients

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.25 Webmin with the sendmail module

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. server software (cont.) –MS Exchange Server (both SMTP and POP3) –Mailboxes are holding areas on mail server for each user’s messages –Server arranges incoming messages –Server returns messages with unknown recipient –Difficult to manage

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.26 Microsoft Exchange Server

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. client software –Enables you to send, receive, and organize –Communicates with SMTP server to send –Communicates with IMAP or POP3 server to download messages –Hundreds of client programs Microsoft Windows Mail Microsoft Outlook Mozilla Thunderbird Qualcomm Eudora

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.27 Windows Mail

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.28 Entering server information in Windows Mail

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Configuring client software –Obtain server’s address and your mailbox user name and password –Enter POP3 or IMAP4 server’s IP address –Enter user name and password

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. File Transfer Protocol (FTP) –Original Internet file transfer protocol –Faster and more reliable than HTTP –Includes little security and data integrity –TCP ports 20 and 21 for data and control –Anonymous or secured sites –Some are both –Replaced by SCP and SFTP when security is necessary

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. FTP servers –Store files –Accept incoming connections –Verify user names and passwords –Transfer files –Easy to set up an FTP server –UNIX/Linux have built-in FTP servers –Third-party servers better

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. FTP clients –Access FTP servers many ways Web site Command line FTP client applications –Most Web browsers support FTP, but lack features –Dedicated FTP clients work best FileZilla client Mozilla FireFTP add-on to Firefox

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.29 FileZilla Server

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Passive vs. active FTP –Traditional FTP uses active process Clients send FTP request on TCP port 21 Server responds on an ephemeral destination port with TCP port 20 as the source port –Passive FTP server doesn’t use port 20 Works with NAT Client must support passive FTP

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.30 FTP in Web browser

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Figure 9.31 Author’s FireFTP hard at work

Mike Meyers’ CompTIA Network+ ® Guide to Managing and Troubleshooting Networks, Third Edition (Exam N ) © 2012 The McGraw-Hill Companies, Inc. All rights reserved. Internet Application Port Usage ApplicationTCP/UDPPortNotes HTTPTCP80The Web HTTPSTCP443The Web, securely TelnetTCP23Terminal emulation SSHTCP22Secure terminal emulation SMTPTCP25Sending POP3TCP110 delivery IMAP4TCP143 delivery FTPTCP20/21File transfer TFTPUDP69File transfer