Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Charles to intercept and rewrite a certain query in proxified HTTP requests as following:

HTTP request --->> Proxifier --->> Charles Socks proxy ---->> HTTP proxy --->> HTTP server

The problem is that after rewriting HTTP requests, Charles sends them directly to the HTTP server ignoring the fact that they are proxified. I have compared the original proxified HTTP requests (without Charles interception) with the Charles-rewritten HTTP requests in Wireshark and found out that the HTTP proxy IP/port changed to the HTTP server IP/port! certainly as a result of Charles doing unnecessary DNS lookup based on HTTP server hostname, How to go about this problem?

share|improve this question
just to clear any confusion I am using the verb/adjective proxified to refer to the HTTP proxy not to Charles Socks proxy and Proxifier is used only for redirecting HTTP traffic to Charles. – Bruce Apr 7 '14 at 1:17
I'd like also to dismiss the suggestion of setting external proxy in Charles to the desired HTTP proxy to overcome the problem since there are many HTTP proxies. – Bruce Apr 7 '14 at 1:28

You must log in to answer this question.

Browse other questions tagged .