M
MercyNews
Home
Back
tc-ematch(8): Extended Matches for Linux Traffic Control
Technology

tc-ematch(8): Extended Matches for Linux Traffic Control

Hacker NewsDec 28
3 min read
📋

Key Facts

  • ✓ tc-ematch(8) provides documentation for extended matches in Linux traffic control.
  • ✓ These extended matches are used with 'basic', 'cgroup', or 'flow' filters.
  • ✓ The functionality is part of the standard Linux kernel networking stack.

In This Article

  1. Quick Summary
  2. Understanding Traffic Control and Filters
  3. The Role of Extended Matches (ematches)
  4. Integration with 'basic', 'cgroup', and 'flow' Filters
  5. Practical Applications and Significance

Quick Summary#

The tc-ematch(8) manual page provides technical documentation for extended match capabilities within the Linux traffic control framework. These features are integral to the kernel's packet filtering and classification mechanisms.

Specifically, the extended matches are designed for use with basic, cgroup, and flow filters. This allows for the creation of sophisticated rules that go beyond simple source or destination matching, enabling network administrators to manage traffic based on a wider array of criteria. The availability of these tools underscores the flexibility and power of the Linux networking stack for enterprise-level traffic management.

Understanding Traffic Control and Filters#

The Linux kernel's traffic control (tc) subsystem is a fundamental component for managing network traffic flow. It allows administrators to influence how packets are transmitted, delayed, or dropped, which is essential for maintaining network performance and stability.

At the core of this system are filters. Filters are used to classify incoming and outgoing packets into different categories. Once a packet is classified, it can be associated with a specific traffic handling action, such as queuing it in a particular traffic class or applying a rate limit. The tc-ematch utility extends the classification capabilities of these filters.

The Role of Extended Matches (ematches)#

Extended matches, or ematches, provide a modular and extensible framework for packet matching. While standard filters might handle common scenarios, ematches allow for the definition of more complex and specific matching conditions. This is achieved by chaining multiple matching modules together.

The primary purpose of ematches is to enhance the precision of packet classification. By combining several match criteria, an administrator can create a highly specific rule set that targets only a particular subset of network traffic. This level of control is vital for implementing detailed Quality of Service (QoS) policies, traffic shaping, and security filtering rules on a Linux-based router or firewall.

Integration with 'basic', 'cgroup', and 'flow' Filters#

The documentation specifies that these extended matches are compatible with three distinct filter types, each serving a different purpose in the network stack.

Basic Filters: These are the standard filters that match packets based on static attributes like IP addresses, protocols, and port numbers. Ematches can add dynamic or more complex logic to these basic checks.

Cgroup Filters: This filter type is particularly useful in containerized environments. It allows for the classification of packets based on the control group (cgroup) of the process that generated them. This enables network resource allocation to be tied directly to specific application groups or containers.

Flow Filters: These filters classify packets based on the concept of a 'network flow,' which is a sequence of packets sharing common characteristics (e.g., a single TCP connection). Ematches can be used to analyze and match against various statistics and attributes of these flows.

Practical Applications and Significance#

The availability of extended matches in the Linux traffic control system has significant implications for network engineering and system administration. It provides the tools necessary to build highly sophisticated network traffic management solutions without requiring proprietary hardware or software.

Key applications include:

  • Traffic Shaping: Precisely control the bandwidth allocated to different types of traffic or specific applications.
  • Network Prioritization: Ensure that latency-sensitive traffic, such as VoIP or video conferencing, receives higher priority over bulk data transfers.
  • Resource Isolation: In multi-tenant or containerized environments, use cgroup-based filtering to prevent one tenant's traffic from impacting another's performance.
  • Security and Monitoring: Identify and classify traffic patterns for security analysis or detailed network monitoring.

Ultimately, the tc-ematch(8) documentation serves as a guide for leveraging these powerful, built-in Linux kernel features to achieve robust and efficient network operations.

Continue scrolling for more

AI Transforms Mathematical Research and Proofs
Technology

AI Transforms Mathematical Research and Proofs

Artificial intelligence is shifting from a promise to a reality in mathematics. Machine learning models are now generating original theorems, forcing a reevaluation of research and teaching methods.

