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)
Sun, Mar 31, 12:37 PM
Unknown Object (File)
Mar 6 2024, 12:18 AM
Unknown Object (File)
Dec 9 2023, 5:29 AM
Unknown Object (File)
Dec 9 2023, 5:29 AM
Unknown Object (File)
Dec 9 2023, 5:29 AM
Unknown Object (File)
Nov 19 2023, 1:22 AM
Unknown Object (File)
Nov 17 2023, 5:10 AM
Unknown Object (File)
Nov 17 2023, 12:01 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.