Page MenuHomeFreeBSD

tests: add test for ipfw fwd localaddr,port
ClosedPublic

Authored by glebius on Jan 5 2023, 10:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 5, 12:42 AM
Unknown Object (File)
Sat, Nov 1, 10:45 AM
Unknown Object (File)
Thu, Oct 30, 6:16 PM
Unknown Object (File)
Wed, Oct 29, 12:54 PM
Unknown Object (File)
Wed, Oct 29, 12:53 PM
Unknown Object (File)
Wed, Oct 29, 12:52 PM
Unknown Object (File)
Wed, Oct 29, 12:50 PM
Unknown Object (File)
Wed, Oct 29, 12:50 PM

Details

Summary

Checks basic forward to local address, also with presence of
a listener that matches original port (see aab8c844b91). Based
on non-ATF test case written by Pavel Polyakov.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 48971
Build 45860: arc lint + arc unit

Event Timeline

Looks sane to me.

I believe this is the first ipfw-specific test. We have a few ipfw tests already in netpfil/common, but those tests also test pf (and sometimes ipf). 'fwd' is a little less generic, so it makes sense to separate that.

This revision is now accepted and ready to land.Jan 6 2023, 2:47 AM
This revision was automatically updated to reflect the committed changes.