VersionIHLTotal Length FlagsIdentificationFragment Offset Time To Live Destination Address OptionsPadding Protocol = 6 Type of Service IP Header TCP Destination.

Slides:



Advertisements
Similar presentations
TCP/IP Christopher Zacky. lolwut Decimal Numbers.
Advertisements

Introduction to TCP A first look at the sockets API for ‘connection-oriented’ client/server application programs.
CISCO NETWORKING ACADEMY Chabot College ELEC Transport Layer (4)
NAT/Firewall Traversal April NAT revisited – “port-translating NAT”
STUN Date: Speaker: Hui-Hsiung Chung 1.
Introduction1-1 message segment datagram frame source application transport network link physical HtHt HnHn HlHl M HtHt HnHn M HtHt M M destination application.
TCP & UDP - Protocol Details Yen-Cheng Chen
1 A TCAM-based solution for integrated traffic anomaly detection and policy filtering Author: Zhijun Wang, Hao Che, Jiannong Cao, Jingshan Wang Publisher:
Instructor: Sam Nanavaty TCP/IP protocol. Instructor: Sam Nanavaty Version – Allows for the evolution of the protocol IHL (Internet header length) – Length.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2010 Shreekanth Mandayam ECE Department Rowan University.
CP476 Internet Computing TCP/IP 1 Lecture 3. TCP / IP Objective: A in-step look at TCP/IP Purposes and operations Header specifications Implementations.
TCP segment structure source port # dest port # 32 bits application data (variable length) sequence number acknowledgement number rcvr window size ptr.
 TCP connection set up  TCP connection tear-down  Sliding window revisited  Triggering transmission.
Explicit Congestion Notification (ECN) Qi (Gill) Wang CISC 856 – TCP/IP, Fall 2012 Special thanks to: Dr. Paul Amer Guna Ranjan, Justin.
CS470, A.SelcukIPsec Attacks1 IPsec ESP Attacks CS 470 Introduction to Applied Cryptography Instructor: Ali Aydin Selcuk.
Transport Layer Problems with network layer services
1 Some TCP/IP Basics....NFSDNSTELNETSMTPFTP UDPTCP IP and ICMP Ethernet, serial line,..etc. Application Layer Transport Layer Network Layer Low-level &
Lecture 23: Network Primer 7/15/2003 CSCE 590 Summer 2003.
1 Application TCPUDP IPICMPARPRARP Physical network Application TCP/IP Protocol Suite.
Source Port # (16)Destination Port # (16) Sequence Number (32 bits) Acknowledgement Number (32 bits) Hdr Len (4) Flags (6)Window Size (16) Options (if.
CSCE 515: Computer Network Programming TCP Details Wenyuan Xu Department of Computer Science and Engineering.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2009 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2007 Shreekanth Mandayam ECE Department Rowan University.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Chapter 3 Review of Protocols And Packet Formats
S. Mandayam/ CompArch2/ECE Dept./Rowan University Computer Architecture II: Specialized /02 Fall 2001 John L. Schmalzel Shreekanth Mandayam.
1 ELEN 602 Lecture 15 More on IP TCP. 2 byte stream Send buffer segments Receive buffer byte stream Application ACKs Transmitter Receiver TCP Streams.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 12 Transmission Control Protocol (TCP) Basics.
Transmission Control Protocol Internet Protocol TCP/IP.
DoS Seminar 2 Spoofed Packet Attacks and Detection Methods By Prateek Arora.
STUN - Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translators (NATs) speaker : Wenping Zhang date :
Chabot College ELEC Ports (Layer 4).
Chapter 4 TCP/IP Overview Connecting People To Information.
Network Architecture Models: Layered Communications School of Business Eastern Illinois University © Abdou Illia, Fall 2015 (September 14, 2015 ) Encapsulation.
TCP/IP Basic Theory V1.2. Course Outline OSI model and layer function TCP/IP protocol suite Transfer Control Protocol Internet Protocol Address Resolution.
TCP Transport Control Protocol Information management 2 Groep T Leuven – Information department 2/35 Introduction UDP provides the connection.
© Introduction to Internetworking – Alex Kooijman 04/04/2000 Introduction to internetworking Part Two.
Transmission Control Protocol
Network Programming Eddie Aronovich mail:
Agenda 1. QUIZ 2. HOMEWORK 3. LOCAL AREA NETWORKS 4. WIDE AREA NETWORKS.
NAT Network Address Translation. Reading CNI – pp Port Mapping LA – pp NAT.
Internet Protocol Formats. IP (V4) Packet byte 0 byte1 byte 2 byte 3 data... – up to 65 K including heading info Version IHL Serv. Type Total Length Identifcation.
Chapter 13 The Internet.
Decoding an IP Header (1)
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
1 Figure 3-13: Internet Protocol (IP) IP Addresses and Security  IP address spoofing: Sending a message with a false IP address (Figure 3-17)  Gives.
1 CSE 5346 Spring Network Simulator Project.
Explicit Congestion Notification (ECN) RFC 3168
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
1 IP Checksum Calculation At the sender r Set the value of the checksum field to 0. r Divide the header into 16-bit words m Add all segments using one’s.
WIRESHARK Lab#3. Computer Network Monitoring  Port Scanning  Keystroke Monitoring  Packet sniffers  takes advantage of “friendly” nature of net. 
Two Transport Protocols Available Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Provides unreliable transfer Requires minimal – Overhead.
Network Address Translation Sandip Chakraborty. NAT PRIVATE NETWORK PUBLIC NETWORK IP: Port: 8123 IP: Port: 9678 IP:
Multiplexing.
Transport Layer.
Internet Protocol Formats
Process-to-Process Delivery
© 2003, Cisco Systems, Inc. All rights reserved.
Wireshark Lab#3.
Standards Basics.
Overview of Networking & Operating System Security
What does this packet do?
Internet Protocol Formats
46 to 1500 bytes TYPE CODE CHECKSUM IDENTIFIER SEQUENCE NUMBER OPTIONAL DATA ICMP Echo message.
Request for Comments(RFC) 3489
Network Architecture Models: Layered Communications
32 bit destination IP address
Transport Layer 9/22/2019.
Electrical Communications Systems ECE
Presentation transcript:

