active-charging service ruledef tcp state
Configures rule expression to match current state of TCP connections.
Syntax
tcp state operator current_state
current_state
Specify the state to match.
Must be one of the following:
close-wait
close
closing
established
fin-wait1
fin-wait2
last-ack
listen
syn-received
syn-sent
time-wait
operator
Specify how to match.
Must be one of the following:
'!=' : Does not equal.
= : Equals.
Usage Guidelines
Use this command to define rule expressions to match a current state of TCP connections.
Example
The following command defines a rule expression to match user traffic based on current state "close":
tcp state = close