Package 

Class ReflectedFromAttribute

  • All Implemented Interfaces:

    
    public class ReflectedFromAttribute
    extends AddressAttribute
                        

    The REFLECTED-FROM attribute is present only in Binding Responses, when the Binding Request contained a RESPONSE-ADDRESS attribute. 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static String NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      ReflectedFromAttribute() Creates a REFLECTED-FROM attribute
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class org.ice4j.attribute.AddressAttribute

        encode, equals, getAddress, getAddressBytes, getDataLength, getFamily, getName, getPort, setAddress
      • Methods inherited from class org.ice4j.attribute.Attribute

        getAttributeType, getLocationInMessage, setLocationInMessage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReflectedFromAttribute

        ReflectedFromAttribute()
        Creates a REFLECTED-FROM attribute
    • Method Detail