💻 computer science/🌐 network
-
HTTPS💻 computer science/🌐 network 2022. 10. 9. 19:34
HTTP HTTP (Hyper Text Transfer Protocol) 서버 / 클라이언트 모델을 따라 데이터를 주고 받기 위한 프로토콜 80번 포트 사용 HTTP 특징 애플리케이션 레벨의 프로토콜 TCP/IP 위에서 작동 Stateless 프로토콜 암호화가 되지 않은 평문 데이터를 전송하는 프로토콜 중요 내용을 주고 받으면 제 3자가 정보를 조회할 수 있다 HTTPS HTTPS (Hyper Text Transfer Protocol Secure) HTTP에 데이터 암호화가 추가된 프로토콜 443번 포트 사용 네트워크 상에서 중간에 제 3자가 정보를 볼 수 없도록 암호화를 지원 SSL / TLS SSL (Secure Socket Layer) 암호화 기반 인터넷 보안 프로토콜 전달되는 모든 데이터를 암호화..
-
TCP / UD💻 computer science/🌐 network 2022. 10. 9. 19:28
TCP (Transmission Control Protocol) 💡 인터넷 상에서 데이터를 메시지의 형태로 보내기 위해 IP와 함께 사용하는 프로토콜 특징 연결 지향형 프로토콜 (1:1 연결) 3-way handshaking 과정을 통해 연결 설정, 4-way handshaking 을 통해 해제 높은 신뢰성 보장 흐름 제어 및 혼잡 제어 전이중, 점대점 방식 3-way handshaking 클라이언트와 서버가 통신할 때 3단계의 과정을 거친다. SYN 단계 클라이언트 → 서버 ISN을 담아 SYN을 보낸다. SYN + ACK 단계 클라이언트의 SYN을 수신하고 서버의 ISN을 보낸다. 승인번호로 클라이언트의 ISN + 1을 보낸다. ACK 단계 클라이언트는 서버의 ISN + 1한 값을 승인번호로 담아 A..
-
OSI 7 계층 과 TCP/IP 계층💻 computer science/🌐 network 2022. 10. 9. 19:26
계층 모형 현재의 인터넷에서 컴퓨터들이 서로 정보를 주고 받는데 쓰이는 통신규약(프로토콜)의 모음 각 계층은 담당하는 위치마다 처리 역할을 구분해 진행한다. 서로 간의 간섭을 최소화해 사용의 편리성을 높인다. 특정 계층에서 이상이 생겨도 문제 있는 계층만 고쳐서 문제를 해결할 수 있다. 통신이 일어나는 과정을 단계별로 파악하기 용이하다. 다른 계층끼리는 데이터의 전달 과정을 구체적으로 알 필요가 없기 때문에, 데이터의 캡슐화와 은닉이 가능하다. OSI 7계층 네트워크에서 통신이 일어나는 과정을 7단계로 나눈 것. 네트워크 호환을 위해 OSI 7계층이라는 표준 네트워크 모델을 만들었다. 실제로는 OSI 7 Layer model 이 아닌 TCP/IP 가 표준 1. 물리 계층 전기적, 기계적, 기능적인 특성을..
-
HTTP💻 computer science/🌐 network 2022. 10. 9. 19:21
HTTP 🌐 HyperText Transfer Protocol 웹 서버와 웹 브라우저 사이에서 데이터를 주고 받기 위한 통신 규약 서버 / 클라이언트 모델을 따른다. Application layer로 TCP/IP 위에서 작동한다. 동작하는 환경 / 구조 HTTP는 기본적으로 Server - Clinet 환경에서 동작한다. 애플리케이션 영역에서 사용되는 프로토콜이고 주로 TCP을 사용하는 환경에서 사용된다. 클라이언트는 서버로 요청 Request를 전송하고 서버는 요청에 대한 응답 Response 를 함으로써 통신을 하게 된다. 특징 1. 클라이언트 서버 구조 클라이언트가 서버에 요청을 보내면 서버는 그에 대한 응답을 보내는 클라이언트 서버 구조 Request - Response 클라이언트는 서버에 요청을..