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)
Mar 17 2024, 7:46 PM
Unknown Object (File)
Feb 26 2024, 10:11 AM
Unknown Object (File)
Jan 27 2024, 6:12 PM
Unknown Object (File)
Jan 26 2024, 1:50 PM
Unknown Object (File)
Jan 26 2024, 1:18 PM
Unknown Object (File)
Jan 26 2024, 1:18 PM
Unknown Object (File)
Jan 26 2024, 1:14 PM
Unknown Object (File)
Jan 26 2024, 1:02 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.