TC-BASIC(8)

๐Ÿ“ฆ
version 7.3.0 ยท 2 versions
  • 7.3.0 ยท alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 5.15.0 ยท ubuntu jammy
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

โœจ NAME โœจ

okay so this is the basic traffic control filter, bestie ๐Ÿ’… it lives in the Basic classifier in tc(8) manual page, aka the tc(8) family ๐ŸŽ€


๐Ÿซถ SYNOPSIS ๐Ÿซถ

tc filter ... basic [ match EMATCH_TREE ] [ action ACTION_SPEC ] [
        classid CLASSID

๐ŸŒธ DESCRIPTION ๐ŸŒธ

ngl this filter is so iconic ๐Ÿ˜ญ it lets you sort packets into buckets using the extended match infrastructure. main character energy, literally ๐Ÿ‘‘


โœจ OPTIONS โœจ

  • action ACTION_SPEC โ€” slap an action from the generic actions framework onto whatever packets match ๐Ÿ”ฅ
  • classid CLASSID โ€” yeet the matching packets into the class named by CLASSID ๐Ÿฆ‹
  • match EMATCH_TREE โ€” match packets with the extended match infrastructure ๐Ÿ’œ for the full rundown on what you're allowed to write in EMATCH_TREE, check out tc-ematch(8), it's giving detailed and it's worth your time ๐Ÿงš

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

tc(8), tc-ematch(8) ๐Ÿ“


okay that's the whole tea, bestie ๐Ÿซถ this was the basic classifier in tc(8) page from iproute2, last updated 21 Oct 2015. stay iconic, stay curious, and don't forget to hydrate ๐Ÿ’–๐Ÿฆ‹โœจ

๐Ÿ“ฆ where this page comes from