https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229092
Kajetan Staszkiewicz <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194342|0 |1 is obsolete| | CC| |[email protected] --- Comment #11 from Kajetan Staszkiewicz <[email protected]> --- Created attachment 201346 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201346&action=edit Reconstruct interface route by standard fib lookup I found another issue. Even if we can somehow reconstruct route interface, there is still a requirement for having identical ruleset on both routers because it is rule->rt which makes Route-to, Duplicate-to and Reply-to targets work. This information is never kept in state. Attached patch solves this issue by copying rule->rt to state->rt (new field). Pfsync struct got this field too. Route interface is reconstructed by normal lookup in routing table in fib 0. Warning: for "no state" rules stil rule->rt must be used and I have coded it but not tested. For stateful ruleset all seems fine for route-to target. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "[email protected]"
