Totalrc.net Home

HttpTunneling
RSS
WikiSearch

AllWikiTopics
RecentChanges

TextFormattingRules
SetUsername
VeryQuickWiki

HttpTunneling @Feb 8, 2008 6:36:10 PM

Socks2http for Dummies

What should be on "Troubleshooting" Tab ?
I downloaded the installation file setups2h.exe. What should I do next?
What should be on "Proxy Configuration" Tab? (Socks2HTTP Configuration Menu)
How can I configure my client software(exm: MSN Messenger)?


  • How do I know that Socks2HTTP is working?
When running it displays a small icon on the task bar.



First light shows connection to http proxy server,
Second light shows the status of socks2http internal socks server,
Third light shows connection to the gateway

Clicking the right mouse button on the icon brings up a menu



from which you can configure, terminate, register, etc



  • What should be on "Security" Tab ? (Socks2HTTP Configuration Menu)

You "Security" Tab should look like that






  • What should be on "Proxy Authentication" Tab? (Socks2HTTP Configuration Menu)

You "Proxy Authentication" Tab should look like that




  • How can I configure Socks2HTTP?
You can configure the program when it is running
by using
pop-up menu

Choose "Configuration" from menu list. There are several areas you have to check:

1. Proxy Configuration Tab

2. "Proxy Authentication" Tab

3. "Gateway Configuration" Tab

4. "Security" Tab

5. "Troubleshooting" Tab

  • I installed Socks2HTTP what should I do next?
You should configure :

1. Socks2http More Info

2. Your Client Software ( example: MSN Messenger)

  • Can I use Socks2HTTP to access p-2-p(peer to peer)?
Yes, you can. Many customers use it with Kazaa, WinMx, etc.<br>
For more information how to run specific client software click here

  • What should be on"Gateway Configuration" Tab? (Socks2HTTP Configuration Menu)

You "Gateway Configuration" Tab should look like that



user_id - is your socks2http gateway user id which was sent to you by email

If you do not have gateway user id you can obtain one by using one of the buttons.




Basic Configuration

  • What is proxy autoconfiguration script?
A Web browser can obtain proxy information from a special script stored on the server. If your Web browser is set up this way you can paste the script URL from the browser into Socks2HTTP configuration.

  • How should I configure socks2http and my software
Socks2http should be configured with valid
http proxy.


Client program ( Program - Specific Configuration) should be configured with following settings:

Proxy type: socks5
Proxy host: localhost
Proxy port: 1080
No authentication

  • What is HTTP proxy? How can I find out the name of my HTTP proxy?

HTTP proxy is a server that is routing client HTTP requests (usually coming from their Web Browser) to the Internet.

Socks2HTTP needs to know about HTTP proxy to be able to access the Internet.

The easiest way to find out what is your
HTTP proxy is to look at your Web browser settings.


If you use IE you can get info about it from
Main Menu/Tools/Internet Options/Connections/Lan Settings.

If you use Netscape it is in Main Menu/Edit/Preferences/Advanced/Proxies.

We are working on automating this process as well as using some other methods to find an http proxy. Eventually this functionality will be built into the program, for now here is the utility to try: findproxy.exe


If you still can't find the proxy you can try this advanced method: In your web browser open the following URL:
http://www.totalrc.net/servlets/sleeper. It will keep your connection to
HTTP proxy open for 2 minutes.

Open a DOS window and run "netstat" (without quotes).
It will list your current TCP connections.
One of the connections is between your computer and HTTP proxy.
HTTP proxies usually use ports: 80, 8080, 3128.


General Issues
  • I downloaded the demo. It works but sometimes it is slow and frequently disconnects.
Demo is using the gateway for unregistered users. It runs on a slow computer with limited bandwidth. This gateway is sufficient to prove that program works. Our subscriber's gateway has bandwidth allocation up to 400 kbps/user.

  • Is there a socks2http user discussion group?

http://groups.yahoo.com/group/socks2http

  • How can I configure socks2http to use with personal gateway: http2ipj?
Here are simple directions:

On http2ipj:

Specify primary port:, extra port, valid user(s)

On socks2http:

Gateway: ip address of the machine running http2ipj,

port=[extra port defined in http2ipj]

User ID=[one of users defined in http2ipj]

Make sure that http2ipj doesn't have any port conflicts, particularly with IIS(on ports 443 and 80)


  • What do lights on the icon mean?


First light shows connection to http proxy server,

second light shows the status of socks2http internal socks server,

third light shows connection to the gateway

  • What can I do if my client program( telnet, ftp, etc.) does not support SOCKS?
Please download the free SocksCap32 utility from http://archive.socks.permeo.com/cgi-bin/download.pl (Select SocksCap32 from the list)

If you run your program from SocksCap32 all your network calls will be "socksified", i.e. converted to use SOCKS protocol. In setting up SocksCap32 you should specify your SOCKS5 server as localhost, port is 1080, no authentication.

If you have DNS problems, i.e. some host names are not resolved, please select the option: "Try local then remote" when setting up SocksCap32.

The combination of Socks2HTTP with SocksCap32 lets you enjoy multiple benefits from behind a firewall, such as:
  • Anonymously browse the net( run your favorite Web Browser from SocksCap32)
  • Browse restricted sites( run your favorite Web Browser from SocksCap32)
  • Access your email on any server( run your favorite email client from SocksCap32)
  • Read news( run your favorite Newsreader from SocksCap32)
  • Use cool programs( run your favorite cool programs from SocksCap32) etc.
Programs run from SocksCap32 should always be configured to use Direct(no proxy) connection to the Internet.

  • How can I browse the Web anonymously?
Start your favorite web browser from sockscap32

more details here

In the proxy settings specify that connection to internet is direct (no proxy).

  • What are the limitations of socks2http?
