Page MenuHomeFreeBSD

ipfw: forbid add keep-state rules that depend from tablearg
ClosedPublic

Authored by ae on Tue, Jul 22, 8:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 14, 1:02 PM
Unknown Object (File)
Mon, Aug 11, 1:51 AM
Unknown Object (File)
Tue, Aug 5, 11:23 AM
Unknown Object (File)
Mon, Aug 4, 11:41 AM
Unknown Object (File)
Mon, Aug 4, 2:47 AM
Unknown Object (File)
Mon, Aug 4, 1:51 AM
Unknown Object (File)
Mon, Aug 4, 1:18 AM
Unknown Object (File)
Sun, Aug 3, 9:53 AM

Details

Summary

tablearg is determined after making table lookup. When we applying
rule action that uses dynamic state, such lookup was not done and
thus action can not determine what table and what value should be used.
Instead we check such rules when they are added and return error.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 65611
Build 62494: arc lint + arc unit

Event Timeline

ae held this revision as a draft.
ae published this revision for review.Tue, Jul 22, 8:04 AM
ae added reviewers: glebius, melifaro, zlei.
ae retitled this revision from ipfw: forbid add keep-state rules that depends from tablearg to ipfw: forbid add keep-state rules that depend from tablearg.
This revision was not accepted when it landed; it landed in state Needs Review.Sun, Aug 3, 9:53 AM
This revision was automatically updated to reflect the committed changes.