Module attributes

Source

Structs§

AttrType
AttrType is attribute type.
Attributes
Attributes is list of message attributes.
RawAttribute
RawAttribute is a Type-Length-Value (TLV) object that can be added to a STUN message. Attributes are divided into two types: comprehension-required and comprehension-optional. STUN agents can safely ignore comprehension-optional attributes they don’t understand, but cannot successfully process a message if it contains comprehension-required attributes that are not understood.

Constants§

ATTR_ALTERNATE_DOMAIN
ATTR_ALTERNATE_SERVER
ATTR_CACHE_TIMEOUT
ATTR_CHANGED_ADDRESS
ATTR_CHANGE_REQUEST
Attributes from RFC 5780 NAT Behavior Discovery
ATTR_CHANNEL_NUMBER
Attributes from RFC 5766 TURN.
ATTR_CONNECTION_ID
Attributes from RFC 6062 TURN Extensions for TCP Allocations.
ATTR_DATA
ATTR_DONT_FRAGMENT
ATTR_ERROR_CODE
ATTR_EVEN_PORT
ATTR_FINGERPRINT
ATTR_ICE_CONTROLLED
ATTR_ICE_CONTROLLING
ATTR_LIFETIME
ATTR_MAPPED_ADDRESS
Attributes from comprehension-required range (0x0000-0x7FFF).
ATTR_MESSAGE_INTEGRITY
ATTR_MESSAGE_INTEGRITY_SHA256
Attributes from RFC 8489 STUN.
ATTR_NETWORK_COST
ATTR_NONCE
ATTR_ORIGIN
Attributes from An Origin Attribute for the STUN Protocol.
ATTR_OTHER_ADDRESS
ATTR_PADDING
ATTR_PASSWORD_ALGORITHM
ATTR_PASSWORD_ALGORITHMS
ATTR_PRIORITY
Attributes from RFC 5245 ICE.
ATTR_REALM
ATTR_REQUESTED_ADDRESS_FAMILY
Attributes from RFC 6156 TURN IPv6.
ATTR_REQUESTED_TRANSPORT
ATTR_RESERVATION_TOKEN
ATTR_RESPONSE_ORIGIN
ATTR_RESPONSE_PORT
ATTR_SOFTWARE
Attributes from comprehension-optional range (0x8000-0xFFFF).
ATTR_SOURCE_ADDRESS
Attributes from RFC 3489, removed by RFC 5389, but still used by RFC5389-implementing software like Vovida.org, reTURNServer, etc.
ATTR_UNKNOWN_ATTRIBUTES
ATTR_USERNAME
ATTR_USER_HASH
ATTR_USE_CANDIDATE
ATTR_XORMAPPED_ADDRESS
ATTR_XOR_PEER_ADDRESS
ATTR_XOR_RELAYED_ADDRESS