VersionIHLTotal Length FlagsIdentificationFragment Offset Time To Live Destination Address OptionsPadding Protocol = 6 Type of Service IP Header TCP Destination Port Source Port Sequence Number Acknowledgment Number Data offset FINFIN SYNSYN URGURG ACKACK PSHPSH RSTRST Window Urgent Pointer Padding TCP Options TCP Data Source Address Header Checksum Checksum

Public Internet Private Address Realm Source: Dest: Source: Dest:  Host A Host B

Host A Host B Site NAT Public Internet Private Address Realm Source: /2000 Dest: /80 Source: Dest: /2000 Source: /3000 Dest: /80 Source: /80 Dest: /3000 NAT Binding / / 3000

Host A Host B Site NAT Host C Port 90 Port 91 Port 90 Port 91 Port 2001 NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask A / 2001  Z / B / 90 Initial Packet Source: A / 2001 Dest: B / 90 Source: Z / 3001 Dest: B / 90   

Host A Host B Site NAT Host C Port 90 Port 91 Port 90 Port 91 Port 2001 NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask A / 2001  Z / * / * Initial Packet Source: A / 2001 Dest: B / 90 Source: Z / 3001 Dest: B / 90

Host A Host B Site NAT Host C Port 90 Port 91 Port 90 Port 91 Port 2001 NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask A / 2001  Z / B / * Initial Packet Source: A / 2001 Dest: B / 90 Source: Z / 3001 Dest: B / 90  

Host A Host B Site NAT Host C Port 90 Port 91 Port 90 Port 91 Port 2001 NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask A / 2001  Z / * / 90 Initial Packet Source: A / 2001 Dest: B / 90 Source: Z / 3001 Dest: B / 90  

STUN Request To alternate Addr and Port Response? Same IP Addr and Port? Same IP Addr and Port? STUN Request Change Response: Addr and Port STUN Request Change Response:Port UDP Blocked N Y Response? UDP FirewallOpen Internet STUN Request Change Response: Addr and Port Response? Full Cone NAT Response? Symmetric NAT Restricted NAT Port Restricted NAT N N N N N Y Y Y Y Y

Host A Site NAT Host D NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask A / 2001  Z / * / 2001 D / 2002  Y / * / 2002 Port 2001 Port 2002 Source: D / 2002 Dest: Z / 3001 Source: Y / 3002 Dest: Z / 3001 Source: Y / 3002 Dest: A / 2001

Port y1 Host X Host Y1 Site NAT Host Y2 Port x NAT Binding NAT Filter Local Addr / Port  External Addr / Port -- External Access Mask X / x  X1 / x1 -- ? / ? Source: X / x Dest: Y1 / y1 Source: X1 / x1 Dest: Y1 / y1 Port y2 Source: Y2 / y2 Dest: X / x Source: Y2/ y2 Dest: X1 / x1 Use Address and Port X1 / x1