Session Traversal Utilities for NAT (STUN) Parameters

Created

  • 2008-08-01

Last Updated

  • 2024-12-20

Available Formats


STUN Methods

Expert(s)

  • Dan Wing

Reference

  • RFC 8489: Session Traversal Utilities for NAT (STUN)
  • RFC 7983: Multiplexing Scheme Updates for Secure Real-time Transport Protocol (SRTP) Extension for Datagram Transport Layer Security (DTLS)

Available Formats

RangeRegistration Procedures
0x000-0x07FIETF Review
0x080-0x0FFExpert Review
ValueNameReference
0x000ReservedRFC 8489
0x001BindingRFC 8489
0x002Reserved; was SharedSecret prior to RFC 5389RFC 8489
0x003AllocateRFC 8656
0x004RefreshRFC 8656
0x005Unassigned
0x006SendRFC 8656
0x007DataRFC 8656
0x008CreatePermissionRFC 8656
0x009ChannelBindRFC 8656
0x00AConnectRFC 6062
0x00BConnectionBindRFC 6062
0x00CConnectionAttemptRFC 6062
0x00D-0x07FUnassigned
0x080GOOG-PINGJonas Oreland
0x081-0x0FFUnassigned
0x100-0xFFFReserved (For DTLS-SRTP multiplexing collision avoidance, see RFC 7983. Cannot be made available for assignment without IETF Review.)RFC 7983

STUN Attributes

Expert(s)

  • Dan Wing

Reference

  • RFC 8489: Session Traversal Utilities for NAT (STUN)

Available Formats

RangeRegistration ProceduresNote
0x0000-0x3FFFIETF Reviewcomprehension-required range
0x4000-0x7FFFExpert Reviewcomprehension-required range
0x8000-0xBFFFIETF Reviewcomprehension-optional range
0xC000-0xFFFFExpert Reviewcomprehension-optional range
ValueNameReference
0x0000ReservedRFC 8489
0x0001MAPPED-ADDRESSRFC 8489
0x0002Reserved; was RESPONSE-ADDRESS prior to RFC 5389RFC 8489
0x0003Reserved; was CHANGE-REQUEST prior to RFC 5389RFC 5780; RFC Errata 4233
0x0004Reserved; was SOURCE-ADDRESS prior to RFC 5389RFC 8489
0x0005Reserved; was CHANGED-ADDRESS prior to RFC 5389RFC 8489
0x0006USERNAMERFC 8489
0x0007Reserved; was PASSWORD prior to RFC 5389RFC 8489
0x0008MESSAGE-INTEGRITYRFC 8489
0x0009ERROR-CODERFC 8489
0x000AUNKNOWN-ATTRIBUTESRFC 8489
0x000BReserved; was REFLECTED-FROM prior to RFC 5389RFC 8489
0x000CCHANNEL-NUMBERRFC 8656
0x000DLIFETIMERFC 8656
0x000E-0x000FReserved
0x0010Reserved (was BANDWIDTH)RFC 8656
0x0011Reserved
0x0012XOR-PEER-ADDRESSRFC 8656
0x0013DATARFC 8656
0x0014REALMRFC 8489
0x0015NONCERFC 8489
0x0016XOR-RELAYED-ADDRESSRFC 8656
0x0017REQUESTED-ADDRESS-FAMILYRFC 8656
0x0018EVEN-PORTRFC 8656
0x0019REQUESTED-TRANSPORTRFC 8656
0x001ADONT-FRAGMENTRFC 8656
0x001BACCESS-TOKENRFC 7635
0x001CMESSAGE-INTEGRITY-SHA256RFC 8489
0x001DPASSWORD-ALGORITHMRFC 8489
0x001EUSERHASHRFC 8489
0x001F-0x001FUnassigned
0x0020XOR-MAPPED-ADDRESSRFC 8489
0x0021Reserved (was TIMER-VAL)RFC 8656
0x0022RESERVATION-TOKENRFC 8656
0x0023Reserved
0x0024PRIORITYRFC 8445
0x0025USE-CANDIDATERFC 8445
0x0026PADDINGRFC 5780
0x0027RESPONSE-PORTRFC 5780
0x0028-0x0029Reserved
0x002ACONNECTION-IDRFC 6062
0x002B-0x002FUnassigned
0x0030Reserved
0x0031-0x7FFFUnassigned
0x8000ADDITIONAL-ADDRESS-FAMILYRFC 8656
0x8001ADDRESS-ERROR-CODERFC 8656
0x8002PASSWORD-ALGORITHMSRFC 8489
0x8003ALTERNATE-DOMAINRFC 8489
0x8004ICMPRFC 8656
0x8005-0x8021Unassigned
0x8022SOFTWARERFC 8489
0x8023ALTERNATE-SERVERRFC 8489
0x8024Reserved
0x8025TRANSACTION_TRANSMIT_COUNTERRFC 7982
0x8026Reserved
0x8027CACHE-TIMEOUTRFC 5780
0x8028FINGERPRINTRFC 8489
0x8029ICE-CONTROLLEDRFC 8445
0x802AICE-CONTROLLINGRFC 8445
0x802BRESPONSE-ORIGINRFC 5780
0x802COTHER-ADDRESSRFC 5780
0x802DECN-CHECK STUNRFC 6679
0x802ETHIRD-PARTY-AUTHORIZATIONRFC 7635
0x802FUnassigned
0x8030MOBILITY-TICKETRFC 8016
0x8031-0xBFFFUnassigned
0xC000CISCO-STUN-FLOWDATADan Wing
0xC001ENF-FLOW-DESCRIPTIONPål-Erik Martinsen
0xC002ENF-NETWORK-STATUSPål-Erik Martinsen
0xC003CISCO-WEBEX-FLOW-INFOStefano Giorcelli
0xC004-0xC055Unassigned
0xC056CITRIX-TRANSACTION-IDParas Babbar
0xC057GOOG-NETWORK-INFOJonas Oreland
0xC058GOOG-LAST-ICE-CHECK-RECEIVEDJonas Oreland
0xC059GOOG-MISC-INFOJonas Oreland
0xC05AGOOG-OBSOLETE-1Jonas Oreland
0xC05BGOOG-CONNECTION-IDJonas Oreland
0xC05CGOOG-DELTAJonas Oreland
0xC05DGOOG-DELTA-ACKJonas Oreland
0xC05EGOOG-DELTA-SYNC-REQJonas Oreland
0xC05FUnassigned
0xC060GOOG-MESSAGE-INTEGRITY-32Jonas Oreland
0xC061-0xC06FUnassigned
0xC070META-DTLS-IN-STUNPhilipp Hancke
0xC071META-DTLS-IN-STUN-ACKNOWLEDGEMENTPhilipp Hancke
0xC072-0xFFFFUnassigned

