Session Traversal Utilities for NAT (STUN) Parameters
2008-08-01
2023-12-18
STUN Methods
Dan Wing
0x000-0x07F
IETF Review
0x080-0x0FF
Expert Review
0x000
Reserved
0x001
Binding
0x002
Reserved; was SharedSecret prior to
0x003
Allocate
0x004
Refresh
0x005
Unassigned
0x006
Send
0x007
Data
0x008
CreatePermission
0x009
ChannelBind
0x00A
Connect
0x00B
ConnectionBind
0x00C
ConnectionAttempt
0x00D-0x07F
Unassigned
0x080
GOOG-PING
0x081-0x0FF
Unassigned
0x100-0xFFF
Reserved (For DTLS-SRTP multiplexing collision avoidance, see
.
Cannot be made available for assignment without IETF Review.)
STUN Attributes
Dan Wing
0x0000-0x3FFF
IETF Review
comprehension-required range
0x4000-0x7FFF
Expert Review
comprehension-required range
0x8000-0xBFFF
IETF Review
comprehension-optional range
0xC000-0xFFFF
Expert Review
comprehension-optional range
0x0000
Reserved
0x0001
MAPPED-ADDRESS
0x0002
Reserved; was RESPONSE-ADDRESS prior to
0x0003
Reserved; was CHANGE-REQUEST prior to
0x0004
Reserved; was SOURCE-ADDRESS prior to
0x0005
Reserved; was CHANGED-ADDRESS prior to
0x0006
USERNAME
0x0007
Reserved; was PASSWORD prior to
0x0008
MESSAGE-INTEGRITY
0x0009
ERROR-CODE
0x000A
UNKNOWN-ATTRIBUTES
0x000B
Reserved; was REFLECTED-FROM prior to
0x000C
CHANNEL-NUMBER
0x000D
LIFETIME
0x000E-0x000F
Reserved
0x0010
Reserved (was BANDWIDTH)
0x0011
Reserved
0x0012
XOR-PEER-ADDRESS
0x0013
DATA
0x0014
REALM
0x0015
NONCE
0x0016
XOR-RELAYED-ADDRESS
0x0017
REQUESTED-ADDRESS-FAMILY
0x0018
EVEN-PORT
0x0019
REQUESTED-TRANSPORT
0x001A
DONT-FRAGMENT
0x001B
ACCESS-TOKEN
0x001C
MESSAGE-INTEGRITY-SHA256
0x001D
PASSWORD-ALGORITHM
0x001E
USERHASH
0x001F-0x001F
Unassigned
0x0020
XOR-MAPPED-ADDRESS
0x0021
Reserved (was TIMER-VAL)
0x0022
RESERVATION-TOKEN
0x0023
Reserved
0x0024
PRIORITY
0x0025
USE-CANDIDATE
0x0026
PADDING
0x0027
RESPONSE-PORT
0x0028-0x0029
Reserved
0x002A
CONNECTION-ID
0x002B-0x002F
Unassigned
0x0030
Reserved
0x0031-0x7FFF
Unassigned
0x8000
ADDITIONAL-ADDRESS-FAMILY
0x8001
ADDRESS-ERROR-CODE
0x8002
PASSWORD-ALGORITHMS
0x8003
ALTERNATE-DOMAIN
0x8004
ICMP
0x8005-0x8021
Unassigned
0x8022
SOFTWARE
0x8023
ALTERNATE-SERVER
0x8024
Reserved
0x8025
TRANSACTION_TRANSMIT_COUNTER
0x8026
Reserved
0x8027
CACHE-TIMEOUT
0x8028
FINGERPRINT
0x8029
ICE-CONTROLLED
0x802A
ICE-CONTROLLING
0x802B
RESPONSE-ORIGIN
0x802C
OTHER-ADDRESS
0x802D
ECN-CHECK STUN
0x802E
THIRD-PARTY-AUTHORIZATION
0x802F
Unassigned
0x8030
MOBILITY-TICKET
0x8031-0xBFFF
Unassigned
0xC000
CISCO-STUN-FLOWDATA
0xC001
ENF-FLOW-DESCRIPTION
0xC002
ENF-NETWORK-STATUS
0xC003
CISCO-WEBEX-FLOW-INFO
0xC004-0xC055
Unassigned
0xC056
CITRIX-TRANSACTION-ID
0xC057
GOOG-NETWORK-INFO
0xC058
GOOG-LAST-ICE-CHECK-RECEIVED
0xC059
GOOG-MISC-INFO
0xC05A
GOOG-OBSOLETE-1
0xC05B
GOOG-CONNECTION-ID
0xC05C
GOOG-DELTA
0xC05D
GOOG-DELTA-ACK
0xC05E
GOOG-DELTA-SYNC-REQ
0xC05F
Unassigned
0xC060
GOOG-MESSAGE-INTEGRITY-32
0xC061-0xFFFF
Unassigned
STUN Error Codes
IETF Review
0-299
Reserved
300
Try Alternate
301-399
Unassigned
400
Bad Request
401
Unauthenticated
402
Unassigned
403
Forbidden
404
Unassigned
405
Mobility Forbidden
406-419
Unassigned
420
Unknown Attribute
421-436
Unassigned
437
Allocation Mismatch
438
Stale Nonce
439
Unassigned
440
Address Family not Supported
441
Wrong Credentials
442
Unsupported Transport Protocol
443
Peer Address Family Mismatch
444-445
Unassigned
446
Connection Already Exists
447
Connection Timeout or Failure
448-485
Unassigned
486
Allocation Quota Reached
487
Role Conflict
488-499
Unassigned
500
Server Error
501-507
Unassigned
508
Insufficient Capacity
509-699
Unassigned
Traversal Using Relays around NAT (TURN) Channel Numbers
Standards Action
Values 0x0000 through 0x3FFF are not available for use, since they conflict
with the STUN header.
0x0000-0x3FFF
Reserved
0x4000-0x4FFF
Used by TURN
0x5000-0xFFFF
Reserved (For DTLS-SRTP multiplexing collision avoidance, see
)
STUN Security Features
Standards Action
0
Password algorithms
1
Username anonymity
2-23
Unassigned
STUN Password Algorithms
0x0000-0x7FFF
IETF Review
0x8000-0xFFFF
Expert Review
Dan Wing
0x0000
Reserved
0x0001
MD5
0x0002
SHA-256
0x0003-0xFFFF
Unassigned
Dan Wing
mailto:danwing&gmail.com
2022-10-14
Jonas Oreland
mailto:jonaso&google.com
2023-03-20
Pål-Erik Martinsen
mailto:palmarti&cisco.com
2016-04-20
Paras Babbar
mailto:Paras.Babbar&cloud.com
2023-12-18
Stefano Giorcelli
mailto:stefanog&cisco.com
2023-12-07