TWSD-1397, NAT Logging Issue on LLB – For Drop/ Unestablished connections, able to view both success and Drop
Review Request #1438 — Created March 13, 2026 and submitted
| Information | |
|---|---|
| mingji | |
| APV10 | |
| rel_apv_10_7_3 | |
| TWSD-1397 | |
| Reviewers | |
| kevin.poh, philpeng, weikai | |
Root cause:
Previous connection SETUP log is record right afterclicktcp_tcpconnect(),clicktcp_init_tcpconnect(). At this moment, APV just sends SYN packet to server side, TCP three-way handshake is not completed yet. When the SETUP log is record, the connection is not garanteed to be established. That’s why if there is no backend server existed, the log shows SETUP, DROP at the same time.Solution:
Move the SETUP log toclicktcp_handler_spliced_synack()to make sure the connection is establshed.
- Turn on log for NAT at APV
- Set static NAT at APV
- Send TCP request to APV’s VIP at client
- Check the log buffer at APV if there is only DROP log.
