Closed lxlenovostar closed 6 years ago
which line does it fail on?
u32bits crc32len = (u32bits)((((const u08bits*)fingerprint)-buf)-4);
int ret = (*fingerprint == nswap32(ns_crc32(buf,crc32len) ^ ((u32bits)0x5354554e)));
if(ret && fingerprint_present)
*fingerprint_present = ret;
I didn't mange to see any incompatibility in this code with the go-stun code. https://github.com/ccding/go-stun/blob/master/stun/attribute.go#L39
Can you do more test to see why the fingerprints can't be verified?
I would appreciate it if you could submit a pull request to fix this.
go-stun send binding request to coturn-4.5.0.6 will fail.
The binding request packet will drop for fingerprint. I have debug it in coturn. packet check will fail in stun_is_command_message_full_check_str.
I can use chrome send binding request to coturn-4.5.0.6 。So, this is bug in go-stun? Thank you for reply.