public class ReflectedFromAttribute extends AddressAttribute
The attribute contains the identity (in terms of IP address) of the source where the request came from. Its purpose is to provide traceability, so that a STUN server cannot be used as a reflector for denial-of-service attacks.
Its syntax is identical to the MAPPED-ADDRESS attribute.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
ADDRESS_FAMILY_IPV4, ADDRESS_FAMILY_IPV6, transportAddressALTERNATE_SERVER, attributeType, CHANGE_REQUEST, CHANGED_ADDRESS, CHANNEL_NUMBER, DATA, DESTINATION_ADDRESS, DONT_FRAGMENT, ERROR_CODE, EVEN_PORT, FINGERPRINT, HEADER_LENGTH, ICE_CONTROLLED, ICE_CONTROLLING, LIFETIME, MAGIC_COOKIE, MAPPED_ADDRESS, MESSAGE_INTEGRITY, NONCE, PASSWORD, PRIORITY, REALM, REFLECTED_FROM, REMOTE_ADDRESS, REQUESTED_TRANSPORT, RESERVATION_TOKEN, RESPONSE_ADDRESS, SOFTWARE, SOURCE_ADDRESS, UNKNOWN_ATTRIBUTES, UNKNOWN_OPTIONAL_ATTRIBUTE, USE_CANDIDATE, USERNAME, XOR_MAPPED_ADDRESS, XOR_ONLY, XOR_PEER_ADDRESS, XOR_RELAYED_ADDRESS| Constructor and Description |
|---|
ReflectedFromAttribute() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the human readable name of this attribute.
|
decodeAttributeBody, encode, equals, getAddress, getAddressBytes, getDataLength, getFamily, getPort, setAddress, setAttributeTypegetAttributeType, getLocationInMessage, setLocationInMessagepublic static final String NAME
public String getName()
StunAttributegetName in class StunAttributeCopyright © 2017 TeleStax, Inc.. All Rights Reserved.