processone / stun

STUN and TURN library for Erlang / Elixir
http://www.ejabberd.im
Apache License 2.0
244 stars 61 forks source link

Update stun_codec.erl #19

Closed RobertSwirsky closed 4 years ago

RobertSwirsky commented 6 years ago

According to RFC https://tools.ietf.org/html/rfc5389#page-36 the fingerprint must be xor'd with 16#5354554e (ascii "STUN"). This is consistent with what I see on the wire from browsers and other STUN clients.

p1bot commented 5 years ago

Hi @VirtualAirwaves, many thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.