Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • briar briar
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 789
    • Issues 789
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • briar
  • briarbriar
  • Issues
  • #28

Closed
Open
Created Dec 01, 2015 by akwizgran@akwizgranOwner

LAN peer discovery

There are three options:

  1. Use Wi-Fi Direct peer discovery.

Advantages:

  • Available on recent Android devices with very little effort
  • Doesn't create a Briar-specific traffic fingerprint
  • Doesn't reveal the number of contacts

Disadvantages:

  • Not available on older Android devices
  • May not be available on all platforms
  1. Use BitTorrent's local peer discovery protocol. Advertise a single infohash for all contacts.
    https://en.wikipedia.org/wiki/Local_Peer_Discovery
    http://forum.utorrent.com/viewtopic.php?pid=433785#p433785

Advantages:

  • Doesn't create a Briar-specific traffic fingerprint
  • Doesn't reveal the number of contacts

Disadvantages:

  • Direct use of multicast won't work on all Android devices
  1. Use a custom protocol. Choose a pseudorandom multicast group, advertise it in transport properties. Join the group at startup and periodically send a UDP packet to the group. Join contacts' multicast groups, listen for UDP packets, and connect back via TCP.

Advantages:

  • Won't trigger filter rules designed to catch P2P traffic

Disadvantages:

  • Direct use of multicast won't work on all Android devices
  • Will IGMP traffic reveal the number of contacts?
Edited Nov 21, 2020 by Cleopatra
Assignee
Assign to
Time tracking