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)
Sun, Jun 9, 3:17 PM
Unknown Object (File)
May 13 2024, 8:18 AM
Unknown Object (File)
May 10 2024, 7:26 PM
Unknown Object (File)
Apr 27 2024, 10:41 AM
Unknown Object (File)
Mar 16 2024, 2:34 AM
Unknown Object (File)
Dec 23 2023, 1:32 AM
Unknown Object (File)
Nov 27 2023, 8:26 PM
Unknown Object (File)
Nov 24 2023, 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.