NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Wrongful Termination of Internet Protocol (IP) Packets

Tal Mizrahi, Jose YallouzRFC 2018

TL;DR

This paper argues that network devices (routers and middleboxes) often unfairly discard IP packets based on characteristics like color, age, origin, or length. The authors propose that these devices should act as "Equal Opportunity Devices," avoiding discrimination and ensuring fair treatment for all IP packets to maintain a healthy and growing internet.

What Problem Does This Paper Address?

Network devices like routers and firewalls are designed to filter and manage IP traffic. This filtering is crucial for security, policy enforcement, and network sanity checks. However, the paper highlights a significant problem: these filtering mechanisms can sometimes lead to "wrongful termination" of IP packets. This means packets are discarded not because they are malicious or violate a critical policy, but because they possess certain attributes that trigger a discriminatory filtering rule. The authors point out that these wrongful terminations can be biased, unfairly penalizing packets based on characteristics like their perceived "color" (e.g., from a traffic shaper), their "age" (represented by TTL), their "origin" (source IP address), or their "length." This discrimination can hinder legitimate traffic and negatively impact network operations.

Methods

The paper doesn't introduce new algorithms or complex methodologies. Instead, it adopts an analytical and prescriptive approach. The authors examine common scenarios where IP packets are wrongfully terminated and then propose recommendations for mitigating these issues. Their "method" involves:

  • Scenario Analysis: Identifying and describing specific ways in which IP packets are unfairly discarded.
  • Recommendation Formulation: Suggesting best practices and design principles for network devices to prevent such discrimination.

The core of their approach is advocating for a shift in how network devices handle packet filtering, moving towards a more equitable and less biased system.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • "Color-Blind" Metering: Traffic metering mechanisms that assign "colors" (e.g., green, yellow, red) to packets can unfairly prioritize certain colors. The paper recommends "color-blind" metering to ensure equal treatment.
  • Respecting "Senior Packets": Packets with low Time-To-Live (TTL) or Hop Limit values (referred to as "senior packets") are often discarded. However, these packets are crucial for network operations like OAM (Operations, Administration, and Maintenance) tasks (e.g., Hello packets in OSPF, Traceroute). The paper argues for their preservation.
  • Avoiding Prefix-Based Discrimination: While source IP address filtering is useful for blocking known attackers, filtering entire prefixes can unfairly discard legitimate traffic from an entire autonomous system. The authors suggest limiting this to individual address-based filtering when a specific threat is identified.
  • Ethernet Layer Enforcement for Length: Short IP packets are sometimes discarded due to Ethernet frame size limitations. The paper suggests that length enforcement should be handled at the Ethernet layer, and the IP layer should not discriminate based on packet length.
  • IPv6's Future: The paper expresses concern about networks that still reject IPv6 packets, emphasizing their importance for the internet's future growth and advocating for their acceptance.
  • Flag Respect: Packets should not be discarded simply because a flag (like the More Fragments flag) is set. All flags and the features they represent should be respected.
  • "Equal Opportunity Device" Principle: The overarching recommendation is for all routers and middleboxes to become "Equal Opportunity Devices," treating all IP packets fairly regardless of their characteristics.

Key Results

This paper is not focused on quantitative results but rather on qualitative recommendations and principles. The "key results" are the proposed best practices for network device behavior:

  • Fairness in Filtering: Routers and middleboxes should not discriminate against IP packets based on their color, age, origin, length, IP version, or fragmentation characteristics.
  • Preservation of Essential Traffic: Packets critical for network operations (like OAM) should not be arbitrarily discarded.
  • Support for IPv6: Networks should fully support and process IPv6 packets.

Limitations and Future Work

The authors acknowledge that their proposed liberal approach to IP packet filtering might, in some cases, compromise security. They state, "Not only must security be done; it must also be seen to be done." This implies a need for mechanisms that not only ensure security but also provide visibility into security measures.

Future work could involve developing concrete mechanisms or protocols that help implement the "Equal Opportunity Device" principle while still maintaining robust security. This might include more sophisticated traffic classification and policy enforcement that can differentiate between legitimate traffic with certain characteristics and actual threats, without resorting to blanket discrimination.

Summary updated

BibTeX
@article{mizrahi2018wrongful,
  author = {Tal Mizrahi and Jose Yallouz},
  title = {{Wrongful Termination of Internet Protocol (IP) Packets}},
  journal = {RFC},
  year = {2018},
  doi = {10.17487/rfc8367},
}
Figure