{
  "id": "2021/1022",
  "url": "https://opencryptology.org/2021/1022",
  "original_url": "https://eprint.iacr.org/2021/1022",
  "title": "Zero-Knowledge Middleboxes",
  "authors": [
    "Paul Grubbs",
    "Arasu Arun",
    "Ye Zhang",
    "Joseph Bonneau",
    "Michael Walfish"
  ],
  "affiliations": null,
  "abstract": "This paper initiates research on zero-knowledge middleboxes (ZKMBs). A ZKMB is a network middlebox that enforces network usage policies on encrypted traffic. Clients send the middlebox zero-knowledge proofs that their traffic is policy-compliant; these proofs reveal nothing about the client’s communication except that it complies with the policy. We show how to make ZKMBs work with unmodified encrypted-communication protocols (specifically TLS 1.3), making ZKMBs invisible to servers. As a contribution of independent interest, we design optimized zero-knowledge proofs for TLS 1.3 session keys.\nWe apply the ZKMB paradigm to several case studies. Experimental results suggest that in certain settings, performance is in striking distance of practicality; an example is a middlebox that filters domain queries (each query requiring a separate proof) when the client has a long-lived TLS connection with a DNS resolver. In such configurations, the middlebox’s overhead is 2–5 ms of running time per proof, and client latency to create a proof is several seconds. On the other hand, clients may have to store hundreds of MBs depending on the underlying zero-knowledge proof machinery, and for some applications, latency is tens of seconds.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Zero-Knowledge Middleboxes” by Paul Grubbs, Arasu Arun, Ye Zhang, Joseph Bonneau, Michael Walfish, Cryptology ePrint Archive, Paper 2021/1022, https://eprint.iacr.org/2021/1022. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-08-06T07:54:30Z",
    "updated": "2022-05-06T13:57:35Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/1022.pdf",
    "sha256": "6d44ea0da865207e79ff4dc3a1e7ca4eb5b43f413086cf223dfbe42030413906",
    "size": 422983,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/1022/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1022.pdf",
      "size": 422983,
      "sha256": "6d44ea0da865207e79ff4dc3a1e7ca4eb5b43f413086cf223dfbe42030413906",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/1022/versions/20210806T081540Z.pdf",
      "captured_at": "2021-08-06T08:15:40Z",
      "label": "copy captured 2021-08-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210806081540id_/https://eprint.iacr.org/2021/1022.pdf",
      "size": 386720,
      "sha256": "0d8c46b79337394b20c96b2711d1c0aaad9c88fa54c88351f17fec9e17ac62c1",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260526091210id_/https://eprint.iacr.org/2021/1022.pdf",
      "captured_at": "2026-05-26T09:12:10Z",
      "size": 424315
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1022.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 422983
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/1022,\n      author = {Paul Grubbs and Arasu Arun and Ye Zhang and Joseph Bonneau and Michael Walfish},\n      title = {Zero-Knowledge Middleboxes},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/1022},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/1022}\n}"
}
