-2

I am currently working on an application which have to determine the type (CONNECT, Socks4, Socks5 etc.) of one or more given proxies and connect through them.

Unfortunately I have no approach to reach my goals and hope somebody can help me.

I saw in a tool (GSA SEO Indexer) that this bahvior is somehow possible. The tool has a built-in proxy finder and checker which is able to determine the proxy type:

screenshot of the tool

I am using Delphi XE7 w/ Indy.

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770
  • You should probably test all connection types to decide what works ... – smooty86 Oct 08 '15 at 17:00
  • @smooty86 I considered doing this, but it seems me the most "ugly" way of doing this. – ewilling Oct 08 '15 at 17:34
  • Well, you *do* have one approach; the one @smooty86 suggested. If you have absolutely nothing now, you could at least *try* that approach and see if it's suitable for you, instead of just presuming it's ugly and doing nothing instead. – Ken White Oct 08 '15 at 21:53

1 Answers1

1

There are proxy detection protocols available, such as WPAD. You can use that to obtain details about proxies on a WPAD-enabled network, and then you can connect to them as needed.

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770