Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.

Slides:



Advertisements
Similar presentations
Why to learn OSI reference Model? The answer is too simple that It tells us that how communication takes place between computers on internet but how??
Advertisements

Open System Interconnection
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Lecture 4a: Communication and Networking CSCI102 - Introduction to Information Technology B ITCS905 - Fundamentals of Information Technology.
Socket Programming.
Chapter 4 : TCP/IP and OSI Business Data Communications, 4e.
OSI Model MIS 416 – Module II Spring 2002 Networking and Computer Security.
Semester Copyright USM EEE442 Computer Networks Introduction: Protocols En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
EE 4272Spring, 2003 Protocols & Architecture A Protocol Architecture is the layered structure of hardware & software that supports the exchange of data.
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
OSI Reference Model An overview. Standards and the internet International Organization for Standardization ISO 70’s.
Introduction© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science.
COMPUTER NETWORKS.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Chapter 5: TCP/IP and OSI Business Data Communications, 6e.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Process-to-Process Delivery:
Advanced Programming Rabie A. Ramadan.
OSI AND TCP/IP MODELS. Outline Introduction OSI Model TCP/IP Model IPv4 vs. IPv6.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
OSI Model Honolulu Community College Cisco Academy Training Center
Chapter 2 Network Models
Presentation on Osi & TCP/IP MODEL
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing.
Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary
© McLean HIGHER COMPUTER NETWORKING Lesson 1 – Protocols and OSI What is a network protocol Description of the OSI model.
1 Review - OSI Model n OSI Reference Model u represents the communications process. u 7 layers: physical, data link, network, transport, session, presentation.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Advanced Higher Computing Computer Networking Topic 1: Network Protocols and Standards.
1 Version 3.0 Module 11 TCP Application and Transport.
TCP/IP Transport and Application (Topic 6)
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
Ch 1. Computer Networks and the Internet Myungchul Kim
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
NSH0503/01/11041 Overview Computer Network Technology By Diyurman Gea.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Network Protocols n ISO OSI 7-layer model n TCP/IP suite l TCP/UDP l IP l Ethernet/Token Ring l ICMP.
OSI Model Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
TCP/IP Protocol Architecture CSE 3213 – Fall
1 Bus topology network. 2 Data is sent to all computers, but only the destination computer accepts 02608c
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
OSI means Open System Interconnect model. OSI means Open System Interconnect model. Developed by the International Organization for Standardization in.
Protocol Suits and Layering Models OSI Model Dr. Abraham UTPA.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
The OSI Model A Framework for Communications David A. Abarca July 19, 2005.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
CCNA Course-2 AITSO CCNA Course -2 Class-2 ( )
Advanced Higher Computing Computer Networking Topic 1: Network Protocols and Standards.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
11/18/2016Basic TCP/IP Networking 1 TCP/IP Overview Basic Networking Concepts.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Networking Using the OSI Model.
OSI LAYERS.
Lecture (2).
OSI Protocol Stack Given the post man exemple.
Layered Task, OSI Model, TCP/IP Model
Process-to-Process Delivery:
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Network Architecture Models
The TCP/IP Model.
Open System Interconnect (OSI).
Presentation transcript:

Computer Security Workshops Networking 101

Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet To understand the levels of activity in network traffic flow To understand the basis for vulnerabilities To understand the basis for security tools and how they work

Base Principle – Packet Switching Messages broken up into packets Packets are sent onto network, routed to destination, reassembled Advantages (compared to circuit switching; e.g. traditional phones) Better sharing of bandwidth Better sharing of bandwidth Greater overall efficiency Greater overall efficiency Allows more users, no greater delay Allows more users, no greater delay

Protocol Layering Protocol: a convention for communication between two agents (aka handshaking) Motivation: Separation of functionality Layers take care of particular task re: information Layers take care of particular task re: information Offer services to next layer in protocol stack Offer services to next layer in protocol stack Advantage: modularity Advantage: modularity Disadvantages: possible overlap, redundancy of functionality Disadvantages: possible overlap, redundancy of functionality

Protocol Data Units Layer sends message by building a protocol data unit (PDU) Take data from layer N, add additional information to meet needs of layer N-1 Take data from layer N, add additional information to meet needs of layer N-1 PDU handed to next lower layer Lower layer now has responsibility for message

Internet Protocol Stack Seven layers in Open Systems Interconnect (OSI) model 7) Application 7) Application 6) Presentation 6) Presentation 5) Session 5) Session 4) Transport 4) Transport 3) Network 3) Network 2) Data Link 2) Data Link 1) Physical 1) Physical