Just now
4 min
173
Read Article
IMF Warns AI Could Widen Inequality, Urges Worker Support
Economics

IMF Warns AI Could Widen Inequality, Urges Worker Support

The International Monetary Fund has issued a stark warning about the economic impact of artificial intelligence, urging governments to strengthen social safety nets for workers facing displacement.

40m
3 min
6
Read Article
Politics

DHS Deportation Reels Are Getting Copyright Strikes for Unlicensed Music Use

Article URL: https://reason.com/2026/01/11/the-deportation-playlist-is-mostly-stolen/ Comments URL: https://news.ycombinator.com/item?id=46612934 Points: 12 # Comments: 0

1h
3 min
0
Read Article
Technology

Big Tech is poaching energy talent to fuel its AI ambitions

Hires of energy-related talent by Big Tech was 30% higher in 2025 than pre-AI levels.

1h
3 min
0
Read Article
Ethereum Poised to Outperform Bitcoin in 2026
Cryptocurrency

Ethereum Poised to Outperform Bitcoin in 2026

A significant shift in market dynamics could see Ethereum close the performance gap with Bitcoin throughout 2026, driven by changing capital flows and network usage.

1h
5 min
6
Read Article
Recrutement : pourquoi les candidats se dopent à l’IA
Technology

Recrutement : pourquoi les candidats se dopent à l’IA

Les futures recrues disent utiliser l’intelligence artificielle, première compétence exigée par les employeurs dans le monde, parce que trois recruteurs sur quatre s’en servent déjà, majoritairement pour rédiger leurs petites annonces, constate, dans sa chronique, la journaliste du « Monde » Anne Rodier.

2h
3 min
0
Read Article
Ben Horowitz says that investing teams shouldn't be 'too much bigger than basketball teams'
Technology

Ben Horowitz says that investing teams shouldn't be 'too much bigger than basketball teams'

Ben Horowitz said investment teams should be the size of a playing five in basketball. Phillip Faraone/Getty Images for WIRED Ben Horowitz said his rule of thumb is about five people on an investing team. He said Andreessen Horowitz maintains lean teams and strong communication across verticals. AI tools are enabling startups and VCs to thrive with fewer employees. Ben Horowitz is a big fan of tiny teams. On an episode of the A16z podcast, the Andreessen Horowitz cofounder shared how his venture capital firm maintains a lean operation despite being one of the world's largest. "An investing team shouldn't be too much bigger than a basketball team," he said, referring to advice he got from famed American investor David Swensen in 2009. He added, "A basketball team is five people who start, and the reason for that is the conversation around the investments really needs to be a conversation." Horowitz cofounded the Silicon Valley VC firm with Marc Andreessen in 2009. Before A16Z, he ran enterprise software company Opsware, which Hewlett-Packard acquired. A16z has backed marquee companies including Meta, Airbnb, GitHub, and Coinbase. The VC said he always kept the basketball team size in mind but also knew that the firm had to expand to keep up with how "software was eating the world," his signature phrase. The solution was to split the firm into different investment verticals. To maintain good communication, staff attend other teams' meetings when investment themes overlap. The firm also organizes a two to three-day offsite twice a year, "with not much agenda." Horowitz said that people who join them from other firms say that A16Z has "less politics" than firms with 10 or 11 people because his firm has a culture where politicking is "disincentivized." A16z might have been early to the tiny team trend, but it's catching on fast with VCs and startups across the world. Startups are actively seeking to stay small, with many having fewer than 10 people. Founders told Business Insider that AI and vibe coding tools have boosted their productivity, allowing them to get things done with far fewer people. Less politics and bureaucracy are also big pluses, they say. "We're going to see 10-person companies with billion-dollar valuations pretty soon," OpenAI CEO Sam Altman said in February 2024. "In my little group chat with my tech CEO friends, there's this betting pool for the first year there is a one-person billion-dollar company, which would've been unimaginable without AI. And now will happen." Read the original article on Business Insider

2h
3 min
0
Read Article
Tempest: American Missile Buggy Scores 20+ Kills in Ukraine
World_news

Tempest: American Missile Buggy Scores 20+ Kills in Ukraine

A new American off-road buggy equipped with guided missiles has entered service in Ukraine, where crews report significant success against Russian drone threats. The Tempest system offers mobile air defense against Shahed loitering munitions.

