Компютърни Мрежи и GNU/Linux Боян Кроснов Мариян Маринов SiteGround LLC.

Slides:



Advertisements
Similar presentations
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 2 TCP/IP Fundamentals.
Advertisements

CSE551: Computer Network Review r Network Layers r TCP/UDP r IP.
Configuring a Router with RIP Basic Configuration and Show Commands.
Networks I Transmission Control Protocol Instituto Tecnológico y de Estudios Superiores de Monterrey Campus Estado de México Prof. MSc. Ivan A. Escobar.
Instructor: Sam Nanavaty TCP/IP protocol. Instructor: Sam Nanavaty Version – Allows for the evolution of the protocol IHL (Internet header length) – Length.
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.
Institute of Technology Sligo - Dept of Computing Semester 2 Chapter 9 The TCP/IP Protocol Suite Paul Flynn.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
Transport Layer TCP and UDP IS250 Spring 2010
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 12 Transmission Control Protocol (TCP) Basics.
CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX.
4: Network Layer4a-1 IP datagram format ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier Internet checksum time.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Internet Control Message Protocol ICMP author -- J. Postel, September The purpose.
Packet Analysis with Wireshark
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer ICMP and fragmentation.
Semester 2v2 Chapter 9:  TCP/IP.
Chapter 5 Transport layer With special emphasis on Transmission Control Protocol (TCP)
TCP/IP Illustracted Vol1. 제목 : IP Routing ( 수 ) 한 민 규
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Chapter 4 TCP/IP Overview Connecting People To Information.
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 5 Internet Protocol (IP) Basics.
Компютърни Мрежи и GNU/Linux Боян Кроснов Мариян Маринов SiteGround LLC.
Protocols 1 Objective: Build a protocol foundation for Client / Server programming in an Internet Environment Note: RFCs available from
© Introduction to Internetworking – Alex Kooijman 04/04/2000 Introduction to internetworking Part Two.
TCP/IP Protocols Contains Five Layers
Hands-On Ethical Hacking and Network Defense Chapter 2 TCP/IP Concepts Review.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
1 UDP : User Datagram Protocol Computer Network System Sirak Kaewjamnong.
Covert Tunnels in your Network Next Generation Network Warfare David Gordon Gabriel Girard Universite de Sherbrooke.
Washington WASHINGTON UNIVERSITY IN ST LOUIS Fred Kuhns Applied Research Laboratory NSP packet Formats.
NAT Network Address Translation. Reading CNI – pp Port Mapping LA – pp NAT.
Cisco Networking Academy S2 C9 TCP/IP. ensure communication across any set of interconnected networks Stack components such as protocols to support file.
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.
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
Telecommunications Essentials John R. Durrett July 5, 2005.
Hands-On Ethical Hacking and Network Defense
VersionIHLTotal Length FlagsIdentificationFragment Offset Time To Live Destination Address OptionsPadding Protocol = 6 Type of Service IP Header TCP Destination.
IP Configuration API. Network Interface Configuration NAIfconfigIsDeviceUp() NAIfconfigDeviceFromInterface() NAIfconfigBringDeviceUp() NAIfconfigSetIpAddress()
Net7: IP 協定 Internet Protocol 授課教師:雲林科技大學 張慶龍 老師.
A network primer (or refresher) Henning Schulzrinne (based on slides from Kurose/Ross)
Hands-On Ethical Hacking and Network Defense Chapter 2 TCP/IP Concepts Review Last modified
UDP : User Datagram Protocol 백 일 우
WIRESHARK Lab#3. Computer Network Monitoring  Port Scanning  Keystroke Monitoring  Packet sniffers  takes advantage of “friendly” nature of net. 
TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,
IP Fragmentation. Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side,
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
Packet Switch Network Server client IP Ether IPTCPData.
Wireshark Tutorial KUAS, Hao-Xiang Gu.
Introduction To TCP/IP Networking Mr. Zeeshan Ali, Asst. Professor
Introduction to TCP/IP networking
Multiplexing.
Internet Protocol Formats
TCP/IP Internetworking
© 2003, Cisco Systems, Inc. All rights reserved.
TCP/IP Internetworking
Overview of Networking & Operating System Security
TCP/IP Explored Jun Wu 11/11/2018.
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
IP : Internet Protocol Surasak Sanguanpong
What does this packet do?
Internet Protocol Formats
46 to 1500 bytes TYPE CODE CHECKSUM IDENTIFIER SEQUENCE NUMBER OPTIONAL DATA ICMP Echo message.
Fred Kuhns Applied Research Laboratory
Review of Internet Protocols Network Layer
32 bit destination IP address
Presentation transcript:

Компютърни Мрежи и GNU/Linux Боян Кроснов Мариян Маринов SiteGround LLC

2 План Преговор TCP и UDP протоколи Команди – TCP и UDP Демонстрация – IP Routing – VLAN configuration – Troubleshooting – Firewalls

3 Мрежова топология

4 Протоколи

5 Linux kernel networking stack

6 План Преговор TCP и UDP протоколи Команди – TCP и UDP Демонстрация – IP Routing – VLAN configuration – Troubleshooting – Firewalls

7 TCP и UDP протоколи UDP (RFC768 J.Postel 1980) – ports TCP (RFC793 J.Postel 1981) – Session establishment and tear-down – Window procedure – Slow start and congestion avoidance (VJ 1988) Berkeley sockets (1983) – The Berkeley socket API forms the de facto standard abstraction for network sockets. Most other programing languages use an interface similar to the C API. // wikipedia

8 Протоколи

UDP header | Source | Destination | | Port | Port | | | | | Length | Checksum | | | data octets User Datagram Header Format

TCP Header | Source Port | Destination Port | | Sequence Number | | Acknowledgment Number | | Data | |U|A|P|R|S|F| | | Offset| Reserved |R|C|S|S|Y|I| Window | | | |G|K|H|T|N|N| | | Checksum | Urgent Pointer | | Options | Padding | | data | TCP Header Format

11 Linux kernel networking stack

12 TCP state machine

IP Fragmentation, MTU, PMTU-D MTU concept TCP MSS DF (Don't Fragment) bit ICMP type 3 (destination unreachable), code 4 (fragmentation needed but don't-fragment bit set)

14 TCP и UDP команди telnet tcptraceroute netstat, fuser, lsof hping nc - TCP/IP swiss army knife /etc/services /etc/inetd.conf /etc/xinetd.d/ /etc/xinetd.conf

15 Q&A

16 План Преговор TCP и UDP протоколи Команди – TCP и UDP Демонстрация – IP Routing – VLAN configuration – Troubleshooting – Firewalls

17 Демонстрация

18 Demo setup

19

Linux router ip route zebra/quagga XORP, Vyatta

VLANs and Trunking IEEE 802.1q / 802.1p Принцип на работа Native(untagged) VLAN Tag Protocol ID (TPID) 0x bit priority, 12-bit VLAN ID

VLAN configuration vconfig /proc/net/vlan/config

iptables Netfilter firewall connection tracking filter, nat, mangle, raw