CSNB113: System Administration - 12 th Topic: Services Networking Services

Similar documents
DESCRIPTION OF TYPICAL NETWORK SERVICES ON SERVERS

NETWORK CONFIGURATION AND SERVICES. route add default gw /etc/init.d/apache restart

Firewall Simulation COMP620

Web Mechanisms. Draft: 2/23/13 6:54 PM 2013 Christopher Vickery

Introduction to TCP/IP

Services: Monitoring and Logging. 9/16/2018 IST346: Info Tech Management & Administration 1

INTERNET BASICS / FILE OPERATIONS Defining Information Technology

LECTURE WK4 NETWORKING

Much is done on the Server, it20:

Introduction. An introduction to the equipment and organization of the Internet Lab.

Networking Notes. Common Internet Speeds. Online Speed Test myspeed.visualware.com

File services. Domains, DNS DHCP. Server Scripts. Intranet and Extranets. Web services. HNC COMPUTING - Network Concepts

Semester 2, 2018: Lab 1

Additional laboratory

Guide to TCP/IP, Third Edition. Chapter 8: The Dynamic Host Configuration Protocol

CSC 101: Lab #1 Introduction and Setup Due Date: 5:00pm, day after your lab session

Application Layer: OSI and TCP/IP Models

Setup for LAUSDnet - Windows 95/98/ME Revised 8/1/2001

Lecture 05 Application Layer - I

Session 16 Windows 7 Professional DNS & Active Directory

1 BACKGROUND 2 SETTING UP THE HOME AND GOOGLE DRIVES THROUGH WEBSTORAGE. Using the Home Drive to Save from U5 Cloud Updated 8.31.

CS 716: Introduction to communication networks. Instructor: Sridhar Iyer Demo by: Swati Patil IIT Bombay

Savvius Insight Initial Configuration

TENVIS Technology Co., Ltd. User Manual. For H.264 Cameras. Version 1.0.0

CyberP3i Course Module Series

Control Centre Manual

In practice that means at least 200,000,000 computers on the net! How many people use the Internet? As of November 2000:

Sysinstall main menu. Move the cursor down by using the DOWN-ARROW and select Standard.

TRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016

COMS3200/7201 Computer Networks 1 (Version 1.0)

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. 2.1 Install and configure the DNS server. SEED Labs Local DNS Attack Lab 1

CS 716: Introduction to communication networks th class; 11 th Nov Instructor: Sridhar Iyer IIT Bombay

Deploy the ExtraHop Discover 3100, 6100, 8100, or 9100 Appliances

The trace is here:

Exercise Sheet 2. (Classifications of Operating Systems)

3. Is it correct to say that folders/directories directly contain data? Why or why not?

Applying for Jobs Online

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

IT341 Introduction to System Administration Project V Implementing DNS

CSCI 1100L: Topics in Computing Lab Lab 1: Introduction to the Lab! Part I

Incident Response Tools

FIT 100: Fluency with Information Technology

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine

NET INTEGRATION TECHNOLOGIES INC. NET INTEGRATOR MICRO. Quick Start Guide

UIP1869V User Interface Guide

EP2 EP8 User Manual. Copyright 2007,ATAL

Solar-Log WEB "Classic 2nd Edition" Manual Installation

APPLICATION LAYER APPLICATION LAYER : DNS, HTTP, , SMTP, Telnet, FTP, Security-PGP-SSH.

Hands-On Activity. Firewall Simulation. Simulated Network. Firewall Simulation 3/19/2010. On Friday, February 26, we will be meeting in

WorldSecure/Mail Getting Started Guide

WA2342 NoSQL Systems Comparison. Lab Server VM Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

and the Forensic Science CC Spring 2007 Prof. Nehru

TCP/IP Client Server Model

CSCI 466 Midterm Networks Fall 2013

Today. An Animated Introduction to Programming. Prerequisites. Computer programming

TELE 301 Lecture 8: Post

Network+ Guide to Networks, Seventh Edition Chapter 2, Solutions

G-router GSM/GPRS to RS-232 and Ethernet Gateway Release Notes

SOFTWARE UNIT 1 PART B C O M P U T E R T E C H N O L O G Y ( S 1 O B J A N D O B J 3-2)

Outlook Hints and Tips

Computer Network 1 1

ICS 351: Networking Protocols

Setting Up the Sensor

LAN Setup Reflection

Connectionless and Connection-Oriented Protocols OSI Layer 4 Common feature: Multiplexing Using. The Transmission Control Protocol (TCP)

Lab 3a Using the vi editor

CSE 333 Lecture server sockets

Fig (1) sending and receiving s

Control Panel software usage guide (v beta)

