Chapter 7: Using Network Clients

Slides:



Advertisements
Similar presentations
Click to continue Network Protocols. Click to continue Networking Protocols A protocol defines the rules of procedures, which computers must obey when.
Advertisements

1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
Chapter 13: Troubleshooting network connectivity Unit objectives Identify TCP/IP troubleshooting tools Discuss the Telnet utility and its functions Discuss.
1 Linux Networking and Security Chapter 2. 2 Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux.
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.
Layer 7- Application Layer
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
CS 497C – Introduction to UNIX Lecture 35: - TCP/IP Networking Tools Chin-Chih Chang
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Click to edit Master subtitle style Chapter 17: Troubleshooting Tools Instructor:
Linux Operations and Administration
2440: 141 Web Site Administration Remote Web Server Access Tools Instructor: Enoch E. Damson.
1 Linux Networking and Security Chapter 3. 2 Configuring Client Services Configure DNS name resolution Configure dial-up network access using PPP Understand.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Forensic and Investigative Accounting
Computation for Physics 計算物理概論 Introduction to Linux.
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.
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,
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 19 PCs on the Internet.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols.
Forensic and Investigative Accounting Chapter 14 Internet Forensics Analysis: Profiling the Cybercriminal © 2005, CCH INCORPORATED 4025 W. Peterson Ave.
Linux+ Guide to Linux Certification Chapter Fifteen Linux Networking.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Internet Business Foundations © 2004 ProsoftTraining All rights reserved.
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.
1 Linux Networking and Security Chapter 5. 2 Configuring File Sharing Services Configure an FTP server for anonymous or regular users Set up NFS file.
1 Chapter 34 Internet Applications (Telnet, FTP).
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
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.
NETWORKING FUNDAMENTALS. Network+ Guide to Networks, 4e2.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
Protocols Monil Adhikari. Agenda Introduction Port Numbers Non Secure Protocols FTP HTTP Telnet POP3, SMTP Secure Protocols HTTPS.
Application of the Internet 1998/12/09 KEIO University, JAPAN Mikiyo
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Application Layer Functionality and Protocols Abdul Hadi Alaidi
Application Layer Functionality and Protocols
LESSON Networking Fundamentals Understand TCP/IP.
Click to edit Master subtitle style
Instructor Materials Chapter 5 Providing Network Services
Module 8: Networking Services
Networking for Home and Small Businesses – Chapter 6
Lecture 6: TCP/IP Networking By: Adal Alashban
Chapter 10: Application Layer
Networking for Home and Small Businesses – Chapter 6
CS222 Web Programming Course Outline
Topic 5: Communication and the Internet
Configuring Internet-related services
Lecture 6: TCP/IP Networking 1nd semester By: Adal ALashban.
Part of Chapter 1 Key Concepts Networks
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Prepared by: Adeel Ahmad
Module 12 Network Configuration
Applications Layer Functionality & Protocols
Networking for Home and Small Businesses – Chapter 6
Protocol Application TCP/IP Layer Model
Chapter 7 Network Applications
Chapter 2.1: Introduction to TCP/IP
Computer Networks Protocols
MESSAGE ACCESS AGENT: POP AND IMAP
Internet Applications (Telnet, FTP)
Presentation transcript:

Chapter 7: Using Network Clients The Complete Guide To Linux System Administration

Objectives Log in to a Linux system over a network connection Use command-line tools for common network services such as FTP and the Web Perform simple network diagnostic checks The Complete Guide to Linux System Administration

Remote Login Networking integrated into kernel Server Client Easily log in across network Perform virtually same work as if you were seated in front of Linux system Server Program running on Linux system listens for connections over network Serves up information to another program Client Program making requests The Complete Guide to Linux System Administration

Remote Login (continued) telnet Most basic remote login capability Set up by default on Red Hat Linux Completely unprotected r-utilities Designed to access remote computers in order to: Run programs Transfer files Perform other functions within trusted network environment Designed for convenience, not security The Complete Guide to Linux System Administration

Remote Login (continued) The Complete Guide to Linux System Administration

Remote Login (continued) Secure shell (SSH) Similar to telnet Uses encryption so that everything transmitted over network is unreadable to other users The Complete Guide to Linux System Administration

The Telnet Remote Login Utility Terminal emulation program Log in to remote computer as if you were sitting at computer’s keyboard Must have: telnet client telnet server Command telnet paris.mydomain.org $ telnet paris .mydomain.org The Complete Guide to Linux System Administration

The Telnet Remote Login Utility (continued) telnet session Login Execute commands on remote computer telnet designed for text only telnet program included with most versions of windows The Complete Guide to Linux System Administration

The Telnet Remote Login Utility (continued) The Complete Guide to Linux System Administration

The telnet Remote Login Utility (continued) To use telnet, need to know: Remote host For this field you can enter a host name such as paris. mydomain. org or an IP address such as 192.168.100.43. Port number By default, the Telnet port-23-is used. Type of terminal to emulate A standard choice is a VT100 terminal. Hundreds of terminal models exist, but VT100 is the mostwidely supported. User name and password The Complete Guide to Linux System Administration

Using r-Utilities for Remote Execution Not used much anymore Useful for working with multiple computers in trusted network Most effective when you can set up configuration file on multiple computers /etc/hosts.equiv file Contains hosts and user names permitted to access system using r-utilities The Complete Guide to Linux System Administration

Using r-Utilities for Remote Execution (continued) The Complete Guide to Linux System Administration

Using r-utilities for Remote Execution (continued) rhosts file List of hosts and user names that you want to permit to access account without password The Complete Guide to Linux System Administration

Secure Shell (SSH) Encrypted version of telnet Data encoded so that only authorized recipient can read it Can also act as complete networking toolkit SSH consists of: Client utility―ssh or slogin Server program―sshd Copy utility- sep which acts like rep, letting you copy files between any two computers on your network with full encryption. The Complete Guide to Linux System Administration

Secure Shell (SSH) (continued) SSH package also includes utilities Openssh Free version of SSH Installed by default on many Linux systems SSH can authenticate a connection using: r-utilities files User passwords Public key encryption (preferred method) The Complete Guide to Linux System Administration

Secure Shell (SSH) (continued) Public key encryption Method of encrypting information Establishes secure connection without sending key over network connection In a way that compromises security of connection The Complete Guide to Linux System Administration

Data Services Tools for accessing Other network-based data services Web E-mail Other network-based data services The Complete Guide to Linux System Administration

Accessing the Web Lynx Text-based browser Access Web sites when working on system that doesn’t have graphical interface Very fast Can be run from any command-line window To start Lynx, enter lynx on any command line, followed by a Web page address $ lynx www.yahoo.com or $ lynx http://www.yahoo.com Can download pages automatically using -dump option The Complete Guide to Linux System Administration

This causes Lynx to act as a command-line utility, printing the HTML code from the page to STDOUT instead of displaying it as a formatted page. For example, the following command saves the indicated page in the file nasa_home_page.htrnl: $ lynx ·dump http://www.nasa.gov/lb/home / index.html > nasa home page.html You can combine the -dump Lynx option with other commands such as grep to search the contents of Web pages or compare versions of a Web page to see if updates have been made. The Complete Guide to Linux System Administration

Accessing the Web (continued) The Complete Guide to Linux System Administration

Accessing the Web (continued) wget command Download Web pages Designed specifically for command-line downloading of Web pages Example: $ wget http: //www.gnu .org/philosophy/ philosophy.html Download recursively Download Web page you indicate Plus all pages referred to on page Plus all pages linked to from those pages The Complete Guide to Linux System Administration

Accessing the Web (continued) Mirroring Process of copying entire Web site or FTP site Mirror entire Web site wget -m -k -K -E http//www.gnu.org/ -o /tmp/gnu_site_log & kget graphical utility Enter one or more urls Have them downloaded to system in background while you do other work The Complete Guide to Linux System Administration

The - m option sets mirroring, which turns on recursive downloading; the -k and -K options convert links for use on your local system; the -E option forces an .html ending on downloaded pages, which is useful when the server is providing pages using .asp or another format less commonly used by Linux; the -0 option defines a log file where progress and any errors generated by wget are written. The Complete Guide to Linux System Administration

The Complete Guide to Linux System Administration

Accessing the Web (continued) The Complete Guide to Linux System Administration

Accessing the Web (continued) rsync utility Uses SSH to transport files between systems After first time files are copied, checks remote files to see what changes need to be updated consider this command, which updates the files on oslo # rsyne -avz stoekholm:does/ /data/does The Complete Guide to Linux System Administration

