All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Linux ematch Command Manual: Extended Matching for Traffic Control Filters

By

hamonrye

5mo ago· 5 min readen

Summary

The article is a Linux manual page for the 'ematch' command, which provides extended matching capabilities for use with tc (traffic control) filters. It documents the syntax, structure, and available match modules for packet filtering in Linux networking. The content covers the command syntax, expression structure, and specific match modules like 'cmp' for arithmetic comparison of packet data.

Key quotes

· 5 pulled
ematch - extended matches for use with 'basic', 'cgroup' or 'flow' filters
EXPR := TERM [ { and | or } EXPR ]
TERM := [ not ] { MATCH | '(' EXPR ')' }
MATCH := module '(' ARGS ')'
cmp - Simple comparison ematch: arithmetic compare of packet data to a given value
Snippet from the RSS feed
Pages that refer to this page: tc(8),  tc-basic(8),  tc-bpf(8),  tc-cgroup(8),  tc-flow(8)

You might also wanna read