You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2008/12/22 17:40:04 UTC

DO NOT REPLY [Bug 46437] New: JMeter Proxy: Https spoofing with absolute urls

https://issues.apache.org/bugzilla/show_bug.cgi?id=46437

           Summary: JMeter Proxy: Https spoofing with absolute urls
           Product: JMeter
           Version: Nightly (Please specify date)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: wernerr@ethz.ch
                CC: hauser@acm.org


Hi,

I'm using JMeter r723926 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=723926 )(Version of 6 Dec 08) and noticed the following:

When using the JMeter Http Proxy Server with "Attempt Https spoofing" enabled,
urls in the Meta tags (see example further down) are not rewritten.

--------------------------
examble index.html:

<HTML>
<HEAD>
<meta HTTP-EQUIV="REFRESH" CONTENT="0;
 URL=https://my.web.host.tld:443/hp/index.php?id=30&L=0" /></head>
</html>
--------------------------

See also Bug 7378 Comment 10.

At the moment, a PHP file (index.php) is returned with the following content: 

java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.Socket.connect(Socket.java:520)
        at java.net.Socket.connect(Socket.java:470)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
        at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:278)
        at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:335)
        at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:176)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
        at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:162)
        at
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:433)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1016)
        at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:195)


Thanks for your great work.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46437] JMeter Proxy: Https spoofing with absolute urls

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46437


Rose-Line Werner <we...@ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wernerr@ethz.ch
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #1 from Rose-Line Werner <we...@ethz.ch>  2009-01-14 07:39:17 PST ---
The url rewriting works in Https spoofing mode. The problem was something else.
Sorry for the "false alarm" ^^.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org