본문 바로가기

Computer Network70

[네트워크] 2.2 웹과 HTTP ▶ 웹 어플리케이션 온디멘드 방식: 사용자는 그들이 원할 때 원하는 것을 수신한다. 2.2.1 HTTP 개요 ▶ HTTP : 웹의 애플리케이션 계층 프로토콜 ▷ 웹 페이지(Web page) 웹 페이지(Web page)는 객체들로 구성된다. 객체(object): 단순히 단일 URL로 지정할 수 있는 하나의 파일(HTML 파일, JPEG 이미지, 자바스크립트, CCS 스타일 시트 파일, 비디오 클립 등) --> 대부분의 웹 페이지는 기본 HTML 파일과 여러 참조 객체로 구성된다. ▶ HTTP 웹 브라우저(Web browser): HTTP의 클라이언트 측을 구현한다. 웹 서버(Web server): HTTP의 서버 측을 구현한다. ▶ TCP: HTTP의 전송 프로토콜 HTTP 클라이언트: TCP 연결 시작 .. 2023. 9. 29.
[컴퓨터네트워크] 2. Application Layer (4) 2.4 DNS (Domain Name System) DNS (Domain Name System) DNS: services, structure ▶ DNS services : Hostname --> IP address Host aliasing: alias names --> canonical --> IP address Mail server aliasing Load distribution: 여러 서버 간에 트래픽을 분산하여, 하나의 서버로 모든 요청이 집중되지 않도록 하는 것 --> hostname에 server를 할당한다. Q. Why not centralize DNS? A. 확장성이 없다! -- single point of failuire, traffic volume, distant centralized d.. 2023. 9. 29.
[컴퓨터네트워크] 2. Application Layer (3) HTTP ▶ Non-persistent - Single TCP - Parallel TCP Problem 1) 하나를 위한 HTTP (낭비) ▶ Persistent Solution 1) Persistent HTTP: 한 번의 connection으로 multiple object를 전송한다. Problem 2) HOL(Head of Line blocking) 큰 object --> 다른 object delay HTTP/2 Solution 2) object를 frame으로 나눈다. --> HOL 방지 + Server: push unrequested object to client. + Priority 설정 --> FCFS (x), 다른 순서 가능 Problem 3) 하나의 object packet이 drop되면,.. 2023. 9. 29.
[컴퓨터네트워크] 2. Application Layer (2) Non-persistent HTTP TCP connection opened. One object sent over TCP connection. TCP connection closed. (Server closed) --> Downloading multiple objects requires multiple connections. (TCP 열고, 받아오고, 닫고 ...) 1) Pipelining (x) : 하나의 object를 받기 위해 매번 2RTT가 필요하다. --> 2RTT + 4*(2RTT) 2) Pipelining (o) : Parallel TCP connection --> 4RTT Persistent HTTP TCP connection opened. Multiple objects can be sen.. 2023. 9. 28.
[네트워크] 2.1 네트워크 애플리케이션의 원리 Chapter 2: 애플리케이션 계층 네트워크 애플리케이션의 원리 웹과 HTTP 인터넷 전자메일 DNS: 인터넷의 디렉터리 서비스 P2P 파일 분배 비디오 스트리밍과 콘텐츠 분배 네트워크 소켓 프로그래밍: 네트워크 애플리케이션 생성 2.1 네트워크 애플리케이션의 원리 네트워크 애플리케이션: 다른 위치의 종단 시스템에서 동작하고, 네트워크를 통해 서로 통신하는 프로그램을 작성하는 것 --> 애플리케이션 소프트웨어는 종단 시스템에만 존재한다. 2.1.1 네트워크 애플리케이션 구조 (Network application architecture) : 애플리케이션이 다양한 종단 시스템에서 어떻게 조직되어야 하는가? ▶ 클라이언트-서버 구조(client-server architecture) 서버(server): 항상.. 2023. 9. 17.
[네트워크] 1.6 공격받는 네트워크 나쁜 친구들은 인터넷을 통해 여러분의 호스트에 멀웨어(악성코드)를 침투시킬 수 있다. ▶ 멀웨어(malware) : 일단 멀웨어(malware)가 여러분의 장치에 영향을 미치면, 멀웨어(malware)는 여러가지 사악한 일을 할 수 있다. 즉, 파일 삭제, 주민번호, 비밀번호, 키스트로크(keystroke: 키보드 누르는 것) 등의 사적인 정보를 모으는 스파이웨어를 설치하여 이러한 정보를 모아 나쁜 친구들에게 다시 보낸다(by. 인터넷). ▶ 봇넷(botnet) 면역되지 않은 호스트는 수천의 비슷한 면역되지 않은 장치들로 구성된 네트워크(봇넷; botnet)에 등록될 수 있다. 나쁜 친구들은 목표로 하는 호스트에 대해 스팸 전자메일 분배, 분산 DoS(Denial of Service) 공격을 위해 이 봇.. 2023. 9. 17.
[컴퓨터네트워크] 2. Application Layer (1) 2-1. Principles of network applications Sockets Process sends/receives messages to/from its socket. Socket = door between application layer & transport layer. 1) sending process shoves message out door. 2) sending process relies on transport infrastructure on other side of door to deliver message to socket at receiving process. 3) two sockets involved: one on each side. Addressing processes ▷ To.. 2023. 9. 16.
[컴퓨터네트워크] 1. Introduction (4) 1-7. Basic network security Network Security ▶ Field of network security: How bad guys attack computer networks. How we can defend networks against attacks. How to design architectures that are immune to attaks. ▷ Internet was not orignally desinged with much security in mind... Bad guys: put malware into hosts via Internet ▶ malware (악성 소프트웨어) --> malware can get in host from: virus: self-repli.. 2023. 9. 16.
[컴퓨터네트워크] 1. Introduction (3) Performance: Loss, Delay, Throughput How do loss and delay occur? Packets queue in router buffers --> Packets queue, wait for their turn. Four sources of packet delay ▶ d-pro: nodal processing check bit errors at L2, L3 determine output link ▶ d-queue: queueing delay : time waiting at output link for transmission. depends on congestion level of router. ▶ d-trans: transmission delay = L/R L: pack.. 2023. 9. 11.