Socket with proxy

guys, I have a raw socket server on a local computer communicating with its client on the same machine. Unfortunately, I can not use Wireshark or Ethereal because they will only works from the local TCP point to the outside world. In my case, all is taken place locally and I want to capture those data between the local raw socket server and its client. I was told that there might be a possibility with using proxy class. Is this possible? If so, could you tell me how?
btw, there is a really cool software that does what I need:
http://www.sstinc.com/winsock.html
Unfortunately, this is only for windows :-), I need a universal solution where I can deploy my tools on any OS. Java is my answer.
Also, I can not split up the client and raw socket server onto separate machines either so I can use Wireshark. This is the way they're developed.
Oh another thing, I'd tried creating a java raw socket client which works but I can only attach to one socket port at a time at 1 TCP port. 1 TCP port is fine but I want to be able to sniff every socket ports, capturing every data packets going back and forward between the server and client. I don't know if proxy class works because I don't have a proxy anywhere installed.
Thanks in advance.

Something like this. Note I haven't even tried to compile it, it's a 2-minute hack. (You really shouldn't use this directly.)
class portlogger {
     public static void main(String[] args) throws Exception {
          int source = Integer.parseInt(args[0]); // client's target port
          int target = Integer.parseInt(args[1]);  // server's actual port
          ServerSocket ss = new ServerSocket(source);
          final Socket src = ss.listen();
          final Socket tgt = new Socket("127.0.0.1", target);
          (new Thread(){
               public void run(){
                    BufferedInputStream br = new BufferedInputStream(src.getInputStream());
                    byte[] buffer = new byte[1024];
                    int bytes;
                    while((bytes = br.read(buffer)) > 0){
                         // log the client's output here, pref. in a threaded way
                         tgt.getOutputStream().write(buffer, 0, bytes);
          }).start();
          (new Thread(){
               public void run(){
                    BufferedInputStream br = new BufferedInputStream(tgt.getInputStream());
                    byte[] buffer = new byte[1024];
                    int bytes;
                    while((bytes = br.read(buffer)) > 0){
                         // log the server's output here, pref. in a threaded way
                         src.getOutputStream().write(buffer, 0, bytes);
          }).start();
}

Similar Messages

  • Communication problem with proxy server

    We have establish the configuration of an iPad to access the enterprise net, but when trying to access any webpage we get the next message: Safari can not open the page. Error:"There is a communication problem with proxy web server (HTTP)"
    The access has no problems with other movile devices.
    Ahy help?

    Hi,
    I am not sure whether you have already solved the problem or not....
    Do the following to deploy MobileBIService.war file on tomcat
    1.Stop Tomcat Web application server.
    2.Copy the file, MobileBIService.war from [Install directory]\Mobile 14\Client to the Tomcat's "Webapps" directory.
    In my case, I copied the MobileBIService.war from C:\Program Files (x86)\SAP BusinessObjects\Mobile14\Client to C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps. ( I used BO 4.0 SP02)
    3.     Start Tomcat.
    Restarting Tomcat would automatically deploy war file as a Web App
    One folder u201CMobileBiServiceu201D will appear in webapps folder when MobileBIService.war is deployed successfully.
    Hope it helps.
    Regards,
    Ankur

  • Administration of APEX in SQL Developer with Proxy Authentication impossibl

    Hello!
    We are using latest version of SQL Developer to administer APEX. We are connecting to the database with proxy authentication. The syntax is:
    personal_user[apex_ws_owner]
    e.g.: mdecker[apex_demo]
    When trying to deploy APEX application I go to "Database Object" -> Application Express -> Application1 [100] -> right mouse click: "Deploy Application". Then I select the appropriate database identifier and next, I am presented with a screen showing import options. In second line, it says: "Parsing Schema: MDECKER".
    This is wrong: it has to be Parsing Schema: APEX_DEMO. It seems that managing APEX with SQL Developer does not support Proxy Authentication.
    Could you please confirm?
    Is there a way to formally ask for this enhancement?
    Best regards,
    Martin
    Update:
    I found out that if I check the flag "Proxy Authentication" in the connect details and provide both passwords, the deploy application parsing schema is set to the correct APEX_DEMO account. However, we are using Proxy Authentication in order to avoid having to know the application password.
    Edited by: mdecker on Jan 28, 2013 4:48 PM

    There is a write-up about connecting to APEX here: <a href ="http://www.oracle.com/technology/products/database/application_express/html/sql_dev_integration.html" >SQL Dev Oracle APEX Integration</a>
    <p>You do need to have updated to Oracle APEX 3.0.1.
    <p>Regards <br>
    Sue

  • JAX-WS client - WebLogic - SSL with proxy server

    Good night!
    I'm having trouble communicating with webservices using certificate authentication (weblogic.wsee.jaxws.sslclient.PersistentSSLInfo) through and going through a proxy server (weblogic.wsee.jaxws.proxy.ClientProxyFeature) .
    If communication with the webservice is done directly (no proxy server) everything happens perfectly, but to set the proxy server I get the exception "BAD_CERTIFICATE." it is as if the certificate was not attached in the request.
    The webservice client was generated by JDeveloper.
    Has anyone experienced this problem?
    Sorry for my bad english
    Exception
    javax.xml.ws.WebServiceException: javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
         at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:218)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:204)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)
         at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
         at com.sun.xml.ws.client.Stub.process(Stub.java:272)
         at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
         at $Proxy30.cleCadastroLote(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
         at $Proxy31.cleCadastroLote(Unknown Source)
         at br.com.tbl.ws.CleCadastroPortClient.main(CleCadastroPortClient.java:51)
    Webservice client with proxy server (error)
    import weblogic.wsee.jaxws.sslclient.PersistentSSLInfo;
    import javax.xml.ws.BindingProvider;
    import weblogic.wsee.jaxws.JAXWSProperties;
    import weblogic.wsee.jaxws.proxy.ClientProxyFeature;
    import weblogic.wsee.jaxws.sslclient.SSLClientUtil;
    public class CleCadastroPortClient
    public static void main(String [] args)
    try{
    CleCadastro_Service cleCadastro_Service = new CleCadastro_Service();
    CleCadastro cleCadastro = cleCadastro_Service.getCleCadastroPort();
    String clientKeyStore = "C:\\certificados.jks";
    String clientKeyStorePasswd = "xxxxx";
    String clientKeyAlias = "xxxxx";
    String clientKeyPass = "xxxxx";
    String trustKeystore = "C:\\keystore_completo.jks";
    String trustKeystorePasswd = "xxxxx";
    PersistentSSLInfo sslInfo = new PersistentSSLInfo();
    sslInfo.setKeystore(clientKeyStore);
    sslInfo.setKeystorePassword(clientKeyStorePasswd);
    sslInfo.setKeyAlias(clientKeyAlias);
    sslInfo.setKeyPassword(clientKeyPass);
    sslInfo.setTrustKeystore(trustKeystore);
    sslInfo.setTrustKeystorePassword(trustKeystorePasswd);
    ClientProxyFeature clientProxy = new ClientProxyFeature();
    clientProxy.setProxyHost("proxy.com");
    clientProxy.setProxyPort(Integer.parseInt("3128") );
    clientProxy.setProxyUserName("user");
    clientProxy.setProxyPassword("pass");
    clientProxy.attachsPort(cleCadastro);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.CLIENT_PERSISTENT_SSL_INFO, sslInfo);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.SSL_SOCKET_FACTORY, SSLClientUtil.getSSLSocketFactory(sslInfo));
    ((BindingProvider) cleCadastro).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "https:/xxxx/ws");
    String retorno = cleCadastro.cleCadastroLote("xml", "xml");
    }catch(Exception ex){
    ex.printStackTrace();
    Webservice client without proxy server (OK)
    import weblogic.wsee.jaxws.sslclient.PersistentSSLInfo;
    import javax.xml.ws.BindingProvider;
    import weblogic.wsee.jaxws.JAXWSProperties;
    import weblogic.wsee.jaxws.proxy.ClientProxyFeature;
    import weblogic.wsee.jaxws.sslclient.SSLClientUtil;
    public class CleCadastroPortClient
    public static void main(String [] args)
    try{
    CleCadastro_Service cleCadastro_Service = new CleCadastro_Service();
    CleCadastro cleCadastro = cleCadastro_Service.getCleCadastroPort();
    String clientKeyStore = "C:\\certificados.jks";
    String clientKeyStorePasswd = "xxxxx";
    String clientKeyAlias = "xxxxx";
    String clientKeyPass = "xxxxx";
    String trustKeystore = "C:\\keystore_completo.jks";
    String trustKeystorePasswd = "xxxxx";
    PersistentSSLInfo sslInfo = new PersistentSSLInfo();
    sslInfo.setKeystore(clientKeyStore);
    sslInfo.setKeystorePassword(clientKeyStorePasswd);
    sslInfo.setKeyAlias(clientKeyAlias);
    sslInfo.setKeyPassword(clientKeyPass);
    sslInfo.setTrustKeystore(trustKeystore);
    sslInfo.setTrustKeystorePassword(trustKeystorePasswd);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.CLIENT_PERSISTENT_SSL_INFO, sslInfo);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.SSL_SOCKET_FACTORY, SSLClientUtil.getSSLSocketFactory(sslInfo));
    ((BindingProvider) cleCadastro).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "https:/xxxx/ws");
    String retorno = cleCadastro.cleCadastroLote("xml", "xml");
    }catch(Exception ex){
    ex.printStackTrace();
    }

    Hi,
    I tried to use the option "-DUseSunHttpHandler=true" and enabled "JSSE SSL", but it did not work, now showing the exception "General SSLEngine problem".
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <javax.xml.ws.WebServiceException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:218)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:204)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at $Proxy308.cleCadastroLote(Unknown Source)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.Stub.process(Stub.java:272)>

  • Strange behaviour when using connection pooling with proxy authentication

    All
    I have developed an ASP.NET 1.1 Web application that uses ODP.NET 9.2.0.4 accessing Oracle Database 8i (which is to be upgraded to 10g in the coming months). I have enabled connection pooling and implemented proxy authentication.
    I am observing a strange behaviour in the live environment. If two users (User 1 and User 2) are executing SQL statements at the same time (concurrent threads in IIS), the following is occurring:
    * User 1 opens a new connection, executes a SELECT statement, and closes this connection. The audit log, which uses the USER function, shows User 1 executed this statement.
    * User 2 opens the same connection (before it is released to the connection pool?), excutes an INSERT statement, and closes this connection. The audit log shows User 1, not User 2, executed this statement.
    Is this a known issue when using connection pooling with proxy authentication? I appreciate your help.
    Regards,
    Chris

    Hi Chris,
    I tried to reproduce your complaint, but was unable to. I didnt use auditting however, just a series of "select user from dual" with proxy authentication. You might want to see if you can put together a small complete testcase for this and open a sr with support.
    Cheers
    Greg

  • SRT Framework exception: The WSDL document is not compatible with proxy

    hello,
    I'd like to create a logical port to my web service but when I create this type of error:
    SRT Framework exception: The WSDL document is not compatible with proxy class "YAIRPORT_CO_AIRPORT_SOAP": "Unsupported Operation (s): getAirportInformationByISOCountryCode, getAirportInformationByAirportCode, getAirportInforma
    someone has an idea?
    thank you

    Hi,
    Most probably your class YAIRPORT_CO_AIRPORT_SOAP was't automatically generated by SAP from the .wsdl file. If so, then you have to generate it from this file and then create the logical port. For this purpose, go to se80, display the function group there you want to add the class, right-click it and choose Create -> Web Service. Then on the following screens choose Service Consumer, Local File and specify the .wsdl file for the web service you want to use. Finally specify a Package, Prefix and Transport Request, activate the changes and you're done. Now you can create the Logical Port.
    Hope this helps,
    Greg

  • Creating java sockets behind proxy servers.

    Hi,
    I am trying to create a socket to an external server(i.e. a public server) from behind a proxy firewall, but the socket creation statement throws an IO exception. Can someone please let me know how to create sockets using proxy servers.
    TIA
    Shishir

    I tried using java.net.Proxy for the connection. But the socket to the proxy itself is not getting created. It throws the IllegalArgumentException.
    import java.io.*;
    import java.net.*;
    import java.net.Proxy.Type;
    public class Client {
    static Socket proxSocket = null;
    static PrintWriter out = null;
    static BufferedReader in = null;
    public static void main(String[] args) throws IOException {    
    try {
    System.out.println("Trying to create socket");
    InetSocketAddress proxyadd = new InetSocketAddress(InetAddress.getByName("148.87.19.20"),80);
    Proxy ps = new Proxy(Proxy.Type.HTTP,proxyadd);
    Socket proxSocket = new Socket(ps);
    out = new PrintWriter(proxSocket.getOutputStream(), true);
    in = new BufferedReader(new InputStreamReader(
    proxSocket.getInputStream()));
    } catch (UnknownHostException e) {
    System.err.println("Don't know about host: ...");
    System.exit(1);
    } catch (IOException e) {
    System.err.println("Couldn't get I/O for "
    + "the connection to: ...");
    System.exit(1);
    catch(IllegalArgumentException e)
    System.err.println("Unable to describe the proxy.");
    System.exit(1);
    }

  • Working with sockets with applets

    Hello, I am working in my account on a web server, and I am trying to develop a chat using applets. My program works great on the command line, but the applets cannot create a socket because of a SocketPermission problem. I have read about this problem a lot, and I found that applets will only create a socket with the server the applet originates from. I have still not had any success in allowing my applet to create a socket to connect to a server.
    I would appreciate any advice concerning this problem!
    Thanks so much!
    Christina

    If you are calling the HTML page containing the Applet as http://localhost then the Applet has to open a socket back to local host.
    Make sure you call the applet using the full ip address of the where the web server is running. This should match the socket ip address you are trying to open inside the Applet.

  • AF_UNIX socket with java

    Is there any way to use unix domain sockets with java ? Is it level of socket abstraction implementation to high ? I guess it's not possible to use such functionality without JNI, but if so i'll be very happy. If it's not possible to do it without JNI can you suggest some libraries ?

    I really don't understand your question because based on my rudimentary socket knowledge a AF_UNIX socket is a Java socket when you are running on a Unixy system.
    No?
    Because Uniz sockets have two flavours socket stream (which I believe is the standard Java Socket) and datagram thingies (which are also available as DatagramSockets in Java)
    So is there something I am missing here? Are these like interprocess pipes? Sorry if I am clueless but I don't understand what you are asking.

  • JDBC Dynamic Credential with proxy users

    Hi
    We've developed an application with Business Components and it's been working very well. We're using JDBC Dynamic Credential like explain the document (How to Support JDBC Dynamic Credentials - http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html). Now we want to use proxy users with JDBC Dynamic Credentials. How can we
    user proxy users with JDBC Credentials? What classes or parameters we need to change?
    I've been tested proxy users a lot, but in simple java classes, I don't know where to set some parameters in business components, for example, where can I set the following parameters?:
    OracleOCIConnectionPool.PROXY_USER_NAME
    OracleOCIConnectionPool.PROXYTYPE_USER_NAME
    Thanks in advance
    Liceth

    Hi Frank, thanks again
    Now we are using JDBC Credentials(like explain the paper http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html), every user connects to the application with a diferent database user and password, then at database level the administrator can see diferents usernames (not the same user). Every application user correspond to a database user, relation one to one. The application works fine with that configuration. But, now for performance we want to change our application to use proxy users, I read that with proxy users redirectec to a single user, then the pooling connections are well reused, and at database level you have diferent usernames. Our principal goal is use pooling (for performance) and see diferent usernames at database level, this for facilitate administration tasks and auditory .
    We want that the application user autenticate with proxy users (username and password) but we have some problems because we don't know where specify that we're using proxy users. (The parameters OracleOCIConnectionPool.PROXY_USER_NAME
    OracleOCIConnectionPool.PROXYTYPE_USER_NAME).
    We want open our connections with the following code:
    OracleOCIConnectionPool ods = new OracleOCIConnectionPool();
    ods.setURL("jdbc:oracle:oci:@"+tnsAlias);
    ods.setUser("user_application");
    ods.setPassword("oracle");
    java.util.Properties prop = new java.util.Properties();
    prop.setProperty(OracleOCIConnectionPool.CONNPOOL_MIN_LIMIT,"3");
    prop.setProperty(OracleOCIConnectionPool.CONNPOOL_MAX_LIMIT,"20");
    prop.setProperty(OracleOCIConnectionPool.CONNPOOL_INCREMENT,"1");
    ods.setPoolConfig(prop);
    java.util.Properties userNameProp = new java.util.Properties();
    userNameProp.setProperty(OracleOCIConnectionPool.PROXY_USER_NAME,"Mark/123");
    Connection conn = ods.getProxyConnection(OracleOCIConnectionPool.PROXYTYPE_USER_NAME,userNameProp);
    with other user
    userNameProp.setProperty(OracleOCIConnectionPool.PROXY_USER_NAME,"Marty/123d");
    Connection conn = ods.getProxyConnection(OracleOCIConnectionPool.PROXYTYPE_USER_NAME,userNameProp);
    Thanks in advance
    Liceth

  • How tune flash player 9 for use with proxy

    I use me browser with proxy. But flash player, when i show
    yourtube etc, use direct connection and not use proxy server. How
    tune flash player (last fersion, 9) for use with proxy. I want what
    all traffic go over proxy

    Will alienate? They've already alienated users a long time
    ago. That isn't the point, though, because it doesn't matter if
    users are alienated, it only matters if the users need flash.
    The only thing that could make flash player better is open
    source. I don't see why they don't do it. They make money on the
    authoring tool, not the player. All of my Linux machines are ppc
    and x86_64, no flash there. I also don't have flash on my PDA, a
    Palm T|X. If the player was open sourced, people would stop
    complaining about how much flash sucks -- because, right now, there
    are very serious, legitimate, complaints against it.
    Anyway, for now I'm hoping that SVG matures quickly.
    Although, I"m sure that once Adobe sees that train coming, they
    will extend Flash (dev.) to export SVG movies containing embedded
    binary data that can only play with their binary plugin.

  • HT1277 Cofiguring mail in network with proxy

    I have cofigured mail with my account and i used it in network without proxy, it is working properly. But when i use mail in network with proxy, it is not working although i have configured proxy in Network in preference. Please help me to configure mail in network with proxy? thanks

    In a typical set-up, an SMTP proxy server is irrelevent to client mail access; the proxy servers I've worked with sit between the SMTP mail server and other mail servers on the 'net.
    For clients accessing the server, use IMAP or (less desirably) POP to read mail, and use the SMTP submission port to send mail, and you should connect directly to the mail server. 
    Typical configurations don't have the clients connecting to the SMTP port (TCP port 25) directly these days; that tends to be blocked on many networks, and many SMTP mail servers are set to reject remote connections on that port that aren't from SMTP servers.
    Alternatively, have a chat directly with whomever is managing or whomever is supporting the proxy server, and ask them how a legitimate user can access mail via the device, or around the device.

  • Got problems with firefox 3.x, 4.x and 5 on win 7 x86 or x64 with proxy autodetection although it works on winXP

    at work we use to setup browsers with proxy autodetection activated and it worked perfectly on all platforms we use win XP,7 and linux and with all browsers i tried (ie : IE7,8,9), firefox 3.x,4.x,5 and other ones. below a post of the original wpad.dat that worked with everything (every IP or fqdn replaced with x):
    function FindProxyForURL(url, host)
    if (isPlainHostName(host) || dnsDomainIs(host,".x.x")|| dnsDomainIs(host,".x.xx") || dnsDomainIs(host,".x.x.xx") || isInNet(host, "x.x.x.X", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || localHostOrDomainIs(host,"xxx.xxxx.xx"))
    return "DIRECT";
    else
    return "PROXY xxxxx.xxx.xxxx:3128";
    Today i decided to manage other sites with wpad.dat, and to customize proxy for each site that points to wpad.dat.
    below the new wpad.dat:
    function FindProxyForURL(url, host)
    if (isPlainHostName(host) || dnsDomainIs(host,".x.xx")|| dnsDomainIs(host,".x.xx") || dnsDomainIs(host,".x.x.xx") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || localHostOrDomainIs(host,"x.x.xx"))
    return "DIRECT";
    else if (shExpMatch(myIpAddress(), "x.x.*"))
    return "PROXY x.X.x:3128";
    else if (shExpMatch(myIpAddress(), "x.x.x.*"))
    return "PROXY y.y.y:8181";
    else if (shExpMatch(myIpAddress(), "x.x.*"))
    return "PROXY z.z.z.z:8181";
    Since those changes it doesn't work anymore with firefox on linux and win7, but still works with any browsers on winXP and most surprising works on win7 with ie8 or ie 9 not tested with ie7.

    at work we use to setup browsers with proxy autodetection activated and it worked perfectly on all platforms we use win XP,7 and linux and with all browsers i tried (ie : IE7,8,9), firefox 3.x,4.x,5 and other ones. below a post of the original wpad.dat that worked with everything (every IP or fqdn replaced with x):
    function FindProxyForURL(url, host)
    if (isPlainHostName(host) || dnsDomainIs(host,".x.x")|| dnsDomainIs(host,".x.xx") || dnsDomainIs(host,".x.x.xx") || isInNet(host, "x.x.x.X", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || localHostOrDomainIs(host,"xxx.xxxx.xx"))
    return "DIRECT";
    else
    return "PROXY xxxxx.xxx.xxxx:3128";
    Today i decided to manage other sites with wpad.dat, and to customize proxy for each site that points to wpad.dat.
    below the new wpad.dat:
    function FindProxyForURL(url, host)
    if (isPlainHostName(host) || dnsDomainIs(host,".x.xx")|| dnsDomainIs(host,".x.xx") || dnsDomainIs(host,".x.x.xx") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || isInNet(host, "x.x.x.x", "255.255.0.0") || localHostOrDomainIs(host,"x.x.xx"))
    return "DIRECT";
    else if (shExpMatch(myIpAddress(), "x.x.*"))
    return "PROXY x.X.x:3128";
    else if (shExpMatch(myIpAddress(), "x.x.x.*"))
    return "PROXY y.y.y:8181";
    else if (shExpMatch(myIpAddress(), "x.x.*"))
    return "PROXY z.z.z.z:8181";
    Since those changes it doesn't work anymore with firefox on linux and win7, but still works with any browsers on winXP and most surprising works on win7 with ie8 or ie 9 not tested with ie7.

  • App don't work with proxy

    Some apps doesn't work with proxy, but i can se safari, itunes. What can i do?

    Hey Vladimir86,
    This may be a question that MOTU could answer. It says on their website their devices are compatible with GarageBand. Here is link to their support page:
    http://www.motu.com/techsupport
    Here is also a link to the mac setup guide:
    http://cdn-data.motu.com/manuals/firewire-usb-audio/Audio_Express_User_Guide_Mac .pdf
    Hope this helps

  • Problem with airport express connected to a lan with proxy

    *in my university exist a lan network with proxy config and port.*
    *i searched in the config mode but nothing guide me.*
    *If someone know how connect it please answer this topic*
    Jf

    I think I have it on the right setting - what do I select in the settings?!
    To activate ProxySTA, you must set up the Express to join a wireless network and then enable the Allow Ethernet Clients setting; both settings are located in the Wireless tab of AirPort Utility.
    It said it was going to take an hour to transfer a 250meg file, so thats definitely still going over wifi.
    It still going over wireless is correct. Remember your Mac Pros are connecting to the network over a wireless connection. So, for example, when you send a file from one Mac Pro to the QNAP, that file must first travel to the AEBSn (by wireless), then to the AXn (by wireless), before it makes it to the QNAP by wire.
    The other option, which theoretically, should improve the data transfer rate, would be to configure both base stations into an extended network. In this type of network, the AXn would be an extension of the AEBSn's wireless network and its Ethernet port would still be enabled for the Ethernet switch.

Maybe you are looking for

  • Image Capture and Preview have trouble finding scanner. Photoshop no problem.

    Image Capture and Preview have trouble finding the scanner wirelessly unless it is on when the Mac starts up. Photoshop finds the scanner no problem. Any suggestions for Image Capture or Preview? The scanner is Canon MP620. Mac is MBP, running 10.8.2

  • Net.SOAP.wireDump doesn't  (seem to) work

    Hi, I presume this is a simple question.  I'm using Acrobat Pro 9 and am writing JavaScript that uses SOAP.  I set this:    Net.SOAP.wireDump = true; However, the JavaScript debugger window doesn't display any SOAP messages when I do a Net.SOAP.Conne

  • Purchasing and need last price of an item

    Hi , i need an help to find the last price or previous rate of an item for which we are going to create a PO how to get this information from table (ie we are going to create a report to get this previous rate of an item) thanks in advance, userg

  • Hi i want the step by step procedure for exit?

    hi i am a student.i ddnt get the exit .so can anyone help me to understand the exit(all types of exits-function exit,screen exit,menu exit,field exit)? plz give me the details with some example.and if possible then plz ans wiht pdf or .doc format. Mo

  • What do you mean by deployable.....

    Can anybody please tell me what do we mean, when we say a component or EJB is a deployable component. what separates it form a non deployable component. I want something apart from, like it uses RMI-IIOP, It is Serealisable , it conforms to ejb specs