Page MenuHomeFreeBSD

pf: remove fastroute tag
ClosedPublic

Authored by franco_opnsense.org on Sep 28 2016, 11:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 3 2024, 1:06 PM
Unknown Object (File)
Dec 27 2023, 5:39 PM
Unknown Object (File)
Dec 27 2023, 5:10 PM
Unknown Object (File)
Dec 20 2023, 3:02 AM
Unknown Object (File)
Dec 9 2023, 2:09 PM
Unknown Object (File)
Nov 10 2023, 9:09 PM
Unknown Object (File)
Nov 8 2023, 9:15 PM
Unknown Object (File)
Nov 6 2023, 10:45 AM

Details

Reviewers
kp
Group Reviewers
manpages
Commits
rS306684: pf: remove fastroute tag
Summary

The tag fastroute came from ipf and was removed in OpenBSD in 2011. The code allows to skip the in pfil hooks and completely removes the out pfil invoke, albeit looking up a route that the IP stack will likely find on its own. The code between IPv4 and IPv6 is also inconsistent and marked as "XXX" for years.

Test Plan

fastroute no longer available in pf.conf syntax

Diff Detail

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

Event Timeline

franco_opnsense.org retitled this revision from to pf: remove fastroute tag.
franco_opnsense.org updated this object.
franco_opnsense.org edited the test plan for this revision. (Show Details)
kp added inline comments.
sbin/pfctl/parse.y
451 ↗(On Diff #20766)

Removing the token will break compatibility with older configurations.
Wouldn't it be better to keep the token and ignore it? Existing configurations won't break, and it shouldn't actually change behaviour either.

franco_opnsense.org edited edge metadata.
  • pf: keep fastroute compat stubs, don't break ABI
kp added a reviewer: kp.

I'll try to commit this soon.

This revision is now accepted and ready to land.Oct 3 2016, 1:03 PM
This revision was automatically updated to reflect the committed changes.