Skip to content

NLB Connection state tracking

0

Hello, does NLB do some form of connection tracking? According to https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html it does (and also the fact that it has an idle timeout implies connection tracking):

All network traffic sent to a configured listener is classified as intended traffic. Network traffic that does not match a configured listener is classified as unintended traffic. ICMP requests other than Type 3 are also considered unintended traffic. Network Load Balancers drop unintended traffic without forwarding it to any targets. TCP data packets sent to the listener port for a configured listeners that are not new connections or part of an active TCP connection are rejected with a TCP reset (RST).

  • Will it allow an ACK, SYN ACK, RST or FIN or similar through if there is no matching existing connection?
  • If not (which is what the referenced document implies), then NLB would protect against ACK or SYN ACK or RST or FIN floods/reflection attacks (but NOT against SYN floods, I know), right?

asked 2 years ago416 views

1 Answer
0

AWS Network Load Balancer (NLB) maintains minimal connection tracking to manage routing and enforce idle timeouts for active TCP connections. However, it does not perform full stateful connection tracking like an Application Load Balancer (ALB) 1.

If there is no matching connection, NLB rejects the TCP packets like ACK, SYN ACK, RST, or FIN with a TCP reset (RST) unless they are part of an active TCP connection or match a configured listener 1.

NLB protects against ACK, SYN ACK, RST, and FIN floods by rejecting packets that do not match an active connection. However, NLB doe not inherently protect against SYN floods, as SYN packets are required for connection establishments. For SYN flood protection, additional services such as AWS Shield Advanced are recommended1, 2.

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.