xffHeaderMode

@JvmName(name = "wcydlpmminyltqnv")
suspend fun xffHeaderMode(value: Output<Int>)
@JvmName(name = "kvtrhublydvpjrrm")
suspend fun xffHeaderMode(value: Int?)

Parameters

value

WAF obtains the real IP address of the client. Value:

  • 0 (default): indicates that the client has not forwarded the traffic to WAF through other layer -7 agents.

  • 1: indicates that the first value of the X-Forwarded-For(XFF) field in the WAF read request header is used as the client IP address.

  • 2: indicates that the custom field value set by you in the WAF read request header is used as the client IP address.