Method and device for converting HTTP to HTTPS bidirectional transparent proxy
The invention relates to the technical field of network communication, and provides a method and a device for converting HTTP to HTTPS bidirectional transparent proxy. The method comprises the following steps: after receiving a first HTTP request sent by a client, the proxy system analyzes an HTTP h...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to the technical field of network communication, and provides a method and a device for converting HTTP to HTTPS bidirectional transparent proxy. The method comprises the following steps: after receiving a first HTTP request sent by a client, the proxy system analyzes an HTTP header field, obtains a Host field, compares the Host field with a built-in domain name list, and stores the content of the first HTTP request, wherein the domain name list is used for storing domain names meeting HTTPS redirection; and if the Host domain name is found to be in the list, the proxy system initiates a TCP handshake with a target port of 443 to the server so as to establish a first TCP channel and carry out a TLS negotiation process through the first TCP channel. According to the invention, an error-free and simple bidirectional transparent proxy is realized.
本发明涉及网络通信技术领域,提供了一种HTTP转HTTPS双向透明代理的方法和装置。方法包括代理系统收到客户端发送的第一HTTP请求后,解析HTTP头部字段,获得Host字段,把Host字段和内置的域名列表进行比对,并存储所述第一HTTP请求内容;其中,所述域名列表,用于存储满足HTTPS |
---|