STUN Error Codes

Registration Procedure(s)

  • IETF Review

Reference

  • RFC 8489: Session Traversal Utilities for NAT (STUN)

Available Formats

ValueNameReference
0-299Reserved
300Try AlternateRFC 8489
301-399Unassigned
400Bad RequestRFC 8489
401UnauthenticatedRFC 8489
402Unassigned
403ForbiddenRFC 8656
404Unassigned
405Mobility ForbiddenRFC 8016
406-419Unassigned
420Unknown AttributeRFC 8489
421-436Unassigned
437Allocation MismatchRFC 8656
438Stale NonceRFC 8489
439Unassigned
440Address Family not SupportedRFC 8656
441Wrong CredentialsRFC 8656
442Unsupported Transport ProtocolRFC 8656
443Peer Address Family MismatchRFC 8656
444-445Unassigned
446Connection Already ExistsRFC 6062
447Connection Timeout or FailureRFC 6062
448-485Unassigned
486Allocation Quota ReachedRFC 8656
487Role ConflictRFC 8445
488-499Unassigned
500Server ErrorRFC 8489
501-507Unassigned
508Insufficient CapacityRFC 8656
509-699Unassigned

Traversal Using Relays around NAT (TURN) Channel Numbers

Registration Procedure(s)

  • Standards Action

Reference

  • RFC 7983: Multiplexing Scheme Updates for Secure Real-time Transport Protocol (SRTP) Extension for Datagram Transport Layer Security (DTLS)
  • RFC 8656: Traversal Using Relays around NAT (TURN): Relay Extensions to Session Traversal Utilities for NAT (STUN)

Note

Values 0x0000 through 0x3FFF are not available for use, since they conflict with the STUN header.

Available Formats

ValueNameReference
0x0000-0x3FFFReservedRFC 8656
0x4000-0x4FFFUsed by TURNRFC 8656
0x5000-0xFFFFReserved (For DTLS-SRTP multiplexing collision avoidance, see RFC 7983)RFC 7983

STUN Security Features

Registration Procedure(s)

  • Standards Action

Reference

  • RFC 8489: Session Traversal Utilities for NAT (STUN)

Available Formats

BitNameReference
0Password algorithmsRFC 8489
1Username anonymityRFC 8489
2-23Unassigned

STUN Password Algorithms

Expert(s)

  • Dan Wing

Reference

  • RFC 8489: Session Traversal Utilities for NAT (STUN)

Available Formats

RangeRegistration Procedures
0x0000-0x7FFFIETF Review
0x8000-0xFFFFExpert Review
ValueNameReference
0x0000ReservedRFC 8489
0x0001MD5RFC 8489
0x0002SHA-256RFC 8489
0x0003-0xFFFFUnassigned

Contact Information

NameContact URILast Updated
Dan Wingdanwing&gmail.com2022-10-14
Jonas Orelandjonaso&google.com2023-03-20
Pål-Erik Martinsenpalmarti&cisco.com2016-04-20
Paras BabbarParas.Babbar&cloud.com2023-12-18
Philipp Hanckephancke&meta.com2024-12-20
Stefano Giorcellistefanog&cisco.com2023-12-07