TWSD-196 We observing Private IP on WAN link of LLB for outbound traffic |AS-13270|SaraswatBank

Review Request #881 — Created May 22, 2025 and submitted

mingji
APV10
rel_apv_10_7
TWSD-196
kevin.poh, timlai, weikai

LLB will forward packet on WAN with private IP after the session is closed(pcb is deleted).
When APV recieveing a packet but the pcb is not existed, APV won't check NAT table to do proper IP translation.

Solution:
In click_route_packet(), if there is a NAT entry match the packet's tuple, rewrite source IP address in mbuf.

  1. establish a TCP connection
  2. close the socket
  3. client sends RST to server
mingji
timlai
  1. Ship It!
  2. 
      
kevin.poh
  1. Ship It!
  2. 
      
weikai
  1. Ship It!
  2. 
      
mingji
Review request changed

Status: Closed (submitted)

Loading...