arXiv:2610.40928cs.CROct 2026

Manuscript Offprint

arXiv:2610.40928

LiHA: Worse is Better for Lightweight Hash-based Source Authentication

Negin Dehghanchaleshtori, Homit Dalia, Himanshu Chandra, Rohan Tripathi, Marc E. Fiuczynski, Richard P. Martin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Negin Dehghanchaleshtori

Rutgers University

Homit Dalia

Rutgers University

Himanshu Chandra

Rutgers University

Rohan Tripathi

Rutgers University

Marc E. Fiuczynski

Rutgers University

Richard P. Martin

Rutgers University

Rutgers University Department of Computer Science Technical Report DCS-TR-764

October, 2026

Abstract

The omission of source IP authentication remains a fundamental vulnerability in the Internet. Existing approaches rely on routing plausibility, topology assumptions, per-flow state, or wide deployment. These requirements have kept strong source authentication out of the data plane.

As simplicity is the key to deployability, we present LiHA, a lightweight source authentication mechanism built around operations that routers already perform efficiently. LiHA binds secret keys to source prefixes using longest prefix match and authenticates each packet with a single message authentication code (MAC). The data plane requires no handshakes, per-flow state, or per-packet control plane access. A sender performs one prefix lookup and one fixed-size hash. The verifier repeats the same operations and forwards the packet only if the MAC matches.

LiHA is designed for incremental deployment. It primarily protects against off-path attackers that spoof source prefixes they do not control. An on-path attacker can replay valid authenticated packets until the key rotates. LiHA does not eliminate every denial-of-service threat. Instead, it confines accepted traffic to authenticated source prefix space within participating networks. We argue that simpler source authentication with clear limits is more likely to be deployed.

We implemented LiHA in three environments: as a set of user-space libraries, as eBPF programs, and in an FPGA. We found that the user-space implementation had very high overheads. The eBPF implementation got reasonable single thread performance even with a software based cryptographic hash. We found that only the FPGA could obtain 100 Gbps single thread performance, but that was only when bypassing the kernel using a DPDK user-level networking stack.

1 Introduction

The foundational Internet architecture was designed without source authentication. In the beginning this was reasonable. Networks were small and trusted, router resources were limited, and forwarding was optimized for efficiency. Today's Internet is radically different. It is ubiquitous and adversarial; yet the network layer still provides no built-in way to verify a transmitter's identity thus opening up the network to a host of problems including Distributed Denial of Service (DDoS) attacks, reflection and amplification attacks, Internet-wide scanning campaigns, and session hijacking.

The community has addressed this problem; however, many solutions subscribe to the perfect authentication fallacy. Topological approaches include BCP 38 [14] and unicast Reverse Path Forwarding (uRPF) [3]. Stronger session security is the goal of the Internet Protocol Security (IPsec) protocol. Path authentication approaches include Passport [25] and the Accountable Internet Protocol (AIP) [1].

The failure of adopting many of these approaches stems from the problem of managing changes in evolutionary systems. Such systems grow with changes constrained to maintaining the functionality of existing, working interfaces. Realizing changes in evolutionary systems can thus follow one of three paths: (1) preserve the existing structure and build on top, as is seen with the deployment of TLS over TCP, (2) radical interface changes can start small and grow over time, sometimes requiring decades and never fully replacing the old interfaces, such as with IPv6, or (3) slowly add features while maintaining compatibility, as exemplified by Ethernet. A defense that requires a new Internet is no defense at all.

Prior approaches to authentication mostly ignored evolutionary constraints. They added headers, changed the protocol, added too much state or message exchanges, or added administrative overhead. Any deployable change must balance minimizing costs while maximizing efficacy. Much security work focuses on maximizing efficacy and ignores deployment costs. Much networking research maximizes line-rate performance and ignores other factors. Proposed changes subscribing to such maximalist positions are doomed to failure for any evolutionary-constrained system, the Internet included.

Another way to characterize the evolution constraint is as an inverse of Metcalfe's Law. Recall that Metcalfe's law states that network value scales as N2N^{2}: the value of the network increases as the square of the number of communicating parties [26]. However, a corollary law is that deployment taxes also scale with N2N^{2}; changes become quadratically more difficult as the network scales.

We take a radically different approach from prior art and embrace the constraint that any addition must be compatible and make minimal demands on the existing framework. Because minimal change drives adoption, a partial compatible solution is better than a complex, incompatible, yet complete one. Such a value system was articulated as the “New Jersey Approach” in Gabriel’s essay "The Rise of Worse is Better" on system design [16].

Our minimalist strategy is called Lightweight Hash-based Source Authentication (LiHA). Our goal is to add an authentication primitive in a manner that makes the least demands on the existing Internet while still adding meaningful packet authentication. Following the New Jersey approach it makes these design choices:

  • Move key distribution out of the communication path to external servers.

• Rely on rapid key rotation to mitigate replay attacks.

  • Limit the concurrent state to only the secret key. Do not use nonces or other state.

  • Use existing IP options rather than add new headers or fields.

  • Use a strong single hash function rather than the double-hashing used in standard HMAC.

  • Hash only over selected IP header fields and key, using the source IP prefix as the security context.

Unlike every other protocol based approach LiHA requires an external server for the sender and verifier to communicate the secret keys. This greatly simplifies the protocol, the system, and allows for much less state in the networking equipment. We show external key exchange and updates can be performed in under 1 second in practice.

We show that LiHA is robust to packet alteration, lightweight, performant, and straightforward to implement. We prove its minimalism and simplicity by creating multiple implementations at different points in the network: on hosts at the user-level, in the kernel, and inside a network interface card. This implementation flexibility restores decentralized operator autonomy. It allows both large and small ISPs to offer filtering services that remove malicious traffic rather than disperse it behind expensive and complex anycast networks, thus reclaiming resources that would otherwise be wasted on attack traffic. Its simplicity allows any organization that manages IP networks to implement filtering at low cost. The minimalist approach preserves full compatibility with existing infrastructure while satisfying the three critical constraints of high-speed forwarding: near-stateless operation, portability across environments, and incremental deployability without universal adoption.

We make the following contributions:

  • Diverse Prototyping. We implement LiHA across three prototypes—a pure user-level application, an eBPF module, and an FPGA implementation—demonstrating that LiHA requires minimal modifications to operating systems, routers, and existing networking equipment.

  • High-Speed Performance. We achieve 100 Gbps line-rate source authentication in our FPGA implementation and deliver performance comparable to single-thread execution using eBPF, including the forwarding path source lookup.

• Qualitative Evaluation. We evaluate the development effort and architectural complexity of integrating LiHA at different layers of the network stack.

  • Practical Mitigation. We demonstrate LiHA's effectiveness by mitigating an emulated DDoS attack, proving that it preserves internal network bandwidth even when the inbound local area network (LAN) link approaches saturation.

The remainder of this paper is organized as follows. Section 2 reviews related work. Section 3 defines our threat model. Section 4 presents the LiHA design. Section 7 describes our implementations and presents our experimental results. Section 6 discusses limitations of LiHA design, and Section 10 concludes the paper.

References (28)