Page MenuHomeFreeBSD

Implement "ipfw fwd" for incoming IPv4 packets on fast forwarding path
ClosedPublic

Authored by eugen_grosbein.net on Sep 5 2018, 5:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 11:54 AM
Unknown Object (File)
Nov 5 2024, 5:53 AM
Unknown Object (File)
Nov 3 2024, 6:21 AM
Unknown Object (File)
Sep 30 2024, 1:36 PM
Unknown Object (File)
Sep 24 2024, 8:41 AM
Unknown Object (File)
Sep 18 2024, 1:41 PM
Unknown Object (File)
Sep 15 2024, 12:55 PM
Unknown Object (File)
Sep 15 2024, 2:41 AM
Subscribers

Details

Summary

Currently, "ipfw fwd" does not work for incoming IPv4 packets when ip_tryforward chooses fast forwarding path, but it works for IPv6 and for both on old slow path.

This change fixes this adding implementation similar to IPv6 code.

Test Plan

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ae added inline comments.
sys/netinet/ip_fastfwd.c
297 ↗(On Diff #47687)

s/ipfilter/pfil(9)/

300 ↗(On Diff #47687)

extra parentheses

This revision is now accepted and ready to land.Sep 5 2018, 10:45 AM
This revision was automatically updated to reflect the committed changes.