switch-iot / hin2n

n2n support for mobiles
GNU General Public License v3.0
580 stars 125 forks source link

Protocol version 2 not working #50

Closed mrbluecoat closed 2 years ago

mrbluecoat commented 3 years ago

Your ReadMe says:

Hin2n now supports all v1/v2/v2s protocols

but I installed https://github.com/switch-iot/hin2n/releases/download/hin2n_v0.6.0-rc8_debug-7-gc2c9a59/hin2n_v0.6.0-rc8_debug-7-normal_allarch.apk on my Android 11 phone and the only protocol version that connected was v1.

v2 and v3 gave errors like:

07/Jun/2021 19:12:04 [supernode.c: 325] WARNING: Received packet with unknown protocol version (2): discarded
07/Jun/2021 19:12:07 [supernode.c: 317] WARNING: Received packet too short [len=34]
07/Jun/2021 19:12:08 [      n2n.c: 560] WARNING: Receive error [Success] or pkt too short [len=32]
07/Jun/2021 19:16:16 [supernode.c: 325] WARNING: Received packet with unknown protocol version (3): discarded

v2s gave a GUI error in the mobile app and once crashed it.

Supernode info:

Welcome to n2n v.1.3.2 for x86_64
Built on 04/17/18 07:52:27 AM
galaxyskyknight commented 3 years ago

most likely mtu issue.

lucktu commented 2 years ago

Please try the latest one