There are certain proxies that socks2http can't deal with. At this point a known problem is related to proxies stripping custom headers. We are dealing with these limitations as they are being discovered.

  • I tried socksification, however my client program crashes/does not work. What else can I do?
You can use Port Mapper feature built into socks2http v.98x.

Example: you need to use MS Outlook to send/receive email using email server that is not accessable from your PC.

MS Outlook configuration:

mailserver=127.0.0.1(incoming and outgoing)



Socks2http port mapper configuration:

port 25->[your real mail server]:25,TCP

port 110->[your real mail server]:110, TCP


Program - Specific Configuration

  • How can I configure OICQ to run with socks2http?

There seems to be a glitch in the way OICQ socks client handles UDP. As a workaround we suggest to run OICQ from sockcap32

More details here

When setting-up OICQ you should specify that internet connection is direct, i.e. "no proxy".
  • How can I use Napster?
First, find out what your HTTP proxy is and put it into Socks2HTTP configuration. In Napster when you specify the firewall you do it as: Socks5, localhost, port is 1080. Please leave user name and password fields blank. This should have your Napster up and running

  • My company filters RealPlayer traffic at the proxy. Can I still use it?

Close all running instances of RealPlayer and start it from sockscap32
More details here

When setting-up RealPlayer in View, Preferences, Proxy you should specify "no proxy".

  • How can I run Kazaa?
Go to Tools,Options,Firewall, make sure that your configuration screen looks like this:


  • Napster still complains that is unable to resolve "server.napster.com".
The problem you are experiencing is related to Napster trying to resolve the address of "server.napster.com" and failing because your DNS server has no information about it. This can be resolved by adding to your hosts file.

You should append _ONE_ of the following lines(whichever works for you):

64.124.41.16 server.napster.com

64.124.41.17 server.napster.com

64.124.41.18 server.napster.com

64.124.41.19 server.napster.com

to c:\winnt\system32\drivers\etc\hosts (for NT) or c:\windows\hosts (for Windows 9x).

If this file does not exist it has to be created


To make sure that Napster does not overwrite hosts file you need to use version 0.7 or higher of Socks2HTTP.

IMPORTANT NOTE: Make sure that in your Network settings DNS is enabled. To get to DNS follow this path: Control Panel, Network, Configuration, Select Adapter, Properties, DNS Configuration, Enable DNS

With recent versions of AudioGalaxy satellite it's pretty straightforward: options, use proxy server, socks5 with no authentication, host=localhost, port=1080

  • How can I run DC++ client?
Go to Settings,General , make sure that your configuration screen looks like this:



  • How can I run WinMX software?
Go to Settings,Internet Connection,Outgoing TCP connections, make sure that your configuration screen looks like this:




Troubleshooting


  • When I run the program it complains that it can't find WS2_32.DLL or crashes
If your operating system is Windows 95, most likely you don't have any service packs installed.
You will need to download Winsock2 update: here and install it.
If your operating system is NOT Windows 95, you may need to reinstall it.
  • When I run the program it says that port 1080 is not availabe
This may happen when another program or another instance of socks2http occupies
To find out if this is the case you can run "netstat -an" from command line, use task manager to find other instances of socks2http or other programs capable of using port 1080, or download and run an excellent utility - Active Ports from:
http://www.webattack.com/dlnow/rdir.dll?id=100150 which will show you exactly what program uses what port.
  • Whenever I click the icon of program in system tray it just vanishes

One of the reasons is that winsock layer is changed. This may be done by programs such as MS Proxy Client, e-border driver, Wingate client, etc. To fix the problem you need to configure these programs to "ignore" socks2http. For MS Proxy client, for example, it can be done by using the following settings in mspclnt.ini:

[socks2http]

Disable=1
  • My company uses MS Proxy(ISA Server). Socks2http doesn't seem to work with it.
Socks2http supports NTLM authentication required by MS Proxy or ISA Server. If your web browser prompts your for proxy user id/password/domain you need to specify them in the Proxy Authentication tab of socks2http configuration screen. If your browser doesn't prompt you for proxy credentials it may implicitly get them from your login information. In this case in the Proxy Authentication Tab you need to specify your login id, password and NT domain that you use when logging into Windows NT/2K/XP.
  • Everything was running correctly and suddenly stopped.
One of the possibilities is that the gateway you were connected to disconnected. In this case please restart the program. When it starts it connects to the load balancer and finds the working gateway.
  • I tried everything and I am stuck, what can I do?

Make sure that you are using the latest version of the program. It can be downloaded from http://www.totalrc.net/s2h..

If it still does not work please do the following:

1. On the troubleshooting section of the configuration screen specify a valid file name, i.e. c:\temp\abc.log and log level of "more details"(v.0.9x) or 5000(v.0.8x).

2. Terminate and restart socks2http

3. Run your client software

4. When it fails, terminate socks2http and email us the log file to support_socks2http@totalrc.net.


If log file is larger than 1Mb use Winzip to compress it.Also attach to the email the screenshots

(or detailed descriptions) of socks2http configuration screen and the client program configuration screen.

(Alt+PrintScreen captures a window into your clipboard).

We will diagnose the problem and try to

find the solution.



Registration
  • How can I register? What is the price?
Socks2http Purchase Online page has all necessary information
  • I tried to register but your payment processor rejected my credit card
Our payment processors use fraud check which takes into consideration the following parameters: ip address where your request comes from, your email address, physical address, phone number, etc. Practical pointers here:

1. Do not use public email, like yahoo.com or hotmail.com for registration

2. If you use a proxy that may be located in a different geographical entity - do not use it during registration

3. Make sure that all your information is typed in without mistakes

VeryQuickWiki Version 2.7.91 | Admin