Firewall / Proxy

Hello, i'm new of this forum :-)
I have a question about firewall/proxy tunnelling.
I have build a little application with Socket Client on port 80,
but it do not work on system that have firewall or proxy.
So I have to convert my application to have the ability of work with firewall and proxy.
To do it I have read more documentation about SPI,
and I have decided to use URLConnection.
If I open Socket and send content-type 'application/zip',
and after that i send a ZIPPED version of "traffic" I think that my Socket
can work with firewall and proxy.
It's correct ?
Thank you,
darez

From what I've read, although I've never had to use it, you can tell the JVM to use a proxy by using the -D parameter and passing values when you run you're program e.g for an web/http proxy you'd do something like .
java -Dhttp.proxySet=true -Dhttp.proxyHost=192.168.1.100 -Dhttp.proxyPort=8888 myjavaprogram
You can also save these settings in a properties file and read them from there apparently. As for being behind/confronted by a firewall - don't thing there's much you can do about that if it isn't going to let you through.

Similar Messages

  • Firewall/Proxy Server Issue

    I'm testing a new Flex/CF app. From my location it runs well
    on the production server. But from another location that is behind
    a Symantec firewall/proxy server, it runs unusably slowly. I'm
    using Flex remote object calls (Flash remoting) to communicate with
    CF. I don't know if the problem is related to that or simply
    something to do with Flash Player. Has anyone experienced this
    problem? I'm not a network administrator and am not familiar with
    Symantec firewalls so I'm not sure what to ask their network admin
    to try. Any advice would be greatly appreciated. Thanks.

    Did you add a new library in the project to include weblogic.jar from the WebLogic 6.1?
    What kind of a client is it?
    You can also try using the setting in the menu
    Tools | Preferences | Web Browser/Proxy
    to enable disable the proxy.

  • Bypassing Firewall/Proxy Settings with Dreamweaver CS3

    Hello,
    The company that I work for has given us Dreamweaver CS3 and
    it's great, however we have a problem with the companies firewall
    blocking Dreamweaver from seeing external images when in "Design"
    view. I have search throughout Google for a solution and have yet
    to find one. I come here in the hopes that someone can help. Our IT
    department has told me that the firewall solution they use does not
    allow rule sets per application, so they cannot just say "allow
    this program to use the web". This leaves me in a tough spot, but
    they said in Dreamweaver CS3 has a way to setup a proxy and allow
    it to bypass our firewall that would make this quick and easy. Does
    DW have something like this, and if so then please point me in the
    right direction!
    I appreciate all assistance.
    Regards,
    John

    Maybe not per application but certainly by PC or IP adress.
    Can they put
    your IP adress in a rule less agressif.
    aka Frenchy
    "jljr222" <[email protected]> wrote in
    message
    news:gf1kqf$fjj$[email protected]..
    > Hello,
    >
    > The company that I work has given us Dreamweaver CS3 and
    it's great,
    > however
    > we have a problem with the companies firewall blocking
    dreamweaver from
    > seeing
    > external images when in "Design" view. I have search
    throughout Google
    > for a
    > solution and have yet to find one. I come in here in the
    hopes that
    > someone
    > can help. Our IT department has told me that the
    firewall solution they
    > use
    > does not allow rule sets per application, so they cannot
    just say "allow
    > this
    > program to use the web". This leaves me in a tough spot,
    but they said in
    > Dreamweaver CS3 has a way to setup a proxy and allow it
    to bypass our
    > firewall
    > that would make this quick and easy. Does DW have
    something like this,
    > and if
    > so then please point me in the right direction!
    >
    > I appreciate all assistance.
    >
    > Regards,
    > John
    >

  • Corp Firewall/Proxy Slowness

    Hi LCCS Team,
    I am working with a client that has some restrictions in his corp. firewall and proxy servers. In essence, each LCCS request has to go through the proxy servers and that slows things
    done considerably. Also, only http (80) and https (443) is allowed to pass through. Is there a way to force my code to only use https from the moment that the connection is made
    to the LCCS servers? I don't want to use rtmp, etc. since it delays the connection considerably due Flash trying to connect without success before it defaults to https.
    Thanks,
    Michael

    From what I've read, although I've never had to use it, you can tell the JVM to use a proxy by using the -D parameter and passing values when you run you're program e.g for an web/http proxy you'd do something like .
    java -Dhttp.proxySet=true -Dhttp.proxyHost=192.168.1.100 -Dhttp.proxyPort=8888 myjavaprogram
    You can also save these settings in a properties file and read them from there apparently. As for being behind/confronted by a firewall - don't thing there's much you can do about that if it isn't going to let you through.

  • Flash behind corporate Firewall/proxy

    Hello,
    I work for part of the NHS in Scotland.  we are having issues with some flash content, bbc news website being an example.  We proxy all requests, and the bbc website flash content isnt being displayed.  My network guys have checked the proxy logs, and we see a direct connection out to the internet, which fails at the firewall.
    From what I read, this is normal for flash, that it doesnt use the system proxy settings.  Whats confusing us is that the proxy logs show in some cases a direct connect request which fails, followed by a request for the same content via the proxy. 
    I'm trying to explain to customers why we cant get certain content, and the above seems inconsistent. 
    Is anyone able to explain the above behaviour?  Why does some content pass via the proxy, and some fail?
    Many thanks.
    Scott

    Cotton_Pete please point your I.T. department to the Adobe Creative Cloud Service Access Documentation for IT section at    http://www.adobe.com/devnet/creativesuite/enterprisedeployment.html.  They can find documentation which will allow your I.T. department to properly configure your network for Adobe subscription and perpetual products.

  • Getting through a firewall proxy

    Hi,
    I work behind a proxy server and I need to send messages out side of my intranet. I followed all the steps in the e-docs http://e-docs.bea.com/workshop/docs81/doc/en/core/index.html for setting up my proxy authentication but I still cannot get out. I need to authenticate with my proxy on every request. I am also getting the message: <Property: net.proxyAuthenticatorClassName is not a recognized MBean attribute or special property used for Management. It is probably beings used by subsystems and will continue to work as expected if it is a supported option.>
    I dont know if that is my problem or not thought.
    Any help would be greatly apprecitated!

    Hi,
    It does seem strange as the ports Apple list that iMessage uses are ones that iChat would already have.
    http://support.apple.com/kb/HT4245
    Port 80 would be used to check with the Apple Servers about Apple IDs used in iChat
    Port 443 is used for Logins to both AIM and me.com in iChat 6  (This combo restricts the use of @me.com names from iCloud to iChat 6)
    Port 5223 is Jabber Login port for most Jabber server including the GoogleTalk and Facebook servers.
    7:30 PM      Saturday; February 18, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Safari HTTPS Firewall Proxy Problem...

    Hi everyone,
    I am having a problem at work with safari. First of all, browsers like firefox, camino, and opera work fine. Browsers like Safari, Shiira, and Sunrise Browser cannot open https sites properly. I am always asked to type in username and password from the browser. Afterwards this login window appears again and again and I cannot read the https site or klick on anything. I have already tried aproxy to set the https proxy settings differently.
    No I wonder if you have experienced similar problems and if anyone has a solution, since I would very much prefer Safari to Firefox, Camino or Opera...

    Hi All
    Downloaded Safari on my PC at work, OS-Win XP and got some the same problem, but I'm not even able to change the proxy settings (under preferences/advance tab), as this has been locked by the sys admin. Do you know if there is away around this...? as they do not support Safari, but FIREFOX works fine...
    Cheers

  • Multicast firewall-proxy issues?

    Hi all,
    Are there any firewall issues I should keep in mind when deploying a multicasting application?
    Thanks in advance,
    Kind regards

    Maybe I'm naive, but why would you write a multicasting application going onto a public network? Or put another way, where would you encounter a firewall unless you were trying to multicast onto a public network?

  • Using Sent Unix Command in ARD 3 with proxy authentication

    I'd like to use Unix commands to update Apple software through ARD thus allowing me to lock the computer screen before the process using the ARD command to do so, thus keeping the users from interfering with the process .
    Our network utilizes password protected firewall proxy that hangs ARD when using the softwareupdate command through ARD's "Send Unix Command..." at the point in which it would ask for authentication if using the same command in the terminal.
    Is there a Unix/terminal script or a series of script commands that could be modified to wait and enter the appropriate authentication at the previous mentioned prompt?
    I've researched this topic on this forum and discover a few post that states it is not possible but they are fairly old posts so I am hoping ARD 3 has some scripts or commands that can pass thru a username and password

    Welcome,
    I use the "System Events" handler, e.g.:
              tell application "System Events" to delay 5.5
              tell application "System Events" to keystroke "K"
              tell application "System Events" to delay 0.5
              tell application "System Events" to keystroke return
    Regards,
    Shawn

  • IPhoto '08 Book upload errors with squid transparent proxy - tip

    Hi folks
    I've just "solved" a problem I was having with iPhoto Book uploads. The solution may apply to other publishing products from iPhoto and possibly iDisk uploads too.
    My firewall & proxy setup is basically Linux iptables redirecting all outbound http (port 80) connections to a dansguardian filter, which in turn is passed onto a squid instance running as a transparent proxy (oh, and there's a privoxy in this all too!). Yeah, OK, I know, slightly paranoid, but I don't want my children accidently browsing stuff I don't think they are old enough for yet!
    Now I had the problem before with iPhoto '06 as well, but at the time just didn't have the time or inclination to figure out what the problem was, and just did the book order and upload from the office, where it went through without a problem. This time I decided to dig a bit and see what was happening. The clue that triggered off the solution was watching the part of the order process where the book data is uploaded. In my default setup, the upload bar would scream through to 100%, and then sit there for ages, before coming back with a connection error. Watching the network flashy lights on the NIC on the firewall though, it suddenly dawned on me that what was happening was that the upload was screaming through to the squid (as there was no outbound network activity from the firewall while this was happening) and then sitting there waiting for squid to pass it on to the Apple site (as shown by the outbound NIC activity light suddenly going bonkers once the uoload bar hit 100%).
    So clearly there's a problem sending book orders via a squid proxy setup as a transparent proxy. It might also very well be dansguardian interfering and wanting to take the entire upload and checking it before passing it on to squid. I already have site exception setup for all apple.com urls though in dansguardian, so didn't think it would be that. I thought about dicking around with the squid acl's but didn't have the enthusiasm to spend half the day getting that working.
    So what I did in the end was tail the squid logs to see what was being proxied whilst the book order was going on, and then dropped in 3 new rules in my iptables setup just before the redirect rule. Tried ordering the book again, and voila!
    The three rules I inserted were:
    $IPTABLES -t nat -A PREROUTING -s ! 10.1.1.1 -p tcp -d mercury.apple.com -j ACCEPT
    $IPTABLES -t nat -A PREROUTING -s ! 10.1.1.1 -p tcp -d configuration.apple.com -j ACCEPT
    $IPTABLES -t nat -A PREROUTING -s ! 10.1.1.1 -p tcp -d publish.mac.com -j ACCEPT
    The "-s ! 10.1.1.1" bit is obviously particular to my setup, as I wouldn't want connections from the router itself being proxied, so that may need to either be customised or left out altogether. These three rules are then immediately followed by the redirect:
    $IPTABLES -t nat -A PREROUTING -s ! 10.1.1.1 -p tcp --dport 80 -j REDIRECT --to-port 8081
    Hope that is of some help to someone out there!
    K

    Tony,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Error in Jdeveloper when making a WebService Proxy.

    Hi,
    I am trying to call a webservice from Forms. But when I try to create webproxy in Jdeveloper.As I enter the WSDL URL(http://localhost:7101/WebService-Annotation-context-root/MyCompanyPort?WSDL)in the webservice proxy wirzrd I recieve following error:
    oracle.jdeveloper.webservices.model.WebServiceException
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1656)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2846)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2611)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.<init>(JavaWebService.java:509)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.<init>(JavaWebService.java:461)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy$ProxyJavaWebService.<init>(WebServiceProxy.java:2268)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.updateServiceModel(WebServiceProxy.java:1701)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.setDescription(WebServiceProxy.java:525)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.proxy.ProxyJaxWsSpecifyWSDLPanel.setDescription(ProxyJaxWsSpecifyWSDLPanel.java:238)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1109)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$5.run(SpecifyWsdlPanel.java:661)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.IllegalArgumentException
         at java.net.URI.create(URI.java:842)
         at oracle.jdeveloper.webservices.model.WebService.getURI(WebService.java:1009)
         at oracle.jdeveloper.webservices.model.WebService.getMappingFile(WebService.java:3960)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getMappingFile(JavaWebService.java:1810)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1708)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1496)
         ... 12 more
    Caused by: java.net.URISyntaxException: Illegal character in path at index 0: MyCompanyWS
         at java.net.URI$Parser.fail(URI.java:2809)
         at java.net.URI$Parser.checkChars(URI.java:2982)
         at java.net.URI$Parser.parseHierarchical(URI.java:3066)
         at java.net.URI$Parser.parse(URI.java:3024)
         at java.net.URI.<init>(URI.java:578)
         at java.net.URI.create(URI.java:840)
         ... 17 more
    The above error is what I get for my own webservice.
    If I use the webserivce wsdl url(http://www.esendex.com/secure/messenger/soap/SendService.asmx?wsdl) which exsits from internet. I get the following error:
    "No WSDL document found".
    Please help how to overcome this error.
    Thanks & Regards,
    Noman

    Hi Noman,
    Can you try running the URL in the browser and check if you are able to "view" the wsdl?
    For the second issue, i feel it could be because of the firewall / proxy issue. Try setting the proxy (if you are using one) in your jdeveloper-> Tools->Preferences->Web Browser and Proxy section.
    -Arun
    P.S : Post the JDeveloper version you are using in "all" the questions, which would help us to give precise answer. From the URL(http://localhost....), i guess you are using JDev 11.1.1.2.0, but you need to confirm.

  • Connect to SFTP via proxy

    This is most definitely a network issue rather than a specific Dreamweaver issue.
    Until recently I was able to use Secure FTP via Dreamweaver but this appears to have been restricted by network admin for some reason. That said, I'm still able to connect to my proxy server which also uses port 22 so not sure why Dreamweaver can't?
    I've tried setting Dreamweaver to use firewall/proxy with host set to localhost and port set to 22. On my proxy I have source port 22 forwarding to localhost:22 but no joy.
    Can anyone help?

    are you using windows 7 ?

  • Oracle linux 6 firewall

    Hello,
    Does anyone know where Oracle Linux 6 stores the configuration files for the firewall rules? I run the iptables and can view them and can add in new rules using iptables but it would be much easier if i knew where iptables writes to.
    Thanks

    As Dude mentioned, config is in /etc/sysconfig/iptables - which you can manually maintain by
    interactively making your rule changes
    using iptables-save output to overwrite config with
    As an alternative - you can replace your /etc/init.d/iptables service with a custom rolled script. I use this option on a special server that serves as a NAT firewall/proxy/loadbalancer between two networks. I needed some additional stuff set outside iptables, and wanted a single service script to provide that as an integrated service. Thus a custom script (and no support for the sysconfig default file).
    Just make sure the rules are sane when updating iptable's sysconfig - and that you do not nuke your ssh access to the server.

  • How to connect to mysql database using a proxy

    Folks,
    I wrote a program to connect to both webpage and mysql databases. Because my internet has a firewall (proxy) I set up the internet connection like this:
          System.getProperties().put( "proxySet", "true" );
          System.getProperties().put( "proxyHost", proxyHost);
          System.getProperties().put( "proxyPort", proxyPort);
          Authenticator.setDefault(new MyAuthenticator());The http connection works fine. However the mysql database connection gives me an error:
    com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.SocketException
    MESSAGE: java.net.ConnectException: Connection timed out: connect
    STACKTRACE:
    java.net.SocketException: java.net.ConnectException: Connection timed out: connect
            at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
            at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
            at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)
            at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at myapplication$LongTask$ActualTask.<init>(app.java:182)
            at myapplication$LongTask$1.construct(app.java:121)
            at myapplication.SwingWorker$2.run(SwingWorker.java:107)
            at java.lang.Thread.run(Unknown Source)
    ** END NESTED EXCEPTION ** What can I do? Do i need to setup a SOCKS Proxies or something?
    Thanks a lot!!

    SOCKS it is.

  • Our corporate proxy prevents downloading and installing Photoshop CC and makes the installer crash.

    What IP's and ports the downloader/installer is connecting to so we can make changes to our firewall & proxy settings. Can't find them on Adobe site.
    The installer crashes on every installation attempt and does leave an error report in win7 application log, but the error itself doesn't contain any useful information, just a reference to a .dll file.

    Mikkoj85693501 please see Creative Cloud for enterprise for information on how to configure your network to allow a Creative Cloud membership.

Maybe you are looking for

  • Can I upgrade my processor from i3 350m to anything better?

    Perhaps an i5? & What is the socket#? Because I've read that i3 and i5 have the same socket. Is this true? The lady on the phone from HP customer support said I cannot, but because of how she assisted me and answered other question I asked, it left m

  • Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interfa

    Hi i am try do Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interface With The help of SDN Contribution link---- ( have look on it) https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4943f2b7-0a01-0010-37a

  • How to get the textLines in a RichText control

    I am trying to get hold of the individual lines that make up the RichText control once I set the text on it.  I am able to see the RichText.textLines property in the debug window (by creating a watch expression) - but when I try to access it in code,

  • Windows OracleOraDb11g_home1TNSListener TNSTNS-12541

    I have set the "Startup" Type for "OracleOraDb11g_home1TNSListener" service to "Manual" and when I try to start it, I get a pop-up saying: "The OracleOraDb11g_home1TNSListener service on Local Computer started and then stopped. Some services stop aut

  • FM to create Phase & Task in cProjects

    As per the requirement I need to upload records form local file to SAP. I already have uploading program which uploads records upto project creation. I need to upload records of Phase & Task creation under Project. Can anyone suggest me FM(BAPI) whic