NekoBoxForAndroid icon indicating copy to clipboard operation
NekoBoxForAndroid copied to clipboard

BUG: Reserved field in WireGuard

Open GflowerG opened this issue 8 months ago • 2 comments

Describe the problem

Expected behavior: When the reserved field is used, the first packet sent must contain the specified bytes encoded in base64.

Actual behavior: The first packet sent contains an array of three zeros instead of the value of the reserved field.

Additional information

This is about the actual first packet that is sent to the server. But some packets are formed correctly. For example, I noticed that the proxy chain can make the behavior expected and correct (WireGuard server receives the necessary bytes instead of zeros).

Also important to note: An analogue called "Husi" correctly handles the reserved field.

GflowerG avatar Apr 08 '25 00:04 GflowerG

Try https://github.com/MatsuriDayo/NekoBoxForAndroid/releases/tag/beta

arm64v8a avatar Apr 10 '25 12:04 arm64v8a

Yes, it works.

GflowerG avatar Apr 10 '25 14:04 GflowerG