FreeBSD Installation ISOC/AfNOG

Infoblox Authenticated DHCP

Chapter 19. Domain Name System (DNS)

COS 116 The Computational Universe Laboratory 9: Internet Structure and Congestion Control

sensorprobe2 / sensorprobe8 User Manual

FreeBSD Installation

Networks Lab Pod Diagram

Using the Zoo Workstations

LAN Setup Reflection. Ask yourself some questions: o Does your VM have the correct IP? o Are you able to ping some locations, internal and external?

The Internet. Tim Capes. November 7, 2011

Client Server Concepts, DNS, Telnet, FTP

Domain Name System (DNS) Services

System Administration

7.1. Browsing CHAPTER. The Internet. Web Browser software

Once the VM is started, the VirtualBox OS Manager window can be closed. But our Ubuntu VM is still running.

ALLWORX NETWORKING TUTORIAL APRIL 2003

Operating Systems Linux 1-2 Measurements Background material

Last Class: RPCs and RMI. Today: Communication Issues

Deploy the ExtraHop Discover Appliance 1100

(Refer Slide Time: 1:26)

Jackson State University Department of Computer Science CSC 437/539 Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan

WEBppliance for Windows User Administrator's Help

SANOG VI IP Services Workshop: FreeBSD Install

Ethernet / TCP-IP - Training Suite Application level protocols

I m InTouch Installation Guide for the DSL/Cable environment with a Linksys router Models: BEFSRU31, BEFSR41 V.2, BEFSR11

Applied Networks & Security

UKNova s Getting Connectable Guide

Network Security. Introduction to networks. Radboud University, The Netherlands. Autumn 2015

WSC SEMIFINALS AT FINNSKILLS 2005

Building a virtual network Maher Saad, Chestnut Residence, University of Toronto

Transcription:

CSNB113: System Administration - 12 th Topic: Services Networking Services

Services - Servers The term server has two meanings: It is the hardware ('machine') that runs as a server. It also is a service that serves the user whenever the user requests a service from the service (server). A physical machine can easily run a larger number of servcies (servers), and servers can also run on a very normal desktop. Confused? Naturally! Again: A server is either a physical or a functional unit. It depends very much on the context what is meant by the term. Server and service has the same linguistic root as servant. And in principle there is a reason for this: A server (as a function) "sits there and waits". It waits for a client to connect to it, and demand its services. A webserver is running, and listening for an incoming request. Then it will reply to that request. Very practically: A webserver sits and waits for (example) you to connect by typing the address in the address bar of your web-browser. When you press 'Enter', your request is sent to the server, who sits there and waits to return a reply: the webpage that you have requested.

Network Services In the last lecture, we learned how to configure interfaces, with IP-address and netmask. This is not easy, though system administrators need to know. Also, when you type http://mail.google.com this is no valid IP-address (compare with the slides of last week ). So we use some servers (services) to help us to configure networking. We use a service to 'know' which IP-address goes with a Domain Name. Last not least: when you send your request to http://mail.google.com, this request needs to be routed to the webserver of Google, and of course the reply (content of the web site) needs to be send (routed) back to you. All these are done by servers: configuration: DHCP server looking up IP-address for a Domain: DNS directing and sending the packets: routers

DHCP This is about the most simple of the networking services: It stands for Dynamic Host Configuration Protocol When you bring in a new machine into the network, and this machine has no networking information set up (no IP-address), the client (== new machine) will 'ask around' on the local network, if there is a DHCP server, and request an IP-address from it. If there is a DHCP server, it will offer an IP-address, netmask, and a number of other information to that client. If the client is happy (it usually is), it will use this information, set its interface to the IP-address and netmask as offered, and accept the offer. Therefore DHCP has 3 basic phases: request offer accept The IP-addresses that the DHCP offers must be unique (cannot be had by any other machine), and are given out on a temporary basis. If the client needs / wants the address beyond the expiration time, it will ask for a renewal

DNS Type of Service This is a much more difficult protocol. There are millions of Domain Names in use world-wide, and it is rather complicated on how to retrieve the corresponding IP-address from a domain name. This task is done by so-called Domain Name Servers. How would a server in e.g. South America 'know' about the IP-address of http://www.uniten.edu.my? (It actually is 211.24.226.23) Can all DNS servers everywhere in the world know all domain names? And when you register your own domain, how can all (thousands if not millions) of DNS get to know of this new domain? This is therefore a hierarchical look-up process: http://metalab.uniten.edu.my And this is quite similar to what we saw in the last chapter about a postal address; only it is written on a single line here: my edu uniten metalab Therefore, 'my' is considered a top-level domain.

