移至檔案
David Lazar ec8f5beeaf Fix bug in pki.Index
Fail instead of returning an incorrect index when serverName is
not contained in pki.ServerOrder.
2015-12-05 20:21:24 -05:00
confs Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
internal Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
onionbox Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
rand Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
screenshots Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
vrpc Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
vuvuzela-client Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
vuvuzela-entry-server Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
vuvuzela-server Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
LICENSE Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
README.md Mention slides in README 2015-12-03 12:14:08 -05:00
boxkey.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
convo.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
dial.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
entry_api.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
laplace.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
msgtype_string.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
noise.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
noise_test.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
params.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
pki.go Fix bug in pki.Index 2015-12-05 20:21:24 -05:00
pki_test.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
shuffle.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
shuffle_test.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
vuvuzela.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00
vuvuzela_test.go Publish Vuvuzela v0.1 2015-12-01 22:59:31 -05:00

README.md

Metadata absolutely tells you everything about somebody's life

Stewart Baker, former General Counsel of the NSA

|

We kill people based on metadata

Michael Hayden, former Director of the NSA

Vuvuzela

Vuvuzela is a messaging system that protects the privacy of message contents and message metadata. Users communicating through Vuvuzela do not reveal who they are talking to, even in the presence of powerful nation-state adversaries. Our SOSP 2015 paper explains the system, its threat model, performance, limitations, and more. Our SOSP 2015 slides give a more graphical overview of the system.

Vuvuzela is the first system that provides strong metadata privacy while scaling to millions of users. Previous systems that hide metadata using Tor (such as Pond) are prone to traffic analysis attacks. Systems that encrypt metadata using techniques like DC-nets and PIR don't scale beyond thousands of users.

Vuvuzela uses efficient cryptography (NaCl) to hide as much metadata as possible and adds noise to metadata that can't be encrypted efficiently. This approach provides less privacy than encrypting all of the metadata, but it enables Vuvuzela to support millions of users. Nonetheless, Vuvuzela adds enough noise to thwart adversaries like the NSA and guarantees differential privacy for users' metadata.

Screenshots

A conversation in the Vuvuzela client

client

In practice, the message latency would be around 20s to 40s, depending on security parameters and the number of users connected to the system.

Noise generated by the Vuvuzela servers

server

Vuvuzela is unable to encrypt two kinds of metadata: the number of idle users (connected users without a conversation partner) and the number of active users (users engaged in a conversation). Without noise, a sophisticated adversary could use this metadata to learn who is talking to who. However, the Vuvuzela servers generate noise that perturbs this metadata so that it is difficult to exploit.

Usage

Follow these steps to run the Vuvuzela system locally using the provided sample configs.

  1. Install Vuvuzela (assuming GOPATH=~/go, requires Go 1.4 or later):

     $ go get github.com/davidlazar/vuvuzela/...
    

The remaining steps assume PATH contains ~/go/bin and that the current working directory is ~/go/src/github.com/davidlazar/vuvuzela.

  1. Start the last Vuvuzela server:

     $ vuvuzela-server -conf confs/local-last.conf
    
  2. Start the middle server (in a new shell):

     $ vuvuzela-server -conf confs/local-middle.conf
    
  3. Start the first server (in a new shell):

     $ vuvuzela-server -conf confs/local-first.conf
    
  4. Start the entry server (in a new shell):

     $ vuvuzela-entry-server -wait 1s
    
  5. Run the Vuvuzela client:

     $ vuvuzela-client -conf confs/alice.conf
    

The client supports these commands:

  • /dial <user> to dial another user
  • /talk <user> to start a conversation
  • /talk <yourself> to end a conversation

Deployment considerations

This Vuvuzela implementation is not ready for wide-use deployment. In particular, we haven't yet implemented these crucial components:

  • Public Key Infrastructure: Vuvuzela assumes the existence of a PKI in which users can privately learn each others public keys. This implementation uses pki.conf as a placeholder until we integrate a real PKI.

  • CDN to distribute dialing dead drops: Vuvuzela's dialing protocol (used to initiate conversations) uses a lot of server bandwidth. To make dialing practical, Vuvuzela should use a CDN or BitTorrent to distribute the dialing dead drops.

There is a lot more interesting work to do. See the issue tracker for more information.

Acknowledgements

This code is written by David Lazar with contributions from Jelle van den Hooff, Nickolai Zeldovich, and Matei Zaharia.