-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Wireguard добавить поддержку идентификации по client_id #1052
Comments
Мало что понял. |
При обмене data[1..3] необязательно 0 у wireguard.
|
В оригинальном wireguard байты 1-3 значатся как reserved zero. Оригинальный WG шлет там только нули. Ослабил сигнатуру до той, что используется в шарке |
См последний релиз. Должно срабатывать |
Добрый день!
Прошу добавить идентификацию протокола Wireguard по client_id (byte[3]), поле reserved протокола.
Тест:
D:\TestWARP\sing-box.exe tools fetch https://1.1.1.1/cdn-cgi/trace -c test1.conf
{ "log": { "level": "debug", "timestamp": true }, "inbounds": [ { "type": "mixed", "tag": "mixed-in", "listen": "127.0.0.1", "listen_port": 1080, "set_system_proxy": false, "sniff": true, "domain_strategy": "prefer_ipv4" } ], "outbounds": [ { "type": "wireguard", "tag": "wireguard-out", "server": "162.159.193.2", "server_port": 2408, "system_interface": false, "gso": false, "interface_name": "wg0", "local_address": [ "172.16.0.2/32" ], "private_key": "GMH1vF0PQLyIMUgYGQM06NgnVviFLyw907eO310DC1o=", "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": [ 140, 40, 79 ], "workers": 1, "mtu": 1280, "network": "tcp" } ], "route": { "final": "wireguard-out", "auto_detect_interface": true } }
Для keenetic
interface Wireguard0 wireguard peer bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo= client-id send 9185359
Трафик:

The text was updated successfully, but these errors were encountered: