IChat Socks Proxy?

I'm having problems connecting to a Socks proxy using iChat. I know the socks proxy does work (I'm using it now) I know it does connect to AIM since It works fine using AdiumX.
Here are my settings:
(Checked) Connect using proxy
(Unchcecked) User System Preferences
Server: 127.0.0.1
Port: 1080 Protocol: Socks 5
Username: (blank)
Password: (blank)
It works fine on Safari, AdiumX, & X-Chat Aqua... Just not iChat
When I connect i get this:
Could not connect to AIM
The AIM proxy refused the connection. Check the proxy information in the Accounts section of iChat preferences.

I am having this very same problem; similar environment. I have a SOCKS4 proxy that I know works with other connections, including a "generic" AIM account. Anybody have any ideas?

Similar Messages

  • Socks Proxy with Gtalk?

    Is it possible to use a socks proxy with a Google Talk iChat account? I see the option for the AIM account but it's missing for Google Talk. I'm using iChat 4.0.7.

    Hi,
    What I posted above is the extent of my knowledge on Proxies.
    The GoogleTalk Site might be the best place to look up any info on a Proxy Login to their Server.
    9:32 PM Monday; January 12, 2009

  • Bug? Socks Proxy not taking effect for SocketChannel

    I find there's something not working when setting socks proxy in my java application.
    In java api there's such introduction about socks proxy setting:
    (from http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html)
    SOCKS protocol support settings
    The SOCKS username and password are acquired in the following way. First, if the application has registered a java.net.Authenticator default instance, then this will be queried with the protocol set to the string "SOCKS5", and the prompt set to to the string "SOCKS authentication". If the authenticator does not return a username/password or if no authenticator is registered then the system checks for the user preferences "java.net.socks.username" and "java.net.socks.password". If these preferences do not exist, then the system property "user.name" is checked for a username. In this case, no password is supplied.
    socksProxyHost
    socksProxyPort (default: 1080)
    Indicates the name of the SOCKS proxy server and the port number that will be used by the SOCKS protocol layer. If socksProxyHost is specified then all TCP sockets will use the SOCKS proxy server to establish a connection or accept one. The SOCKS proxy server can either be a SOCKS v4 or v5 server and it has to allow for unauthenticated connections.
    I am using java.nio.channels.SocketChannel to do packets trasferring, and I've caught all the packets with Ethereal, but I find there's no packets to the socks proxy.
    What I use in the application is as below:
    System.getProperties().setProperty("socksProxySet", "true");
    System.getProperties().setProperty("socksProxyHost", socksProxyHost);
    System.getProperties().setProperty("socksProxyPort", socksProxyPort);I do this above before the connection issues. The connection lines are belows:
    SocketChannel s = SocketChannel.open();
    InetSocketAddress addr = new InetSocketAddress("daisho.waaaghtv.com",  10383);
    if (s.connect(addr)) {
      System.out.println("Socks Proxy Complete!");
    }else {
      System.out.println("Socks Proxy Failed!");
    }But every time it prints me "failed" message. I am sure that I can use the socks proxy to connect to daisho.waaaghtv.com:10383.
    My shortened program is:
    import java.net.InetSocketAddress;
    import java.nio.channels.SocketChannel;
    public class socketTest {
      public static void main(String[] args) {
        try{
          System.getProperties().setProperty("socksProxySet", "true");
          System.getProperties().setProperty("socksProxyHost", "166.111.70.13");
          System.getProperties().setProperty("socksProxyPort", "1080");
          SocketChannel s = SocketChannel.open();
          InetSocketAddress addr = new InetSocketAddress("daisho.waaaghtv.com",  10383);
          if (s.connect(addr)) {
            System.out.println("Socks Proxy Complete!");
          }else {
            System.out.println("Socks Proxy Failed!");
        }catch(Exception e) {
          e.printStackTrace();
    }The printed message is:
    java.net.ConnectException: Connection timed out: connect
         at sun.nio.ch.Net.connect(Native Method)
         at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
         at socketTest.main(socketTest.java:12)I can find very limited help from internet, hope you could help me.

    But it's stated surely both in the 1.4 API and 1.5 API that it supports socks proxy by simply setting the system properties.
    I set socksProxySet to be true because I've found it from internet, but, yup, it seems useless.
    You mean the only way is to implement the socks proxy in my code? I know there is (or was, whatever) some open source project that is on this kinda topic, but ain't there a simple way?

  • Authenticating to Socks proxy using different accounts in a given JVM

    I have a J2EE application that runs some background jobs. Each of these background jobs need to connect to an external FTP server. However, all connections must go through a central SOCKS proxy server. The SOCKS proxy server is set up to require authentication using user names and passwords. Everything works fine if I've to use this SOCKS proxy with "a set" of credentials across all background jobs. However, if I want Job1 to use "user1" for SOCKS login, and Job2 to use "user2" for SOCKS login, I can't seem to find a way to do this. I need this functionality for accounting purposes. Any help on how this can be accomplished is greatly appreciated.
    Regards,
    Sai Pullabhotla

    I tried implementing the ThreadLocal idea and I think the code is working as expected, but my proxy logs are not matching up with what the code says. Below is the code I've including a test class. See below the code for my additional comments.
    import java.net.Authenticator;
    import java.net.PasswordAuthentication;
    * A customer authenticator for authenticating with SOCKS Proxy servers.
    public class ProxyAuthenticator extends Authenticator {
          * A thread local for storing the credentials to the SOCKS proxy. The Javadoc
          * for ThreadLocal says they are typically used for static fields, but
          * here I've a singleton instance. Hope this is not an issue.
         private ThreadLocal<PasswordAuthentication> credentials = null;
          * Singleton instance.
         private static ProxyAuthenticator instance = null;
          * Creates a new instance of <code>ProxyAuthenticator</code>. Each thread
          * will have its own copy of credentials, which would be <code>null</code>
          * initially. Each thread must call the <code>setCredentials</code> method
          * to set the proxy credentials if needed.
         private ProxyAuthenticator() {
              credentials = new ThreadLocal<PasswordAuthentication>() {
                   @Override
                   protected PasswordAuthentication initialValue() {
                        System.out.println("ThreadLocal initialized for "
                             + Thread.currentThread().getName());
                        return null;
                   @Override
                   public void set(PasswordAuthentication value) {
                        System.out.println(Thread.currentThread().getName() + " SET");
                        super.set(value);
                   @Override
                   public PasswordAuthentication get() {
                        System.out.println(Thread.currentThread().getName() + " GET");
                        return super.get();
          * Returns the singleton instance of this class.
          * @return the singleton instance of this class.
         public static synchronized ProxyAuthenticator getInstance() {
              if (instance == null) {
                   instance = new ProxyAuthenticator();
              return instance;
          * Sets the proxy creditials. This method updates the ThreadLocal variable.
          * @param user
          *            the user name
          * @param password
          *            the password
         public void setCredentials(String user, String password) {
              credentials.set(new PasswordAuthentication(user, password.toCharArray()));
         @Override
         public PasswordAuthentication getPasswordAuthentication() {
              System.out.println("Requesting host: " + this.getRequestingHost());
              System.out.println("Requesting port: " + this.getRequestingPort());
              System.out.println("Requesting protocol: "
                   + this.getRequestingProtocol());
              System.out.println("Requesting prompt: " + this.getRequestingPrompt());
              System.out.println("Requesting scheme: " + this.getRequestingScheme());
              System.out.println("Requesting site: " + this.getRequestingSite());
              System.out.println("Requesting URL: " + this.getRequestingURL());
              System.out.println("Requestor type: " + this.getRequestorType());
              System.out.println(Thread.currentThread().getName()
                   + " Authenitcator returning credentials "
                   + credentials.get().getUserName() + ":"
                   + new String(credentials.get().getPassword()));
              return credentials.get();
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.Authenticator;
    import java.net.InetSocketAddress;
    import java.net.Proxy;
    import java.net.Socket;
    import java.net.Proxy.Type;
    * A test class for testing the {@link ProxyAuthenticator}.
    public class SocksProxyTest implements Runnable {
          * Socks proxy host, used by the FakeFtpClient
         private static final String SOCKS_PROXY_HOST = "192.168.1.240";
          * Target FTP host to connect to
         private String host = null;
          * Proxy user
         private String proxyUser = null;
          * Proxy password
         private String proxyPassword = null;
          * Creates a new instance of <code>SocksProxyTest</code>
          * @param host
          *            the target FTP host
          * @param proxyUser
          *            proxy user
          * @param proxyPassword
          *            proxy password
         public SocksProxyTest(String host, String proxyUser, String proxyPassword) {
              this.host = host;
              this.proxyUser = proxyUser;
              this.proxyPassword = proxyPassword;
         public void run() {
              // Create the FakeFtpClient
              FakeFtpClient test = new FakeFtpClient(host, 21, proxyUser,
                   proxyPassword);
              for (int j = 0; j < 5; j++) {
                   try {
                        test.connect();
                        test.disconnect();
                        // Thread.sleep(10000);
                   catch (Throwable t) {
                        t.printStackTrace();
          * Test run.
          * @param args
          *            command line arguments
          * @throws IOException
          *             propagated
         public static void main(String[] args) throws IOException {
              // Get the singleton instance of the ProxyAuthenticator.
              ProxyAuthenticator authenticator = ProxyAuthenticator.getInstance();
              // Update the default authenticator to our ProxyAuthenticator
              Authenticator.setDefault(authenticator);
              // Array of FTP hosts we want to connect to
              final String[] ftpHosts = { "192.168.1.53", "192.168.1.54",
                        "192.168.1.55" };
              // Proxy login/user names to connect to each of the above hosts
              final String[] users = { "User-001", "User-002", "User-003" };
              // Proxy passwords for each of the above user names (in this case
              // password == username).
              final String[] passwords = users;
              // For each target FTP host
              for (int i = 0; i < 3; i++) {
                   // Create the SocksProxyTest instance with the target host, proxy
                   // user and proxy password
                   SocksProxyTest spt = new SocksProxyTest(ftpHosts, users[i],
                        passwords[i]);
                   // Create a new thread and start it
                   Thread t = new Thread(spt);
                   t.setName("T" + (i + 1));
                   try {
                        t.join();
                   catch (InterruptedException e) {
                        e.printStackTrace();
                   t.start();
         * A fake FTP client. The connect method connects to the given host, reads
         * the first line the server sends. Does nothing else. The disconnect method
         * closes the socket.
         private static class FakeFtpClient {
              * The FTP host
              private String host = null;
              * The FTP port
              private int port = 0;
              * Proxy login/user name
              private String proxyUser = null;
              * Proxy password
              private String proxyPassword = null;
              * Socket to the target host
              private Socket s = null;
              * Creates a new instance of <code>FakeFtpClient</code>
              * @param host
              * the FTP host
              * @param port
              * the FTP port
              * @param proxyUser
              * Proxy user
              * @param proxyPassword
              * Proxy password
              public FakeFtpClient(String host, int port, String proxyUser,
                   String proxyPassword) {
                   this.host = host;
                   this.port = port;
                   this.proxyUser = proxyUser;
                   this.proxyPassword = proxyPassword;
              * Connects to the target FTP host through the specified Socks proxy and
              * proxy authentication. Reads the first line of the welcome message.
              * @throws IOException
              * propagated
              public void connect() throws IOException {
                   System.out.println(Thread.currentThread().getName()
                        + " Connecting to " + host + " ...");
                   // Update the ProxyAuthenticator with the correct credentials for
                   // this thread
                   ProxyAuthenticator.getInstance().setCredentials(proxyUser,
                        proxyPassword);
                   s = new Socket(new Proxy(Type.SOCKS, new InetSocketAddress(
                        SOCKS_PROXY_HOST, 1080)));
                   s.setSoTimeout(10000);
                   s.connect(new InetSocketAddress(host, port), 10000);
                   System.out.println(Thread.currentThread().getName() + " Connected");
                   BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(
                        s.getOutputStream()));
                   BufferedReader reader = new BufferedReader(new InputStreamReader(
                        s.getInputStream()));
                   System.out.println(reader.readLine());
              * Closes the socket.
              public void disconnect() {
                   System.out.println(Thread.currentThread().getName()
                        + " Disconnecting...");
                   if (s != null) {
                        try {
                             s.close();
                             System.out.println(Thread.currentThread().getName()
                                  + " Disconnected");
                        catch (IOException e) {
                             e.printStackTrace();
    Looking at the test class, it creates 3 threads T1, T2 and T3. T1 is setup to connect to 192.168.1.53 using a proxy user User-001 and T2 is setup to connect to 192.168.1.54 using proxy user User-002 and T3 connects to 192.168.1.55 using proxy user User-003.
    Each thread then loops 5 times to connect to their target servers and disconnect each time. All the debug (System.out) statements indicate that the getPasswordAuthentication is returning the correct credentials for each thread. However, when I look at the logs on the proxy server, the results are different and arbitrary.
    Below is the proxy log:
    [2011-01-24 11:10:11] 192.168.1.240 User-001 SOCKS5 CONNECT 192.168.1.54:21
    [2011-01-24 11:10:11] 192.168.1.240 User-002 SOCKS5 CONNECT 192.168.1.53:21
    [2011-01-24 11:10:11] 192.168.1.240 User-002 SOCKS5 CONNECT 192.168.1.55:21
    [2011-01-24 11:10:11] 192.168.1.240 User-003 SOCKS5 CONNECT 192.168.1.55:21
    [2011-01-24 11:10:11] 192.168.1.240 User-003 SOCKS5 CONNECT 192.168.1.55:21
    [2011-01-24 11:10:11] 192.168.1.240 User-003 SOCKS5 CONNECT 192.168.1.55:21
    [2011-01-24 11:10:11] 192.168.1.240 User-003 SOCKS5 CONNECT 192.168.1.55:21
    [2011-01-24 11:10:11] 192.168.1.240 User-003 SOCKS5 CONNECT 192.168.1.54:21
    [2011-01-24 11:10:11] 192.168.1.240 User-002 SOCKS5 CONNECT 192.168.1.53:21
    [2011-01-24 11:10:12] 192.168.1.240 User-001 SOCKS5 CONNECT 192.168.1.54:21
    [2011-01-24 11:10:12] 192.168.1.240 User-002 SOCKS5 CONNECT 192.168.1.53:21
    [2011-01-24 11:10:12] 192.168.1.240 User-001 SOCKS5 CONNECT 192.168.1.54:21
    [2011-01-24 11:10:12] 192.168.1.240 User-002 SOCKS5 CONNECT 192.168.1.53:21
    [2011-01-24 11:10:12] 192.168.1.240 User-001 SOCKS5 CONNECT 192.168.1.54:21
    [2011-01-24 11:10:13] 192.168.1.240 User-002 SOCKS5 CONNECT 192.168.1.53:21
    As you can see from the first line in the log, the proxy says User-001 connected to 192.168.1.54, but the code should always connect to 192.168.1.53 with user User-001.
    Any idea on what might be going on?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Using Content Engine for SOCKS Proxy

    We have a CE566 integrated with an ICAP server in a proxy role for our network.
    we are experiencing issues with a Java applet that many of our users use with an outside vendor.
    Here are the test results from Sun's Java J2RE development team who we're working with:
    The trace log shows SOCKET connections via ports 80 and 443
    failed.
    network: Connecting socket://server.domain.com:80 with proxy=SOCKS @
    /1.2.3.4:8080
    [SimpleConnection] userloginname: connect attempt failed
    network: Connecting socket://server.domain.com:443 with proxy=SOCKS
    @ /1.2.3.4:8080
    [SimpleConnection] userloginname: connect attempt failed
    network: Connecting socket://server.domain.com:80 with proxy=SOCKS @
    /1.2.3.4:8080
    [SimpleConnection] userloginname: connect attempt failed
    network: Connecting socket://server.domain.com:443 with proxy=SOCKS
    @ /1.2.3.4:8080
    [SimpleConnection] userloginname: connect attempt failed
    Does anyone have any information in regards to using the CE as a proxy in this regards? I have obviously found command language for http; https; and ftp - but nothing for other methods

    The site he's accessing required SOCKS proxy. The ACNS does not support SOCKS.

  • Arch as a router... through a socks proxy

    I have my arch box acting as a gateway on my local network, is it possible to tunnel all the traffic that goes through the box through a socks proxy?
    I want to be able to proxy things like my phone and xbox
    Thanks!

    You want to utilize an upstream SOCKS proxy? I doubt it, you'd be better off setting up a VPN and routing your outbound traffic through that.

  • Mail.app in 10.4.7: SOCKS proxy issues again...

    Hi,
    Today I've updated my PowerBook to MacOS X 10.4.7. All the process was fine, but Mail didn't connect to any server. After reading some posts in this forum I've unmarked the SOCKS proxy settings in the Network pref. pane, and I've recovered the 10.4.6 functionallity. So at least I can work.
    When I'm at office, we have an Exchange server with direct access in the network ( is because this that proxy is not needed ). Also a proxy server controls the Internet access.
    What is not working in Mail ( or I don't know how to use it ) now is the following:
    - Local access to Exchange server is only possible using a POP account. An Exchange account doesn't work because is always asking the password.
    - I need to disable the SOCKS proxy to be able to access the local mail server. So the 'Bypass proxy settings' in the Network preference pane seems to not work ( I've tried all kind of syntaxs: *.domain, server.domain, IP address, etc. )
    - With the SOCKS proxy settings active in my corporate network, I cannot access external mail accounts in external servers. I've tried IMAP and POP accounts with the same result: nothing. This is the same issue than in previous version of Mail.app.
    So waiting again for a Mail patch...
    Regards,
    Joan B. Altadill
    PowerBook 17   Mac OS X (10.4.6)   10.4.7 !!!!!
    PowerBook 17   Mac OS X (10.4.6)   10.4.7 !!!!!

    Hi,
    Today I've updated my PowerBook to MacOS X 10.4.7. All the process was fine, but Mail didn't connect to any server. After reading some posts in this forum I've unmarked the SOCKS proxy settings in the Network pref. pane, and I've recovered the 10.4.6 functionallity. So at least I can work.
    When I'm at office, we have an Exchange server with direct access in the network ( is because this that proxy is not needed ). Also a proxy server controls the Internet access.
    What is not working in Mail ( or I don't know how to use it ) now is the following:
    - Local access to Exchange server is only possible using a POP account. An Exchange account doesn't work because is always asking the password.
    - I need to disable the SOCKS proxy to be able to access the local mail server. So the 'Bypass proxy settings' in the Network preference pane seems to not work ( I've tried all kind of syntaxs: *.domain, server.domain, IP address, etc. )
    - With the SOCKS proxy settings active in my corporate network, I cannot access external mail accounts in external servers. I've tried IMAP and POP accounts with the same result: nothing. This is the same issue than in previous version of Mail.app.
    So waiting again for a Mail patch...
    Regards,
    Joan B. Altadill
    PowerBook 17   Mac OS X (10.4.6)   10.4.7 !!!!!
    PowerBook 17   Mac OS X (10.4.6)   10.4.7 !!!!!

  • Socks proxy call  from a weblogic server across the firewall to an external program

    Hi,
    From our weblogic server, we are trying to connect to an external
    program outside our firewall through SSL. The SSL connection is being
    tunneled through a socks proxy in the DMZ. (We have not yet made it
    work so far. Currently, we are trying to make it work)
    From the weblogic bean, we are doing the following
    System.setProperty("socksProxySet", "true");
    System.setProperty("socksProxyHost", "w.x.y.z");
    System.setProperty("socksProxyPort", "1080");
    Not that weblogic bean is the initiator of the connection and it talks
    to a program outside our firewall.
    My question is, will this kind of system level setting in the weblogic
    server have any negative impact? This is because, RMI is over sockets
    and weblogic might be talking to its internal components through
    sockets.
    Is it advisable to have such socks related setting the weblogic bean
    level?
    thanks,
    jas.

    Hi,
    From our weblogic server, we are trying to connect to an external
    program outside our firewall through SSL. The SSL connection is being
    tunneled through a socks proxy in the DMZ. (We have not yet made it
    work so far. Currently, we are trying to make it work)
    From the weblogic bean, we are doing the following
    System.setProperty("socksProxySet", "true");
    System.setProperty("socksProxyHost", "w.x.y.z");
    System.setProperty("socksProxyPort", "1080");
    Not that weblogic bean is the initiator of the connection and it talks
    to a program outside our firewall.
    My question is, will this kind of system level setting in the weblogic
    server have any negative impact? This is because, RMI is over sockets
    and weblogic might be talking to its internal components through
    sockets.
    Is it advisable to have such socks related setting the weblogic bean
    level?
    thanks,
    jas.

  • Socks Proxy Authentication

    I have working socks proxy with Java Mail 1.4.5 without user name/password but wish to support socks proxies that require user names and passwords.
    I have tried using an authenticator on the Session.getInstance(Properties, Authenticator) object but I get an error saying incorrect user name/password on my socks proxy.
    My sample code is below:
    Properties properties = getProperties();
    final String socksProxyUserName = "test";
    final String socksProxyPassword = "test";
    Authenticator authenticator = new Authenticator() {
         @Override
         protected PasswordAuthentication getPasswordAuthentication() {
              PasswordAuthentication passwordAuthentication = new PasswordAuthentication(socksProxyUserName, socksProxyPassword);
              return passwordAuthentication;
    Session session = Session.getInstance(properties, authenticator);
    My socks proxy is FreeProxy.
    I am using this method for socks proxy support in java mail.
    If your proxy server supports the SOCKS V4 or V5 protocol (http://www.socks.nec.com/aboutsocks.html, RFC1928) and allows anonymous connections, and you're using JDK 1.5 or newer and JavaMail 1.4.5 or newer, you can configure a SOCKS proxy on a per-session, per-protocol basis by setting the "mail.smtp.socks.host" property as described in the javadocs for the com.sun.mail.smtp package. Similar properties exist for the "imap" and "pop3" protocols.
    Message in Proxy logfile is:
    Fri 20 Jul 2012 09:37:59 : ACCESS : Instance:'socky' Protocol:'SOCKS-5-Proxy' Access:'Forbidden' Client IP:'10.45.16.21' User:'test/FPDOMAIN' Resource Type:'User Authentication' Resource:'Authentication: User/password invalid'
    I have confirmed user name and password several times and tried extra ones just in case but no luck.
    Does anybody have any ideas. THe fact that it tries to authenticate the login on my proxy server suggests I'm trying the correct method to connect to me but can someone confirm this for me?
    This proxy has this user added as I set it up myself.
    Edited by: 947715 on 20-Jul-2012 01:15
    Edited by: 947715 on 20-Jul-2012 01:16
    Edited by: 947715 on 20-Jul-2012 01:40
    Edited by: 947715 on 20-Jul-2012 03:10

    I got it working now using the below:
    final String socksProxyUserName = configurationService.getString(IParameterConstants.SOCKS_PROXY_USERNAME);
    final String socksProxyPassword = configurationService.getString(IParameterConstants.SOCKS_PROXY_PASSWORD);
    if (!socksProxyUserName.equals(EMPTY_STRING)) {
         java.net.Authenticator authenticator = new java.net.Authenticator() {
    @Override
         protected java.net.PasswordAuthentication getPasswordAuthentication() {
              return new java.net.PasswordAuthentication(socksProxyUserName, socksProxyPassword.toCharArray());
         System.setProperty("java.net.socks.username", socksProxyUserName); //$NON-NLS-1$
         System.setProperty("java.net.socks.password", socksProxyPassword); //$NON-NLS-1$
         java.net.Authenticator.setDefault(authenticator);
    }

  • Using a socks proxy

    Hi all,
    I have a socks proxy setup and have had no issues with any apps using it. I am on my own local network so the proxy does not have a username, its mostly just for testing. Well i tried to use the socks proxy from java command line for my app setting the proxyhost and all that. I can see in the socks daemon logs that for some reason java is trying to send a username even though i am not specifying one.
    I looked through some java documentation and it seems that java will always try and send a username. Is this true? Can I turn it off somehow?
    Thanks!

    Hey There,
    Thanks for the swift reply. I tried your suggestion and disabled the fraudulent website check, exited safari, and restarted (with the SOCKS5 proxy still enabled) and Safari still crashes at the same point on the same pages. I've also tried removing Safari (using App Zapper) and reinstalling, and also using Pacifist to extract just the Safari.app from the installer package to overwrite the files in the folder (without altering other system files). None of these seemed to do the trick either. I have this bad feeling like something from the previously installed Unsanity.ape is lurking in the corners of the computer, but the crash dump doesn't seem to support that notion. Any other ideas? I'm up for anything. Rings of salt around the computer (or is it over the shoulder?) - thanks for the help.
    -Shawn

  • Setting up a SOCKS proxy

    So this is what happens when I try and set up a SOCKS proxy using ssh and my vps (I've edited out my personal IP address and other similar details).
    http://i.imgur.com/WIDgE.png
    I have no idea why the proxy seems to be working but not returning any data.

    set your ssh port to 22 in your home server. and install fail2ban which will prevent bruteforce attacks.
    you can also disable password logins and take your public key to your home server in a pendrive.
    then simply ssh -D PORT
    ive done this at home, and even if i suffer from login attempts, fail2ban blocks ips with more than 3 failed attempts within 5 minutes.

  • AnyConnect options as SOCKS proxy not supported....??

    Hi Guys
    So we are planning to migrate away from IPEC vpn and use AnyConnect, however we currently have in place SquiD proxy and are using SOCKS proxy too.
    Having read the document here
    http://www.cisco.com/en/US/products/ps8411/products_qanda_item09186a00809aec31.shtml
    It seems like AnyConenct is not compatable with SOCKS proxy and having undergone testing my question now is what is the best method in getting a similar "SOCKS" tunnel over the anyconnect client?
    Kind Regards
    Mohamed

    Ok i've made a work around that will use local forwards instead of dynamic forwards and i've made an apple script that will switch all the settings for me.
    set buttonTunnel to "Tunnel"
    set buttonNormal to "Normal"
    set result to display dialog "hey" buttons {buttonTunnel, buttonNormal}
    set theButton to button returned of result
    if theButton is equal to buttonTunnel then
    tell application "Mail"
    tell account "MainAccount"
    set server name to "localhost"
    set port to 1110
    set uses ssl to false
    end tell
    set smtp server of account "MainAccount" to smtp server "localhost:UserNAME"
    tell account "SecondAccount"
    set port to 1111
    set server name to "localhost"
    end tell
    set smtp server of account "SecondAccount" to smtp server "localhost:UserNAME"
    end tell
    else
    tell application "Mail"
    tell account "MainAccount"
    set server name to "mail.MainAccount.com"
    set port to 995
    set uses ssl to true
    end tell
    set smtp server of account "MainAccount" to smtp server "mail.MainAccount.com.au:UserNAME"
    tell account "SecondAccount"
    set port to 110
    set server name to "mail.SecondAccount.net"
    end tell
    set smtp server of account "SecondAccount" to smtp server "mail.MainAccount.com.au:UserNAME"
    end tell
    end if

  • Socks proxy not honoured in mail

    While using a ssh tunnel with a setting (DynamicForward 1456)
    Then in the system preferences i've set the socks proxy to localhost on port 1456
    Mail doesn't seem to honor the system wide socks proxy while, Entourage works perfectly without missing a beat (Setup with the exact same account as Mail).
    Has anyone had success with this everything else on the system goes through the local socks proxy (e.g. Safari , entourage)

    Ok i've made a work around that will use local forwards instead of dynamic forwards and i've made an apple script that will switch all the settings for me.
    set buttonTunnel to "Tunnel"
    set buttonNormal to "Normal"
    set result to display dialog "hey" buttons {buttonTunnel, buttonNormal}
    set theButton to button returned of result
    if theButton is equal to buttonTunnel then
    tell application "Mail"
    tell account "MainAccount"
    set server name to "localhost"
    set port to 1110
    set uses ssl to false
    end tell
    set smtp server of account "MainAccount" to smtp server "localhost:UserNAME"
    tell account "SecondAccount"
    set port to 1111
    set server name to "localhost"
    end tell
    set smtp server of account "SecondAccount" to smtp server "localhost:UserNAME"
    end tell
    else
    tell application "Mail"
    tell account "MainAccount"
    set server name to "mail.MainAccount.com"
    set port to 995
    set uses ssl to true
    end tell
    set smtp server of account "MainAccount" to smtp server "mail.MainAccount.com.au:UserNAME"
    tell account "SecondAccount"
    set port to 110
    set server name to "mail.SecondAccount.net"
    end tell
    set smtp server of account "SecondAccount" to smtp server "mail.MainAccount.com.au:UserNAME"
    end tell
    end if

  • Http proxy to socks proxy

    Hi all,
    I have a working socks proxy, and a web browser (emacs-w3m) that does not support socks.  I am looking for a way to create an http proxy that will do nothing but forward the connections through my socks proxy.  Does anybody know of an easy way to acheive this?
    I've looked a little at Delegate (http://www.delegate.org/), and I believe it will do what I want, but I can't grasp the syntax to do it.

    For anybody interested I figured it out.  Used delegate:
    delegated -P9090 SERVER=http SOCKS=localhost:2345

  • SSH via a SOCKS proxy ?

    I need to be able to make an ssh shell connection via a SOCKS5 proxy, and can't find out how to do it. It's possible to do this in putty on the PC, so I hope something similar is available for the Mac, whether it's a separate application or a way of configuring the ssh command.
    Does anybody know how to do it ?

    Hi Andrew,
       The command to whose source Andy provides a link is designed to be used as a ProxyCommand by Sun on Solaris systems. The web page, Hack 92 SSH SOCKS 4 Proxy discusses the use of built in SOCKS 4 proxy support in OpenSSH on OS X and claims at the bottom that built in SOCKS 5 support is in the works. I don't know the status of that effort.
       This post in the BSDForums.org, HTTP proxy auth for nc(1) offers a patch for NetCat that is purported to allow it to be used as a ProxyCommand for OpenSSH. The "connect" command can be used as a ProxyCommand and SSH via a Socks proxy on OS X with connect.c discusses how to compile and use it on OS X. More detail is provided at SSH Proxy Command -- connect.c but I'm currently unable to connect to the machine on which the source resides.
    Gary
    ~~~~
       It's hard to get ivory in Africa, but in Alabama the Tuscaloosa.
             -- Groucho Marx

Maybe you are looking for

  • Safari quits, no option to send error report.

    Several times a day, I will be using Safari (Version 6.0 (7536.25)) and it will close itself, without warning, and without bringing up the option to send an error report. Sometimes it will be using Facebook, other times it will be something as mundan

  • Suggestions for future versions

    I have an idea for a feature I'd like to see for iPod/iTunes. How can I contact the people who might be interested? Jay

  • Denormalization vs Normalization

    Could someone please define and explain the difference between 'normalization' and 'denormalization' in reference to BW terminology? Thank you in advance!

  • 20gb nomad jukebox on

    I just bought an imac g5 and I tried to load the software for my player and I cant pull up a playcenter. It also wont recognize that the player is attatched when it is. Anyone have any ideas? Thanks.

  • Regarding profitability rate

    i have to use the user exit named userexit_save_document . through this i have to block sales order ,which is having low profitability rate. and also i have to maintain the custom table  , one of the field is 'kbetr'. with the custom table field i ha