Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

How to interrupt localhost traffic? #915

Open
@ljh1991125

Description

@ljh1991125

Hi.

I am using Titanium Proxy 3.1.1397.
Generally it works very well.
But there is one problem.
If it is localhost traffic, the proxy does not seem to be able to handle it.
For example, if i type http://localhost/index.php, it is not detected by Proxy's OnRequest Callback.
I need to redirect localhost traffic to server.

This is my source code.

                proxyServer.BeforeRequest += OnRequest;
                proxyServer.BeforeResponse += OnResponse;
                proxyServer.ServerCertificateValidationCallback += OnCertificateValidation;
                proxyServer.ClientCertificateSelectionCallback += OnCertificateSelection;
                proxyServer.EnableTcpServerConnectionPrefetch = false;
                proxyServer.EnableConnectionPool = false;

                explicitEndPoint = new ExplicitProxyEndPoint(IPAddress.Any, 8000, true)
                {
                    
                };

Thank you for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions