gost icon indicating copy to clipboard operation
gost copied to clipboard

探测防御无效

Open netheril96 opened this issue 2 years ago • 1 comments

先运行

gost -L="http2://admin:123456@:4433?probe_resist=code:400&knock=www.example.com"

然后

curl -k https://localhost:4433 -v

结果是

> GET / HTTP/2
> Host: localhost:4433
> user-agent: curl/7.68.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
< HTTP/2 407
< proxy-authenticate: Basic realm="gost"
< content-length: 0
< date: Mon, 06 Jun 2022 15:55:23 GMT
<
* Connection #0 to host localhost left intact

还是返回了407

我用的版本是gost 3.0.0-beta.2 (go1.18.1 linux/amd64)

netheril96 avatar Jun 06 '22 15:06 netheril96

probe_resist参数在v3中改为了probeResistance,后面会兼容v2的参数。

ginuerzh avatar Jul 27 '22 04:07 ginuerzh

beta3中已兼容v2版本参数名。

ginuerzh avatar Aug 18 '22 10:08 ginuerzh