Article View: alt.privacy.anon-server
Article #208689Re: Delphi, Tor and SOCKS4/5 support
From: John
Date: Mon, 14 Aug 2006 19:04
Date: Mon, 14 Aug 2006 19:04
78 lines
2616 bytes
2616 bytes
Thanks to all of you. >On Sun, 13 Aug 2006, John <john@hotmail.com> wrote: >>Now the question is: what is it I have to modify on my Delphi-program >>in order to support SOCKS4/5 and thus Tor. Which (Indy)-component do I >>have to use and / or which properties do I have to set. > >From the Indy Knowledge Base at >http://www.indyproject.org/KB/index.html?tidtcpclientsocks.htm : That's what I am looking for. Strangely, I couldn't find this info in my help file called INDY10.HLP. Anyway, I'll add this site to my favorites! > >For Indy 10 > >1. Create an IOHandler such as TIdIOHandlerStack or SSL IOHandler and >assign the TCPClient.IOHandler property this. >2. Create a TIdSocksInfo object and assign it to the IOHandler's >TransparentProxy property. >3. Set the TIdSocksInfo properties as required. >4. If there is another proxy that the SOCKS Proxy itself needs to use, you >have to use, set the Chained Proxy to a TIdCustomTransparentProxy such as >TIdSocksInfo for another socks Proxy or a TIdConnectThroughHttpProxy for a >HTTP Tunneling proxy. > > >Not for your version, but might be worth reading (from the same place as >above): > >For Indy 8.0 >In Delphi, do the following: > >IdTCPClient1.SocksInfo.Host := [the DNS name of the proxy server or its IP >address] > >IdTCPClient1.SocksInfo.Protocol := [svNoSocks for no SOCKS support, >svSocks4 for SOCKS 4, svSocks4A for SOCKS 4 with protocol extension, and >svSocks5 for SOCKS 5 protocol] > >IdTCPClient1.SocksInfo.Authentication := [saNoAuthentication for no SOCKS >authentication or saUsernamePassword for username and password >authentication] > >HTH.
Technical Details
Message-ID:
<20060814190158.2GI2WOJ0I2@smtp4.wanadoo.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!news.musoftware.de!newsfeed.x-privat.org!news.bananasplit.info!nym2newsReferences:
<20060813194434.80C63X7O6L@smtp4.wanadoo.nl> <166c4eee917abfa1461353598c813afb@pseudo.borked.net>Show Full Headers
Complete Article Headers
Message-ID: <20060814190158.2GI2WOJ0I2@smtp4.wanadoo.nl> Subject: Re: Delphi, Tor and SOCKS4/5 support Date: Mon, 14 Aug 2006 21:04:58 +0200 From: John <john@hotmail.com> References: <20060813194434.80C63X7O6L@smtp4.wanadoo.nl> <166c4eee917abfa1461353598c813afb@pseudo.borked.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!news.musoftware.de!newsfeed.x-privat.org!news.bananasplit.info!nym2news Newsgroups: alt.privacy.anon-server X-Abuse-Contact: abuse@bananasplit.info Organization: Bananasplit - Mail2News Lines: 78