Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Optional encryption #1758

Merged
merged 7 commits into from
Dec 15, 2015
Merged

Optional encryption #1758

merged 7 commits into from
Dec 15, 2015

Commits on Dec 14, 2015

  1. Include trust level in features exchange

    Add a 'Trusted' feature to the protocol exchange which indicates whether
    the remote considers us to be reachable via a secure network; overlay
    encryption will be disabled in the event that both peers agree. For
    backwards compatibility purposes a default value of untrusted is assumed
    if the feature is missing.
    awh committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    d434b50 View commit details
    Browse the repository at this point in the history
  2. Fallback to encrypted sleeve on a per-connection basis

    If overlay encryption is required between peers, the fast datapath
    forwarder returns an error rather than aborting the process, allowing
    the overlay switch to fall back gracefully to an encrypted sleeve
    overlay connection.
    awh committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    059cc65 View commit details
    Browse the repository at this point in the history
  3. Add trusted subnets to weave status

    `weave status` now displays the list of specified trusted subnets, and
    `weave staus connections` shows the encryption state of individual
    connections.
    awh committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    4e41d4d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0cb9cf View commit details
    Browse the repository at this point in the history
  5. Document trusted subnets

    Update features and troubleshooting markdown.
    awh committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    b9792f8 View commit details
    Browse the repository at this point in the history
  6. Smoke test trusted subnets

    awh committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    85d4b1f View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2015

  1. Disable pcap optimisation of encrypted sleeve

    Prior to optional encryption support, enabling encryption disabled the
    fast datapath overlay (because it doesn't support encryption) but left
    the OVS datapath netdev in place for bridging (so that users could
    switch encryption on and off without resetting the bridge). In this
    situation the ODP miss handler is guaranteed to be invoked for every
    packet, so as an optimisation the weave script configured the router to
    use pcap to capture packets from the bridge as that is slightly more
    efficient. The introduction of optional encryption means the guarantee
    no longer holds, and so the optimisation must be removed.
    awh committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    e12dbb4 View commit details
    Browse the repository at this point in the history