2h
5 min
7
Read Article
Read Jerome Powell's letter to senators following his testimony about renovations to the Fed building
Politics

Read Jerome Powell's letter to senators following his testimony about renovations to the Fed building

Jerome Powell, a particularly mild-mannered speaker, slammed recent attempts to intimidate his department. Li Yuanqing/Xinhua via Getty Images The DOJ is probing Jerome Powell over his congressional testimony about the Fed building renovations. Powell sent a letter, dated July 14, 2025, to senators about the renovations. The letter provided expansive detail about the Fed building's history, repairs, and budget. Federal Reserve Chair Jerome Powell sent a letter dated July 14, 2025, to key senators on the Banking, Housing, and Urban Affairs Committee, following his testimony before Congress about renovations to the central bank buildings. In it, the Fed chair gave lawmakers a detailed and expansive response to inquiries about the renovations. Powell's letter to the Senate Banking Committee, obtained by Business Insider, was sent 10 days before giving President Donald Trump and other White House officials a tour of the renovation site on July 24, 2025. Powell announced via video message on January 11 that the Department of Justice served grand jury subpoenas to the Federal Reserve. He said the probe is into his June testimony about renovations at historic Fed office buildings, but warned that it was a pressure tactic over interest rates. "This is about whether the Fed will be able to continue to set interest rates based on evidence and economic conditions — or whether instead monetary policy will be directed by political pressure or intimidation." Rep. Anna Paulina Luna accused Powell of misleading Congress and sent a criminal referral to the Justice Department, though it's unclear whether that prompted the DOJ investigation. The letter to Sen. Tim Scott, chairman of the committee, and Sen. Elizabeth Warren, the ranking member, outlines the history of the Fed's Washington, DC, buildings, offers details about the repairs and working conditions, and provides information about the cost of the project's budget. The letter was first reported by the Financial Times. Powell wrote that the Federal Reserve Board "believes it is of the utmost importance to provide transparency for our decisions and to be accountable to the public through the Congress for our work." During Powell's testimony in June, Scott said the Fed's more than $2 billion renovation of its headquarters was excessive and likened it to the "Palace of Versailles." Powell responded that many features Scott mentioned no longer exist, such as beehives, a VIP elevator, and water features, but added that the Marriner S. Eccles Building urgently needed safety upgrades and hadn't been meaningfully renovated before work began in 2022. The White House and the Federal Reserve Board did not immediately respond to a request for comments. Read the full letter: Dear Chairman Scott and Ranking Member Warren: I am writing to follow up on your interest in the Federal Reserve Board's (Board) Marriner S. Eccles Building (Eccles Building) and 1951 Constitution Avenue Building project. The Board believes it is of the utmost importance to provide transparency for our decisions and to be accountable to the public through the Congress for our work. We take seriously our commitment to transparency. We respect the critical importance of the constitutionally-derived congressional oversight of our activities, and we are committed to working collaboratively and cooperatively with you. In advance of Board staff discussing the project in further detail with your staff as you have requested, I wanted to share a set of frequently asked questions (FAQs) about the project and provide you with additional information. The FAQs address the project goals, engagement with state and federal entities, cost drivers, and various features of the project. The FAQs are enclosed and are also on our public website.1 For historical perspective, the Eccles Building was constructed between 1935 and 1937 as the headquarters for the Federal Reserve Board. The 1951 Constitution Avenue Building was constructed in 1932 for the U.S. Public Health Service. Over its history, it housed a variety of government agencies, including the Combined Chiefs of Staff during World War II, the Atomic Energy Commission, the National Science Foundation, and the Department of the Interior. Both buildings are listed in the District of Columbia Inventory of Historic Sites, and the 1951 Constitution Avenue Building is listed on the National Register of Historic Places. While periodic work has been done to keep the buildings occupiable, neither building has seen a comprehensive renovation since they were constructed. For some time, significant structural repairs and other updates were needed for the Eccles Building. Similarly, the vacant and dilapidated 1951 Constitution Avenue Building, across the street from the Eccles Building, needed significant repairs and updating. Despite its condition, the 1951 Constitution Avenue Building provided an opportunity for the Board to consolidate its operations and reduce expenses over time on leased space in commercial office buildings elsewhere. In 2017, the General Services Administration (GSA) approached us about our interest in taking over the 1951 Constitution Avenue Building. In 2018, GSA transferred sole control of the 1951 Constitution Avenue Building to the Board. In a press release announcing the transfer in 2018, GSA's Public Buildings Service Commissioner stated "This transfer will put a vacant building back in productive use, allow the Federal Reserve Board to consolidate several leases and result in savings for taxpayers."2 To address the significant state of disrepair and unsafe working conditions, the Board is undertaking a complete overhaul and modernization of these two historic buildings. This includes remediation and updates to make the buildings safe, healthy, and effective places to work by removing asbestos and lead contamination and accommodating modern workplace technology. The project has also involved the complete replacement of antiquated systems that are beyond their useful life, such as electrical; plumbing; heating, ventilation, and air conditioning; and fire detection and suppression systems. As part of the project, the Board has undertaken major structural work to bring the buildings up to modern code, including current accessibility, security, and safety standards. Throughout the process, the Board chose to consult with a range of state and federal agencies including the Commission on Fine Arts, the District of Columbia's Public Space Committee and its State Historic Preservation Office, the National Park Service, and the National Capital Planning Commission (NCPC). As discussed in the enclosed FAQs, although the Board is generally not subject to the jurisdiction of the NCPC, historically the Board has submitted building project designs to the NCPC and worked with the NCPC to address their feedback. In recognition of the historic nature of both buildings and their prominent location on the National Mall, the project identified key architectural features to preserve the historic integrity of the buildings, such as stonework, including marble, façades, meeting rooms, and other spaces. Historic preservation work in the Eccles Building also includes elevators that are original to the building, and historic conference rooms. Construction involving the preservation of historic spaces requires specialized processes and methods, which are generally more complex and have increased costs compared with new construction or renovation of spaces that are not historically significant or located on the National Mall. Various factors drove cost increases following the NCPC's final approval of site and building plans in 2021. These factors include differences over time between original estimates and actual costs of materials, equipment, and labor, and unforeseen conditions in the properties, such as more asbestos than anticipated, toxic contamination in the soil, and a higher-than- expected water table. As is to be expected in the major renovation of nearly 100-year-old historic buildings, the Board's designs have continued to evolve over the course of the project, and some features of the buildings, including rooftop spaces and new water features on the building grounds, were scaled back or eliminated as the project moved forward. These changes simplified the project and reduced the likelihood of further delays and cost overruns. None of them added cost to the project. We do not consider these changes to be substantial. With respect to the specific concerns that were discussed at the hearing, I would like to provide additional detail regarding various elements of the project: • The Eccles and 1951 Constitution Avenue buildings were originally built with marble in the façades and stonework. The project has salvaged the original exterior marble to be reinstalled and will use new domestic marble sourced from Georgia in places where the original was damaged or where needed to keep with historic preservation guidelines and to address concerns raised by external review agencies. • The original elevators are being rehabilitated, including an elevator that services historic conference rooms. A short (eighteen inch) extension of this rehabilitated elevator will make the space more accessible for people with disabilities. There are no elevators where access is limited to governors. There are no VIP dining rooms being constructed as part of the project. The Eccles Building has historic multi-use rooms that are used as conference rooms and for mealtime meetings, which are being renovated and preserved. • Although the Board's initial design included new water features for 1951 Constitution Avenue, they have been eliminated. Fountains that were original to the Eccles Building are being restored. • The ground-level front lawn of 1951 Constitution Avenue serves as the roof of the parking structure beneath. It was referred to as a "garden terrace" in the 2021 submission to the National Capital Planning Commission. There are other references to "vegetated roofs," often referred to as green roofs, which are commonly used to help with stormwater management and to increase building efficiency and roof longevity. Green roofs are found on other federal government buildings, like the Departments of Justice, Interior, and many others, and are encouraged by the General Services Administration.3 We take seriously the responsibility to be good stewards of public resources as we fulfill the duties given to us by Congress on behalf of the American people. We have taken great care to ensure the project is carefully overseen since it was first approved by the Board in 2017. The project has been subject to annual budget approval by the Board since then. In addition to oversight by members of the Board, our independent Inspector General (IG) has had full access to project information on costs, contracts, schedules, and expenditures and receives monthly reports on the construction program. The Board's IG conducted an audit in 2021 to assess the Board's process for planning and managing multiple renovation projects as well as procuring services under various renovation-related contracts. I have asked the Board's IG to take a fresh look at the project. I hope you find this additional information helpful. Sincerely, Jerome H Powell Read the original article on Business Insider

2h
3 min
0
Read Article
Creator income inequality is rising as top influencers rake in big paydays from brands
Economics

Creator income inequality is rising as top influencers rake in big paydays from brands

Top creator Jimmy Donaldson, a.k.a. MrBeast, at the "Beast Games" season 2 premiere. JC Olivera/Variety via Getty Images Creator income inequality is rising, with the top 1% earning 21% of brand spending, per new CreatorIQ data. The trend has continued in each of the last two years. Big brands often favor top creators, making it harder for smaller influencers to compete. Creators are raking in the ad dollars — but the wealth is being shared less and less equally. New data from the influencer-marketing platform CreatorIQ shows that the income gap in the creator economy is widening. The top 10% of creators on CreatorIQ's platform received 62% of ad payments in 2025, up from 53% in 2023. Similarly, the top 1% received 21% of the total ad payment volume, up from 15% in 2023. CreatorIQ, which included the 2025 data in a new report released on Wednesday, examined 65,000 payments over a three-year period from brands and agencies to creators who received flat payments through its software. The data reflects an overall pattern in the creator economy. Brands are shifting more of their marketing dollars to creators, with payments more than doubling over the last two years in CreatorIQ's dataset. Overall, US advertiser spending on creators was expected to hit $37 billion in 2025, according to a November report from the Interactive Advertising Bureau. At the same time, much of the ad money is going to a relatively narrow segment of top talent. While many creators also make money outside influencer marketing — such as from subscriptions or direct payments from platforms like YouTube — brand sponsorships are generally the industry's top revenue source. Jasmine Enberg, cofounder and co-CEO of Scalable, a new media company focused on the creator economy, said the numbers show the industry is starting to resemble traditional entertainment, where top players rake in substantial sums, leaving smaller ones to compete for the leftovers. Enberg said the divide would only grow as big creators get larger projects, such as TV campaigns or Netflix deals. "We need to empower brands to diversify their investment more confidently," Brit Starr, CMO of CreatorIQ, said of the industry. CreatorIQ's survey of 300 creators found that only 11% earned $100,000 or more. About one-quarter of the creators surveyed fell into each of the "$50,000 to $100,000" and the "$25,000 to $50,000" categories. CreatorIQ's report included additional data points that help explain the current dynamics of the creator economy. The number of creators receiving payments within CreatorIQ's network more than doubled from 2023 to 2025, which could indicate an overall surge in influencers entering the market. While the average earnings per creator rose to $11,400 in 2025 from $9,200 in 2023, the median actually declined slightly, from $3,500 to $3,000. That suggests that top creators are pulling the average higher, while the typical creator is earning less. What's driving the pay gap Enberg said major advertisers have contributed to the sector's income inequality because they're more likely to allocate their budgets to a small number of top creators. Talent managers who spoke with Business Insider said earnings distribution had been lumpy. Budgets have definitely grown, but they haven't kept pace with the expansion of the creator population, said Kyle Hjelmeseth, CEO of G&B Digital Management. "There are now many more small accounts that will take $25 to post, for example," he said. Meanwhile, advertisers often spend a large chunk of their influencer budgets directly with social media platforms, making it harder for creators — especially smaller ones — to develop direct and potentially lasting relationships with brands, creator-industry insiders said. Becca Bahrke, the CEO of Illuminate Social, a creator management firm, said the CreatorIQ payment concentration data reflect what she's seeing among her own clients. She said she'd seen some full-time creators take the off-ramp to a different job. "You may have earned over $400,000 in one year, but if you're not showing up consistently on the platform, treating it as a full-time job, you can see the earnings fall," Bahrke said. "It's a lot of work. It's not for the faint of heart." Read the original article on Business Insider

2h
3 min
0
Read Article
🎉

You're all caught up!

Check back later for more stories

Back to Home