Page MenuHomeFreeBSD

Add set ToS test for ipfw and pf
ClosedPublic

Authored by ahsanb on Aug 17 2019, 2:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 23, 10:12 AM
Unknown Object (File)
Oct 10 2024, 3:08 AM
Unknown Object (File)
Oct 7 2024, 11:20 PM
Unknown Object (File)
Oct 4 2024, 9:03 PM
Unknown Object (File)
Oct 4 2024, 10:57 AM
Unknown Object (File)
Oct 3 2024, 1:14 AM
Unknown Object (File)
Sep 23 2024, 7:07 PM
Unknown Object (File)
Sep 23 2024, 7:07 PM
Subscribers

Details

Summary

Add the set ToS test for ipfw and pf. This test tests the following:

  • The firewall is able to set the tos bits
  • The firewall is able to set the DSCP bits when EN bits is already set and the EN bits remains unchanged.
  • The firewall is able to drop the packets based on ToS value

Note: This diff must be applied after applying D21276

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ahsanb edited the summary of this revision. (Show Details)
tests/sys/netpfil/common/tos.sh
64 ↗(On Diff #60943)

Can you wrap this comment and the two below so that there lines don't wrap? This one might be fine, but the one below is probably too long

This revision was not accepted when it landed; it landed in state Needs Review.Aug 20 2019, 2:31 PM
This revision was automatically updated to reflect the committed changes.