Page MenuHomeFreeBSD

pf tests: extend ethernet dummynet test
ClosedPublic

Authored by kp on May 19 2022, 5:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 20, 11:04 PM
Unknown Object (File)
Sun, Sep 20, 11:04 PM
Unknown Object (File)
Sun, Sep 20, 6:45 PM
Unknown Object (File)
Sat, Sep 19, 4:31 PM
Unknown Object (File)
Fri, Sep 11, 12:18 AM
Unknown Object (File)
Wed, Sep 9, 12:29 AM
Unknown Object (File)
Wed, Sep 9, 12:06 AM
Unknown Object (File)
Tue, Sep 8, 8:38 PM

Details

Summary

Extend the existing ethernet dummynet test to also test dummynet on the
outbound direction.
This used to be a problem as traffic shaping wasn't done in the ethernet
code. It merely tagged the packet and left shaping up to the layer 3 pf
code. This works in the inbound direction, but not for outbound traffic
where we hit the L3 code first and only then the L2 code.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45635
Build 42523: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 20 2022, 12:52 PM
This revision was automatically updated to reflect the committed changes.