Accessing FTP Servers File transfer protocol (FTP) Standard method used to move files between computers on Internet Most publicly visible FTP servers support anonymous access Log in using user name anonymous or FTP Enter e-mail address as password Browser provides login information automatically in background The Complete Guide to Linux System Administration

Accessing FTP Servers (continued) The Complete Guide to Linux System Administration

Accessing FTP Servers (continued) User name and password access Administrator of FTP server must permit this type of connection Access url: ftp//nwells@FTPXmissionCom/pub Web browser starts connection and prompts for password Graphical FTP clients IglooFTP pro gFTP The Complete Guide to Linux System Administration

Accessing FTP Servers (continued) FTP utility Text-mode program Example: ftp ftp.ibiblio.org Prompt changes to ftp> Can transfer files in text mode or binary mode To download a file using ftp, use the get command; to upload a file , use the put command. ncftp program has a cleaner user interface and can be easier to use. Similar to ftp Preferred by administrators Package includes other utilities (ncftpget, ncftpput) The Complete Guide to Linux System Administration

Accessing FTP Servers (continued) The Complete Guide to Linux System Administration

Accessing FTP Servers (continued) The Complete Guide to Linux System Administration

Accessing FTP Servers (continued) The Complete Guide to Linux System Administration

Networking and Network Diagnostic Tools Solve basic networking problems Understand basics of networking Use a few standard utilities The Complete Guide to Linux System Administration

Introduction to Networking Internet protocol (IP) Core of networking in Linux Sends packets of information across network Ethernet Most widely used type of networking hardware Other network hardware Token ring Wireless 80211b The Complete Guide to Linux System Administration

Introduction to Networking (continued) IP address Allows computers to locate each other on network Each computer that uses IP must have address Represented as series of four numbers Each from 0 to 255 Network mask helps system route packets correctly between multiple networks The Complete Guide to Linux System Administration

Introduction to Networking (continued) Routing Moving packets of information efficiently through networks to reach correct destination Only necessary when you have multiple networks that need to communicate Gateway or router Computer attached to multiple networks used by computers on one network can reach other networks The Complete Guide to Linux System Administration

Introduction to Networking (continued) Transmission control protocol (TCP) provides stable connection between two computers Domain name Used by humans to address computers Must be converted to IP address Domain name system (DNS) converts domain names to IP addresses Dynamic host configuration protocol (DHCP) issues IP addresses on request The Complete Guide to Linux System Administration

Introduction to Networking (continued) ifconfig command View active networking interfaces Usually two network interfaces on Linux client Local interface Ethernet interface Can also use graphical tools to set up or alter network configuration The Complete Guide to Linux System Administration

Using ping for System Testing ping utility Sends diagnostic data packet to specified computer Verifies network connectivity Example: ping 198.60.22.20 Use series of ping commands to test networking ping to hosts further and further away from your system ping with a host name: $ ping ftp.xmission.com The Complete Guide to Linux System Administration

Using ping for System Testing Can also be used for malicious attacks “Flood ping” “Ping of death” Many computers on internet do not respond to ping to prevent attacks The Complete Guide to Linux System Administration

Using traceroute to Examine Routing Patterns traceroute command Carefully tracks each router between you and destination host Lets you see Exactly where packets are going How long each hop takes Tries a maximum of 30 hops to reach destination Can change this value The Complete Guide to Linux System Administration

Using traceroute to Examine Routing Patterns (continued) Useful tool for diagnosing problems such as Where packet stops Where packet slows down My traceroute program Graphical interface in Red Hat You can start this program by entering the command xmtr. After you provide the name of the host you want to reach The Complete Guide to Linux System Administration

Using traceroute to Examine Routing Patterns (continued) The Complete Guide to Linux System Administration

Summary Well-known methods of accessing Linux systems remotely telnet r-utilities SSH suite of utilities Command-line utilities provided in Linux to download Web pages and access FTP sites Networking in Linux is based on IP The Complete Guide to Linux System Administration

Summary (continued) Computers communicate across multiple networks by: Relying on routing information Sending data packets through routers or gateways DNS servers convert domain names to IP addresses ifconfig utility displays network interfaces in Linux The Complete Guide to Linux System Administration

Summary (continued) ping command sends test packet to network location to determine if location is reachable traceroute command shows computers that data packet traverses between your system and system you want to reach The Complete Guide to Linux System Administration