You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/05/03 23:52:16 UTC

[jira] [Commented] (TS-1770) Unable to create remap rule for SSL sites when accessed as a forward proxy

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

ASF subversion and git services commented on TS-1770:
-----------------------------------------------------

Commit 16099e8541abc266cca0220fefb85fb904cdf48b in branch refs/heads/master from [~adam@brivo.com]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=16099e8 ]

TS-1770 Unable to create remap rule for SSL sites when accessed as a
forward proxy.

                
> Unable to create remap rule for SSL sites when accessed as a forward proxy
> --------------------------------------------------------------------------
>
>                 Key: TS-1770
>                 URL: https://issues.apache.org/jira/browse/TS-1770
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 3.3.1, 3.2.4
>            Reporter: Mark Harrison
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 3.3.3
>
>
> When connecting to https sites using ATS as a forward proxy, the CONNECT method is used, and the URL doesn't have a scheme (http/https) present. When using remap.config to limit which sites ATS will proxy for (remap_required set to 1), there is no rule that can be made to match an a request without a scheme present, and so no way to allow requests to a https site.
> Example:
> {code}
> # curl -x 127.0.0.1:8080 -o /dev/null -v -s https://example.com/
> * About to connect() to proxy 127.0.0.1 port 8080 (#0)
> *   Trying 127.0.0.1... connected
> * Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> * Establish HTTP proxy tunnel to example.com:443
> > CONNECT example.com:443 HTTP/1.1
> > Host: example.com:443
> > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
> > Proxy-Connection: Keep-Alive
> >
> < HTTP/1.1 404 Not Found
> < Date: Fri, 22 Mar 2013 21:41:25 GMT
> < Connection: close
> < Server: ATS/3.3.1-dev
> < Cache-Control: no-store
> < Content-Type: text/html; charset=utf-8
> < Content-Language: en
> < Content-Length: 309
> <
> * Received HTTP code 404 from proxy after CONNECT
> * Closing connection #0
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira