You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alexander Rojas (JIRA)" <ji...@apache.org> on 2015/06/26 12:26:05 UTC

[jira] [Commented] (MESOS-2877) Allow libprocess firewall to have more control over the responses sent on failures

    [ https://issues.apache.org/jira/browse/MESOS-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602666#comment-14602666 ] 

Alexander Rojas commented on MESOS-2877:
----------------------------------------

[r/35919/|https://reviews.apache.org/r/35919/] - Firewall rule's apply method now returns a pointer to a {{http::Response}} when the rule forbids the request.

> Allow libprocess firewall to have more control over the responses sent on failures
> ----------------------------------------------------------------------------------
>
>                 Key: MESOS-2877
>                 URL: https://issues.apache.org/jira/browse/MESOS-2877
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Alexander Rojas
>            Assignee: Alexander Rojas
>              Labels: mesosphere
>
> The libprocess firewall provides a powerful mechanism to control which requests are accepted based on the pair (socket, request). 
> However the firewall itself has no control over the responses sent when a request is rejected beyond a custom message. It always sent a 403 Forbidden error, however there are cases where the firewall could potentially send other kind of errors (think 401 Unauthorized if authorization is implemented).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)