hysteria icon indicating copy to clipboard operation
hysteria copied to clipboard

[功能请求] 支持节点的域名伪装来实现免流

Open egwang186 opened this issue 2 years ago • 11 comments

功能描述

伪装域名

这个功能的必要性

实现免流域名伪装就能充分利用5g网络速率优势

当前可用的替代方案

No response

补充

No response

egwang186 avatar Jan 14 '23 15:01 egwang186

没接触过免流, 能提供一些文章或者资料介绍一下免流时运营商是如何识别「免流域名」的吗?

举个例子, 如果运营商是看 SNI 里的域名来判断是否免流的话, 那理论上只要关掉 obfs , 协议用 udp , 并且 server_name 设置成「免流域名」就行了。

然后需要注意的是 hysteria 使用基于 UDP 的 HTTP/3 , 所以像 v2ray 那样附加一个明文 HTTP 头改 Host 的操作是不行的。

haruue avatar Jan 14 '23 15:01 haruue

v2ray是改请求头的host来实现的,协议一般是tcp或ws,比如电信停机这样伪装就可以上网 Screenshot_20230115-115914

egwang186 avatar Jan 15 '23 04:01 egwang186

Originally Telecom will limit internet speed, after using the method, now it is quick 😮

Jan 15, 2023 12:01:45 egwang186 @.***>:

v2ray是改请求头的host来实现的,协议一般是tcp或ws,比如电信停机这样伪装就可以上网 [https://user-images.githubusercontent.com/113794160/212522277-7bcd364a-0f5e-4b47-a81b-ce1953fb4d45.png][Screenshot_20230115-115914][https://user-images.githubusercontent.com/113794160/212522277-7bcd364a-0f5e-4b47-a81b-ce1953fb4d45.png]

— Reply to this email directly, view it on GitHub[https://github.com/apernet/hysteria/issues/544#issuecomment-1383049590], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKGBAYG42O3MDRZP4BYNEB3WSNZCRANCNFSM6AAAAAAT3KJHTM]. You are receiving this because you are subscribed to this thread.[Tracking image][https://github.com/notifications/beacon/AKGBAYH2BMDFEC2JXIBJ573WSNZCRA5CNFSM6AAAAAAT3KJHTOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSSN6UXM.gif]

cross-hello avatar Jan 15 '23 05:01 cross-hello

Maybe the way redefine the package transmit priority. 

We will have a try next time when global optical fiber get congestion.

Jan 15, 2023 13:31:06 Nanyu @.***>:

Originally Telecom will limit internet speed, after using the method, now it is quick 😮

Jan 15, 2023 12:01:45 egwang186 @.***>:

v2ray是改请求头的host来实现的,协议一般是tcp或ws,比如电信停机这样伪装就可以上网 [https://user-images.githubusercontent.com/113794160/212522277-7bcd364a-0f5e-4b47-a81b-ce1953fb4d45.png][Screenshot_20230115-115914][https://user-images.githubusercontent.com/113794160/212522277-7bcd364a-0f5e-4b47-a81b-ce1953fb4d45.png]

— Reply to this email directly, view it on GitHub[https://github.com/apernet/hysteria/issues/544#issuecomment-1383049590], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKGBAYG42O3MDRZP4BYNEB3WSNZCRANCNFSM6AAAAAAT3KJHTM]. You are receiving this because you are subscribed to this thread.[Tracking image][https://github.com/notifications/beacon/AKGBAYH2BMDFEC2JXIBJ573WSNZCRA5CNFSM6AAAAAAT3KJHTOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSSN6UXM.gif]

— Reply to this email directly, view it on GitHub[https://github.com/apernet/hysteria/issues/544#issuecomment-1383061041], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKGBAYDDZKFKVMKQZPFK4JLWSODRVANCNFSM6AAAAAAT3KJHTM]. You are receiving this because you are subscribed to this thread.[Tracking image][https://github.com/notifications/beacon/AKGBAYA3WLDZKKM3DMLHMQLWSODRVA5CNFSM6AAAAAAT3KJHTOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSSN7LDC.gif]

cross-hello avatar Jan 15 '23 05:01 cross-hello

Speed comparison ratio between after and before maybe near three times.

Jan 15, 2023 13:54:54 Nanyu @.***>:

Maybe the way redefine the package transmit priority. 

We will have a try next time when global optical fiber get congestion.

Jan 15, 2023 13:31:06 Nanyu @.***>:

Originally Telecom will limit internet speed, after using the method, now it is quick 😮

Jan 15, 2023 12:01:45 egwang186 @.***>:

v2ray是改请求头的host来实现的,协议一般是tcp或ws,比如电信停机这样伪装就可以上网 [https://user-images.githubusercontent.com/113794160/212522277-7bcd364a-0f5e-4b47-a81b-ce1953fb4d45.png][Screenshot_20230115-115914][https://user-images.githubusercontent.com/113794160/212522277-7bcd364a-0f5e-4b47-a81b-ce1953fb4d45.png]

— Reply to this email directly, view it on GitHub[https://github.com/apernet/hysteria/issues/544#issuecomment-1383049590], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKGBAYG42O3MDRZP4BYNEB3WSNZCRANCNFSM6AAAAAAT3KJHTM]. You are receiving this because you are subscribed to this thread.[Tracking image][https://github.com/notifications/beacon/AKGBAYH2BMDFEC2JXIBJ573WSNZCRA5CNFSM6AAAAAAT3KJHTOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSSN6UXM.gif]

— Reply to this email directly, view it on GitHub[https://github.com/apernet/hysteria/issues/544#issuecomment-1383061041], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKGBAYDDZKFKVMKQZPFK4JLWSODRVANCNFSM6AAAAAAT3KJHTM]. You are receiving this because you are subscribed to this thread.[Tracking image][https://github.com/notifications/beacon/AKGBAYA3WLDZKKM3DMLHMQLWSODRVA5CNFSM6AAAAAAT3KJHTOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSSN7LDC.gif]

— Reply to this email directly, view it on GitHub[https://github.com/apernet/hysteria/issues/544#issuecomment-1383064175], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKGBAYAZOENNECRGPO43GCTWSOGK3ANCNFSM6AAAAAAT3KJHTM]. You are receiving this because you are subscribed to this thread.[Tracking image][https://github.com/notifications/beacon/AKGBAYH5QOJU7LDF32I3TXLWSOGK3A5CNFSM6AAAAAAT3KJHTOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSSN7RG6.gif]

cross-hello avatar Jan 15 '23 06:01 cross-hello

Hi, what about conclusion?

Jan 18, 2023 15:29:19 egwang186 @.***>:

Closed #544[https://github.com/apernet/hysteria/issues/544] as completed.

— Reply to this email directly, view it on GitHub[https://github.com/apernet/hysteria/issues/544#event-8252863688], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKGBAYDR2MKG7M4GWCNPNFLWS6LU5ANCNFSM6AAAAAAT3KJHTM]. You are receiving this because you commented.[Tracking image][https://github.com/notifications/beacon/AKGBAYFKZQAMDR3NMKE45DTWS6LU5A5CNFSM6AAAAAAT3KJHTOWGG33NNVSW45C7OR4XAZNWJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XKUY3PNVWWK3TUL5UWJTYAAAAAD27IWTEA.gif]

cross-hello avatar Jan 18 '23 07:01 cross-hello

hysteria can't change the http request host, continue to use vmess.

egwang186 avatar Jan 18 '23 07:01 egwang186

תודה אתה 0  ︶ 0

Jan 18, 2023 15:44:00 egwang186 @.***>:

hysteria can't change the http request host, continue to use vmess.

— Reply to this email directly, view it on GitHub[https://github.com/apernet/hysteria/issues/544#issuecomment-1386618911], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKGBAYEBSNRZ4FQZOTNRY5DWS6NL5ANCNFSM6AAAAAAT3KJHTM]. You are receiving this because you commented.[Tracking image][https://github.com/notifications/beacon/AKGBAYAS4E56X4IG7QMXOT3WS6NL5A5CNFSM6AAAAAAT3KJHTOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSSUYQB6.gif]

cross-hello avatar Jan 18 '23 08:01 cross-hello

udp2raw的faketcp方案是什么 用raw socket给udp协议直接加上伪造的tcp包头,把udp伪装成tcp;本质上还是udp,不需要经过系统的tcp协议栈 https://github.com/wangyu-/udp2raw/wiki/faketcp%E6%96%B9%E6%A1%88%E5%92%8C%E5%B8%B8%E8%A7%81%E7%9A%84udp-over-tcp%E3%80%81udp-in-tcp%E6%96%B9%E6%A1%88%E7%9A%84%E5%8C%BA%E5%88%AB

egwang186 avatar Feb 02 '23 02:02 egwang186

v2ray是改请求头的host来实现的,协议一般是tcp或ws,比如电信停机这样伪装就可以上网 Screenshot_20230115-115914

家宽可以吗?这个是直接在客户端设置,需要服务器端设置响应的url不?求一个详细的教程

getr00t avatar Aug 16 '23 11:08 getr00t

如果能支持免流就牛了

wyr121 avatar Nov 08 '23 08:11 wyr121