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)
Sep 15 2024, 5:02 PM
Unknown Object (File)
Sep 15 2024, 3:30 PM
Unknown Object (File)
Sep 9 2024, 2:55 AM
Unknown Object (File)
Sep 7 2024, 5:15 AM
Unknown Object (File)
Aug 22 2024, 5:43 AM
Unknown Object (File)
Jul 31 2024, 7:59 AM
Unknown Object (File)
Jul 1 2024, 10:19 AM
Unknown Object (File)
Jun 29 2024, 6:56 AM

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.