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)
Tue, Apr 21, 6:48 PM
Unknown Object (File)
Sat, Apr 18, 7:53 PM
Unknown Object (File)
Fri, Apr 10, 9:35 PM
Unknown Object (File)
Thu, Apr 9, 7:12 PM
Unknown Object (File)
Mon, Apr 6, 7:25 PM
Unknown Object (File)
Mon, Apr 6, 12:13 PM
Unknown Object (File)
Mon, Apr 6, 4:06 AM
Unknown Object (File)
Mar 23 2026, 8:08 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 Not Applicable
Unit
Tests Not Applicable

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.