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, Aug 12, 2:02 PM
Unknown Object (File)
Mon, Aug 10, 9:30 AM
Unknown Object (File)
Sat, Aug 8, 12:26 AM
Unknown Object (File)
Wed, Aug 5, 7:04 AM
Unknown Object (File)
Tue, Aug 4, 6:53 AM
Unknown Object (File)
Sun, Jul 19, 7:51 AM
Unknown Object (File)
Jun 15 2026, 10:26 PM
Unknown Object (File)
Jun 8 2026, 8:58 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.