General Layer Functions Segmentation / Reassembly Breaking large message into standard size chunks Breaking large message into standard size chunks Error Control How to detect or correct errors How to detect or correct errors Flow Control Avoid overwhelming slower systems Avoid overwhelming slower systemsMultiplexing Sharing of lower-level connections Sharing of lower-level connections Connection setup How to establish a virtual communication path How to establish a virtual communication path

Application Layer (7) Function: High-Level Application Systems and End-User Processes Implemented in: Software PDU: Message Examples ftp, http, smtp, telnet, … ftp, http, smtp, telnet, …

Presentation Layer (6) Function: Provides independence from differences in data representation by formatting and encrypting data Implemented in Software Examples: ASCII encoding, NFS, FTP file path/name translation

Session Layer (5) Function: Establishes, manages and terminates connections between applications Implemented in software Examples: SSL, DNS, RPC

Transport Layer (4) Function/Service: Transport message from one system to another system Implemented in: Software PDU: Segment Two methods TCP (connection-oriented protocol) TCP (connection-oriented protocol) UDP (connectionless protocol) UDP (connectionless protocol)

TCP TCP=Transmission Control Protocol Connection-Oriented Service Guaranteed Delivery of Message Guaranteed Delivery of Message Flow Control Flow Control Breaks message into shorter segments Advantage: More Control Examples http, ftp, smtp, telnet http, ftp, smtp, telnet

UDP UDP = User Datagram Protocol Connection-less Service No Guaranteed Delivery of Message No Guaranteed Delivery of Message No Flow Control / Handshaking No Flow Control / Handshaking No Overhead For Connection No Overhead For Connection Continuous Data Stream Advantage: Faster Disadvantage: Possible loss of information Examples Video, Voice (e.g. phone) Video, Voice (e.g. phone)

Network Layer (3) Function/Service: Routing segments from host to host, through intermediate systems Network Layer receives segment and destination address from Transport Layer Network Layer receives segment and destination address from Transport Layer Implemented in: Hardware & Software PDU: Datagram Two major parts IP Protocol: structure of datagram, how end systems (and routers) act on this information IP Protocol: structure of datagram, how end systems (and routers) act on this information Routing protocols: for transfer from source host to destination host Routing protocols: for transfer from source host to destination host Examples: IP, IPX

Data Link Layer (2) Function/Service: Move a datagram from one node to the next in the route Implemented in: Hardware PDU: Frame Examples: Ethernet, Token Ring, FDDI, Gigabit Ethernet Ethernet, Token Ring, FDDI, Gigabit Ethernet

Physical Layer (1) Function/Service: Routing physical bits from one network node to adjacent node Implemented in: Hardware PDU: Bits Examples Optical fiber, Twisted pair wire, Coaxial cable Optical fiber, Twisted pair wire, Coaxial cable Voltage levels, signaling Voltage levels, signaling

Types of Hardware/Software Systems End Systems / Hosts Implement all layers Implement all layers Routers/Packet Switches Implement layers 1-3 Implement layers 1-3 Can implement IP protocol Can implement IP protocolBridges Implement layer 1-2 Implement layer 1-2Hubs Implement layer 1 only Implement layer 1 only Essentially repeaters Essentially repeatersFirewalls Packet filtering (operate at layer 3) Packet filtering (operate at layer 3) Application gateways (operate at layer 7) Application gateways (operate at layer 7)

Internet Addressing 32-bit quantity that uniquely identifies internet host Displayed Split into two parts: network and host E.g network ( /24) has 256 possible hosts (last part 0-255) E.g network ( /24) has 256 possible hosts (last part 0-255) Certain network segments reserved Can be used for isolated private networks Can be used for isolated private networks – ; – ; – – ; – ; –

Port Certain system process must respond to a particular application protocol (e.g. ftp, smtp) Port is the “address” for application communication on system E.g. Port 80 for http E.g. Port 80 for http E.g. Port 25 for smtp E.g. Port 25 for smtp E.g. Port 1521 for Oracle connections E.g. Port 1521 for Oracle connections Port List: numbers numbershttp:// numbers

Socket Interface between the application layer and the transport layer Acts as an API between application and network Programmer only controls application side, plus a few transport level details Transport protocol (TCP or UDP) Transport protocol (TCP or UDP) A few transport parameters (e.g. maximum buffer size) A few transport parameters (e.g. maximum buffer size)

Additional Information Internet Engineering Task Force (IETF) Primary documents: RFCs Primary documents: RFCs IP: RFC 791 TCP: RFC 793 UDP: RFC 768 Internet Addressing: RFC 900 OSI Model and Information Security eed_GSEC.pdf eed_GSEC.pdf eed_GSEC.pdf eed_GSEC.pdf