DNS - Recursion my edu uniten metalab Sticking to the example: The DNS in South-America doesn't need to 'know' about metalab. It is enough, if it 'knows' a DNS that is able to help it further. It is sufficient, in South-America, a 'know' the IPaddress that knows how to help. (That is, a server responsible for the domains within Malaysia.) This server in turn, still doesn't know about metalab, but it 'knows' about the lower domains: It might have the IP-addresses of all DNSes in Malaysian educational institutions and organisations ('edu'). And this list then contains the DNS in Uniten, where Uniten staff (ITMS) can add or delete a subdomain ('www', 'metalab', etc.)

Routing Routing is probably the most difficult task that services on the network need to do. There are jams on networks, sometimes one path is faster than another (depending on daytime or weekday), sometimes political occurrences interest more Internet users than usually, sometimes some routes are out of order. Therefore, on large networks, routing is done in a dynamical manner, and routes change continuously. Due to the difficulty of the topic, the details will be explained in future subjects. What remains to be noted, is that we run a number of servers (services) for all those tasks; we usually run them on servers; not on workstations or desktops. A DHCP server is usually run on a physical server, a DNS is usually run on a physical server, a machine that implements routing services is usually run on a server (and not on a desktop/workstation).

Services Of course, all this is done to offer services to the users of the network or the Internet. The most famous one is the World-Wide-Web (WWW). The client here is known as web browser, while the server is known as web server. But there are far more: FTP File Transfer Protocol SMTP Simple Mail Transfer Protocol SSH Secure Shell and many others This is a good moment, also under consideration of the lab exercises, to ponder about the differences between server and desktop/workstation/laptop. While the letter only make sense with a person sitting in front of the keyboard (and mouse), a server can run easily and usefully without any user directly operating it. Rather, a server is usually used (and operated) from afar. Servers also have usually a low-level, low-power graphics card; if at all.

Server Administration Tasks We discussed these earlier, in the beginning of this course. Now we are much better, have learned a lot more, and can understand much better, that a server is usually run unattended (at least physically unattended: there is often no administrator or operator next to it; nobody directly interfacing the physical machine; often, there is no monitor, at times no keyboard even, and seldom a mouse.) While a user of a desktop/workstation/tower/laptop can see what the machine actually does, the server has nobody to continuously see its (monitor) output. Therefore, the server logs are relevant, that note and store and save all relevant occurrences, incidents, possible attacks, usage, even free space on hard disks, logons, reboots, mail being sent and received (not the content, but recipient), success or failure of sending. It is relevant to have a record (also with respect to quality control) about all happenings on the server, generation and deletion of accounts, amount of data transferred, etc.

Times! With all of these logs, and services, we understand by now the relevance of the correct times and dates. While on a workstation this is not so relevant, we need to guarantee this for servers. And it is not astonishing that there are also time servers available, and we can run time services on our (physical) servers. There are some different time protocols: The early and simple Time Protocol, and the more advanced and more modern Network Time Protocol (NTP). These services offer a simple client to set the time correctly (Time Protocol); respectively to synchronise continuously with other time servers on the local network and / or the Internet (NTP). With the more simple Time Protocol, it is still possible to set the time to be correct within one second; which is mostly sufficient. With NTP it is possible to obtain a precision of the time within less than 50 microseconds off the correct time. (On Windows this is not guaranteed: http://support.microsoft.com/kb/939322)

Times - Examples $ rdate -p 172.16.0.4 Tue Feb 22 11:56:48 MYT 2011 $ rdate -p 172.16.0.2 rdate: Could not connect socket: Connection refused $ ntpdate -q 172.16.0.4 server 172.16.0.4, stratum 4, offset -10.981362, delay 0.04201 22 Feb 11:57:35 ntpdate[3041]: step time server 172.16.0.4 offset -10.981362 sec $ ntpdate 172.16.0.4 22 Feb 11:59:58 ntpdate[3042]: bind() fails: Permission denied $ sudo ntpdate 172.16.0.4 [sudo] password for user: 22 Feb 11:59:58 ntpdate[3054]: step time server 172.16.0.4 offset -10.985749 sec $ ntpdate -q 172.16.0.4 server 172.16.0.4, stratum 4, offset -0.000032, delay 0.04205 22 Feb 12:00:08 ntpdate[3056]: adjust time server 172.16.0.4 offset -0.000032 sec $

References http://technet.microsoft.com/en-us/library/bb727007.aspx http://beginlinux.com/blog/2010/03/making-sense-of-dns/ http://en.wikipedia.org/wiki/time_protocol http://en.wikipedia.org/wiki/network_time_protocol http://support.microsoft.com/kb/939322