HookUsingPACFile only

6 posts, 0 answers
  1. Calvin
    Calvin avatar
    2 posts
    Member since:
    Mar 2017

    Posted 26 Mar 2017 Link to this post

    I want to use PAC file. http://127.0.0.1:8888/proxy.pac, this way, if my proxy accidently quits without remove the proxy setting, the browser will be able to continue to work since it can't find the pac file, thus consider it "No proxy".

     

    But When I set the flags, if I don't include: "RegisterAsSystemProxy", the PAC file will not registered.

    If I DO include "RegisterAsSystemProxy", the PAC file is registered, but also the proxy servers, 127.0.0.1 8888 for http and https. What's the point to have both registered, and it negate my purpose.

    Anyway to hook up PAC file only?

     

    Also, how to  modify the PAC file content, for GOD's sake?

  2. the East Wind
    the East Wind avatar
    4 posts
    Member since:
    Sep 2019

    Posted 03 Sep Link to this post

    Hi,Calvin

    I have encountered the same problem as you. I have been looking for it everywhere, but no solution has been found. May I ask if this solution has been solved?

  3. Eric R | Technical Support Engineer
    Admin
    Eric R | Technical Support Engineer avatar
    133 posts

    Posted 04 Sep Link to this post

    Hello,

    At this time, Fiddler does not support manually setting the PAC file as the Gateway. However, there is the following workaround. 

    Step 1 - Configure the Windows Proxy Settings to use the PAC file. 

    Step 2 - Start Fiddler with Use System Proxy settings.

    I hope this helps. Please let me know if you need any additional information. Thank you for using the Fiddler Forums.

    Regards,


    Eric R | Technical Support Engineer
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  4. the East Wind
    the East Wind avatar
    4 posts
    Member since:
    Sep 2019

    Posted 5 days and 22 hours ago Link to this post

    Hi,Eric

    Thank you for your reply and time.

    I am sorry that I may not have stated my problem.

    I want to use only PAC file through fiddlercore, and I don't want to include "RegisterAsSystemProxy" (as Calvin said at the beginning of the post).

    In fact, what I want to do is to use fiddlercore to implement only a specific application, without affecting the operation of other applications, just as fiddler can do. What I know is that when I use the "Any Process(drag this icon to a window to show traffic from only that process)" function of fiddler, he can only proxy the application I want. I don't know how fiddler implements this function. Maybe he just uses oS.Ignore() like fiddlercore?

    I have seen your discussion with Hendrik in this post, which has benefited me a lot. I adopted "idea 1", but I encountered a problem later, I don't want to affect other applications, I just want to proxy what I want, but if I don't include "RegisterAsSystemProxy" in FiddlerCoreStartupFlags, PAC file will not take effect. What have I missed?

    This is the problem I encountered,please could you advise me.

    Thanks


  5. Eric R | Technical Support Engineer
    Admin
    Eric R | Technical Support Engineer avatar
    133 posts

    Posted 1 day and 10 hours ago Link to this post

    Hello,

    Thank you for the updated information. I see now that I misunderstood the initial inquiry. Please accept my apologies for misunderstanding.

    With that said, I am going to reach out to my colleagues and see if there is a better resolution for this. Once I have more information I will provide an update here. 

    In the meantime, please let me know if you need any additional information and thank you for your patience and understanding.

    Regards,


    Eric R | Technical Support Engineer
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Eric R | Technical Support Engineer
    Admin
    Eric R | Technical Support Engineer avatar
    133 posts

    Posted 1 day and 2 hours ago Link to this post

    Hello,

    After speaking with my colleagues, the current HookUsingPacFile Startup Method implementation generates the PAC file upon attaching to the System Proxy. This has been by design in Fiddler for some time and the PAC file information cannot be modified because it is based on the information at attach. However, in a future release we plan to alter the logic which would enable bypassing this. 

    Additionally, we previously introduced the Telerik.NetworkConnections API which may be used to achieve the desired results in a FiddlerCore application. Although, the documentation for this won't be ready until the next release which is tentatively set for Mid-October. For a general explanation on how to use the API see the How do I use Telerik.NetworkConnections forum post. 

    At this time, I recommend trying to use the Telerik.NetworkConnections API or waiting until the next release which should enable the functionality described. 

    Please let me know if you need any additional information. As always, thank you for using Fiddler.

    Regards,


    Eric R | Technical Support Engineer
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top