February 17, 2019

Internet access blocking and SNI



Internet access blocking and SNI

SNI principle

what is SNI

explain of SNI

example of SNI

example 2 of SNI

hand shake and SNI

what is ESNI

blocking with SNI



The web page where you can check if your browser is using ESNI.
브라우저에서 ESNI를 사용중인지 여부를 확인할 수 있는 웹 페이지.




Internet access blocking and SNI.
접속 차단과 SNI.




SNI(Server Name Indication)
An area that records which website will communicate using an encrypted connection method(HTTPS, TLS).
웹 사이트에 암호화 연결(HTTPS, TLS) 시 누구와 통신할 것인지 기록하는 영역.




If one IP address has multiple URL addresses, the client must specify where to connect via SNI.
하나의 IP 주소가 여러 URL 주소를 보유하는 경우, 클라이언트는 어디로 접속하는지 SNI를 통해 명시해야한다.




For example, A1.tistory.com and A2.tistory.com are the same domain as tistory.com, but A1 and A2 are different hosts and can be distinguished by SNI.

예를 들어, A1.tistory.com과 A2.tistory.com은 tistory.com 이라는 도메인으로 동일하지만, A1과 A2는 서로 다른 호스트이며 SNI로 구분 가능하다.




If the domain is 477, Dorimcheon-ro, Guro-gu, the host is Hong Kil-dong who lives at this address.
도메인이 구로구 도림천로 477 이라면, 호스트는 이 주소에 거주하는 홍길동이다.




The SNI is also transmitted during the initial connection (handshake). The plaintext SNI is transmitted up to TLS 1.2, and ciphertext SNI is available in TLS 1.3.

SNI는 최초 연결(핸드쉐이크) 과정에서도 전송되는데, TLS 1.2 까지는 평문으로 전송되고 TLS 1.3 부터는 암호문으로 전송될 수 있다(과도기).




This encrypted SNI is called ESNI.
E: Encrypted. 암호화된.
이렇게 암호화된 SNI는 ESNI라고 부른다.




Currently, the South Korean government cooperates with ISP and blocks illegal sites through SNI inspection.
현재 한국 정부는 통신사(ISP)와 공조 하, SNI 열람을 통하여 불법사이트를 차단하고 있다.