Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4B417200C0F for ; Wed, 18 Jan 2017 10:29:32 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 49D4A160B3A; Wed, 18 Jan 2017 09:29:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9883D160B44 for ; Wed, 18 Jan 2017 10:29:31 +0100 (CET) Received: (qmail 47100 invoked by uid 500); 18 Jan 2017 09:29:30 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 47090 invoked by uid 99); 18 Jan 2017 09:29:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2017 09:29:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 4B40EC161B for ; Wed, 18 Jan 2017 09:29:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.998 X-Spam-Level: X-Spam-Status: No, score=-1.998 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id B3qOamtDOJ0s for ; Wed, 18 Jan 2017 09:29:29 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id EF2335FB0F for ; Wed, 18 Jan 2017 09:29:28 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 03683E8667 for ; Wed, 18 Jan 2017 09:29:28 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 88A162528B for ; Wed, 18 Jan 2017 09:29:26 +0000 (UTC) Date: Wed, 18 Jan 2017 09:29:26 +0000 (UTC) From: "Stephan Erb (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AURORA-343) HTTP thrift service is not over SSL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 18 Jan 2017 09:29:32 -0000 [ https://issues.apache.org/jira/browse/AURORA-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephan Erb resolved AURORA-343. -------------------------------- Resolution: Not A Problem I am closing this for now as we have a documented mitigation. If anyone feels strongly, I am totally fine with re-opening the issue. {code} commit 6ad4c8728b8f024a04a16be52a53ba96cc185ca3 Author: Stephan Erb Date: Wed Jan 18 10:25:54 2017 +0100 Make announced scheduler endpoint name configurable. We decided to co-deploy an HTTPS enabled reverse proxy in front of each of our Aurora schedulers. The proxy instances bind to `public_ip:8081` and the schedulers to `localhost:8081`. By announcing the scheduler endpoint as `https` we can ensure the default Aurora [client connects via HTTPS](https://github.com/apache/aurora/blob/master/src/main/python/apache/aurora/client/api/scheduler_client.py#L176-L178). Default: [zk: 127.0.0.1:2181(CONNECTED) 5] get /aurora/scheduler/member_0000000011 {"serviceEndpoint":{"host":"aurora.local","port":8081},"additionalEndpoints":{"http":{"host":"aurora.local","port":8081}},"status":"ALIVE"} When running with `-serverset_endpoint_name=https`: [zk: 127.0.0.1:2181(CONNECTED) 0] get /aurora/scheduler/member_0000000019 {"serviceEndpoint":{"host":"aurora.local","port":8081},"additionalEndpoints":{"https":{"host":"aurora.local","port":8081}},"status":"ALIVE"} Bugs closed: AURORA-343 Reviewed at https://reviews.apache.org/r/55583/ RELEASE-NOTES.md | 3 +++ docs/operations/security.md | 50 ++++++++++++++++++++++++++++++++++++-------------- docs/reference/scheduler-configuration.md | 6 ++++++ src/main/java/org/apache/aurora/scheduler/app/SchedulerMain.java | 6 +++++- 4 files changed, 50 insertions(+), 15 deletions(-) {code} > HTTP thrift service is not over SSL > ----------------------------------- > > Key: AURORA-343 > URL: https://issues.apache.org/jira/browse/AURORA-343 > Project: Aurora > Issue Type: Bug > Components: Scheduler > Reporter: Bill Farner > Assignee: Stephan Erb > Priority: Minor > Labels: newbie > > {{SchedulerAPIServlet}} is bound against the default debug HTTP server, which is non-encrypted. This leaves the door open to snooping. -- This message was sent by Atlassian JIRA (v6.3.4#6332)