Project

General

Profile

Actions

Bug #15657

closed

State table entries printed on ``diag_dump_states.php`` may contain an unexpected interface

Added by Marcos M 4 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Diagnostics
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
24.11
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

When route-to sends traffic out of a different gateway from the default route, the state's interface is set according to the new gateway/path and the original default route's interface is kept in the origif value. In the following example, igc3 is WAN1 (default gateway) and igc2 is WAN2. The state is a ping sourced from WAN2's address (using the if-bound state policy):

igc2 icmp 192.168.1.253:10514 -> 1.1.1.1:8       0:0
   age 00:00:07, expires in 00:00:09, 7:7 pkts, 588:588 bytes, rule 166, allow-opts
   id: f86ccf6600000000 creatorid: dc608246 route-to: 192.168.1.254@igc2
   origif: igc3

Currently, the diagnostics page lists origif for the interface; instead it should show the "real" interface.

Actions

Also available in: Atom PDF