Skip to content

STUN test issue - seems like there exist no STUN server anywhere that complies with this standard #57

Open
@ravenrani

Description

Even the previously given server, now don't work.
Here is an example to verbose run -

I am particularly interested in 2 points -
[a] Is there any configuration that answers the 2nd test, of change port + change ip ? It seems like there is no configuration in which this doesn't return NULL.
[b] Is there any STUN server out there, that is compliant with the standard ? Or is there a need for a change in the code.
Why is the answer for the 2nd Test1 invalid ?

go-stun.exe -v 3 -s "stun.qwq.pink:3478"
2025/01/16 08:52:25 Do Test1
2025/01/16 08:52:25 Send To: 221.10.101.100:3478
2025/01/16 08:52:25
00000000 00 01 00 18 21 12 a4 42 0b 47 a3 0d 59 94 ac 5c |....!..B.G..Y..|
00000010 d9 bf 4b a0 80 22 00 0c 53 74 75 6e 43 6c 69 65 |..K.."..StunClie|
00000020 6e 74 00 00 80 28 00 04 61 92 7d 65 |nt...(..a.}e|
2025/01/16 08:52:28
00000000 01 01 00 54 21 12 a4 42 0b 47 a3 0d 59 94 ac 5c |...T!..B.G..Y..|
00000010 d9 bf 4b a0 00 20 00 08 00 01 2c 89 6c 9b ee d7 |..K.. ....,.l...|
00000020 00 01 00 08 00 01 0d 9b 4d 89 4a 95 80 2b 00 08 |........M.J..+..|
00000030 00 01 0d 96 dd 0a 65 64 80 2c 00 08 00 01 0d 97 |......ed.,......|
00000040 dd 0a 65 67 80 22 00 18 43 6f 74 75 72 6e 2d 34 |..eg."..Coturn-4|
00000050 2e 35 2e 32 20 27 64 61 6e 20 45 69 64 65 72 27 |.5.2 'dan Eider'|
00000060 80 28 00 04 2f cb 54 88 |.(../.T.|
2025/01/16 08:52:28 Received: {packet nil: false, local: %%%, remote: 221.10.101.100:3478, changed: , other: 221.10.101.103:3479, identical: false}
2025/01/16 08:52:28 Do Test2
2025/01/16 08:52:28 Send To: 221.10.101.100:3478
2025/01/16 08:52:28
00000000 00 01 00 20 21 12 a4 42 c2 4c f9 52 fa 02 f7 8c |... !..B.L.R....|
00000010 46 ad 6d 8f 80 22 00 0c 53 74 75 6e 43 6c 69 65 |F.m.."..StunClie|
00000020 6e 74 00 00 00 03 00 04 00 00 00 06 80 28 00 04 |nt...........(..|
00000030 e3 de 8a a2 |....|
2025/01/16 08:52:37 Received: Nil
2025/01/16 08:52:37 Do Test1
2025/01/16 08:52:37 Send To: 221.10.101.103:3479
2025/01/16 08:52:37
00000000 00 01 00 18 21 12 a4 42 85 f5 12 2f c4 60 b2 68 |....!..B.../.`.h|
00000010 05 2d de 35 80 22 00 0c 53 74 75 6e 43 6c 69 65 |.-.5."..StunClie|
00000020 6e 74 00 00 80 28 00 04 a6 7d dd 7d |nt...(...}.}|
2025/01/16 08:52:47 Received: Nil
NAT Type: Unexpected response from the STUN server
External IP Family: 1
External IP: &&&&&
External Port: 3483

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions