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)
Sat, Jan 25, 1:02 PM
Unknown Object (File)
Sat, Jan 25, 1:00 PM
Unknown Object (File)
Fri, Jan 24, 5:06 PM
Unknown Object (File)
Sat, Jan 18, 10:01 PM
Unknown Object (File)
Jan 12 2025, 3:30 AM
Unknown Object (File)
Jan 11 2025, 6:38 PM
Unknown Object (File)
Dec 10 2024, 11:54 AM
Unknown Object (File)
Nov 5 2024, 5:53 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.